diff --git a/android/.openapi-generator/VERSION b/android/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/android/.openapi-generator/VERSION +++ b/android/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/android/README.md b/android/README.md index 3b39b1de5..77b8e1244 100644 --- a/android/README.md +++ b/android/README.md @@ -28,7 +28,7 @@ Add this dependency to your project's POM: com.spoonacular android-client - 1.1.1 + 1.1.2 compile ``` @@ -38,7 +38,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.spoonacular:android-client:1.1.1" +compile "com.spoonacular:android-client:1.1.2" ``` ### Others @@ -49,7 +49,7 @@ At first generate the JAR by executing: Then manually install the following JARs: -- target/android-client-1.1.1.jar +- target/android-client-1.1.2.jar - target/lib/*.jar ## Getting Started diff --git a/android/build.gradle b/android/build.gradle index d4a19d942..9d2ff3c2a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group = 'com.spoonacular' -project.version = '1.1.1' +project.version = '1.1.2' buildscript { repositories { diff --git a/android/pom.xml b/android/pom.xml index 32ff2dc9c..7092f29b8 100644 --- a/android/pom.xml +++ b/android/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.spoonacular android-client - 1.1.1 + 1.1.2 io.swagger diff --git a/android/src/main/java/com/spoonacular/client/ApiInvoker.java b/android/src/main/java/com/spoonacular/client/ApiInvoker.java index 32396c1ed..71962465a 100644 --- a/android/src/main/java/com/spoonacular/client/ApiInvoker.java +++ b/android/src/main/java/com/spoonacular/client/ApiInvoker.java @@ -199,7 +199,7 @@ public static void initializeInstance(Cache cache) { public static void initializeInstance(Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery, int connectionTimeout) { INSTANCE = new ApiInvoker(cache, network, threadPoolSize, delivery, connectionTimeout); - setUserAgent("OpenAPI-Generator/1.1.1/android"); + setUserAgent("OpenAPI-Generator/1.1.2/android"); // Setup authentications (key: authentication name, value: authentication). INSTANCE.authentications = new HashMap(); diff --git a/angular/.openapi-generator/VERSION b/angular/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/angular/.openapi-generator/VERSION +++ b/angular/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/angular/api/default.service.ts b/angular/api/default.service.ts index bcc43106c..04b24e355 100644 --- a/angular/api/default.service.ts +++ b/angular/api/default.service.ts @@ -44,8 +44,9 @@ export class DefaultService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/ingredients.service.ts b/angular/api/ingredients.service.ts index c84f531c6..d7002ab5e 100644 --- a/angular/api/ingredients.service.ts +++ b/angular/api/ingredients.service.ts @@ -54,8 +54,9 @@ export class IngredientsService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/mealPlanning.service.ts b/angular/api/mealPlanning.service.ts index 8f0ad5f90..57b4dc424 100644 --- a/angular/api/mealPlanning.service.ts +++ b/angular/api/mealPlanning.service.ts @@ -62,8 +62,9 @@ export class MealPlanningService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/menuItems.service.ts b/angular/api/menuItems.service.ts index 929859a23..bf0038578 100644 --- a/angular/api/menuItems.service.ts +++ b/angular/api/menuItems.service.ts @@ -46,8 +46,9 @@ export class MenuItemsService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/misc.service.ts b/angular/api/misc.service.ts index 4683d0835..5e13ed9da 100644 --- a/angular/api/misc.service.ts +++ b/angular/api/misc.service.ts @@ -62,8 +62,9 @@ export class MiscService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/products.service.ts b/angular/api/products.service.ts index 04bd0df9a..1cb76f76a 100644 --- a/angular/api/products.service.ts +++ b/angular/api/products.service.ts @@ -58,8 +58,9 @@ export class ProductsService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/recipes.service.ts b/angular/api/recipes.service.ts index b0f95b08c..5120d22c1 100644 --- a/angular/api/recipes.service.ts +++ b/angular/api/recipes.service.ts @@ -90,8 +90,9 @@ export class RecipesService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/angular/api/wine.service.ts b/angular/api/wine.service.ts index 29320e729..dff48009c 100644 --- a/angular/api/wine.service.ts +++ b/angular/api/wine.service.ts @@ -48,8 +48,9 @@ export class WineService { this.configuration = configuration; } if (typeof this.configuration.basePath !== 'string') { - if (Array.isArray(basePath) && basePath.length > 0) { - basePath = basePath[0]; + const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined; + if (firstBasePath != undefined) { + basePath = firstBasePath; } if (typeof basePath !== 'string') { diff --git a/build.ps1 b/build.ps1 index 2d43f1d0c..62e6fb969 100644 --- a/build.ps1 +++ b/build.ps1 @@ -2,8 +2,8 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser -F # Setting environment variables $env:PYTHON_POST_PROCESS_FILE = "yapf -i" -$VERSION = "1.1.1" -$GEN = "openapi-generator-cli-7.3.0.jar" +$VERSION = "1.1.2" +$GEN = "openapi-generator-cli-7.7.0-20240612.084912-80.jar" $SPEC = "spoonacular-openapi-3.json" # Removing the 'python' directory @@ -19,15 +19,12 @@ Remove-Item -Path csharp -Recurse -Force Remove-Item -Path dart -Recurse -Force Remove-Item -Path elixir -Recurse -Force Remove-Item -Path erlang -Recurse -Force -Remove-Item -Path scala -Recurse -Force Remove-Item -Path go -Recurse -Force Remove-Item -Path php -Recurse -Force Remove-Item -Path rust -Recurse -Force Remove-Item -Path ruby -Recurse -Force Remove-Item -Path lua -Recurse -Force Remove-Item -Path perl -Recurse -Force -Remove-Item -Path objc -Recurse -Force -Remove-Item -Path groovy -Recurse -Force Remove-Item -Path haskell -Recurse -Force Remove-Item -Path kotlin -Recurse -Force Remove-Item -Path elm -Recurse -Force @@ -43,7 +40,6 @@ java -jar $GEN generate -i $SPEC -g csharp --artifact-version $VERSION --additio java -jar $GEN generate -i $SPEC -g dart --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/dart/ --git-user-id=ddsky --artifact-id dart-client -o dart java -jar $GEN generate -i $SPEC -g elixir --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/elixir/ --git-user-id=ddsky --artifact-id elixir-client -o elixir java -jar $GEN generate -i $SPEC -g erlang-client --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/erlang/ --git-user-id=ddsky --artifact-id erlang-client -o erlang -java -jar $GEN generate -i $SPEC -g scala-finch --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/scala/ --git-user-id=ddsky --artifact-id scala-client -o scala -c java-config.json java -jar $GEN generate -i $SPEC -g go --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/go --git-user-id=ddsky --artifact-id go-client -o go --name-mappings _=Underscore java -jar $GEN generate -i $SPEC -g php --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/php/ --git-user-id=ddsky --artifact-id php-client -o php java -jar $GEN generate -i $SPEC -g python --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/python/ --git-user-id=ddsky --artifact-id python-client -o python --name-mappings _=underscore @@ -51,8 +47,6 @@ java -jar $GEN generate -i $SPEC -g rust --artifact-version $VERSION --additiona java -jar $GEN generate -i $SPEC -g ruby --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/ruby/ --git-user-id=ddsky --artifact-id ruby-client -o ruby java -jar $GEN generate -i $SPEC -g lua --artifact-version $VERSION --additional-properties "packageVersion=${VERSION}-1,project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/lua/ --git-user-id=ddsky --artifact-id lua-client -o lua java -jar $GEN generate -i $SPEC -g perl --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/perl/ --git-user-id=ddsky --artifact-id perl-client -o perl -java -jar $GEN generate -i $SPEC -g objc --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/objc/ --git-user-id=ddsky --artifact-id objc-client -o objc -java -jar $GEN generate -i $SPEC -g groovy --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/groovy/ --git-user-id=ddsky --artifact-id groovy-client -o groovy --additional-properties hideGenerationTimestamp=true java -jar $GEN generate -i $SPEC -g haskell-http-client --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/haskell/ --git-user-id=ddsky --artifact-id haskell-client -o haskell java -jar $GEN generate -i $SPEC -g kotlin --artifact-version $VERSION --api-package com.spoonacular --model-package com.spoonacular.client.model --invoker-package com.spoonacular.client --group-id com.spoonacular --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/kotlin/ --git-user-id=ddsky --artifact-id kotlin-client -o kotlin -c java-config.json java -jar $GEN generate -i $SPEC -g elm --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/elm/ --git-user-id=ddsky --artifact-id elm-client -o elm --additional-properties elmPrefixCustomTypeVariants=true @@ -69,7 +63,6 @@ java -jar $GEN generate -i $SPEC -g elm --artifact-version $VERSION --additional .\7za.exe a -tzip .\zips\dart-client.zip .\dart\* .\7za.exe a -tzip .\zips\elixir-client.zip .\elixir\* .\7za.exe a -tzip .\zips\erlang-client.zip .\erlang\* -.\7za.exe a -tzip .\zips\scala-client.zip .\scala\* .\7za.exe a -tzip .\zips\go-client.zip .\go\* .\7za.exe a -tzip .\zips\php-client.zip .\php\* .\7za.exe a -tzip .\zips\python-client.zip .\python\* @@ -77,8 +70,6 @@ java -jar $GEN generate -i $SPEC -g elm --artifact-version $VERSION --additional .\7za.exe a -tzip .\zips\ruby-client.zip .\ruby\* .\7za.exe a -tzip .\zips\lua-client.zip .\lua\* .\7za.exe a -tzip .\zips\perl-client.zip .\perl\* -.\7za.exe a -tzip .\zips\objc-client.zip .\objc\* -.\7za.exe a -tzip .\zips\groovy-client.zip .\groovy\* .\7za.exe a -tzip .\zips\haskell-client.zip .\haskell\* .\7za.exe a -tzip .\zips\kotlin-client.zip .\kotlin\* .\7za.exe a -tzip .\zips\elm-client.zip .\elm\* diff --git a/clojure/.openapi-generator/VERSION b/clojure/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/clojure/.openapi-generator/VERSION +++ b/clojure/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/cpp/.openapi-generator/VERSION b/cpp/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/cpp/.openapi-generator/VERSION +++ b/cpp/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/cpp/README.md b/cpp/README.md index d2e518391..33f8241c1 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -5,6 +5,7 @@ spoonacular API - API version: 1.1 +- Generator version: 7.7.0-SNAPSHOT The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. diff --git a/cpp/client/OAIDefaultApi.cpp b/cpp/client/OAIDefaultApi.cpp index b126c5b56..172b04076 100644 --- a/cpp/client/OAIDefaultApi.cpp +++ b/cpp/client/OAIDefaultApi.cpp @@ -238,7 +238,7 @@ void OAIDefaultApi::analyzeRecipe(const OAIAnalyzeRecipe_request &oai_analyze_re else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } if (include_nutrition.hasValue()) { @@ -253,7 +253,7 @@ void OAIDefaultApi::analyzeRecipe(const OAIAnalyzeRecipe_request &oai_analyze_re else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_nutrition.value()))); + fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(include_nutrition.stringValue())); } if (include_taste.hasValue()) { @@ -268,7 +268,7 @@ void OAIDefaultApi::analyzeRecipe(const OAIAnalyzeRecipe_request &oai_analyze_re else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeTaste")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_taste.value()))); + fullPath.append(QUrl::toPercentEncoding("includeTaste")).append(querySuffix).append(QUrl::toPercentEncoding(include_taste.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -382,7 +382,7 @@ void OAIDefaultApi::createRecipeCardGet(const double &id, const ::OpenAPI::Optio else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("mask")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(mask.value()))); + fullPath.append(QUrl::toPercentEncoding("mask")).append(querySuffix).append(QUrl::toPercentEncoding(mask.stringValue())); } if (background_image.hasValue()) { @@ -397,7 +397,7 @@ void OAIDefaultApi::createRecipeCardGet(const double &id, const ::OpenAPI::Optio else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("backgroundImage")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(background_image.value()))); + fullPath.append(QUrl::toPercentEncoding("backgroundImage")).append(querySuffix).append(QUrl::toPercentEncoding(background_image.stringValue())); } if (background_color.hasValue()) { @@ -412,7 +412,7 @@ void OAIDefaultApi::createRecipeCardGet(const double &id, const ::OpenAPI::Optio else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("backgroundColor")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(background_color.value()))); + fullPath.append(QUrl::toPercentEncoding("backgroundColor")).append(querySuffix).append(QUrl::toPercentEncoding(background_color.stringValue())); } if (font_color.hasValue()) { @@ -427,7 +427,7 @@ void OAIDefaultApi::createRecipeCardGet(const double &id, const ::OpenAPI::Optio else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("fontColor")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(font_color.value()))); + fullPath.append(QUrl::toPercentEncoding("fontColor")).append(querySuffix).append(QUrl::toPercentEncoding(font_color.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -522,7 +522,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } if (lat.hasValue()) { @@ -537,7 +537,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("lat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(lat.value()))); + fullPath.append(QUrl::toPercentEncoding("lat")).append(querySuffix).append(QUrl::toPercentEncoding(lat.stringValue())); } if (lng.hasValue()) { @@ -552,7 +552,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("lng")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(lng.value()))); + fullPath.append(QUrl::toPercentEncoding("lng")).append(querySuffix).append(QUrl::toPercentEncoding(lng.stringValue())); } if (distance.hasValue()) { @@ -567,7 +567,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("distance")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(distance.value()))); + fullPath.append(QUrl::toPercentEncoding("distance")).append(querySuffix).append(QUrl::toPercentEncoding(distance.stringValue())); } if (budget.hasValue()) { @@ -582,7 +582,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("budget")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(budget.value()))); + fullPath.append(QUrl::toPercentEncoding("budget")).append(querySuffix).append(QUrl::toPercentEncoding(budget.stringValue())); } if (cuisine.hasValue()) { @@ -597,7 +597,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("cuisine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(cuisine.value()))); + fullPath.append(QUrl::toPercentEncoding("cuisine")).append(querySuffix).append(QUrl::toPercentEncoding(cuisine.stringValue())); } if (min_rating.hasValue()) { @@ -612,7 +612,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("min-rating")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_rating.value()))); + fullPath.append(QUrl::toPercentEncoding("min-rating")).append(querySuffix).append(QUrl::toPercentEncoding(min_rating.stringValue())); } if (is_open.hasValue()) { @@ -627,7 +627,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("is-open")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(is_open.value()))); + fullPath.append(QUrl::toPercentEncoding("is-open")).append(querySuffix).append(QUrl::toPercentEncoding(is_open.stringValue())); } if (sort.hasValue()) { @@ -642,7 +642,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sort")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(sort.value()))); + fullPath.append(QUrl::toPercentEncoding("sort")).append(querySuffix).append(QUrl::toPercentEncoding(sort.stringValue())); } if (page.hasValue()) { @@ -657,7 +657,7 @@ void OAIDefaultApi::searchRestaurants(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("page")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(page.value()))); + fullPath.append(QUrl::toPercentEncoding("page")).append(querySuffix).append(QUrl::toPercentEncoding(page.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIHelpers.h b/cpp/client/OAIHelpers.h index 2c81f838a..efccd74d4 100644 --- a/cpp/client/OAIHelpers.h +++ b/cpp/client/OAIHelpers.h @@ -30,27 +30,6 @@ namespace OpenAPI { -template -class OptionalParam { -public: - T m_Value; - bool m_hasValue; -public: - OptionalParam(){ - m_hasValue = false; - } - OptionalParam(const T &val){ - m_hasValue = true; - m_Value = val; - } - bool hasValue() const { - return m_hasValue; - } - T value() const{ - return m_Value; - } -}; - bool setDateTimeFormat(const QString &format); bool setDateTimeFormat(const Qt::DateFormat &format); @@ -273,6 +252,37 @@ bool fromJsonValue(QMap &val, const QJsonValue &jval) { return ok; } +template +class OptionalParam { +public: + T m_Value; + bool m_isNull = false; + bool m_hasValue; +public: + OptionalParam(){ + m_hasValue = false; + } + OptionalParam(const T &val, bool isNull = false){ + m_hasValue = true; + m_Value = val; + m_isNull = isNull; + } + bool hasValue() const { + return m_hasValue; + } + T value() const{ + return m_Value; + } + + QString stringValue() const { + if (m_isNull) { + return QStringLiteral(""); + } else { + return toStringValue(value()); + } + } +}; + } // namespace OpenAPI #endif // OAI_HELPERS_H diff --git a/cpp/client/OAIIngredientsApi.cpp b/cpp/client/OAIIngredientsApi.cpp index 1c1b68885..26b634d8e 100644 --- a/cpp/client/OAIIngredientsApi.cpp +++ b/cpp/client/OAIIngredientsApi.cpp @@ -250,7 +250,7 @@ void OAIIngredientsApi::autocompleteIngredientSearch(const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } if (number.hasValue()) { @@ -265,7 +265,7 @@ void OAIIngredientsApi::autocompleteIngredientSearch(const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } if (meta_information.hasValue()) { @@ -280,7 +280,7 @@ void OAIIngredientsApi::autocompleteIngredientSearch(const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("metaInformation")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(meta_information.value()))); + fullPath.append(QUrl::toPercentEncoding("metaInformation")).append(querySuffix).append(QUrl::toPercentEncoding(meta_information.stringValue())); } if (intolerances.hasValue()) { @@ -295,7 +295,7 @@ void OAIIngredientsApi::autocompleteIngredientSearch(const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("intolerances")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(intolerances.value()))); + fullPath.append(QUrl::toPercentEncoding("intolerances")).append(querySuffix).append(QUrl::toPercentEncoding(intolerances.stringValue())); } if (language.hasValue()) { @@ -310,7 +310,7 @@ void OAIIngredientsApi::autocompleteIngredientSearch(const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -428,7 +428,7 @@ void OAIIngredientsApi::computeIngredientAmount(const double &id, const QString else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("nutrient")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(nutrient))); + fullPath.append(QUrl::toPercentEncoding("nutrient")).append(querySuffix).append(QUrl::toPercentEncoding(nutrient)); } { @@ -443,7 +443,7 @@ void OAIIngredientsApi::computeIngredientAmount(const double &id, const QString else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("target")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(target))); + fullPath.append(QUrl::toPercentEncoding("target")).append(querySuffix).append(QUrl::toPercentEncoding(target)); } if (unit.hasValue()) { @@ -458,7 +458,7 @@ void OAIIngredientsApi::computeIngredientAmount(const double &id, const QString else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("unit")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(unit.value()))); + fullPath.append(QUrl::toPercentEncoding("unit")).append(querySuffix).append(QUrl::toPercentEncoding(unit.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -567,7 +567,7 @@ void OAIIngredientsApi::getIngredientInformation(const qint32 &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("amount")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(amount.value()))); + fullPath.append(QUrl::toPercentEncoding("amount")).append(querySuffix).append(QUrl::toPercentEncoding(amount.stringValue())); } if (unit.hasValue()) { @@ -582,7 +582,7 @@ void OAIIngredientsApi::getIngredientInformation(const qint32 &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("unit")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(unit.value()))); + fullPath.append(QUrl::toPercentEncoding("unit")).append(querySuffix).append(QUrl::toPercentEncoding(unit.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -677,7 +677,7 @@ void OAIIngredientsApi::getIngredientSubstitutes(const QString &ingredient_name) else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("ingredientName")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(ingredient_name))); + fullPath.append(QUrl::toPercentEncoding("ingredientName")).append(querySuffix).append(QUrl::toPercentEncoding(ingredient_name)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -865,7 +865,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } if (add_children.hasValue()) { @@ -880,7 +880,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("addChildren")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(add_children.value()))); + fullPath.append(QUrl::toPercentEncoding("addChildren")).append(querySuffix).append(QUrl::toPercentEncoding(add_children.stringValue())); } if (min_protein_percent.hasValue()) { @@ -895,7 +895,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minProteinPercent")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_protein_percent.value()))); + fullPath.append(QUrl::toPercentEncoding("minProteinPercent")).append(querySuffix).append(QUrl::toPercentEncoding(min_protein_percent.stringValue())); } if (max_protein_percent.hasValue()) { @@ -910,7 +910,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxProteinPercent")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_protein_percent.value()))); + fullPath.append(QUrl::toPercentEncoding("maxProteinPercent")).append(querySuffix).append(QUrl::toPercentEncoding(max_protein_percent.stringValue())); } if (min_fat_percent.hasValue()) { @@ -925,7 +925,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFatPercent")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_fat_percent.value()))); + fullPath.append(QUrl::toPercentEncoding("minFatPercent")).append(querySuffix).append(QUrl::toPercentEncoding(min_fat_percent.stringValue())); } if (max_fat_percent.hasValue()) { @@ -940,7 +940,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFatPercent")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_fat_percent.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFatPercent")).append(querySuffix).append(QUrl::toPercentEncoding(max_fat_percent.stringValue())); } if (min_carbs_percent.hasValue()) { @@ -955,7 +955,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCarbsPercent")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_carbs_percent.value()))); + fullPath.append(QUrl::toPercentEncoding("minCarbsPercent")).append(querySuffix).append(QUrl::toPercentEncoding(min_carbs_percent.stringValue())); } if (max_carbs_percent.hasValue()) { @@ -970,7 +970,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCarbsPercent")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_carbs_percent.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCarbsPercent")).append(querySuffix).append(QUrl::toPercentEncoding(max_carbs_percent.stringValue())); } if (meta_information.hasValue()) { @@ -985,7 +985,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("metaInformation")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(meta_information.value()))); + fullPath.append(QUrl::toPercentEncoding("metaInformation")).append(querySuffix).append(QUrl::toPercentEncoding(meta_information.stringValue())); } if (intolerances.hasValue()) { @@ -1000,7 +1000,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("intolerances")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(intolerances.value()))); + fullPath.append(QUrl::toPercentEncoding("intolerances")).append(querySuffix).append(QUrl::toPercentEncoding(intolerances.stringValue())); } if (sort.hasValue()) { @@ -1015,7 +1015,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sort")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(sort.value()))); + fullPath.append(QUrl::toPercentEncoding("sort")).append(querySuffix).append(QUrl::toPercentEncoding(sort.stringValue())); } if (sort_direction.hasValue()) { @@ -1030,7 +1030,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sortDirection")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(sort_direction.value()))); + fullPath.append(QUrl::toPercentEncoding("sortDirection")).append(querySuffix).append(QUrl::toPercentEncoding(sort_direction.stringValue())); } if (offset.hasValue()) { @@ -1045,7 +1045,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(offset.value()))); + fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(offset.stringValue())); } if (number.hasValue()) { @@ -1060,7 +1060,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } if (language.hasValue()) { @@ -1075,7 +1075,7 @@ void OAIIngredientsApi::ingredientSearch(const ::OpenAPI::OptionalParam else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1184,7 +1184,7 @@ void OAIIngredientsApi::ingredientsByIDImage(const double &id, const ::OpenAPI:: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("measure")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(measure.value()))); + fullPath.append(QUrl::toPercentEncoding("measure")).append(querySuffix).append(QUrl::toPercentEncoding(measure.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1372,7 +1372,7 @@ void OAIIngredientsApi::visualizeIngredients(const QString &ingredient_list, con else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIMealPlanningApi.cpp b/cpp/client/OAIMealPlanningApi.cpp index 7f75186c7..2fefcd3c9 100644 --- a/cpp/client/OAIMealPlanningApi.cpp +++ b/cpp/client/OAIMealPlanningApi.cpp @@ -274,7 +274,7 @@ void OAIMealPlanningApi::addMealPlanTemplate(const QString &username, const QStr else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -383,7 +383,7 @@ void OAIMealPlanningApi::addToMealPlan(const QString &username, const QString &h else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -497,7 +497,7 @@ void OAIMealPlanningApi::addToShoppingList(const QString &username, const QStrin else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -625,7 +625,7 @@ void OAIMealPlanningApi::clearMealPlanDay(const QString &username, const QString else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -832,7 +832,7 @@ void OAIMealPlanningApi::deleteFromMealPlan(const QString &username, const doubl else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -955,7 +955,7 @@ void OAIMealPlanningApi::deleteFromShoppingList(const QString &username, const q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1078,7 +1078,7 @@ void OAIMealPlanningApi::deleteMealPlanTemplate(const QString &username, const q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1173,7 +1173,7 @@ void OAIMealPlanningApi::generateMealPlan(const ::OpenAPI::OptionalParamsetTimeOut(_timeOut); @@ -1355,7 +1355,7 @@ void OAIMealPlanningApi::generateShoppingList(const QString &username, const QSt else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1478,7 +1478,7 @@ void OAIMealPlanningApi::getMealPlanTemplate(const QString &username, const qint else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1587,7 +1587,7 @@ void OAIMealPlanningApi::getMealPlanTemplates(const QString &username, const QSt else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1710,7 +1710,7 @@ void OAIMealPlanningApi::getMealPlanWeek(const QString &username, const QString else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1819,7 +1819,7 @@ void OAIMealPlanningApi::getShoppingList(const QString &username, const QString else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIMenuItemsApi.cpp b/cpp/client/OAIMenuItemsApi.cpp index 59164437e..60a91e216 100644 --- a/cpp/client/OAIMenuItemsApi.cpp +++ b/cpp/client/OAIMenuItemsApi.cpp @@ -246,7 +246,7 @@ void OAIMenuItemsApi::autocompleteMenuItemSearch(const QString &query, const ::O else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query)); } if (number.hasValue()) { @@ -261,7 +261,7 @@ void OAIMenuItemsApi::autocompleteMenuItemSearch(const QString &query, const ::O else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -556,7 +556,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelImage(const double &id, const ::Open else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_optional_nutrients.value()))); + fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(show_optional_nutrients.stringValue())); } if (show_zero_values.hasValue()) { @@ -571,7 +571,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelImage(const double &id, const ::Open else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_zero_values.value()))); + fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(show_zero_values.stringValue())); } if (show_ingredients.hasValue()) { @@ -586,7 +586,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelImage(const double &id, const ::Open else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(show_ingredients.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -695,7 +695,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelWidget(const double &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } if (show_optional_nutrients.hasValue()) { @@ -710,7 +710,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelWidget(const double &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_optional_nutrients.value()))); + fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(show_optional_nutrients.stringValue())); } if (show_zero_values.hasValue()) { @@ -725,7 +725,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelWidget(const double &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_zero_values.value()))); + fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(show_zero_values.stringValue())); } if (show_ingredients.hasValue()) { @@ -740,7 +740,7 @@ void OAIMenuItemsApi::menuItemNutritionLabelWidget(const double &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(show_ingredients.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -836,7 +836,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } if (min_calories.hasValue()) { @@ -851,7 +851,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCalories")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_calories.value()))); + fullPath.append(QUrl::toPercentEncoding("minCalories")).append(querySuffix).append(QUrl::toPercentEncoding(min_calories.stringValue())); } if (max_calories.hasValue()) { @@ -866,7 +866,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCalories")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_calories.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCalories")).append(querySuffix).append(QUrl::toPercentEncoding(max_calories.stringValue())); } if (min_carbs.hasValue()) { @@ -881,7 +881,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_carbs.value()))); + fullPath.append(QUrl::toPercentEncoding("minCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(min_carbs.stringValue())); } if (max_carbs.hasValue()) { @@ -896,7 +896,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_carbs.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(max_carbs.stringValue())); } if (min_protein.hasValue()) { @@ -911,7 +911,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minProtein")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_protein.value()))); + fullPath.append(QUrl::toPercentEncoding("minProtein")).append(querySuffix).append(QUrl::toPercentEncoding(min_protein.stringValue())); } if (max_protein.hasValue()) { @@ -926,7 +926,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxProtein")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_protein.value()))); + fullPath.append(QUrl::toPercentEncoding("maxProtein")).append(querySuffix).append(QUrl::toPercentEncoding(max_protein.stringValue())); } if (min_fat.hasValue()) { @@ -941,7 +941,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_fat.value()))); + fullPath.append(QUrl::toPercentEncoding("minFat")).append(querySuffix).append(QUrl::toPercentEncoding(min_fat.stringValue())); } if (max_fat.hasValue()) { @@ -956,7 +956,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_fat.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFat")).append(querySuffix).append(QUrl::toPercentEncoding(max_fat.stringValue())); } if (add_menu_item_information.hasValue()) { @@ -971,7 +971,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("addMenuItemInformation")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(add_menu_item_information.value()))); + fullPath.append(QUrl::toPercentEncoding("addMenuItemInformation")).append(querySuffix).append(QUrl::toPercentEncoding(add_menu_item_information.stringValue())); } if (offset.hasValue()) { @@ -986,7 +986,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(offset.value()))); + fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(offset.stringValue())); } if (number.hasValue()) { @@ -1001,7 +1001,7 @@ void OAIMenuItemsApi::searchMenuItems(const ::OpenAPI::OptionalParam &q else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1110,7 +1110,7 @@ void OAIMenuItemsApi::visualizeMenuItemNutritionByID(const qint32 &id, const ::O else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIMiscApi.cpp b/cpp/client/OAIMiscApi.cpp index 79138a86d..2d1a417c7 100644 --- a/cpp/client/OAIMiscApi.cpp +++ b/cpp/client/OAIMiscApi.cpp @@ -416,7 +416,7 @@ void OAIMiscApi::getConversationSuggests(const QString &query, const ::OpenAPI:: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query)); } if (number.hasValue()) { @@ -431,7 +431,7 @@ void OAIMiscApi::getConversationSuggests(const QString &query, const ::OpenAPI:: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -605,7 +605,7 @@ void OAIMiscApi::imageAnalysisByURL(const QString &image_url) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("imageUrl")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(image_url))); + fullPath.append(QUrl::toPercentEncoding("imageUrl")).append(querySuffix).append(QUrl::toPercentEncoding(image_url)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -700,7 +700,7 @@ void OAIMiscApi::imageClassificationByURL(const QString &image_url) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("imageUrl")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(image_url))); + fullPath.append(QUrl::toPercentEncoding("imageUrl")).append(querySuffix).append(QUrl::toPercentEncoding(image_url)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -795,7 +795,7 @@ void OAIMiscApi::searchAllFood(const QString &query, const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query)); } if (offset.hasValue()) { @@ -810,7 +810,7 @@ void OAIMiscApi::searchAllFood(const QString &query, const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(offset.value()))); + fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(offset.stringValue())); } if (number.hasValue()) { @@ -825,7 +825,7 @@ void OAIMiscApi::searchAllFood(const QString &query, const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -920,7 +920,7 @@ void OAIMiscApi::searchCustomFoods(const QString &username, const QString &hash, else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } { @@ -935,7 +935,7 @@ void OAIMiscApi::searchCustomFoods(const QString &username, const QString &hash, else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("username")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(username))); + fullPath.append(QUrl::toPercentEncoding("username")).append(querySuffix).append(QUrl::toPercentEncoding(username)); } { @@ -950,7 +950,7 @@ void OAIMiscApi::searchCustomFoods(const QString &username, const QString &hash, else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(hash))); + fullPath.append(QUrl::toPercentEncoding("hash")).append(querySuffix).append(QUrl::toPercentEncoding(hash)); } if (offset.hasValue()) { @@ -965,7 +965,7 @@ void OAIMiscApi::searchCustomFoods(const QString &username, const QString &hash, else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(offset.value()))); + fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(offset.stringValue())); } if (number.hasValue()) { @@ -980,7 +980,7 @@ void OAIMiscApi::searchCustomFoods(const QString &username, const QString &hash, else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1075,7 +1075,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } if (type.hasValue()) { @@ -1090,7 +1090,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("type")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(type.value()))); + fullPath.append(QUrl::toPercentEncoding("type")).append(querySuffix).append(QUrl::toPercentEncoding(type.stringValue())); } if (cuisine.hasValue()) { @@ -1105,7 +1105,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("cuisine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(cuisine.value()))); + fullPath.append(QUrl::toPercentEncoding("cuisine")).append(querySuffix).append(QUrl::toPercentEncoding(cuisine.stringValue())); } if (diet.hasValue()) { @@ -1120,7 +1120,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("diet")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(diet.value()))); + fullPath.append(QUrl::toPercentEncoding("diet")).append(querySuffix).append(QUrl::toPercentEncoding(diet.stringValue())); } if (include_ingredients.hasValue()) { @@ -1135,7 +1135,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("includeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(include_ingredients.stringValue())); } if (exclude_ingredients.hasValue()) { @@ -1150,7 +1150,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("excludeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(exclude_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("excludeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(exclude_ingredients.stringValue())); } if (min_length.hasValue()) { @@ -1165,7 +1165,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minLength")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_length.value()))); + fullPath.append(QUrl::toPercentEncoding("minLength")).append(querySuffix).append(QUrl::toPercentEncoding(min_length.stringValue())); } if (max_length.hasValue()) { @@ -1180,7 +1180,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxLength")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_length.value()))); + fullPath.append(QUrl::toPercentEncoding("maxLength")).append(querySuffix).append(QUrl::toPercentEncoding(max_length.stringValue())); } if (offset.hasValue()) { @@ -1195,7 +1195,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(offset.value()))); + fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(offset.stringValue())); } if (number.hasValue()) { @@ -1210,7 +1210,7 @@ void OAIMiscApi::searchFoodVideos(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1305,7 +1305,7 @@ void OAIMiscApi::searchSiteContent(const QString &query) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1400,7 +1400,7 @@ void OAIMiscApi::talkToChatbot(const QString &text, const ::OpenAPI::OptionalPar else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("text")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(text))); + fullPath.append(QUrl::toPercentEncoding("text")).append(querySuffix).append(QUrl::toPercentEncoding(text)); } if (context_id.hasValue()) { @@ -1415,7 +1415,7 @@ void OAIMiscApi::talkToChatbot(const QString &text, const ::OpenAPI::OptionalPar else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("contextId")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(context_id.value()))); + fullPath.append(QUrl::toPercentEncoding("contextId")).append(querySuffix).append(QUrl::toPercentEncoding(context_id.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIProductsApi.cpp b/cpp/client/OAIProductsApi.cpp index 2b8d403e9..a68d6743e 100644 --- a/cpp/client/OAIProductsApi.cpp +++ b/cpp/client/OAIProductsApi.cpp @@ -254,7 +254,7 @@ void OAIProductsApi::autocompleteProductSearch(const QString &query, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query)); } if (number.hasValue()) { @@ -269,7 +269,7 @@ void OAIProductsApi::autocompleteProductSearch(const QString &query, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -364,7 +364,7 @@ void OAIProductsApi::classifyGroceryProduct(const OAIClassifyGroceryProduct_requ else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("locale")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(locale.value()))); + fullPath.append(QUrl::toPercentEncoding("locale")).append(querySuffix).append(QUrl::toPercentEncoding(locale.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -464,7 +464,7 @@ void OAIProductsApi::classifyGroceryProductBulk(const QSetsetTimeOut(_timeOut); @@ -865,7 +865,7 @@ void OAIProductsApi::productNutritionLabelImage(const double &id, const ::OpenAP else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_optional_nutrients.value()))); + fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(show_optional_nutrients.stringValue())); } if (show_zero_values.hasValue()) { @@ -880,7 +880,7 @@ void OAIProductsApi::productNutritionLabelImage(const double &id, const ::OpenAP else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_zero_values.value()))); + fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(show_zero_values.stringValue())); } if (show_ingredients.hasValue()) { @@ -895,7 +895,7 @@ void OAIProductsApi::productNutritionLabelImage(const double &id, const ::OpenAP else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(show_ingredients.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1004,7 +1004,7 @@ void OAIProductsApi::productNutritionLabelWidget(const double &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } if (show_optional_nutrients.hasValue()) { @@ -1019,7 +1019,7 @@ void OAIProductsApi::productNutritionLabelWidget(const double &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_optional_nutrients.value()))); + fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(show_optional_nutrients.stringValue())); } if (show_zero_values.hasValue()) { @@ -1034,7 +1034,7 @@ void OAIProductsApi::productNutritionLabelWidget(const double &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_zero_values.value()))); + fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(show_zero_values.stringValue())); } if (show_ingredients.hasValue()) { @@ -1049,7 +1049,7 @@ void OAIProductsApi::productNutritionLabelWidget(const double &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(show_ingredients.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1145,7 +1145,7 @@ void OAIProductsApi::searchGroceryProducts(const ::OpenAPI::OptionalParamsetTimeOut(_timeOut); @@ -1512,7 +1512,7 @@ void OAIProductsApi::visualizeProductNutritionByID(const qint32 &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIRecipesApi.cpp b/cpp/client/OAIRecipesApi.cpp index 6b41f4549..e3138183f 100644 --- a/cpp/client/OAIRecipesApi.cpp +++ b/cpp/client/OAIRecipesApi.cpp @@ -312,7 +312,7 @@ void OAIRecipesApi::analyzeARecipeSearchQuery(const QString &q) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("q")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(q))); + fullPath.append(QUrl::toPercentEncoding("q")).append(querySuffix).append(QUrl::toPercentEncoding(q)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -490,7 +490,7 @@ void OAIRecipesApi::autocompleteRecipeSearch(const ::OpenAPI::OptionalParamsetTimeOut(_timeOut); @@ -609,7 +609,7 @@ void OAIRecipesApi::classifyCuisine(const QString &title, const QString &ingredi else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -712,7 +712,7 @@ void OAIRecipesApi::computeGlycemicLoad(const OAIComputeGlycemicLoad_request &oa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -812,7 +812,7 @@ void OAIRecipesApi::convertAmounts(const QString &ingredient_name, const double else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("ingredientName")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(ingredient_name))); + fullPath.append(QUrl::toPercentEncoding("ingredientName")).append(querySuffix).append(QUrl::toPercentEncoding(ingredient_name)); } { @@ -827,7 +827,7 @@ void OAIRecipesApi::convertAmounts(const QString &ingredient_name, const double else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sourceAmount")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(source_amount))); + fullPath.append(QUrl::toPercentEncoding("sourceAmount")).append(querySuffix).append(QUrl::toPercentEncoding(source_amount)); } { @@ -842,7 +842,7 @@ void OAIRecipesApi::convertAmounts(const QString &ingredient_name, const double else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sourceUnit")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(source_unit))); + fullPath.append(QUrl::toPercentEncoding("sourceUnit")).append(querySuffix).append(QUrl::toPercentEncoding(source_unit)); } { @@ -857,7 +857,7 @@ void OAIRecipesApi::convertAmounts(const QString &ingredient_name, const double else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("targetUnit")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(target_unit))); + fullPath.append(QUrl::toPercentEncoding("targetUnit")).append(querySuffix).append(QUrl::toPercentEncoding(target_unit)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1176,7 +1176,7 @@ void OAIRecipesApi::extractRecipeFromWebsite(const QString &url, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("url")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(url))); + fullPath.append(QUrl::toPercentEncoding("url")).append(querySuffix).append(QUrl::toPercentEncoding(url)); } if (force_extraction.hasValue()) { @@ -1191,7 +1191,7 @@ void OAIRecipesApi::extractRecipeFromWebsite(const QString &url, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("forceExtraction")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(force_extraction.value()))); + fullPath.append(QUrl::toPercentEncoding("forceExtraction")).append(querySuffix).append(QUrl::toPercentEncoding(force_extraction.stringValue())); } if (analyze.hasValue()) { @@ -1206,7 +1206,7 @@ void OAIRecipesApi::extractRecipeFromWebsite(const QString &url, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("analyze")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(analyze.value()))); + fullPath.append(QUrl::toPercentEncoding("analyze")).append(querySuffix).append(QUrl::toPercentEncoding(analyze.stringValue())); } if (include_nutrition.hasValue()) { @@ -1221,7 +1221,7 @@ void OAIRecipesApi::extractRecipeFromWebsite(const QString &url, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_nutrition.value()))); + fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(include_nutrition.stringValue())); } if (include_taste.hasValue()) { @@ -1236,7 +1236,7 @@ void OAIRecipesApi::extractRecipeFromWebsite(const QString &url, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeTaste")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_taste.value()))); + fullPath.append(QUrl::toPercentEncoding("includeTaste")).append(querySuffix).append(QUrl::toPercentEncoding(include_taste.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1345,7 +1345,7 @@ void OAIRecipesApi::getAnalyzedRecipeInstructions(const qint32 &id, const ::Open else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("stepBreakdown")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(step_breakdown.value()))); + fullPath.append(QUrl::toPercentEncoding("stepBreakdown")).append(querySuffix).append(QUrl::toPercentEncoding(step_breakdown.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1440,7 +1440,7 @@ void OAIRecipesApi::getRandomRecipes(const ::OpenAPI::OptionalParam &limit else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("limitLicense")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(limit_license.value()))); + fullPath.append(QUrl::toPercentEncoding("limitLicense")).append(querySuffix).append(QUrl::toPercentEncoding(limit_license.stringValue())); } if (include_nutrition.hasValue()) { @@ -1455,7 +1455,7 @@ void OAIRecipesApi::getRandomRecipes(const ::OpenAPI::OptionalParam &limit else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_nutrition.value()))); + fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(include_nutrition.stringValue())); } if (include_tags.hasValue()) { @@ -1470,7 +1470,7 @@ void OAIRecipesApi::getRandomRecipes(const ::OpenAPI::OptionalParam &limit else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("include-tags")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_tags.value()))); + fullPath.append(QUrl::toPercentEncoding("include-tags")).append(querySuffix).append(QUrl::toPercentEncoding(include_tags.stringValue())); } if (exclude_tags.hasValue()) { @@ -1485,7 +1485,7 @@ void OAIRecipesApi::getRandomRecipes(const ::OpenAPI::OptionalParam &limit else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("exclude-tags")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(exclude_tags.value()))); + fullPath.append(QUrl::toPercentEncoding("exclude-tags")).append(querySuffix).append(QUrl::toPercentEncoding(exclude_tags.stringValue())); } if (number.hasValue()) { @@ -1500,7 +1500,7 @@ void OAIRecipesApi::getRandomRecipes(const ::OpenAPI::OptionalParam &limit else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1702,7 +1702,7 @@ void OAIRecipesApi::getRecipeInformation(const qint32 &id, const ::OpenAPI::Opti else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_nutrition.value()))); + fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(include_nutrition.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -1797,7 +1797,7 @@ void OAIRecipesApi::getRecipeInformationBulk(const QString &ids, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("ids")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(ids))); + fullPath.append(QUrl::toPercentEncoding("ids")).append(querySuffix).append(QUrl::toPercentEncoding(ids)); } if (include_nutrition.hasValue()) { @@ -1812,7 +1812,7 @@ void OAIRecipesApi::getRecipeInformationBulk(const QString &ids, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_nutrition.value()))); + fullPath.append(QUrl::toPercentEncoding("includeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(include_nutrition.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -2209,7 +2209,7 @@ void OAIRecipesApi::getRecipeTasteByID(const qint32 &id, const ::OpenAPI::Option else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("normalize")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(normalize.value()))); + fullPath.append(QUrl::toPercentEncoding("normalize")).append(querySuffix).append(QUrl::toPercentEncoding(normalize.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -2318,7 +2318,7 @@ void OAIRecipesApi::getSimilarRecipes(const qint32 &id, const ::OpenAPI::Optiona else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } if (limit_license.hasValue()) { @@ -2333,7 +2333,7 @@ void OAIRecipesApi::getSimilarRecipes(const qint32 &id, const ::OpenAPI::Optiona else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("limitLicense")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(limit_license.value()))); + fullPath.append(QUrl::toPercentEncoding("limitLicense")).append(querySuffix).append(QUrl::toPercentEncoding(limit_license.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -2437,7 +2437,7 @@ void OAIRecipesApi::guessNutritionByDishName(const QString &title) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("title")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(title))); + fullPath.append(QUrl::toPercentEncoding("title")).append(querySuffix).append(QUrl::toPercentEncoding(title)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -2532,7 +2532,7 @@ void OAIRecipesApi::parseIngredients(const QString &ingredient_list, const doubl else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -2741,7 +2741,7 @@ void OAIRecipesApi::quickAnswer(const QString &q) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("q")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(q))); + fullPath.append(QUrl::toPercentEncoding("q")).append(querySuffix).append(QUrl::toPercentEncoding(q)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -2943,7 +2943,7 @@ void OAIRecipesApi::recipeNutritionLabelImage(const double &id, const ::OpenAPI: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_optional_nutrients.value()))); + fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(show_optional_nutrients.stringValue())); } if (show_zero_values.hasValue()) { @@ -2958,7 +2958,7 @@ void OAIRecipesApi::recipeNutritionLabelImage(const double &id, const ::OpenAPI: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_zero_values.value()))); + fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(show_zero_values.stringValue())); } if (show_ingredients.hasValue()) { @@ -2973,7 +2973,7 @@ void OAIRecipesApi::recipeNutritionLabelImage(const double &id, const ::OpenAPI: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(show_ingredients.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -3082,7 +3082,7 @@ void OAIRecipesApi::recipeNutritionLabelWidget(const double &id, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } if (show_optional_nutrients.hasValue()) { @@ -3097,7 +3097,7 @@ void OAIRecipesApi::recipeNutritionLabelWidget(const double &id, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_optional_nutrients.value()))); + fullPath.append(QUrl::toPercentEncoding("showOptionalNutrients")).append(querySuffix).append(QUrl::toPercentEncoding(show_optional_nutrients.stringValue())); } if (show_zero_values.hasValue()) { @@ -3112,7 +3112,7 @@ void OAIRecipesApi::recipeNutritionLabelWidget(const double &id, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_zero_values.value()))); + fullPath.append(QUrl::toPercentEncoding("showZeroValues")).append(querySuffix).append(QUrl::toPercentEncoding(show_zero_values.stringValue())); } if (show_ingredients.hasValue()) { @@ -3127,7 +3127,7 @@ void OAIRecipesApi::recipeNutritionLabelWidget(const double &id, const ::OpenAPI else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(show_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("showIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(show_ingredients.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -3237,7 +3237,7 @@ void OAIRecipesApi::recipeTasteByIDImage(const double &id, const ::OpenAPI::Opti else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("normalize")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(normalize.value()))); + fullPath.append(QUrl::toPercentEncoding("normalize")).append(querySuffix).append(QUrl::toPercentEncoding(normalize.stringValue())); } if (rgb.hasValue()) { @@ -3252,7 +3252,7 @@ void OAIRecipesApi::recipeTasteByIDImage(const double &id, const ::OpenAPI::Opti else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("rgb")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(rgb.value()))); + fullPath.append(QUrl::toPercentEncoding("rgb")).append(querySuffix).append(QUrl::toPercentEncoding(rgb.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -3347,7 +3347,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(query.value()))); + fullPath.append(QUrl::toPercentEncoding("query")).append(querySuffix).append(QUrl::toPercentEncoding(query.stringValue())); } if (cuisine.hasValue()) { @@ -3362,7 +3362,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("cuisine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(cuisine.value()))); + fullPath.append(QUrl::toPercentEncoding("cuisine")).append(querySuffix).append(QUrl::toPercentEncoding(cuisine.stringValue())); } if (exclude_cuisine.hasValue()) { @@ -3377,7 +3377,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("excludeCuisine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(exclude_cuisine.value()))); + fullPath.append(QUrl::toPercentEncoding("excludeCuisine")).append(querySuffix).append(QUrl::toPercentEncoding(exclude_cuisine.stringValue())); } if (diet.hasValue()) { @@ -3392,7 +3392,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("diet")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(diet.value()))); + fullPath.append(QUrl::toPercentEncoding("diet")).append(querySuffix).append(QUrl::toPercentEncoding(diet.stringValue())); } if (intolerances.hasValue()) { @@ -3407,7 +3407,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("intolerances")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(intolerances.value()))); + fullPath.append(QUrl::toPercentEncoding("intolerances")).append(querySuffix).append(QUrl::toPercentEncoding(intolerances.stringValue())); } if (equipment.hasValue()) { @@ -3422,7 +3422,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("equipment")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(equipment.value()))); + fullPath.append(QUrl::toPercentEncoding("equipment")).append(querySuffix).append(QUrl::toPercentEncoding(equipment.stringValue())); } if (include_ingredients.hasValue()) { @@ -3437,7 +3437,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("includeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(include_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("includeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(include_ingredients.stringValue())); } if (exclude_ingredients.hasValue()) { @@ -3452,7 +3452,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("excludeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(exclude_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("excludeIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(exclude_ingredients.stringValue())); } if (type.hasValue()) { @@ -3467,7 +3467,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("type")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(type.value()))); + fullPath.append(QUrl::toPercentEncoding("type")).append(querySuffix).append(QUrl::toPercentEncoding(type.stringValue())); } if (instructions_required.hasValue()) { @@ -3482,7 +3482,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("instructionsRequired")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(instructions_required.value()))); + fullPath.append(QUrl::toPercentEncoding("instructionsRequired")).append(querySuffix).append(QUrl::toPercentEncoding(instructions_required.stringValue())); } if (fill_ingredients.hasValue()) { @@ -3497,7 +3497,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("fillIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(fill_ingredients.value()))); + fullPath.append(QUrl::toPercentEncoding("fillIngredients")).append(querySuffix).append(QUrl::toPercentEncoding(fill_ingredients.stringValue())); } if (add_recipe_information.hasValue()) { @@ -3512,7 +3512,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("addRecipeInformation")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(add_recipe_information.value()))); + fullPath.append(QUrl::toPercentEncoding("addRecipeInformation")).append(querySuffix).append(QUrl::toPercentEncoding(add_recipe_information.stringValue())); } if (add_recipe_nutrition.hasValue()) { @@ -3527,7 +3527,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("addRecipeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(add_recipe_nutrition.value()))); + fullPath.append(QUrl::toPercentEncoding("addRecipeNutrition")).append(querySuffix).append(QUrl::toPercentEncoding(add_recipe_nutrition.stringValue())); } if (author.hasValue()) { @@ -3542,7 +3542,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("author")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(author.value()))); + fullPath.append(QUrl::toPercentEncoding("author")).append(querySuffix).append(QUrl::toPercentEncoding(author.stringValue())); } if (tags.hasValue()) { @@ -3557,7 +3557,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("tags")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(tags.value()))); + fullPath.append(QUrl::toPercentEncoding("tags")).append(querySuffix).append(QUrl::toPercentEncoding(tags.stringValue())); } if (recipe_box_id.hasValue()) { @@ -3572,7 +3572,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("recipeBoxId")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(recipe_box_id.value()))); + fullPath.append(QUrl::toPercentEncoding("recipeBoxId")).append(querySuffix).append(QUrl::toPercentEncoding(recipe_box_id.stringValue())); } if (title_match.hasValue()) { @@ -3587,7 +3587,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("titleMatch")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(title_match.value()))); + fullPath.append(QUrl::toPercentEncoding("titleMatch")).append(querySuffix).append(QUrl::toPercentEncoding(title_match.stringValue())); } if (max_ready_time.hasValue()) { @@ -3602,7 +3602,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxReadyTime")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_ready_time.value()))); + fullPath.append(QUrl::toPercentEncoding("maxReadyTime")).append(querySuffix).append(QUrl::toPercentEncoding(max_ready_time.stringValue())); } if (min_servings.hasValue()) { @@ -3617,7 +3617,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minServings")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_servings.value()))); + fullPath.append(QUrl::toPercentEncoding("minServings")).append(querySuffix).append(QUrl::toPercentEncoding(min_servings.stringValue())); } if (max_servings.hasValue()) { @@ -3632,7 +3632,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxServings")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_servings.value()))); + fullPath.append(QUrl::toPercentEncoding("maxServings")).append(querySuffix).append(QUrl::toPercentEncoding(max_servings.stringValue())); } if (ignore_pantry.hasValue()) { @@ -3647,7 +3647,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("ignorePantry")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(ignore_pantry.value()))); + fullPath.append(QUrl::toPercentEncoding("ignorePantry")).append(querySuffix).append(QUrl::toPercentEncoding(ignore_pantry.stringValue())); } if (sort.hasValue()) { @@ -3662,7 +3662,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sort")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(sort.value()))); + fullPath.append(QUrl::toPercentEncoding("sort")).append(querySuffix).append(QUrl::toPercentEncoding(sort.stringValue())); } if (sort_direction.hasValue()) { @@ -3677,7 +3677,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("sortDirection")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(sort_direction.value()))); + fullPath.append(QUrl::toPercentEncoding("sortDirection")).append(querySuffix).append(QUrl::toPercentEncoding(sort_direction.stringValue())); } if (min_carbs.hasValue()) { @@ -3692,7 +3692,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_carbs.value()))); + fullPath.append(QUrl::toPercentEncoding("minCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(min_carbs.stringValue())); } if (max_carbs.hasValue()) { @@ -3707,7 +3707,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_carbs.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCarbs")).append(querySuffix).append(QUrl::toPercentEncoding(max_carbs.stringValue())); } if (min_protein.hasValue()) { @@ -3722,7 +3722,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minProtein")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_protein.value()))); + fullPath.append(QUrl::toPercentEncoding("minProtein")).append(querySuffix).append(QUrl::toPercentEncoding(min_protein.stringValue())); } if (max_protein.hasValue()) { @@ -3737,7 +3737,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxProtein")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_protein.value()))); + fullPath.append(QUrl::toPercentEncoding("maxProtein")).append(querySuffix).append(QUrl::toPercentEncoding(max_protein.stringValue())); } if (min_calories.hasValue()) { @@ -3752,7 +3752,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCalories")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_calories.value()))); + fullPath.append(QUrl::toPercentEncoding("minCalories")).append(querySuffix).append(QUrl::toPercentEncoding(min_calories.stringValue())); } if (max_calories.hasValue()) { @@ -3767,7 +3767,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCalories")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_calories.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCalories")).append(querySuffix).append(QUrl::toPercentEncoding(max_calories.stringValue())); } if (min_fat.hasValue()) { @@ -3782,7 +3782,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_fat.value()))); + fullPath.append(QUrl::toPercentEncoding("minFat")).append(querySuffix).append(QUrl::toPercentEncoding(min_fat.stringValue())); } if (max_fat.hasValue()) { @@ -3797,7 +3797,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_fat.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFat")).append(querySuffix).append(QUrl::toPercentEncoding(max_fat.stringValue())); } if (min_alcohol.hasValue()) { @@ -3812,7 +3812,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minAlcohol")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_alcohol.value()))); + fullPath.append(QUrl::toPercentEncoding("minAlcohol")).append(querySuffix).append(QUrl::toPercentEncoding(min_alcohol.stringValue())); } if (max_alcohol.hasValue()) { @@ -3827,7 +3827,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxAlcohol")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_alcohol.value()))); + fullPath.append(QUrl::toPercentEncoding("maxAlcohol")).append(querySuffix).append(QUrl::toPercentEncoding(max_alcohol.stringValue())); } if (min_caffeine.hasValue()) { @@ -3842,7 +3842,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCaffeine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_caffeine.value()))); + fullPath.append(QUrl::toPercentEncoding("minCaffeine")).append(querySuffix).append(QUrl::toPercentEncoding(min_caffeine.stringValue())); } if (max_caffeine.hasValue()) { @@ -3857,7 +3857,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCaffeine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_caffeine.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCaffeine")).append(querySuffix).append(QUrl::toPercentEncoding(max_caffeine.stringValue())); } if (min_copper.hasValue()) { @@ -3872,7 +3872,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCopper")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_copper.value()))); + fullPath.append(QUrl::toPercentEncoding("minCopper")).append(querySuffix).append(QUrl::toPercentEncoding(min_copper.stringValue())); } if (max_copper.hasValue()) { @@ -3887,7 +3887,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCopper")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_copper.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCopper")).append(querySuffix).append(QUrl::toPercentEncoding(max_copper.stringValue())); } if (min_calcium.hasValue()) { @@ -3902,7 +3902,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCalcium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_calcium.value()))); + fullPath.append(QUrl::toPercentEncoding("minCalcium")).append(querySuffix).append(QUrl::toPercentEncoding(min_calcium.stringValue())); } if (max_calcium.hasValue()) { @@ -3917,7 +3917,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCalcium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_calcium.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCalcium")).append(querySuffix).append(QUrl::toPercentEncoding(max_calcium.stringValue())); } if (min_choline.hasValue()) { @@ -3932,7 +3932,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCholine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_choline.value()))); + fullPath.append(QUrl::toPercentEncoding("minCholine")).append(querySuffix).append(QUrl::toPercentEncoding(min_choline.stringValue())); } if (max_choline.hasValue()) { @@ -3947,7 +3947,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCholine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_choline.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCholine")).append(querySuffix).append(QUrl::toPercentEncoding(max_choline.stringValue())); } if (min_cholesterol.hasValue()) { @@ -3962,7 +3962,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minCholesterol")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_cholesterol.value()))); + fullPath.append(QUrl::toPercentEncoding("minCholesterol")).append(querySuffix).append(QUrl::toPercentEncoding(min_cholesterol.stringValue())); } if (max_cholesterol.hasValue()) { @@ -3977,7 +3977,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxCholesterol")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_cholesterol.value()))); + fullPath.append(QUrl::toPercentEncoding("maxCholesterol")).append(querySuffix).append(QUrl::toPercentEncoding(max_cholesterol.stringValue())); } if (min_fluoride.hasValue()) { @@ -3992,7 +3992,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFluoride")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_fluoride.value()))); + fullPath.append(QUrl::toPercentEncoding("minFluoride")).append(querySuffix).append(QUrl::toPercentEncoding(min_fluoride.stringValue())); } if (max_fluoride.hasValue()) { @@ -4007,7 +4007,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFluoride")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_fluoride.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFluoride")).append(querySuffix).append(QUrl::toPercentEncoding(max_fluoride.stringValue())); } if (min_saturated_fat.hasValue()) { @@ -4022,7 +4022,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minSaturatedFat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_saturated_fat.value()))); + fullPath.append(QUrl::toPercentEncoding("minSaturatedFat")).append(querySuffix).append(QUrl::toPercentEncoding(min_saturated_fat.stringValue())); } if (max_saturated_fat.hasValue()) { @@ -4037,7 +4037,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxSaturatedFat")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_saturated_fat.value()))); + fullPath.append(QUrl::toPercentEncoding("maxSaturatedFat")).append(querySuffix).append(QUrl::toPercentEncoding(max_saturated_fat.stringValue())); } if (min_vitamin_a.hasValue()) { @@ -4052,7 +4052,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminA")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_a.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminA")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_a.stringValue())); } if (max_vitamin_a.hasValue()) { @@ -4067,7 +4067,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminA")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_a.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminA")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_a.stringValue())); } if (min_vitamin_c.hasValue()) { @@ -4082,7 +4082,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminC")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_c.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminC")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_c.stringValue())); } if (max_vitamin_c.hasValue()) { @@ -4097,7 +4097,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminC")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_c.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminC")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_c.stringValue())); } if (min_vitamin_d.hasValue()) { @@ -4112,7 +4112,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminD")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_d.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminD")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_d.stringValue())); } if (max_vitamin_d.hasValue()) { @@ -4127,7 +4127,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminD")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_d.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminD")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_d.stringValue())); } if (min_vitamin_e.hasValue()) { @@ -4142,7 +4142,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminE")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_e.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminE")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_e.stringValue())); } if (max_vitamin_e.hasValue()) { @@ -4157,7 +4157,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminE")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_e.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminE")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_e.stringValue())); } if (min_vitamin_k.hasValue()) { @@ -4172,7 +4172,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminK")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_k.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminK")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_k.stringValue())); } if (max_vitamin_k.hasValue()) { @@ -4187,7 +4187,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminK")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_k.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminK")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_k.stringValue())); } if (min_vitamin_b1.hasValue()) { @@ -4202,7 +4202,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminB1")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_b1.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminB1")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_b1.stringValue())); } if (max_vitamin_b1.hasValue()) { @@ -4217,7 +4217,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminB1")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_b1.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminB1")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_b1.stringValue())); } if (min_vitamin_b2.hasValue()) { @@ -4232,7 +4232,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminB2")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_b2.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminB2")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_b2.stringValue())); } if (max_vitamin_b2.hasValue()) { @@ -4247,7 +4247,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminB2")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_b2.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminB2")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_b2.stringValue())); } if (min_vitamin_b5.hasValue()) { @@ -4262,7 +4262,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminB5")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_b5.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminB5")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_b5.stringValue())); } if (max_vitamin_b5.hasValue()) { @@ -4277,7 +4277,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminB5")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_b5.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminB5")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_b5.stringValue())); } if (min_vitamin_b3.hasValue()) { @@ -4292,7 +4292,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminB3")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_b3.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminB3")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_b3.stringValue())); } if (max_vitamin_b3.hasValue()) { @@ -4307,7 +4307,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminB3")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_b3.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminB3")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_b3.stringValue())); } if (min_vitamin_b6.hasValue()) { @@ -4322,7 +4322,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminB6")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_b6.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminB6")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_b6.stringValue())); } if (max_vitamin_b6.hasValue()) { @@ -4337,7 +4337,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminB6")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_b6.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminB6")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_b6.stringValue())); } if (min_vitamin_b12.hasValue()) { @@ -4352,7 +4352,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minVitaminB12")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_vitamin_b12.value()))); + fullPath.append(QUrl::toPercentEncoding("minVitaminB12")).append(querySuffix).append(QUrl::toPercentEncoding(min_vitamin_b12.stringValue())); } if (max_vitamin_b12.hasValue()) { @@ -4367,7 +4367,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxVitaminB12")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_vitamin_b12.value()))); + fullPath.append(QUrl::toPercentEncoding("maxVitaminB12")).append(querySuffix).append(QUrl::toPercentEncoding(max_vitamin_b12.stringValue())); } if (min_fiber.hasValue()) { @@ -4382,7 +4382,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFiber")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_fiber.value()))); + fullPath.append(QUrl::toPercentEncoding("minFiber")).append(querySuffix).append(QUrl::toPercentEncoding(min_fiber.stringValue())); } if (max_fiber.hasValue()) { @@ -4397,7 +4397,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFiber")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_fiber.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFiber")).append(querySuffix).append(QUrl::toPercentEncoding(max_fiber.stringValue())); } if (min_folate.hasValue()) { @@ -4412,7 +4412,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFolate")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_folate.value()))); + fullPath.append(QUrl::toPercentEncoding("minFolate")).append(querySuffix).append(QUrl::toPercentEncoding(min_folate.stringValue())); } if (max_folate.hasValue()) { @@ -4427,7 +4427,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFolate")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_folate.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFolate")).append(querySuffix).append(QUrl::toPercentEncoding(max_folate.stringValue())); } if (min_folic_acid.hasValue()) { @@ -4442,7 +4442,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minFolicAcid")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_folic_acid.value()))); + fullPath.append(QUrl::toPercentEncoding("minFolicAcid")).append(querySuffix).append(QUrl::toPercentEncoding(min_folic_acid.stringValue())); } if (max_folic_acid.hasValue()) { @@ -4457,7 +4457,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxFolicAcid")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_folic_acid.value()))); + fullPath.append(QUrl::toPercentEncoding("maxFolicAcid")).append(querySuffix).append(QUrl::toPercentEncoding(max_folic_acid.stringValue())); } if (min_iodine.hasValue()) { @@ -4472,7 +4472,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minIodine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_iodine.value()))); + fullPath.append(QUrl::toPercentEncoding("minIodine")).append(querySuffix).append(QUrl::toPercentEncoding(min_iodine.stringValue())); } if (max_iodine.hasValue()) { @@ -4487,7 +4487,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxIodine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_iodine.value()))); + fullPath.append(QUrl::toPercentEncoding("maxIodine")).append(querySuffix).append(QUrl::toPercentEncoding(max_iodine.stringValue())); } if (min_iron.hasValue()) { @@ -4502,7 +4502,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minIron")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_iron.value()))); + fullPath.append(QUrl::toPercentEncoding("minIron")).append(querySuffix).append(QUrl::toPercentEncoding(min_iron.stringValue())); } if (max_iron.hasValue()) { @@ -4517,7 +4517,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxIron")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_iron.value()))); + fullPath.append(QUrl::toPercentEncoding("maxIron")).append(querySuffix).append(QUrl::toPercentEncoding(max_iron.stringValue())); } if (min_magnesium.hasValue()) { @@ -4532,7 +4532,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minMagnesium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_magnesium.value()))); + fullPath.append(QUrl::toPercentEncoding("minMagnesium")).append(querySuffix).append(QUrl::toPercentEncoding(min_magnesium.stringValue())); } if (max_magnesium.hasValue()) { @@ -4547,7 +4547,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxMagnesium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_magnesium.value()))); + fullPath.append(QUrl::toPercentEncoding("maxMagnesium")).append(querySuffix).append(QUrl::toPercentEncoding(max_magnesium.stringValue())); } if (min_manganese.hasValue()) { @@ -4562,7 +4562,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minManganese")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_manganese.value()))); + fullPath.append(QUrl::toPercentEncoding("minManganese")).append(querySuffix).append(QUrl::toPercentEncoding(min_manganese.stringValue())); } if (max_manganese.hasValue()) { @@ -4577,7 +4577,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxManganese")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_manganese.value()))); + fullPath.append(QUrl::toPercentEncoding("maxManganese")).append(querySuffix).append(QUrl::toPercentEncoding(max_manganese.stringValue())); } if (min_phosphorus.hasValue()) { @@ -4592,7 +4592,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minPhosphorus")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_phosphorus.value()))); + fullPath.append(QUrl::toPercentEncoding("minPhosphorus")).append(querySuffix).append(QUrl::toPercentEncoding(min_phosphorus.stringValue())); } if (max_phosphorus.hasValue()) { @@ -4607,7 +4607,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxPhosphorus")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_phosphorus.value()))); + fullPath.append(QUrl::toPercentEncoding("maxPhosphorus")).append(querySuffix).append(QUrl::toPercentEncoding(max_phosphorus.stringValue())); } if (min_potassium.hasValue()) { @@ -4622,7 +4622,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minPotassium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_potassium.value()))); + fullPath.append(QUrl::toPercentEncoding("minPotassium")).append(querySuffix).append(QUrl::toPercentEncoding(min_potassium.stringValue())); } if (max_potassium.hasValue()) { @@ -4637,7 +4637,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxPotassium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_potassium.value()))); + fullPath.append(QUrl::toPercentEncoding("maxPotassium")).append(querySuffix).append(QUrl::toPercentEncoding(max_potassium.stringValue())); } if (min_selenium.hasValue()) { @@ -4652,7 +4652,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minSelenium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_selenium.value()))); + fullPath.append(QUrl::toPercentEncoding("minSelenium")).append(querySuffix).append(QUrl::toPercentEncoding(min_selenium.stringValue())); } if (max_selenium.hasValue()) { @@ -4667,7 +4667,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxSelenium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_selenium.value()))); + fullPath.append(QUrl::toPercentEncoding("maxSelenium")).append(querySuffix).append(QUrl::toPercentEncoding(max_selenium.stringValue())); } if (min_sodium.hasValue()) { @@ -4682,7 +4682,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minSodium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_sodium.value()))); + fullPath.append(QUrl::toPercentEncoding("minSodium")).append(querySuffix).append(QUrl::toPercentEncoding(min_sodium.stringValue())); } if (max_sodium.hasValue()) { @@ -4697,7 +4697,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxSodium")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_sodium.value()))); + fullPath.append(QUrl::toPercentEncoding("maxSodium")).append(querySuffix).append(QUrl::toPercentEncoding(max_sodium.stringValue())); } if (min_sugar.hasValue()) { @@ -4712,7 +4712,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minSugar")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_sugar.value()))); + fullPath.append(QUrl::toPercentEncoding("minSugar")).append(querySuffix).append(QUrl::toPercentEncoding(min_sugar.stringValue())); } if (max_sugar.hasValue()) { @@ -4727,7 +4727,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxSugar")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_sugar.value()))); + fullPath.append(QUrl::toPercentEncoding("maxSugar")).append(querySuffix).append(QUrl::toPercentEncoding(max_sugar.stringValue())); } if (min_zinc.hasValue()) { @@ -4742,7 +4742,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minZinc")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_zinc.value()))); + fullPath.append(QUrl::toPercentEncoding("minZinc")).append(querySuffix).append(QUrl::toPercentEncoding(min_zinc.stringValue())); } if (max_zinc.hasValue()) { @@ -4757,7 +4757,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxZinc")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_zinc.value()))); + fullPath.append(QUrl::toPercentEncoding("maxZinc")).append(querySuffix).append(QUrl::toPercentEncoding(max_zinc.stringValue())); } if (offset.hasValue()) { @@ -4772,7 +4772,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(offset.value()))); + fullPath.append(QUrl::toPercentEncoding("offset")).append(querySuffix).append(QUrl::toPercentEncoding(offset.stringValue())); } if (number.hasValue()) { @@ -4787,7 +4787,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } if (limit_license.hasValue()) { @@ -4802,7 +4802,7 @@ void OAIRecipesApi::searchRecipes(const ::OpenAPI::OptionalParam &query else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("limitLicense")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(limit_license.value()))); + fullPath.append(QUrl::toPercentEncoding("limitLicense")).append(querySuffix).append(QUrl::toPercentEncoding(limit_license.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -4897,7 +4897,7 @@ void OAIRecipesApi::searchRecipesByIngredients(const ::OpenAPI::OptionalParamsetTimeOut(_timeOut); @@ -5061,7 +5061,7 @@ void OAIRecipesApi::searchRecipesByNutrients(const ::OpenAPI::OptionalParamsetTimeOut(_timeOut); @@ -6479,7 +6479,7 @@ void OAIRecipesApi::visualizePriceBreakdown(const QString &ingredient_list, cons else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -6609,7 +6609,7 @@ void OAIRecipesApi::visualizeRecipeEquipmentByID(const qint32 &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -6719,7 +6719,7 @@ void OAIRecipesApi::visualizeRecipeIngredientsByID(const qint32 &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } if (measure.hasValue()) { @@ -6734,7 +6734,7 @@ void OAIRecipesApi::visualizeRecipeIngredientsByID(const qint32 &id, const ::Ope else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("measure")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(measure.value()))); + fullPath.append(QUrl::toPercentEncoding("measure")).append(querySuffix).append(QUrl::toPercentEncoding(measure.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -6830,7 +6830,7 @@ void OAIRecipesApi::visualizeRecipeNutrition(const QString &ingredient_list, con else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -6956,7 +6956,7 @@ void OAIRecipesApi::visualizeRecipeNutritionByID(const qint32 &id, const ::OpenA else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -7066,7 +7066,7 @@ void OAIRecipesApi::visualizeRecipePriceBreakdownByID(const qint32 &id, const :: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(default_css.value()))); + fullPath.append(QUrl::toPercentEncoding("defaultCss")).append(querySuffix).append(QUrl::toPercentEncoding(default_css.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -7162,7 +7162,7 @@ void OAIRecipesApi::visualizeRecipeTaste(const QString &ingredient_list, const : else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(language.value()))); + fullPath.append(QUrl::toPercentEncoding("language")).append(querySuffix).append(QUrl::toPercentEncoding(language.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -7284,7 +7284,7 @@ void OAIRecipesApi::visualizeRecipeTasteByID(const qint32 &id, const ::OpenAPI:: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("normalize")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(normalize.value()))); + fullPath.append(QUrl::toPercentEncoding("normalize")).append(querySuffix).append(QUrl::toPercentEncoding(normalize.stringValue())); } if (rgb.hasValue()) { @@ -7299,7 +7299,7 @@ void OAIRecipesApi::visualizeRecipeTasteByID(const qint32 &id, const ::OpenAPI:: else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("rgb")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(rgb.value()))); + fullPath.append(QUrl::toPercentEncoding("rgb")).append(querySuffix).append(QUrl::toPercentEncoding(rgb.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/cpp/client/OAIWineApi.cpp b/cpp/client/OAIWineApi.cpp index 4f0388784..c3f31da83 100644 --- a/cpp/client/OAIWineApi.cpp +++ b/cpp/client/OAIWineApi.cpp @@ -240,7 +240,7 @@ void OAIWineApi::getDishPairingForWine(const QString &wine) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("wine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(wine))); + fullPath.append(QUrl::toPercentEncoding("wine")).append(querySuffix).append(QUrl::toPercentEncoding(wine)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -335,7 +335,7 @@ void OAIWineApi::getWineDescription(const QString &wine) { else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("wine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(wine))); + fullPath.append(QUrl::toPercentEncoding("wine")).append(querySuffix).append(QUrl::toPercentEncoding(wine)); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -430,7 +430,7 @@ void OAIWineApi::getWinePairing(const QString &food, const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("food")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(food))); + fullPath.append(QUrl::toPercentEncoding("food")).append(querySuffix).append(QUrl::toPercentEncoding(food)); } if (max_price.hasValue()) { @@ -445,7 +445,7 @@ void OAIWineApi::getWinePairing(const QString &food, const ::OpenAPI::OptionalPa else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxPrice")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_price.value()))); + fullPath.append(QUrl::toPercentEncoding("maxPrice")).append(querySuffix).append(QUrl::toPercentEncoding(max_price.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); @@ -540,7 +540,7 @@ void OAIWineApi::getWineRecommendation(const QString &wine, const ::OpenAPI::Opt else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("wine")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(wine))); + fullPath.append(QUrl::toPercentEncoding("wine")).append(querySuffix).append(QUrl::toPercentEncoding(wine)); } if (max_price.hasValue()) { @@ -555,7 +555,7 @@ void OAIWineApi::getWineRecommendation(const QString &wine, const ::OpenAPI::Opt else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("maxPrice")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(max_price.value()))); + fullPath.append(QUrl::toPercentEncoding("maxPrice")).append(querySuffix).append(QUrl::toPercentEncoding(max_price.stringValue())); } if (min_rating.hasValue()) { @@ -570,7 +570,7 @@ void OAIWineApi::getWineRecommendation(const QString &wine, const ::OpenAPI::Opt else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("minRating")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(min_rating.value()))); + fullPath.append(QUrl::toPercentEncoding("minRating")).append(querySuffix).append(QUrl::toPercentEncoding(min_rating.stringValue())); } if (number.hasValue()) { @@ -585,7 +585,7 @@ void OAIWineApi::getWineRecommendation(const QString &wine, const ::OpenAPI::Opt else fullPath.append("?"); - fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(::OpenAPI::toStringValue(number.value()))); + fullPath.append(QUrl::toPercentEncoding("number")).append(querySuffix).append(QUrl::toPercentEncoding(number.stringValue())); } OAIHttpRequestWorker *worker = new OAIHttpRequestWorker(this, _manager); worker->setTimeOut(_timeOut); diff --git a/csharp/.openapi-generator/VERSION b/csharp/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/csharp/.openapi-generator/VERSION +++ b/csharp/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/csharp/README.md b/csharp/README.md index bf2178e85..805d06c83 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -7,7 +7,8 @@ Special diets/dietary requirements currently available include: vegan, vegetaria This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.1 -- SDK version: 1.1.1 +- SDK version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.CSharpClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/csharp/src/spoonacular.Test/spoonacular.Test.csproj b/csharp/src/spoonacular.Test/spoonacular.Test.csproj index 004050769..8f2fc06d2 100644 --- a/csharp/src/spoonacular.Test/spoonacular.Test.csproj +++ b/csharp/src/spoonacular.Test/spoonacular.Test.csproj @@ -9,9 +9,9 @@ - - - + + + diff --git a/csharp/src/spoonacular/Client/Configuration.cs b/csharp/src/spoonacular/Client/Configuration.cs index bffdfeb4c..acf4bf617 100644 --- a/csharp/src/spoonacular/Client/Configuration.cs +++ b/csharp/src/spoonacular/Client/Configuration.cs @@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "1.1.1"; + public const string Version = "1.1.2"; /// /// Identifier for ISO 8601 DateTime Format @@ -118,7 +118,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.1.1/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.1.2/csharp"); BasePath = "https://api.spoonacular.com"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -541,7 +541,7 @@ public static string ToDebugReport() report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 1.1\n"; - report += " SDK Package Version: 1.1.1\n"; + report += " SDK Package Version: 1.1.2\n"; return report; } diff --git a/csharp/src/spoonacular/Model/AddMealPlanTemplate200Response.cs b/csharp/src/spoonacular/Model/AddMealPlanTemplate200Response.cs index 78891b074..603cc4f38 100644 --- a/csharp/src/spoonacular/Model/AddMealPlanTemplate200Response.cs +++ b/csharp/src/spoonacular/Model/AddMealPlanTemplate200Response.cs @@ -107,12 +107,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInner.cs b/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInner.cs index e7fa30ca5..ff1e514f7 100644 --- a/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInner.cs +++ b/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInner.cs @@ -120,12 +120,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInnerValue.cs b/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInnerValue.cs index 3fcb6e5b1..4a8fd166b 100644 --- a/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInnerValue.cs +++ b/csharp/src/spoonacular/Model/AddMealPlanTemplate200ResponseItemsInnerValue.cs @@ -101,18 +101,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AddToMealPlanRequest.cs b/csharp/src/spoonacular/Model/AddToMealPlanRequest.cs index 5c57ebf5f..9e95bd97e 100644 --- a/csharp/src/spoonacular/Model/AddToMealPlanRequest.cs +++ b/csharp/src/spoonacular/Model/AddToMealPlanRequest.cs @@ -125,12 +125,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AddToMealPlanRequestValue.cs b/csharp/src/spoonacular/Model/AddToMealPlanRequestValue.cs index bfd9cba47..43b896444 100644 --- a/csharp/src/spoonacular/Model/AddToMealPlanRequestValue.cs +++ b/csharp/src/spoonacular/Model/AddToMealPlanRequestValue.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AddToMealPlanRequestValueIngredientsInner.cs b/csharp/src/spoonacular/Model/AddToMealPlanRequestValueIngredientsInner.cs index 1e66e26e1..5ea688472 100644 --- a/csharp/src/spoonacular/Model/AddToMealPlanRequestValueIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/AddToMealPlanRequestValueIngredientsInner.cs @@ -84,12 +84,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AddToShoppingListRequest.cs b/csharp/src/spoonacular/Model/AddToShoppingListRequest.cs index 72237fd45..ab9b49bc9 100644 --- a/csharp/src/spoonacular/Model/AddToShoppingListRequest.cs +++ b/csharp/src/spoonacular/Model/AddToShoppingListRequest.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Item (string) minLength if (this.Item != null && this.Item.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Item, length must be greater than 1.", new [] { "Item" }); + yield return new ValidationResult("Invalid value for Item, length must be greater than 1.", new [] { "Item" }); } // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200Response.cs b/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200Response.cs index f9f7752c9..ee126033c 100644 --- a/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200Response.cs +++ b/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200Response.cs @@ -126,7 +126,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.cs b/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.cs index 933f1feff..bb4444cbf 100644 --- a/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.cs +++ b/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.cs @@ -98,18 +98,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.cs index 4e8e405ef..e6c2e27e3 100644 --- a/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200Response.cs b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200Response.cs index 0df425f5b..37b9b3779 100644 --- a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200Response.cs +++ b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200Response.cs @@ -112,7 +112,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.cs index df20e2193..663622072 100644 --- a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.cs b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.cs index a61c144c3..1f32b2e68 100644 --- a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.cs +++ b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.cs @@ -93,7 +93,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs index 9a01f6920..07813eee1 100644 --- a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs +++ b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs @@ -111,12 +111,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Step (string) minLength if (this.Step != null && this.Step.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Step, length must be greater than 1.", new [] { "Step" }); + yield return new ValidationResult("Invalid value for Step, length must be greater than 1.", new [] { "Step" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs index 6a3f5b836..ced3bbfd4 100644 --- a/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs @@ -121,24 +121,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // LocalizedName (string) minLength if (this.LocalizedName != null && this.LocalizedName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for LocalizedName, length must be greater than 1.", new [] { "LocalizedName" }); + yield return new ValidationResult("Invalid value for LocalizedName, length must be greater than 1.", new [] { "LocalizedName" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AnalyzeRecipeRequest.cs b/csharp/src/spoonacular/Model/AnalyzeRecipeRequest.cs index cd5ea8740..ee555f8a1 100644 --- a/csharp/src/spoonacular/Model/AnalyzeRecipeRequest.cs +++ b/csharp/src/spoonacular/Model/AnalyzeRecipeRequest.cs @@ -101,7 +101,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AutocompleteIngredientSearch200ResponseInner.cs b/csharp/src/spoonacular/Model/AutocompleteIngredientSearch200ResponseInner.cs index 7781f89a8..4f89eb857 100644 --- a/csharp/src/spoonacular/Model/AutocompleteIngredientSearch200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/AutocompleteIngredientSearch200ResponseInner.cs @@ -125,24 +125,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AutocompleteMenuItemSearch200Response.cs b/csharp/src/spoonacular/Model/AutocompleteMenuItemSearch200Response.cs index 8954c544b..586a44dff 100644 --- a/csharp/src/spoonacular/Model/AutocompleteMenuItemSearch200Response.cs +++ b/csharp/src/spoonacular/Model/AutocompleteMenuItemSearch200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AutocompleteProductSearch200Response.cs b/csharp/src/spoonacular/Model/AutocompleteProductSearch200Response.cs index 38308ac5c..7c02ca064 100644 --- a/csharp/src/spoonacular/Model/AutocompleteProductSearch200Response.cs +++ b/csharp/src/spoonacular/Model/AutocompleteProductSearch200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/AutocompleteProductSearch200ResponseResultsInner.cs b/csharp/src/spoonacular/Model/AutocompleteProductSearch200ResponseResultsInner.cs index 1a74e7b9b..03b5ce857 100644 --- a/csharp/src/spoonacular/Model/AutocompleteProductSearch200ResponseResultsInner.cs +++ b/csharp/src/spoonacular/Model/AutocompleteProductSearch200ResponseResultsInner.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/AutocompleteRecipeSearch200ResponseInner.cs b/csharp/src/spoonacular/Model/AutocompleteRecipeSearch200ResponseInner.cs index 04b489d3a..a91aefd6d 100644 --- a/csharp/src/spoonacular/Model/AutocompleteRecipeSearch200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/AutocompleteRecipeSearch200ResponseInner.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ClassifyCuisine200Response.cs b/csharp/src/spoonacular/Model/ClassifyCuisine200Response.cs index 82e3c47a7..d866f7927 100644 --- a/csharp/src/spoonacular/Model/ClassifyCuisine200Response.cs +++ b/csharp/src/spoonacular/Model/ClassifyCuisine200Response.cs @@ -107,12 +107,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Cuisine (string) minLength if (this.Cuisine != null && this.Cuisine.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cuisine, length must be greater than 1.", new [] { "Cuisine" }); + yield return new ValidationResult("Invalid value for Cuisine, length must be greater than 1.", new [] { "Cuisine" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ClassifyGroceryProduct200Response.cs b/csharp/src/spoonacular/Model/ClassifyGroceryProduct200Response.cs index 78658d558..86355790c 100644 --- a/csharp/src/spoonacular/Model/ClassifyGroceryProduct200Response.cs +++ b/csharp/src/spoonacular/Model/ClassifyGroceryProduct200Response.cs @@ -135,24 +135,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // CleanTitle (string) minLength if (this.CleanTitle != null && this.CleanTitle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CleanTitle, length must be greater than 1.", new [] { "CleanTitle" }); + yield return new ValidationResult("Invalid value for CleanTitle, length must be greater than 1.", new [] { "CleanTitle" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Category (string) minLength if (this.Category != null && this.Category.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Category, length must be greater than 1.", new [] { "Category" }); + yield return new ValidationResult("Invalid value for Category, length must be greater than 1.", new [] { "Category" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ClassifyGroceryProductBulk200ResponseInner.cs b/csharp/src/spoonacular/Model/ClassifyGroceryProductBulk200ResponseInner.cs index bd7c5a718..1e253dd77 100644 --- a/csharp/src/spoonacular/Model/ClassifyGroceryProductBulk200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/ClassifyGroceryProductBulk200ResponseInner.cs @@ -135,24 +135,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // CleanTitle (string) minLength if (this.CleanTitle != null && this.CleanTitle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CleanTitle, length must be greater than 1.", new [] { "CleanTitle" }); + yield return new ValidationResult("Invalid value for CleanTitle, length must be greater than 1.", new [] { "CleanTitle" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Category (string) minLength if (this.Category != null && this.Category.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Category, length must be greater than 1.", new [] { "Category" }); + yield return new ValidationResult("Invalid value for Category, length must be greater than 1.", new [] { "Category" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ClassifyGroceryProductBulkRequestInner.cs b/csharp/src/spoonacular/Model/ClassifyGroceryProductBulkRequestInner.cs index 537457afe..1de057f47 100644 --- a/csharp/src/spoonacular/Model/ClassifyGroceryProductBulkRequestInner.cs +++ b/csharp/src/spoonacular/Model/ClassifyGroceryProductBulkRequestInner.cs @@ -112,12 +112,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ClassifyGroceryProductRequest.cs b/csharp/src/spoonacular/Model/ClassifyGroceryProductRequest.cs index 6a7ea40e8..7c6f8ba96 100644 --- a/csharp/src/spoonacular/Model/ClassifyGroceryProductRequest.cs +++ b/csharp/src/spoonacular/Model/ClassifyGroceryProductRequest.cs @@ -112,12 +112,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ComputeGlycemicLoad200Response.cs b/csharp/src/spoonacular/Model/ComputeGlycemicLoad200Response.cs index 8b76f8167..6de680c09 100644 --- a/csharp/src/spoonacular/Model/ComputeGlycemicLoad200Response.cs +++ b/csharp/src/spoonacular/Model/ComputeGlycemicLoad200Response.cs @@ -93,7 +93,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ComputeGlycemicLoad200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/ComputeGlycemicLoad200ResponseIngredientsInner.cs index c45950f2f..f1810e35d 100644 --- a/csharp/src/spoonacular/Model/ComputeGlycemicLoad200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/ComputeGlycemicLoad200ResponseIngredientsInner.cs @@ -111,12 +111,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Original (string) minLength if (this.Original != null && this.Original.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); + yield return new ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ComputeGlycemicLoadRequest.cs b/csharp/src/spoonacular/Model/ComputeGlycemicLoadRequest.cs index 3e5aa7293..722624d94 100644 --- a/csharp/src/spoonacular/Model/ComputeGlycemicLoadRequest.cs +++ b/csharp/src/spoonacular/Model/ComputeGlycemicLoadRequest.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ComputeIngredientAmount200Response.cs b/csharp/src/spoonacular/Model/ComputeIngredientAmount200Response.cs index ccb6dbfc3..fe080dd1e 100644 --- a/csharp/src/spoonacular/Model/ComputeIngredientAmount200Response.cs +++ b/csharp/src/spoonacular/Model/ComputeIngredientAmount200Response.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ConnectUser200Response.cs b/csharp/src/spoonacular/Model/ConnectUser200Response.cs index 38cfd3c58..84afbc9e5 100644 --- a/csharp/src/spoonacular/Model/ConnectUser200Response.cs +++ b/csharp/src/spoonacular/Model/ConnectUser200Response.cs @@ -98,18 +98,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Username (string) minLength if (this.Username != null && this.Username.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Username, length must be greater than 1.", new [] { "Username" }); + yield return new ValidationResult("Invalid value for Username, length must be greater than 1.", new [] { "Username" }); } // Hash (string) minLength if (this.Hash != null && this.Hash.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Hash, length must be greater than 1.", new [] { "Hash" }); + yield return new ValidationResult("Invalid value for Hash, length must be greater than 1.", new [] { "Hash" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ConnectUserRequest.cs b/csharp/src/spoonacular/Model/ConnectUserRequest.cs index 226e3e8c3..74ea1c650 100644 --- a/csharp/src/spoonacular/Model/ConnectUserRequest.cs +++ b/csharp/src/spoonacular/Model/ConnectUserRequest.cs @@ -126,30 +126,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Username (string) minLength if (this.Username != null && this.Username.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Username, length must be greater than 1.", new [] { "Username" }); + yield return new ValidationResult("Invalid value for Username, length must be greater than 1.", new [] { "Username" }); } // FirstName (string) minLength if (this.FirstName != null && this.FirstName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for FirstName, length must be greater than 1.", new [] { "FirstName" }); + yield return new ValidationResult("Invalid value for FirstName, length must be greater than 1.", new [] { "FirstName" }); } // LastName (string) minLength if (this.LastName != null && this.LastName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for LastName, length must be greater than 1.", new [] { "LastName" }); + yield return new ValidationResult("Invalid value for LastName, length must be greater than 1.", new [] { "LastName" }); } // Email (string) minLength if (this.Email != null && this.Email.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Email, length must be greater than 1.", new [] { "Email" }); + yield return new ValidationResult("Invalid value for Email, length must be greater than 1.", new [] { "Email" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ConvertAmounts200Response.cs b/csharp/src/spoonacular/Model/ConvertAmounts200Response.cs index 913fa6d75..1e65a0da2 100644 --- a/csharp/src/spoonacular/Model/ConvertAmounts200Response.cs +++ b/csharp/src/spoonacular/Model/ConvertAmounts200Response.cs @@ -130,24 +130,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // SourceUnit (string) minLength if (this.SourceUnit != null && this.SourceUnit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceUnit, length must be greater than 1.", new [] { "SourceUnit" }); + yield return new ValidationResult("Invalid value for SourceUnit, length must be greater than 1.", new [] { "SourceUnit" }); } // TargetUnit (string) minLength if (this.TargetUnit != null && this.TargetUnit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for TargetUnit, length must be greater than 1.", new [] { "TargetUnit" }); + yield return new ValidationResult("Invalid value for TargetUnit, length must be greater than 1.", new [] { "TargetUnit" }); } // Answer (string) minLength if (this.Answer != null && this.Answer.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Answer, length must be greater than 1.", new [] { "Answer" }); + yield return new ValidationResult("Invalid value for Answer, length must be greater than 1.", new [] { "Answer" }); } yield break; diff --git a/csharp/src/spoonacular/Model/CreateRecipeCard200Response.cs b/csharp/src/spoonacular/Model/CreateRecipeCard200Response.cs index 39291a2dc..e75bb6996 100644 --- a/csharp/src/spoonacular/Model/CreateRecipeCard200Response.cs +++ b/csharp/src/spoonacular/Model/CreateRecipeCard200Response.cs @@ -84,12 +84,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Url (string) minLength if (this.Url != null && this.Url.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Url, length must be greater than 1.", new [] { "Url" }); + yield return new ValidationResult("Invalid value for Url, length must be greater than 1.", new [] { "Url" }); } yield break; diff --git a/csharp/src/spoonacular/Model/DetectFoodInText200Response.cs b/csharp/src/spoonacular/Model/DetectFoodInText200Response.cs index 74ecd9045..7e67a24cb 100644 --- a/csharp/src/spoonacular/Model/DetectFoodInText200Response.cs +++ b/csharp/src/spoonacular/Model/DetectFoodInText200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/DetectFoodInText200ResponseAnnotationsInner.cs b/csharp/src/spoonacular/Model/DetectFoodInText200ResponseAnnotationsInner.cs index bfa264ef0..91e7c08f8 100644 --- a/csharp/src/spoonacular/Model/DetectFoodInText200ResponseAnnotationsInner.cs +++ b/csharp/src/spoonacular/Model/DetectFoodInText200ResponseAnnotationsInner.cs @@ -112,24 +112,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Annotation (string) minLength if (this.Annotation != null && this.Annotation.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Annotation, length must be greater than 1.", new [] { "Annotation" }); + yield return new ValidationResult("Invalid value for Annotation, length must be greater than 1.", new [] { "Annotation" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Tag (string) minLength if (this.Tag != null && this.Tag.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Tag, length must be greater than 1.", new [] { "Tag" }); + yield return new ValidationResult("Invalid value for Tag, length must be greater than 1.", new [] { "Tag" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GenerateMealPlan200Response.cs b/csharp/src/spoonacular/Model/GenerateMealPlan200Response.cs index 36612a955..4726b528e 100644 --- a/csharp/src/spoonacular/Model/GenerateMealPlan200Response.cs +++ b/csharp/src/spoonacular/Model/GenerateMealPlan200Response.cs @@ -98,7 +98,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GenerateMealPlan200ResponseNutrients.cs b/csharp/src/spoonacular/Model/GenerateMealPlan200ResponseNutrients.cs index 3311dd84b..45876615c 100644 --- a/csharp/src/spoonacular/Model/GenerateMealPlan200ResponseNutrients.cs +++ b/csharp/src/spoonacular/Model/GenerateMealPlan200ResponseNutrients.cs @@ -106,7 +106,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GenerateShoppingList200Response.cs b/csharp/src/spoonacular/Model/GenerateShoppingList200Response.cs index 3fa459946..f01863892 100644 --- a/csharp/src/spoonacular/Model/GenerateShoppingList200Response.cs +++ b/csharp/src/spoonacular/Model/GenerateShoppingList200Response.cs @@ -111,7 +111,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetARandomFoodJoke200Response.cs b/csharp/src/spoonacular/Model/GetARandomFoodJoke200Response.cs index 27be1ff7d..99f94a6cf 100644 --- a/csharp/src/spoonacular/Model/GetARandomFoodJoke200Response.cs +++ b/csharp/src/spoonacular/Model/GetARandomFoodJoke200Response.cs @@ -84,12 +84,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Text (string) minLength if (this.Text != null && this.Text.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Text, length must be greater than 1.", new [] { "Text" }); + yield return new ValidationResult("Invalid value for Text, length must be greater than 1.", new [] { "Text" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200Response.cs b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200Response.cs index 07ba63315..8a9c438e1 100644 --- a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200Response.cs +++ b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200Response.cs @@ -112,7 +112,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.cs index 7c3fdaa96..c529176f9 100644 --- a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.cs b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.cs index 3643b8ca2..b0ff9e072 100644 --- a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.cs +++ b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.cs @@ -93,7 +93,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs index 30ed2d8e7..602b10c00 100644 --- a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs +++ b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.cs @@ -111,12 +111,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Step (string) minLength if (this.Step != null && this.Step.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Step, length must be greater than 1.", new [] { "Step" }); + yield return new ValidationResult("Invalid value for Step, length must be greater than 1.", new [] { "Step" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs index 3985c807b..74e6b762f 100644 --- a/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.cs @@ -121,24 +121,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // LocalizedName (string) minLength if (this.LocalizedName != null && this.LocalizedName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for LocalizedName, length must be greater than 1.", new [] { "LocalizedName" }); + yield return new ValidationResult("Invalid value for LocalizedName, length must be greater than 1.", new [] { "LocalizedName" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetComparableProducts200Response.cs b/csharp/src/spoonacular/Model/GetComparableProducts200Response.cs index 97dcc7dd5..dbf5cdd5c 100644 --- a/csharp/src/spoonacular/Model/GetComparableProducts200Response.cs +++ b/csharp/src/spoonacular/Model/GetComparableProducts200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProducts.cs b/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProducts.cs index cc0cf233e..5a00e4bbd 100644 --- a/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProducts.cs +++ b/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProducts.cs @@ -154,7 +154,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProductsProteinInner.cs b/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProductsProteinInner.cs index ea4da2902..10032ce49 100644 --- a/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProductsProteinInner.cs +++ b/csharp/src/spoonacular/Model/GetComparableProducts200ResponseComparableProductsProteinInner.cs @@ -116,18 +116,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetConversationSuggests200Response.cs b/csharp/src/spoonacular/Model/GetConversationSuggests200Response.cs index d9c2cc60a..2c960edcc 100644 --- a/csharp/src/spoonacular/Model/GetConversationSuggests200Response.cs +++ b/csharp/src/spoonacular/Model/GetConversationSuggests200Response.cs @@ -98,7 +98,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggests.cs b/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggests.cs index ba7b5e437..13705733f 100644 --- a/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggests.cs +++ b/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggests.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggestsInner.cs b/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggestsInner.cs index c2ecd585d..9c249b671 100644 --- a/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggestsInner.cs +++ b/csharp/src/spoonacular/Model/GetConversationSuggests200ResponseSuggestsInner.cs @@ -84,12 +84,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetDishPairingForWine200Response.cs b/csharp/src/spoonacular/Model/GetDishPairingForWine200Response.cs index 953d74738..9a91235e1 100644 --- a/csharp/src/spoonacular/Model/GetDishPairingForWine200Response.cs +++ b/csharp/src/spoonacular/Model/GetDishPairingForWine200Response.cs @@ -98,12 +98,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Text (string) minLength if (this.Text != null && this.Text.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Text, length must be greater than 1.", new [] { "Text" }); + yield return new ValidationResult("Invalid value for Text, length must be greater than 1.", new [] { "Text" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetIngredientInformation200Response.cs b/csharp/src/spoonacular/Model/GetIngredientInformation200Response.cs index cb15f8cc2..0e63db4b1 100644 --- a/csharp/src/spoonacular/Model/GetIngredientInformation200Response.cs +++ b/csharp/src/spoonacular/Model/GetIngredientInformation200Response.cs @@ -312,48 +312,48 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Original (string) minLength if (this.Original != null && this.Original.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); + yield return new ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); } // OriginalName (string) minLength if (this.OriginalName != null && this.OriginalName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); + yield return new ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // NameClean (string) minLength if (this.NameClean != null && this.NameClean.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for NameClean, length must be greater than 1.", new [] { "NameClean" }); + yield return new ValidationResult("Invalid value for NameClean, length must be greater than 1.", new [] { "NameClean" }); } // Consistency (string) minLength if (this.Consistency != null && this.Consistency.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Consistency, length must be greater than 1.", new [] { "Consistency" }); + yield return new ValidationResult("Invalid value for Consistency, length must be greater than 1.", new [] { "Consistency" }); } // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetIngredientInformation200ResponseNutrition.cs b/csharp/src/spoonacular/Model/GetIngredientInformation200ResponseNutrition.cs index 61286d468..9b49082d9 100644 --- a/csharp/src/spoonacular/Model/GetIngredientInformation200ResponseNutrition.cs +++ b/csharp/src/spoonacular/Model/GetIngredientInformation200ResponseNutrition.cs @@ -126,7 +126,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetIngredientSubstitutes200Response.cs b/csharp/src/spoonacular/Model/GetIngredientSubstitutes200Response.cs index 9b56fe3bb..df5da0428 100644 --- a/csharp/src/spoonacular/Model/GetIngredientSubstitutes200Response.cs +++ b/csharp/src/spoonacular/Model/GetIngredientSubstitutes200Response.cs @@ -112,18 +112,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Ingredient (string) minLength if (this.Ingredient != null && this.Ingredient.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Ingredient, length must be greater than 1.", new [] { "Ingredient" }); + yield return new ValidationResult("Invalid value for Ingredient, length must be greater than 1.", new [] { "Ingredient" }); } // Message (string) minLength if (this.Message != null && this.Message.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Message, length must be greater than 1.", new [] { "Message" }); + yield return new ValidationResult("Invalid value for Message, length must be greater than 1.", new [] { "Message" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanTemplate200Response.cs b/csharp/src/spoonacular/Model/GetMealPlanTemplate200Response.cs index dd982f3b1..5f6edd9a3 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanTemplate200Response.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanTemplate200Response.cs @@ -107,12 +107,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInner.cs b/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInner.cs index 65332f3fe..ad2fe1b71 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInner.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInner.cs @@ -129,12 +129,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Day (string) minLength if (this.Day != null && this.Day.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Day, length must be greater than 1.", new [] { "Day" }); + yield return new ValidationResult("Invalid value for Day, length must be greater than 1.", new [] { "Day" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.cs b/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.cs index b894fc21e..1b2199b3b 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.cs @@ -120,12 +120,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.cs b/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.cs index 75554f16e..fde95202a 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanTemplates200Response.cs b/csharp/src/spoonacular/Model/GetMealPlanTemplates200Response.cs index e6ffb3eb7..e4245adf4 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanTemplates200Response.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanTemplates200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetMealPlanWeek200Response.cs b/csharp/src/spoonacular/Model/GetMealPlanWeek200Response.cs index 184b6528b..018c3e6cb 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanWeek200Response.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanWeek200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInner.cs b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInner.cs index 9245600a5..654bff6db 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInner.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInner.cs @@ -138,12 +138,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Day (string) minLength if (this.Day != null && this.Day.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Day, length must be greater than 1.", new [] { "Day" }); + yield return new ValidationResult("Invalid value for Day, length must be greater than 1.", new [] { "Day" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.cs b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.cs index 23dc4d0c3..529bd7cce 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.cs @@ -120,12 +120,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.cs b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.cs index 59d8ce76e..991b4d0f1 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.cs @@ -116,12 +116,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.cs b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.cs index 568ce66b7..c3644520f 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.cs b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.cs index 44b36bf44..c0bd8fb45 100644 --- a/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.cs +++ b/csharp/src/spoonacular/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.cs @@ -116,18 +116,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetMenuItemInformation200Response.cs b/csharp/src/spoonacular/Model/GetMenuItemInformation200Response.cs index f8a33dbb2..bba701a41 100644 --- a/csharp/src/spoonacular/Model/GetMenuItemInformation200Response.cs +++ b/csharp/src/spoonacular/Model/GetMenuItemInformation200Response.cs @@ -213,24 +213,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // RestaurantChain (string) minLength if (this.RestaurantChain != null && this.RestaurantChain.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for RestaurantChain, length must be greater than 1.", new [] { "RestaurantChain" }); + yield return new ValidationResult("Invalid value for RestaurantChain, length must be greater than 1.", new [] { "RestaurantChain" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetProductInformation200Response.cs b/csharp/src/spoonacular/Model/GetProductInformation200Response.cs index 7dc2025c6..d1a31bdc0 100644 --- a/csharp/src/spoonacular/Model/GetProductInformation200Response.cs +++ b/csharp/src/spoonacular/Model/GetProductInformation200Response.cs @@ -264,30 +264,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // IngredientList (string) minLength if (this.IngredientList != null && this.IngredientList.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for IngredientList, length must be greater than 1.", new [] { "IngredientList" }); + yield return new ValidationResult("Invalid value for IngredientList, length must be greater than 1.", new [] { "IngredientList" }); } // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetProductInformation200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/GetProductInformation200ResponseIngredientsInner.cs index c0a2af6d9..0e2b5f1b5 100644 --- a/csharp/src/spoonacular/Model/GetProductInformation200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/GetProductInformation200ResponseIngredientsInner.cs @@ -102,12 +102,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRandomFoodTrivia200Response.cs b/csharp/src/spoonacular/Model/GetRandomFoodTrivia200Response.cs index bb072722c..a7f868b3d 100644 --- a/csharp/src/spoonacular/Model/GetRandomFoodTrivia200Response.cs +++ b/csharp/src/spoonacular/Model/GetRandomFoodTrivia200Response.cs @@ -84,12 +84,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Text (string) minLength if (this.Text != null && this.Text.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Text, length must be greater than 1.", new [] { "Text" }); + yield return new ValidationResult("Invalid value for Text, length must be greater than 1.", new [] { "Text" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRandomRecipes200Response.cs b/csharp/src/spoonacular/Model/GetRandomRecipes200Response.cs index 0b8d04e92..1933fb794 100644 --- a/csharp/src/spoonacular/Model/GetRandomRecipes200Response.cs +++ b/csharp/src/spoonacular/Model/GetRandomRecipes200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetRandomRecipes200ResponseRecipesInner.cs b/csharp/src/spoonacular/Model/GetRandomRecipes200ResponseRecipesInner.cs index 6d976ec58..167cc957a 100644 --- a/csharp/src/spoonacular/Model/GetRandomRecipes200ResponseRecipesInner.cs +++ b/csharp/src/spoonacular/Model/GetRandomRecipes200ResponseRecipesInner.cs @@ -458,66 +458,66 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // License (string) minLength if (this.License != null && this.License.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for License, length must be greater than 1.", new [] { "License" }); + yield return new ValidationResult("Invalid value for License, length must be greater than 1.", new [] { "License" }); } // SourceName (string) minLength if (this.SourceName != null && this.SourceName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceName, length must be greater than 1.", new [] { "SourceName" }); + yield return new ValidationResult("Invalid value for SourceName, length must be greater than 1.", new [] { "SourceName" }); } // SourceUrl (string) minLength if (this.SourceUrl != null && this.SourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); + yield return new ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); } // SpoonacularSourceUrl (string) minLength if (this.SpoonacularSourceUrl != null && this.SpoonacularSourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SpoonacularSourceUrl, length must be greater than 1.", new [] { "SpoonacularSourceUrl" }); + yield return new ValidationResult("Invalid value for SpoonacularSourceUrl, length must be greater than 1.", new [] { "SpoonacularSourceUrl" }); } // CreditsText (string) minLength if (this.CreditsText != null && this.CreditsText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CreditsText, length must be greater than 1.", new [] { "CreditsText" }); + yield return new ValidationResult("Invalid value for CreditsText, length must be greater than 1.", new [] { "CreditsText" }); } // Gaps (string) minLength if (this.Gaps != null && this.Gaps.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Gaps, length must be greater than 1.", new [] { "Gaps" }); + yield return new ValidationResult("Invalid value for Gaps, length must be greater than 1.", new [] { "Gaps" }); } // Summary (string) minLength if (this.Summary != null && this.Summary.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); + yield return new ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200Response.cs b/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200Response.cs index 41dbfb75d..38f5c3e87 100644 --- a/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200Response.cs +++ b/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.cs b/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.cs index 04563d768..9a2bac96a 100644 --- a/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.cs @@ -98,18 +98,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeInformation200Response.cs b/csharp/src/spoonacular/Model/GetRecipeInformation200Response.cs index 73181576f..f1712dbc8 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformation200Response.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformation200Response.cs @@ -493,66 +493,66 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // License (string) minLength if (this.License != null && this.License.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for License, length must be greater than 1.", new [] { "License" }); + yield return new ValidationResult("Invalid value for License, length must be greater than 1.", new [] { "License" }); } // SourceName (string) minLength if (this.SourceName != null && this.SourceName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceName, length must be greater than 1.", new [] { "SourceName" }); + yield return new ValidationResult("Invalid value for SourceName, length must be greater than 1.", new [] { "SourceName" }); } // SourceUrl (string) minLength if (this.SourceUrl != null && this.SourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); + yield return new ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); } // SpoonacularSourceUrl (string) minLength if (this.SpoonacularSourceUrl != null && this.SpoonacularSourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SpoonacularSourceUrl, length must be greater than 1.", new [] { "SpoonacularSourceUrl" }); + yield return new ValidationResult("Invalid value for SpoonacularSourceUrl, length must be greater than 1.", new [] { "SpoonacularSourceUrl" }); } // CreditsText (string) minLength if (this.CreditsText != null && this.CreditsText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CreditsText, length must be greater than 1.", new [] { "CreditsText" }); + yield return new ValidationResult("Invalid value for CreditsText, length must be greater than 1.", new [] { "CreditsText" }); } // Gaps (string) minLength if (this.Gaps != null && this.Gaps.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Gaps, length must be greater than 1.", new [] { "Gaps" }); + yield return new ValidationResult("Invalid value for Gaps, length must be greater than 1.", new [] { "Gaps" }); } // Summary (string) minLength if (this.Summary != null && this.Summary.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); + yield return new ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.cs b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.cs index afd647dd3..7ec7b6eca 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.cs @@ -204,48 +204,48 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } // Consitency (string) minLength if (this.Consitency != null && this.Consitency.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Consitency, length must be greater than 1.", new [] { "Consitency" }); + yield return new ValidationResult("Invalid value for Consitency, length must be greater than 1.", new [] { "Consitency" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Original (string) minLength if (this.Original != null && this.Original.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); + yield return new ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); } // OriginalName (string) minLength if (this.OriginalName != null && this.OriginalName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); + yield return new ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); } // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 0.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 0.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.cs b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.cs index 8402b5297..6a2dbc781 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.cs @@ -98,7 +98,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.cs b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.cs index fdb5f518f..af02128a9 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UnitLong (string) minLength if (this.UnitLong != null && this.UnitLong.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UnitLong, length must be greater than 0.", new [] { "UnitLong" }); + yield return new ValidationResult("Invalid value for UnitLong, length must be greater than 0.", new [] { "UnitLong" }); } // UnitShort (string) minLength if (this.UnitShort != null && this.UnitShort.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UnitShort, length must be greater than 0.", new [] { "UnitShort" }); + yield return new ValidationResult("Invalid value for UnitShort, length must be greater than 0.", new [] { "UnitShort" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairing.cs b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairing.cs index a47845f89..5d06cc70a 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairing.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairing.cs @@ -112,12 +112,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // PairingText (string) minLength if (this.PairingText != null && this.PairingText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PairingText, length must be greater than 1.", new [] { "PairingText" }); + yield return new ValidationResult("Invalid value for PairingText, length must be greater than 1.", new [] { "PairingText" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.cs b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.cs index 984f9299d..77ed225ff 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.cs @@ -176,36 +176,36 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Description (string) minLength if (this.Description != null && this.Description.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, length must be greater than 1.", new [] { "Description" }); + yield return new ValidationResult("Invalid value for Description, length must be greater than 1.", new [] { "Description" }); } // Price (string) minLength if (this.Price != null && this.Price.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Price, length must be greater than 1.", new [] { "Price" }); + yield return new ValidationResult("Invalid value for Price, length must be greater than 1.", new [] { "Price" }); } // ImageUrl (string) minLength if (this.ImageUrl != null && this.ImageUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); + yield return new ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); } // Link (string) minLength if (this.Link != null && this.Link.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); + yield return new ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeInformationBulk200ResponseInner.cs b/csharp/src/spoonacular/Model/GetRecipeInformationBulk200ResponseInner.cs index bd79845f9..bcca49f66 100644 --- a/csharp/src/spoonacular/Model/GetRecipeInformationBulk200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeInformationBulk200ResponseInner.cs @@ -493,66 +493,66 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // License (string) minLength if (this.License != null && this.License.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for License, length must be greater than 1.", new [] { "License" }); + yield return new ValidationResult("Invalid value for License, length must be greater than 1.", new [] { "License" }); } // SourceName (string) minLength if (this.SourceName != null && this.SourceName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceName, length must be greater than 1.", new [] { "SourceName" }); + yield return new ValidationResult("Invalid value for SourceName, length must be greater than 1.", new [] { "SourceName" }); } // SourceUrl (string) minLength if (this.SourceUrl != null && this.SourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); + yield return new ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); } // SpoonacularSourceUrl (string) minLength if (this.SpoonacularSourceUrl != null && this.SpoonacularSourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SpoonacularSourceUrl, length must be greater than 1.", new [] { "SpoonacularSourceUrl" }); + yield return new ValidationResult("Invalid value for SpoonacularSourceUrl, length must be greater than 1.", new [] { "SpoonacularSourceUrl" }); } // CreditsText (string) minLength if (this.CreditsText != null && this.CreditsText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for CreditsText, length must be greater than 1.", new [] { "CreditsText" }); + yield return new ValidationResult("Invalid value for CreditsText, length must be greater than 1.", new [] { "CreditsText" }); } // Gaps (string) minLength if (this.Gaps != null && this.Gaps.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Gaps, length must be greater than 1.", new [] { "Gaps" }); + yield return new ValidationResult("Invalid value for Gaps, length must be greater than 1.", new [] { "Gaps" }); } // Summary (string) minLength if (this.Summary != null && this.Summary.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); + yield return new ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200Response.cs b/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200Response.cs index abdaef0a3..c311a0753 100644 --- a/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200Response.cs +++ b/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200Response.cs @@ -84,7 +84,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.cs index 0d26b19fd..0613178e6 100644 --- a/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200Response.cs b/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200Response.cs index 9733782e3..5148b2918 100644 --- a/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200Response.cs +++ b/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200Response.cs @@ -154,30 +154,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Calories (string) minLength if (this.Calories != null && this.Calories.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Calories, length must be greater than 1.", new [] { "Calories" }); + yield return new ValidationResult("Invalid value for Calories, length must be greater than 1.", new [] { "Calories" }); } // Carbs (string) minLength if (this.Carbs != null && this.Carbs.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Carbs, length must be greater than 1.", new [] { "Carbs" }); + yield return new ValidationResult("Invalid value for Carbs, length must be greater than 1.", new [] { "Carbs" }); } // Fat (string) minLength if (this.Fat != null && this.Fat.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Fat, length must be greater than 1.", new [] { "Fat" }); + yield return new ValidationResult("Invalid value for Fat, length must be greater than 1.", new [] { "Fat" }); } // Protein (string) minLength if (this.Protein != null && this.Protein.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Protein, length must be greater than 1.", new [] { "Protein" }); + yield return new ValidationResult("Invalid value for Protein, length must be greater than 1.", new [] { "Protein" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.cs b/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.cs index 810f7d359..7e266d62e 100644 --- a/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.cs @@ -116,18 +116,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Amount (string) minLength if (this.Amount != null && this.Amount.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Amount, length must be greater than 1.", new [] { "Amount" }); + yield return new ValidationResult("Invalid value for Amount, length must be greater than 1.", new [] { "Amount" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.cs b/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.cs index 9a929de87..935778514 100644 --- a/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.cs @@ -116,18 +116,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Amount (string) minLength if (this.Amount != null && this.Amount.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Amount, length must be greater than 1.", new [] { "Amount" }); + yield return new ValidationResult("Invalid value for Amount, length must be greater than 1.", new [] { "Amount" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200Response.cs b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200Response.cs index f57bced66..6d891c3c5 100644 --- a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200Response.cs +++ b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200Response.cs @@ -102,7 +102,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.cs index e70b131ad..4813da049 100644 --- a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.cs @@ -116,18 +116,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.cs b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.cs index bd09fc161..e0716ad1a 100644 --- a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.cs +++ b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.cs @@ -98,7 +98,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.cs b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.cs index b448a61c9..ae881648d 100644 --- a/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.cs +++ b/csharp/src/spoonacular/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 0.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 0.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetRecipeTasteByID200Response.cs b/csharp/src/spoonacular/Model/GetRecipeTasteByID200Response.cs index f43428b54..768d6efc6 100644 --- a/csharp/src/spoonacular/Model/GetRecipeTasteByID200Response.cs +++ b/csharp/src/spoonacular/Model/GetRecipeTasteByID200Response.cs @@ -133,7 +133,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetShoppingList200Response.cs b/csharp/src/spoonacular/Model/GetShoppingList200Response.cs index 89d8ce653..ebd6b919f 100644 --- a/csharp/src/spoonacular/Model/GetShoppingList200Response.cs +++ b/csharp/src/spoonacular/Model/GetShoppingList200Response.cs @@ -111,7 +111,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInner.cs b/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInner.cs index e83aae85b..1aeb30890 100644 --- a/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInner.cs +++ b/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInner.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInner.cs b/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInner.cs index 9abb77e3a..48e20c90a 100644 --- a/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInner.cs +++ b/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInner.cs @@ -143,18 +143,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.cs b/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.cs index 9c754f1b1..588804569 100644 --- a/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.cs +++ b/csharp/src/spoonacular/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.cs @@ -112,7 +112,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetSimilarRecipes200ResponseInner.cs b/csharp/src/spoonacular/Model/GetSimilarRecipes200ResponseInner.cs index 8f26cb8a8..4ce875359 100644 --- a/csharp/src/spoonacular/Model/GetSimilarRecipes200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/GetSimilarRecipes200ResponseInner.cs @@ -139,24 +139,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // SourceUrl (string) minLength if (this.SourceUrl != null && this.SourceUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); + yield return new ValidationResult("Invalid value for SourceUrl, length must be greater than 1.", new [] { "SourceUrl" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetWineDescription200Response.cs b/csharp/src/spoonacular/Model/GetWineDescription200Response.cs index 916491ca6..f24eac91b 100644 --- a/csharp/src/spoonacular/Model/GetWineDescription200Response.cs +++ b/csharp/src/spoonacular/Model/GetWineDescription200Response.cs @@ -84,12 +84,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // WineDescription (string) minLength if (this.WineDescription != null && this.WineDescription.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for WineDescription, length must be greater than 1.", new [] { "WineDescription" }); + yield return new ValidationResult("Invalid value for WineDescription, length must be greater than 1.", new [] { "WineDescription" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetWinePairing200Response.cs b/csharp/src/spoonacular/Model/GetWinePairing200Response.cs index 2373cd129..4571f3dd4 100644 --- a/csharp/src/spoonacular/Model/GetWinePairing200Response.cs +++ b/csharp/src/spoonacular/Model/GetWinePairing200Response.cs @@ -112,12 +112,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // PairingText (string) minLength if (this.PairingText != null && this.PairingText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PairingText, length must be greater than 1.", new [] { "PairingText" }); + yield return new ValidationResult("Invalid value for PairingText, length must be greater than 1.", new [] { "PairingText" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetWinePairing200ResponseProductMatchesInner.cs b/csharp/src/spoonacular/Model/GetWinePairing200ResponseProductMatchesInner.cs index 9ff4c7601..55f52466e 100644 --- a/csharp/src/spoonacular/Model/GetWinePairing200ResponseProductMatchesInner.cs +++ b/csharp/src/spoonacular/Model/GetWinePairing200ResponseProductMatchesInner.cs @@ -171,30 +171,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageUrl (string) minLength if (this.ImageUrl != null && this.ImageUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); + yield return new ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); } // Link (string) minLength if (this.Link != null && this.Link.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); + yield return new ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); } // Price (string) minLength if (this.Price != null && this.Price.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Price, length must be greater than 1.", new [] { "Price" }); + yield return new ValidationResult("Invalid value for Price, length must be greater than 1.", new [] { "Price" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GetWineRecommendation200Response.cs b/csharp/src/spoonacular/Model/GetWineRecommendation200Response.cs index e2954c1d5..cc08f4054 100644 --- a/csharp/src/spoonacular/Model/GetWineRecommendation200Response.cs +++ b/csharp/src/spoonacular/Model/GetWineRecommendation200Response.cs @@ -93,7 +93,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GetWineRecommendation200ResponseRecommendedWinesInner.cs b/csharp/src/spoonacular/Model/GetWineRecommendation200ResponseRecommendedWinesInner.cs index cf91c08ac..75379e889 100644 --- a/csharp/src/spoonacular/Model/GetWineRecommendation200ResponseRecommendedWinesInner.cs +++ b/csharp/src/spoonacular/Model/GetWineRecommendation200ResponseRecommendedWinesInner.cs @@ -176,36 +176,36 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Description (string) minLength if (this.Description != null && this.Description.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Description, length must be greater than 1.", new [] { "Description" }); + yield return new ValidationResult("Invalid value for Description, length must be greater than 1.", new [] { "Description" }); } // ImageUrl (string) minLength if (this.ImageUrl != null && this.ImageUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); + yield return new ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); } // Link (string) minLength if (this.Link != null && this.Link.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); + yield return new ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); } // Price (string) minLength if (this.Price != null && this.Price.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Price, length must be greater than 1.", new [] { "Price" }); + yield return new ValidationResult("Invalid value for Price, length must be greater than 1.", new [] { "Price" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GuessNutritionByDishName200Response.cs b/csharp/src/spoonacular/Model/GuessNutritionByDishName200Response.cs index 32201b0b2..aee0240bb 100644 --- a/csharp/src/spoonacular/Model/GuessNutritionByDishName200Response.cs +++ b/csharp/src/spoonacular/Model/GuessNutritionByDishName200Response.cs @@ -135,7 +135,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCalories.cs b/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCalories.cs index f876f2ed7..438bcde99 100644 --- a/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCalories.cs +++ b/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCalories.cs @@ -116,12 +116,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.cs b/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.cs index 8fedc52a5..d56d7739e 100644 --- a/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.cs +++ b/csharp/src/spoonacular/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.cs @@ -88,7 +88,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ImageAnalysisByURL200Response.cs b/csharp/src/spoonacular/Model/ImageAnalysisByURL200Response.cs index 421310ded..3bc2d0860 100644 --- a/csharp/src/spoonacular/Model/ImageAnalysisByURL200Response.cs +++ b/csharp/src/spoonacular/Model/ImageAnalysisByURL200Response.cs @@ -112,7 +112,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseCategory.cs b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseCategory.cs index 17c658deb..c18408c2c 100644 --- a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseCategory.cs +++ b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseCategory.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutrition.cs b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutrition.cs index bc291d628..372332ab1 100644 --- a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutrition.cs +++ b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutrition.cs @@ -135,7 +135,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCalories.cs b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCalories.cs index d34541b79..680ad5763 100644 --- a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCalories.cs +++ b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCalories.cs @@ -116,12 +116,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.cs b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.cs index e1c55bab2..b070aa195 100644 --- a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.cs +++ b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.cs @@ -88,7 +88,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseRecipesInner.cs b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseRecipesInner.cs index e7cb6965f..347bf0d54 100644 --- a/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseRecipesInner.cs +++ b/csharp/src/spoonacular/Model/ImageAnalysisByURL200ResponseRecipesInner.cs @@ -121,24 +121,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // Url (string) minLength if (this.Url != null && this.Url.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Url, length must be greater than 1.", new [] { "Url" }); + yield return new ValidationResult("Invalid value for Url, length must be greater than 1.", new [] { "Url" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ImageClassificationByURL200Response.cs b/csharp/src/spoonacular/Model/ImageClassificationByURL200Response.cs index d50e2956f..2417474da 100644 --- a/csharp/src/spoonacular/Model/ImageClassificationByURL200Response.cs +++ b/csharp/src/spoonacular/Model/ImageClassificationByURL200Response.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Category (string) minLength if (this.Category != null && this.Category.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Category, length must be greater than 1.", new [] { "Category" }); + yield return new ValidationResult("Invalid value for Category, length must be greater than 1.", new [] { "Category" }); } yield break; diff --git a/csharp/src/spoonacular/Model/IngredientSearch200Response.cs b/csharp/src/spoonacular/Model/IngredientSearch200Response.cs index 2b5cba5e0..fcadde88a 100644 --- a/csharp/src/spoonacular/Model/IngredientSearch200Response.cs +++ b/csharp/src/spoonacular/Model/IngredientSearch200Response.cs @@ -111,7 +111,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/IngredientSearch200ResponseResultsInner.cs b/csharp/src/spoonacular/Model/IngredientSearch200ResponseResultsInner.cs index 1db75e84f..604e4dfab 100644 --- a/csharp/src/spoonacular/Model/IngredientSearch200ResponseResultsInner.cs +++ b/csharp/src/spoonacular/Model/IngredientSearch200ResponseResultsInner.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } yield break; diff --git a/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInner.cs b/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInner.cs index 1b76c9314..839faf48b 100644 --- a/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInner.cs @@ -140,24 +140,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Original (string) minLength if (this.Original != null && this.Original.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); + yield return new ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); } // OriginalName (string) minLength if (this.OriginalName != null && this.OriginalName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); + yield return new ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); } // IngredientImage (string) minLength if (this.IngredientImage != null && this.IngredientImage.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for IngredientImage, length must be greater than 1.", new [] { "IngredientImage" }); + yield return new ValidationResult("Invalid value for IngredientImage, length must be greater than 1.", new [] { "IngredientImage" }); } yield break; diff --git a/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.cs b/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.cs index 26b610e9b..dd812e899 100644 --- a/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.cs +++ b/csharp/src/spoonacular/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Upc (string) minLength if (this.Upc != null && this.Upc.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Upc, length must be greater than 1.", new [] { "Upc" }); + yield return new ValidationResult("Invalid value for Upc, length must be greater than 1.", new [] { "Upc" }); } yield break; diff --git a/csharp/src/spoonacular/Model/MapIngredientsToGroceryProductsRequest.cs b/csharp/src/spoonacular/Model/MapIngredientsToGroceryProductsRequest.cs index 3989465ee..5d422ac23 100644 --- a/csharp/src/spoonacular/Model/MapIngredientsToGroceryProductsRequest.cs +++ b/csharp/src/spoonacular/Model/MapIngredientsToGroceryProductsRequest.cs @@ -93,7 +93,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInner.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInner.cs index 1720ade4e..960c6aa87 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInner.cs @@ -284,66 +284,66 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Original (string) minLength if (this.Original != null && this.Original.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); + yield return new ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); } // OriginalName (string) minLength if (this.OriginalName != null && this.OriginalName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); + yield return new ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // NameClean (string) minLength if (this.NameClean != null && this.NameClean.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for NameClean, length must be greater than 1.", new [] { "NameClean" }); + yield return new ValidationResult("Invalid value for NameClean, length must be greater than 1.", new [] { "NameClean" }); } // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } // UnitShort (string) minLength if (this.UnitShort != null && this.UnitShort.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UnitShort, length must be greater than 1.", new [] { "UnitShort" }); + yield return new ValidationResult("Invalid value for UnitShort, length must be greater than 1.", new [] { "UnitShort" }); } // UnitLong (string) minLength if (this.UnitLong != null && this.UnitLong.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UnitLong, length must be greater than 1.", new [] { "UnitLong" }); + yield return new ValidationResult("Invalid value for UnitLong, length must be greater than 1.", new [] { "UnitLong" }); } // Consistency (string) minLength if (this.Consistency != null && this.Consistency.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Consistency, length must be greater than 1.", new [] { "Consistency" }); + yield return new ValidationResult("Invalid value for Consistency, length must be greater than 1.", new [] { "Consistency" }); } // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerEstimatedCost.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerEstimatedCost.cs index e2df1dee0..6a31224e4 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerEstimatedCost.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerEstimatedCost.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutrition.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutrition.cs index 7ea7dc3c7..94f613525 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutrition.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutrition.cs @@ -140,7 +140,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.cs index 17817a4fc..a61de8a41 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.cs @@ -97,7 +97,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.cs index cb50a75c4..05bfe47a4 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.cs @@ -116,18 +116,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.cs index 8aef0ca1d..628e5a7b2 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.cs @@ -107,12 +107,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.cs b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.cs index c05007730..ab0f8b2ae 100644 --- a/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.cs +++ b/csharp/src/spoonacular/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.cs @@ -93,12 +93,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/QuickAnswer200Response.cs b/csharp/src/spoonacular/Model/QuickAnswer200Response.cs index 7dbb04717..af49bac36 100644 --- a/csharp/src/spoonacular/Model/QuickAnswer200Response.cs +++ b/csharp/src/spoonacular/Model/QuickAnswer200Response.cs @@ -98,18 +98,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Answer (string) minLength if (this.Answer != null && this.Answer.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Answer, length must be greater than 1.", new [] { "Answer" }); + yield return new ValidationResult("Invalid value for Answer, length must be greater than 1.", new [] { "Answer" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchAllFood200Response.cs b/csharp/src/spoonacular/Model/SearchAllFood200Response.cs index e780db012..c36bf6d23 100644 --- a/csharp/src/spoonacular/Model/SearchAllFood200Response.cs +++ b/csharp/src/spoonacular/Model/SearchAllFood200Response.cs @@ -125,12 +125,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Query (string) minLength if (this.Query != null && this.Query.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Query, length must be greater than 1.", new [] { "Query" }); + yield return new ValidationResult("Invalid value for Query, length must be greater than 1.", new [] { "Query" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInner.cs b/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInner.cs index bf1a0ea22..b6001b808 100644 --- a/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInner.cs +++ b/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInner.cs @@ -102,12 +102,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.cs b/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.cs index 731ef05e3..bde30f326 100644 --- a/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.cs +++ b/csharp/src/spoonacular/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.cs @@ -163,36 +163,36 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Link (string) minLength if (this.Link != null && this.Link.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); + yield return new ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); } // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } // Content (string) minLength if (this.Content != null && this.Content.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Content, length must be greater than 0.", new [] { "Content" }); + yield return new ValidationResult("Invalid value for Content, length must be greater than 0.", new [] { "Content" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchCustomFoods200Response.cs b/csharp/src/spoonacular/Model/SearchCustomFoods200Response.cs index 10aa093ca..c3de8cba2 100644 --- a/csharp/src/spoonacular/Model/SearchCustomFoods200Response.cs +++ b/csharp/src/spoonacular/Model/SearchCustomFoods200Response.cs @@ -116,12 +116,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchCustomFoods200ResponseCustomFoodsInner.cs b/csharp/src/spoonacular/Model/SearchCustomFoods200ResponseCustomFoodsInner.cs index 1d9a082b7..06a105780 100644 --- a/csharp/src/spoonacular/Model/SearchCustomFoods200ResponseCustomFoodsInner.cs +++ b/csharp/src/spoonacular/Model/SearchCustomFoods200ResponseCustomFoodsInner.cs @@ -125,18 +125,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ImageUrl (string) minLength if (this.ImageUrl != null && this.ImageUrl.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); + yield return new ValidationResult("Invalid value for ImageUrl, length must be greater than 1.", new [] { "ImageUrl" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchFoodVideos200Response.cs b/csharp/src/spoonacular/Model/SearchFoodVideos200Response.cs index e504eaca6..411e6aa26 100644 --- a/csharp/src/spoonacular/Model/SearchFoodVideos200Response.cs +++ b/csharp/src/spoonacular/Model/SearchFoodVideos200Response.cs @@ -93,7 +93,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchFoodVideos200ResponseVideosInner.cs b/csharp/src/spoonacular/Model/SearchFoodVideos200ResponseVideosInner.cs index c3cc52fb4..b7d68c3dd 100644 --- a/csharp/src/spoonacular/Model/SearchFoodVideos200ResponseVideosInner.cs +++ b/csharp/src/spoonacular/Model/SearchFoodVideos200ResponseVideosInner.cs @@ -153,30 +153,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // ShortTitle (string) minLength if (this.ShortTitle != null && this.ShortTitle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ShortTitle, length must be greater than 1.", new [] { "ShortTitle" }); + yield return new ValidationResult("Invalid value for ShortTitle, length must be greater than 1.", new [] { "ShortTitle" }); } // Thumbnail (string) minLength if (this.Thumbnail != null && this.Thumbnail.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Thumbnail, length must be greater than 1.", new [] { "Thumbnail" }); + yield return new ValidationResult("Invalid value for Thumbnail, length must be greater than 1.", new [] { "Thumbnail" }); } // YouTubeId (string) minLength if (this.YouTubeId != null && this.YouTubeId.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for YouTubeId, length must be greater than 1.", new [] { "YouTubeId" }); + yield return new ValidationResult("Invalid value for YouTubeId, length must be greater than 1.", new [] { "YouTubeId" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchGroceryProducts200Response.cs b/csharp/src/spoonacular/Model/SearchGroceryProducts200Response.cs index ee76b0c95..48bbe3e1e 100644 --- a/csharp/src/spoonacular/Model/SearchGroceryProducts200Response.cs +++ b/csharp/src/spoonacular/Model/SearchGroceryProducts200Response.cs @@ -125,12 +125,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200Response.cs b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200Response.cs index ea3d2abf9..6e362f0af 100644 --- a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200Response.cs +++ b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200Response.cs @@ -255,30 +255,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // GeneratedText (string) minLength if (this.GeneratedText != null && this.GeneratedText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for GeneratedText, length must be greater than 1.", new [] { "GeneratedText" }); + yield return new ValidationResult("Invalid value for GeneratedText, length must be greater than 1.", new [] { "GeneratedText" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // IngredientList (string) minLength if (this.IngredientList != null && this.IngredientList.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for IngredientList, length must be greater than 1.", new [] { "IngredientList" }); + yield return new ValidationResult("Invalid value for IngredientList, length must be greater than 1.", new [] { "IngredientList" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.cs b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.cs index ec491a317..ee44b81af 100644 --- a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.cs @@ -102,7 +102,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseNutrition.cs b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseNutrition.cs index 7a5ac2319..2bc2703cd 100644 --- a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseNutrition.cs +++ b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseNutrition.cs @@ -98,7 +98,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseServings.cs b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseServings.cs index 521e940ad..e57dd942b 100644 --- a/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseServings.cs +++ b/csharp/src/spoonacular/Model/SearchGroceryProductsByUPC200ResponseServings.cs @@ -102,12 +102,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 1.", new [] { "Unit" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchMenuItems200Response.cs b/csharp/src/spoonacular/Model/SearchMenuItems200Response.cs index 877bbb440..591cdf6fb 100644 --- a/csharp/src/spoonacular/Model/SearchMenuItems200Response.cs +++ b/csharp/src/spoonacular/Model/SearchMenuItems200Response.cs @@ -125,12 +125,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Type (string) minLength if (this.Type != null && this.Type.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); + yield return new ValidationResult("Invalid value for Type, length must be greater than 1.", new [] { "Type" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchMenuItems200ResponseMenuItemsInner.cs b/csharp/src/spoonacular/Model/SearchMenuItems200ResponseMenuItemsInner.cs index ab9ca9647..ddfeb490d 100644 --- a/csharp/src/spoonacular/Model/SearchMenuItems200ResponseMenuItemsInner.cs +++ b/csharp/src/spoonacular/Model/SearchMenuItems200ResponseMenuItemsInner.cs @@ -144,30 +144,30 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // RestaurantChain (string) minLength if (this.RestaurantChain != null && this.RestaurantChain.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for RestaurantChain, length must be greater than 1.", new [] { "RestaurantChain" }); + yield return new ValidationResult("Invalid value for RestaurantChain, length must be greater than 1.", new [] { "RestaurantChain" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchRecipes200Response.cs b/csharp/src/spoonacular/Model/SearchRecipes200Response.cs index 1be1343d0..e79be8b8a 100644 --- a/csharp/src/spoonacular/Model/SearchRecipes200Response.cs +++ b/csharp/src/spoonacular/Model/SearchRecipes200Response.cs @@ -111,7 +111,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchRecipes200ResponseResultsInner.cs b/csharp/src/spoonacular/Model/SearchRecipes200ResponseResultsInner.cs index 02dd0ff28..98068123b 100644 --- a/csharp/src/spoonacular/Model/SearchRecipes200ResponseResultsInner.cs +++ b/csharp/src/spoonacular/Model/SearchRecipes200ResponseResultsInner.cs @@ -121,24 +121,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInner.cs b/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInner.cs index f0abfd66a..7a547c282 100644 --- a/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInner.cs @@ -190,24 +190,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.cs b/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.cs index c7cef7f53..9c265c462 100644 --- a/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.cs +++ b/csharp/src/spoonacular/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.cs @@ -218,60 +218,60 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Aisle (string) minLength if (this.Aisle != null && this.Aisle.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); + yield return new ValidationResult("Invalid value for Aisle, length must be greater than 1.", new [] { "Aisle" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } // ExtendedName (string) minLength if (this.ExtendedName != null && this.ExtendedName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ExtendedName, length must be greater than 1.", new [] { "ExtendedName" }); + yield return new ValidationResult("Invalid value for ExtendedName, length must be greater than 1.", new [] { "ExtendedName" }); } // Original (string) minLength if (this.Original != null && this.Original.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); + yield return new ValidationResult("Invalid value for Original, length must be greater than 1.", new [] { "Original" }); } // OriginalName (string) minLength if (this.OriginalName != null && this.OriginalName.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); + yield return new ValidationResult("Invalid value for OriginalName, length must be greater than 1.", new [] { "OriginalName" }); } // Unit (string) minLength if (this.Unit != null && this.Unit.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Unit, length must be greater than 0.", new [] { "Unit" }); + yield return new ValidationResult("Invalid value for Unit, length must be greater than 0.", new [] { "Unit" }); } // UnitLong (string) minLength if (this.UnitLong != null && this.UnitLong.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UnitLong, length must be greater than 0.", new [] { "UnitLong" }); + yield return new ValidationResult("Invalid value for UnitLong, length must be greater than 0.", new [] { "UnitLong" }); } // UnitShort (string) minLength if (this.UnitShort != null && this.UnitShort.Length < 0) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UnitShort, length must be greater than 0.", new [] { "UnitShort" }); + yield return new ValidationResult("Invalid value for UnitShort, length must be greater than 0.", new [] { "UnitShort" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchRecipesByNutrients200ResponseInner.cs b/csharp/src/spoonacular/Model/SearchRecipesByNutrients200ResponseInner.cs index 009548185..5d2fbd9ab 100644 --- a/csharp/src/spoonacular/Model/SearchRecipesByNutrients200ResponseInner.cs +++ b/csharp/src/spoonacular/Model/SearchRecipesByNutrients200ResponseInner.cs @@ -172,42 +172,42 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Carbs (string) minLength if (this.Carbs != null && this.Carbs.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Carbs, length must be greater than 1.", new [] { "Carbs" }); + yield return new ValidationResult("Invalid value for Carbs, length must be greater than 1.", new [] { "Carbs" }); } // Fat (string) minLength if (this.Fat != null && this.Fat.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Fat, length must be greater than 1.", new [] { "Fat" }); + yield return new ValidationResult("Invalid value for Fat, length must be greater than 1.", new [] { "Fat" }); } // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // ImageType (string) minLength if (this.ImageType != null && this.ImageType.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); + yield return new ValidationResult("Invalid value for ImageType, length must be greater than 1.", new [] { "ImageType" }); } // Protein (string) minLength if (this.Protein != null && this.Protein.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Protein, length must be greater than 1.", new [] { "Protein" }); + yield return new ValidationResult("Invalid value for Protein, length must be greater than 1.", new [] { "Protein" }); } // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchRestaurants200Response.cs b/csharp/src/spoonacular/Model/SearchRestaurants200Response.cs index 5af0ef323..01cde29ed 100644 --- a/csharp/src/spoonacular/Model/SearchRestaurants200Response.cs +++ b/csharp/src/spoonacular/Model/SearchRestaurants200Response.cs @@ -74,7 +74,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInner.cs b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInner.cs index 66ea32e63..be9f6cde0 100644 --- a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInner.cs +++ b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInner.cs @@ -245,7 +245,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.cs b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.cs index 8135ab919..24c57740b 100644 --- a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.cs +++ b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.cs @@ -155,7 +155,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.cs b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.cs index 303cce1cc..479217cf5 100644 --- a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.cs +++ b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.cs @@ -101,7 +101,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.cs b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.cs index cfa9f282b..e78043632 100644 --- a/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.cs +++ b/csharp/src/spoonacular/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.cs @@ -128,7 +128,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchSiteContent200Response.cs b/csharp/src/spoonacular/Model/SearchSiteContent200Response.cs index 8b057c82b..9890ec464 100644 --- a/csharp/src/spoonacular/Model/SearchSiteContent200Response.cs +++ b/csharp/src/spoonacular/Model/SearchSiteContent200Response.cs @@ -126,7 +126,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInner.cs b/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInner.cs index 3a06d39f2..258a770e4 100644 --- a/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInner.cs +++ b/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInner.cs @@ -121,24 +121,24 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Image (string) minLength if (this.Image != null && this.Image.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); + yield return new ValidationResult("Invalid value for Image, length must be greater than 1.", new [] { "Image" }); } // Link (string) minLength if (this.Link != null && this.Link.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); + yield return new ValidationResult("Invalid value for Link, length must be greater than 1.", new [] { "Link" }); } // Name (string) minLength if (this.Name != null && this.Name.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); + yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.cs b/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.cs index a1c3a8da5..a7fe19b03 100644 --- a/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.cs +++ b/csharp/src/spoonacular/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.cs @@ -98,18 +98,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Key (string) minLength if (this.Key != null && this.Key.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Key, length must be greater than 1.", new [] { "Key" }); + yield return new ValidationResult("Invalid value for Key, length must be greater than 1.", new [] { "Key" }); } // Value (string) minLength if (this.Value != null && this.Value.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Value, length must be greater than 1.", new [] { "Value" }); + yield return new ValidationResult("Invalid value for Value, length must be greater than 1.", new [] { "Value" }); } yield break; diff --git a/csharp/src/spoonacular/Model/SummarizeRecipe200Response.cs b/csharp/src/spoonacular/Model/SummarizeRecipe200Response.cs index 9f4c42efa..f50d2e9b1 100644 --- a/csharp/src/spoonacular/Model/SummarizeRecipe200Response.cs +++ b/csharp/src/spoonacular/Model/SummarizeRecipe200Response.cs @@ -107,18 +107,18 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // Summary (string) minLength if (this.Summary != null && this.Summary.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); + yield return new ValidationResult("Invalid value for Summary, length must be greater than 1.", new [] { "Summary" }); } // Title (string) minLength if (this.Title != null && this.Title.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); + yield return new ValidationResult("Invalid value for Title, length must be greater than 1.", new [] { "Title" }); } yield break; diff --git a/csharp/src/spoonacular/Model/TalkToChatbot200Response.cs b/csharp/src/spoonacular/Model/TalkToChatbot200Response.cs index bd99a7b24..2b6c83726 100644 --- a/csharp/src/spoonacular/Model/TalkToChatbot200Response.cs +++ b/csharp/src/spoonacular/Model/TalkToChatbot200Response.cs @@ -98,12 +98,12 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // AnswerText (string) minLength if (this.AnswerText != null && this.AnswerText.Length < 1) { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for AnswerText, length must be greater than 1.", new [] { "AnswerText" }); + yield return new ValidationResult("Invalid value for AnswerText, length must be greater than 1.", new [] { "AnswerText" }); } yield break; diff --git a/csharp/src/spoonacular/Model/TalkToChatbot200ResponseMediaInner.cs b/csharp/src/spoonacular/Model/TalkToChatbot200ResponseMediaInner.cs index 4ce6b0f85..98a700987 100644 --- a/csharp/src/spoonacular/Model/TalkToChatbot200ResponseMediaInner.cs +++ b/csharp/src/spoonacular/Model/TalkToChatbot200ResponseMediaInner.cs @@ -92,7 +92,7 @@ public virtual string ToJson() /// /// Validation context /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; } diff --git a/csharp/src/spoonacular/spoonacular.csproj b/csharp/src/spoonacular/spoonacular.csproj index 22ee8d5c5..c3eb3486b 100644 --- a/csharp/src/spoonacular/spoonacular.csproj +++ b/csharp/src/spoonacular/spoonacular.csproj @@ -12,12 +12,13 @@ A library generated from a OpenAPI doc No Copyright spoonacular - 1.1.1 + 1.1.2 bin\$(Configuration)\$(TargetFramework)\spoonacular.xml https://github.com/ddsky/spoonacular-api-clients/tree/master/csharp/.git git Minor update annotations + false @@ -28,9 +29,7 @@ - - diff --git a/dart/.openapi-generator/VERSION b/dart/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/dart/.openapi-generator/VERSION +++ b/dart/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/dart/README.md b/dart/README.md index 8c1a392ad..f026afab8 100644 --- a/dart/README.md +++ b/dart/README.md @@ -6,7 +6,8 @@ Special diets/dietary requirements currently available include: vegan, vegetaria This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.1 -- Package version: 1.1.1 +- Package version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/dart/doc/GetConversationSuggests200ResponseSuggests.md b/dart/doc/GetConversationSuggests200ResponseSuggests.md index cd37e4a89..392f1a6bc 100644 --- a/dart/doc/GetConversationSuggests200ResponseSuggests.md +++ b/dart/doc/GetConversationSuggests200ResponseSuggests.md @@ -8,7 +8,7 @@ import 'package:openapi/api.dart'; ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**** | [**Set**](GetConversationSuggests200ResponseSuggestsInner.md) | | [default to const {}] +**underscore** | [**Set**](GetConversationSuggests200ResponseSuggestsInner.md) | | [default to const {}] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/dart/lib/api.dart b/dart/lib/api.dart index 622309c85..e75d1013b 100644 --- a/dart/lib/api.dart +++ b/dart/lib/api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/default_api.dart b/dart/lib/api/default_api.dart index 4bae2811b..597d47286 100644 --- a/dart/lib/api/default_api.dart +++ b/dart/lib/api/default_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/ingredients_api.dart b/dart/lib/api/ingredients_api.dart index 7f2d3e680..62ee11434 100644 --- a/dart/lib/api/ingredients_api.dart +++ b/dart/lib/api/ingredients_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/meal_planning_api.dart b/dart/lib/api/meal_planning_api.dart index 18ed17ffe..82a078bd1 100644 --- a/dart/lib/api/meal_planning_api.dart +++ b/dart/lib/api/meal_planning_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/menu_items_api.dart b/dart/lib/api/menu_items_api.dart index 47955dec2..5902d7258 100644 --- a/dart/lib/api/menu_items_api.dart +++ b/dart/lib/api/menu_items_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/misc_api.dart b/dart/lib/api/misc_api.dart index 4f7abbed1..ee8a9d733 100644 --- a/dart/lib/api/misc_api.dart +++ b/dart/lib/api/misc_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/products_api.dart b/dart/lib/api/products_api.dart index 584f723c5..ba128576e 100644 --- a/dart/lib/api/products_api.dart +++ b/dart/lib/api/products_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/recipes_api.dart b/dart/lib/api/recipes_api.dart index 7ff3d191e..313ef71a0 100644 --- a/dart/lib/api/recipes_api.dart +++ b/dart/lib/api/recipes_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api/wine_api.dart b/dart/lib/api/wine_api.dart index 9e61a6035..de148e398 100644 --- a/dart/lib/api/wine_api.dart +++ b/dart/lib/api/wine_api.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api_client.dart b/dart/lib/api_client.dart index 7ed415d89..311dd3fec 100644 --- a/dart/lib/api_client.dart +++ b/dart/lib/api_client.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api_exception.dart b/dart/lib/api_exception.dart index 796f7f7ee..53077d686 100644 --- a/dart/lib/api_exception.dart +++ b/dart/lib/api_exception.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/api_helper.dart b/dart/lib/api_helper.dart index b0d63582d..bf83e9172 100644 --- a/dart/lib/api_helper.dart +++ b/dart/lib/api_helper.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/auth/api_key_auth.dart b/dart/lib/auth/api_key_auth.dart index 84dc2955c..6c5621798 100644 --- a/dart/lib/auth/api_key_auth.dart +++ b/dart/lib/auth/api_key_auth.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/auth/authentication.dart b/dart/lib/auth/authentication.dart index 1b1b8ae11..5377fb6f3 100644 --- a/dart/lib/auth/authentication.dart +++ b/dart/lib/auth/authentication.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/auth/http_basic_auth.dart b/dart/lib/auth/http_basic_auth.dart index dfedaa50d..5e8b1c414 100644 --- a/dart/lib/auth/http_basic_auth.dart +++ b/dart/lib/auth/http_basic_auth.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/auth/http_bearer_auth.dart b/dart/lib/auth/http_bearer_auth.dart index eddf3a59c..847dc056e 100644 --- a/dart/lib/auth/http_bearer_auth.dart +++ b/dart/lib/auth/http_bearer_auth.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/auth/oauth.dart b/dart/lib/auth/oauth.dart index e9e7d784c..73fd8202d 100644 --- a/dart/lib/auth/oauth.dart +++ b/dart/lib/auth/oauth.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_meal_plan_template200_response.dart b/dart/lib/model/add_meal_plan_template200_response.dart index 2762d91ab..4d7adbea1 100644 --- a/dart/lib/model/add_meal_plan_template200_response.dart +++ b/dart/lib/model/add_meal_plan_template200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_meal_plan_template200_response_items_inner.dart b/dart/lib/model/add_meal_plan_template200_response_items_inner.dart index 2837b9c43..5a5a382fb 100644 --- a/dart/lib/model/add_meal_plan_template200_response_items_inner.dart +++ b/dart/lib/model/add_meal_plan_template200_response_items_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_meal_plan_template200_response_items_inner_value.dart b/dart/lib/model/add_meal_plan_template200_response_items_inner_value.dart index c96bbf6b7..0d7c6ea42 100644 --- a/dart/lib/model/add_meal_plan_template200_response_items_inner_value.dart +++ b/dart/lib/model/add_meal_plan_template200_response_items_inner_value.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_to_meal_plan_request.dart b/dart/lib/model/add_to_meal_plan_request.dart index 164b505c5..dcea9fb39 100644 --- a/dart/lib/model/add_to_meal_plan_request.dart +++ b/dart/lib/model/add_to_meal_plan_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_to_meal_plan_request_value.dart b/dart/lib/model/add_to_meal_plan_request_value.dart index b48f61349..450ee967c 100644 --- a/dart/lib/model/add_to_meal_plan_request_value.dart +++ b/dart/lib/model/add_to_meal_plan_request_value.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_to_meal_plan_request_value_ingredients_inner.dart b/dart/lib/model/add_to_meal_plan_request_value_ingredients_inner.dart index bfaf87ad1..189e46dad 100644 --- a/dart/lib/model/add_to_meal_plan_request_value_ingredients_inner.dart +++ b/dart/lib/model/add_to_meal_plan_request_value_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/add_to_shopping_list_request.dart b/dart/lib/model/add_to_shopping_list_request.dart index f734b4d70..030c74050 100644 --- a/dart/lib/model/add_to_shopping_list_request.dart +++ b/dart/lib/model/add_to_shopping_list_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_a_recipe_search_query200_response.dart b/dart/lib/model/analyze_a_recipe_search_query200_response.dart index 2d664e13e..8d8bb2e1b 100644 --- a/dart/lib/model/analyze_a_recipe_search_query200_response.dart +++ b/dart/lib/model/analyze_a_recipe_search_query200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_a_recipe_search_query200_response_dishes_inner.dart b/dart/lib/model/analyze_a_recipe_search_query200_response_dishes_inner.dart index 238b9bbe4..74356e8d7 100644 --- a/dart/lib/model/analyze_a_recipe_search_query200_response_dishes_inner.dart +++ b/dart/lib/model/analyze_a_recipe_search_query200_response_dishes_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_a_recipe_search_query200_response_ingredients_inner.dart b/dart/lib/model/analyze_a_recipe_search_query200_response_ingredients_inner.dart index f57d3a3f3..bdd2bd31a 100644 --- a/dart/lib/model/analyze_a_recipe_search_query200_response_ingredients_inner.dart +++ b/dart/lib/model/analyze_a_recipe_search_query200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_recipe_instructions200_response.dart b/dart/lib/model/analyze_recipe_instructions200_response.dart index 4b94e5a78..089dfe2c6 100644 --- a/dart/lib/model/analyze_recipe_instructions200_response.dart +++ b/dart/lib/model/analyze_recipe_instructions200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_recipe_instructions200_response_ingredients_inner.dart b/dart/lib/model/analyze_recipe_instructions200_response_ingredients_inner.dart index 6a97afed7..ff5caaf26 100644 --- a/dart/lib/model/analyze_recipe_instructions200_response_ingredients_inner.dart +++ b/dart/lib/model/analyze_recipe_instructions200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner.dart b/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner.dart index 795b282de..bf2c40047 100644 --- a/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner.dart +++ b/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart b/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart index 9817b659f..42737f020 100644 --- a/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart +++ b/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart b/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart index 527ebcf26..bb566a2e2 100644 --- a/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart +++ b/dart/lib/model/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/analyze_recipe_request.dart b/dart/lib/model/analyze_recipe_request.dart index 61b0e7187..254fe2968 100644 --- a/dart/lib/model/analyze_recipe_request.dart +++ b/dart/lib/model/analyze_recipe_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/autocomplete_ingredient_search200_response_inner.dart b/dart/lib/model/autocomplete_ingredient_search200_response_inner.dart index 60cb7e70f..539b84deb 100644 --- a/dart/lib/model/autocomplete_ingredient_search200_response_inner.dart +++ b/dart/lib/model/autocomplete_ingredient_search200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/autocomplete_menu_item_search200_response.dart b/dart/lib/model/autocomplete_menu_item_search200_response.dart index 91484e597..c57beef16 100644 --- a/dart/lib/model/autocomplete_menu_item_search200_response.dart +++ b/dart/lib/model/autocomplete_menu_item_search200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/autocomplete_product_search200_response.dart b/dart/lib/model/autocomplete_product_search200_response.dart index 0fad66bc8..ec8f3d0eb 100644 --- a/dart/lib/model/autocomplete_product_search200_response.dart +++ b/dart/lib/model/autocomplete_product_search200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/autocomplete_product_search200_response_results_inner.dart b/dart/lib/model/autocomplete_product_search200_response_results_inner.dart index a5b9112d6..2f399e38c 100644 --- a/dart/lib/model/autocomplete_product_search200_response_results_inner.dart +++ b/dart/lib/model/autocomplete_product_search200_response_results_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/autocomplete_recipe_search200_response_inner.dart b/dart/lib/model/autocomplete_recipe_search200_response_inner.dart index 64656cd03..35e128a09 100644 --- a/dart/lib/model/autocomplete_recipe_search200_response_inner.dart +++ b/dart/lib/model/autocomplete_recipe_search200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/classify_cuisine200_response.dart b/dart/lib/model/classify_cuisine200_response.dart index 557dbecac..38ee622b8 100644 --- a/dart/lib/model/classify_cuisine200_response.dart +++ b/dart/lib/model/classify_cuisine200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/classify_grocery_product200_response.dart b/dart/lib/model/classify_grocery_product200_response.dart index e026e6cda..bab82c9be 100644 --- a/dart/lib/model/classify_grocery_product200_response.dart +++ b/dart/lib/model/classify_grocery_product200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/classify_grocery_product_bulk200_response_inner.dart b/dart/lib/model/classify_grocery_product_bulk200_response_inner.dart index a96fca1e8..1db5b6336 100644 --- a/dart/lib/model/classify_grocery_product_bulk200_response_inner.dart +++ b/dart/lib/model/classify_grocery_product_bulk200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/classify_grocery_product_bulk_request_inner.dart b/dart/lib/model/classify_grocery_product_bulk_request_inner.dart index 517a4e692..d7207ed5b 100644 --- a/dart/lib/model/classify_grocery_product_bulk_request_inner.dart +++ b/dart/lib/model/classify_grocery_product_bulk_request_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/classify_grocery_product_request.dart b/dart/lib/model/classify_grocery_product_request.dart index 5ee68fac7..027a1e100 100644 --- a/dart/lib/model/classify_grocery_product_request.dart +++ b/dart/lib/model/classify_grocery_product_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/compute_glycemic_load200_response.dart b/dart/lib/model/compute_glycemic_load200_response.dart index 9b61c83cd..32a581c5c 100644 --- a/dart/lib/model/compute_glycemic_load200_response.dart +++ b/dart/lib/model/compute_glycemic_load200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/compute_glycemic_load200_response_ingredients_inner.dart b/dart/lib/model/compute_glycemic_load200_response_ingredients_inner.dart index 66c7bf509..bacd9b9a2 100644 --- a/dart/lib/model/compute_glycemic_load200_response_ingredients_inner.dart +++ b/dart/lib/model/compute_glycemic_load200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/compute_glycemic_load_request.dart b/dart/lib/model/compute_glycemic_load_request.dart index c2e441dad..1a9d2eeb5 100644 --- a/dart/lib/model/compute_glycemic_load_request.dart +++ b/dart/lib/model/compute_glycemic_load_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/compute_ingredient_amount200_response.dart b/dart/lib/model/compute_ingredient_amount200_response.dart index e4ff7840a..82712cbe3 100644 --- a/dart/lib/model/compute_ingredient_amount200_response.dart +++ b/dart/lib/model/compute_ingredient_amount200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/connect_user200_response.dart b/dart/lib/model/connect_user200_response.dart index 2cccbfa2f..99daea43e 100644 --- a/dart/lib/model/connect_user200_response.dart +++ b/dart/lib/model/connect_user200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/connect_user_request.dart b/dart/lib/model/connect_user_request.dart index 824de22f4..ee424c56f 100644 --- a/dart/lib/model/connect_user_request.dart +++ b/dart/lib/model/connect_user_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/convert_amounts200_response.dart b/dart/lib/model/convert_amounts200_response.dart index 3b6350806..87f075384 100644 --- a/dart/lib/model/convert_amounts200_response.dart +++ b/dart/lib/model/convert_amounts200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/create_recipe_card200_response.dart b/dart/lib/model/create_recipe_card200_response.dart index 87f70eafb..a904d8f50 100644 --- a/dart/lib/model/create_recipe_card200_response.dart +++ b/dart/lib/model/create_recipe_card200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/detect_food_in_text200_response.dart b/dart/lib/model/detect_food_in_text200_response.dart index 932f77617..e48585172 100644 --- a/dart/lib/model/detect_food_in_text200_response.dart +++ b/dart/lib/model/detect_food_in_text200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/detect_food_in_text200_response_annotations_inner.dart b/dart/lib/model/detect_food_in_text200_response_annotations_inner.dart index a024161df..eb402ee8c 100644 --- a/dart/lib/model/detect_food_in_text200_response_annotations_inner.dart +++ b/dart/lib/model/detect_food_in_text200_response_annotations_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/generate_meal_plan200_response.dart b/dart/lib/model/generate_meal_plan200_response.dart index e4ecdeaec..36f8c9bb3 100644 --- a/dart/lib/model/generate_meal_plan200_response.dart +++ b/dart/lib/model/generate_meal_plan200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/generate_meal_plan200_response_nutrients.dart b/dart/lib/model/generate_meal_plan200_response_nutrients.dart index 1838983a4..218ee8a5d 100644 --- a/dart/lib/model/generate_meal_plan200_response_nutrients.dart +++ b/dart/lib/model/generate_meal_plan200_response_nutrients.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/generate_shopping_list200_response.dart b/dart/lib/model/generate_shopping_list200_response.dart index d326aa9c7..a58a7622f 100644 --- a/dart/lib/model/generate_shopping_list200_response.dart +++ b/dart/lib/model/generate_shopping_list200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_a_random_food_joke200_response.dart b/dart/lib/model/get_a_random_food_joke200_response.dart index 7d59c13c7..5e050fb19 100644 --- a/dart/lib/model/get_a_random_food_joke200_response.dart +++ b/dart/lib/model/get_a_random_food_joke200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_analyzed_recipe_instructions200_response.dart b/dart/lib/model/get_analyzed_recipe_instructions200_response.dart index 5e34af6db..50e7e5d52 100644 --- a/dart/lib/model/get_analyzed_recipe_instructions200_response.dart +++ b/dart/lib/model/get_analyzed_recipe_instructions200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_analyzed_recipe_instructions200_response_ingredients_inner.dart b/dart/lib/model/get_analyzed_recipe_instructions200_response_ingredients_inner.dart index b8a630496..7628c5c14 100644 --- a/dart/lib/model/get_analyzed_recipe_instructions200_response_ingredients_inner.dart +++ b/dart/lib/model/get_analyzed_recipe_instructions200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.dart b/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.dart index 6e4fb4476..7eb21b805 100644 --- a/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.dart +++ b/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart b/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart index 4183c545d..770d7fe76 100644 --- a/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart +++ b/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart b/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart index e5fe5b373..965bbd699 100644 --- a/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart +++ b/dart/lib/model/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_comparable_products200_response.dart b/dart/lib/model/get_comparable_products200_response.dart index a11d52d58..c618a04df 100644 --- a/dart/lib/model/get_comparable_products200_response.dart +++ b/dart/lib/model/get_comparable_products200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_comparable_products200_response_comparable_products.dart b/dart/lib/model/get_comparable_products200_response_comparable_products.dart index 052951a1e..e590ae9a9 100644 --- a/dart/lib/model/get_comparable_products200_response_comparable_products.dart +++ b/dart/lib/model/get_comparable_products200_response_comparable_products.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_comparable_products200_response_comparable_products_protein_inner.dart b/dart/lib/model/get_comparable_products200_response_comparable_products_protein_inner.dart index 4f8dbac47..eeab3fada 100644 --- a/dart/lib/model/get_comparable_products200_response_comparable_products_protein_inner.dart +++ b/dart/lib/model/get_comparable_products200_response_comparable_products_protein_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_conversation_suggests200_response.dart b/dart/lib/model/get_conversation_suggests200_response.dart index 0f2ae0b52..d54ff0599 100644 --- a/dart/lib/model/get_conversation_suggests200_response.dart +++ b/dart/lib/model/get_conversation_suggests200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_conversation_suggests200_response_suggests.dart b/dart/lib/model/get_conversation_suggests200_response_suggests.dart index 7a0eabf0a..695f123f5 100644 --- a/dart/lib/model/get_conversation_suggests200_response_suggests.dart +++ b/dart/lib/model/get_conversation_suggests200_response_suggests.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -13,26 +13,26 @@ part of openapi.api; class GetConversationSuggests200ResponseSuggests { /// Returns a new [GetConversationSuggests200ResponseSuggests] instance. GetConversationSuggests200ResponseSuggests({ - this. = const {}, + this.underscore = const {}, }); - Set ; + Set underscore; @override bool operator ==(Object other) => identical(this, other) || other is GetConversationSuggests200ResponseSuggests && - _deepEquality.equals(other., ); + _deepEquality.equals(other.underscore, underscore); @override int get hashCode => // ignore: unnecessary_parenthesis - (.hashCode); + (underscore.hashCode); @override - String toString() => 'GetConversationSuggests200ResponseSuggests[=$]'; + String toString() => 'GetConversationSuggests200ResponseSuggests[underscore=$underscore]'; Map toJson() { final json = {}; - json[r'_'] = this..toList(growable: false); + json[r'_'] = this.underscore.toList(growable: false); return json; } @@ -55,7 +55,7 @@ class GetConversationSuggests200ResponseSuggests { }()); return GetConversationSuggests200ResponseSuggests( - : GetConversationSuggests200ResponseSuggestsInner.listFromJson(json[r'_']).toSet(), + underscore: GetConversationSuggests200ResponseSuggestsInner.listFromJson(json[r'_']).toSet(), ); } return null; diff --git a/dart/lib/model/get_conversation_suggests200_response_suggests_inner.dart b/dart/lib/model/get_conversation_suggests200_response_suggests_inner.dart index 1d1bdd118..3654fb173 100644 --- a/dart/lib/model/get_conversation_suggests200_response_suggests_inner.dart +++ b/dart/lib/model/get_conversation_suggests200_response_suggests_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_dish_pairing_for_wine200_response.dart b/dart/lib/model/get_dish_pairing_for_wine200_response.dart index 297c51d07..4cb37312c 100644 --- a/dart/lib/model/get_dish_pairing_for_wine200_response.dart +++ b/dart/lib/model/get_dish_pairing_for_wine200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_ingredient_information200_response.dart b/dart/lib/model/get_ingredient_information200_response.dart index 7c721c9e1..4e06975b2 100644 --- a/dart/lib/model/get_ingredient_information200_response.dart +++ b/dart/lib/model/get_ingredient_information200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_ingredient_information200_response_nutrition.dart b/dart/lib/model/get_ingredient_information200_response_nutrition.dart index bfff6feb7..8d0066ab0 100644 --- a/dart/lib/model/get_ingredient_information200_response_nutrition.dart +++ b/dart/lib/model/get_ingredient_information200_response_nutrition.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_ingredient_substitutes200_response.dart b/dart/lib/model/get_ingredient_substitutes200_response.dart index 57723eba4..5652f5448 100644 --- a/dart/lib/model/get_ingredient_substitutes200_response.dart +++ b/dart/lib/model/get_ingredient_substitutes200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_template200_response.dart b/dart/lib/model/get_meal_plan_template200_response.dart index 91599dc94..a06167cee 100644 --- a/dart/lib/model/get_meal_plan_template200_response.dart +++ b/dart/lib/model/get_meal_plan_template200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_template200_response_days_inner.dart b/dart/lib/model/get_meal_plan_template200_response_days_inner.dart index d76918771..4acc4d868 100644 --- a/dart/lib/model/get_meal_plan_template200_response_days_inner.dart +++ b/dart/lib/model/get_meal_plan_template200_response_days_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner.dart b/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner.dart index 34cd2c00d..6eb5b393a 100644 --- a/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner.dart +++ b/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner_value.dart b/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner_value.dart index 581c80e81..d8a91ce75 100644 --- a/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner_value.dart +++ b/dart/lib/model/get_meal_plan_template200_response_days_inner_items_inner_value.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_templates200_response.dart b/dart/lib/model/get_meal_plan_templates200_response.dart index 790470fe2..34f8c72c6 100644 --- a/dart/lib/model/get_meal_plan_templates200_response.dart +++ b/dart/lib/model/get_meal_plan_templates200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_week200_response.dart b/dart/lib/model/get_meal_plan_week200_response.dart index fddb8983b..61719db3d 100644 --- a/dart/lib/model/get_meal_plan_week200_response.dart +++ b/dart/lib/model/get_meal_plan_week200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_week200_response_days_inner.dart b/dart/lib/model/get_meal_plan_week200_response_days_inner.dart index d6d54cac4..dbd69403b 100644 --- a/dart/lib/model/get_meal_plan_week200_response_days_inner.dart +++ b/dart/lib/model/get_meal_plan_week200_response_days_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner.dart b/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner.dart index 3150c7c2a..9566344b9 100644 --- a/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner.dart +++ b/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner_value.dart b/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner_value.dart index eeb48bcb9..301dc0f2a 100644 --- a/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner_value.dart +++ b/dart/lib/model/get_meal_plan_week200_response_days_inner_items_inner_value.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary.dart b/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary.dart index 774b1100e..3d1f89666 100644 --- a/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary.dart +++ b/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.dart b/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.dart index cda30ee07..aa328bceb 100644 --- a/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.dart +++ b/dart/lib/model/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_menu_item_information200_response.dart b/dart/lib/model/get_menu_item_information200_response.dart index b30395a90..c553f8c74 100644 --- a/dart/lib/model/get_menu_item_information200_response.dart +++ b/dart/lib/model/get_menu_item_information200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_product_information200_response.dart b/dart/lib/model/get_product_information200_response.dart index bb5ff9951..1c331766b 100644 --- a/dart/lib/model/get_product_information200_response.dart +++ b/dart/lib/model/get_product_information200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_product_information200_response_ingredients_inner.dart b/dart/lib/model/get_product_information200_response_ingredients_inner.dart index e7876ffc6..cdcfbfb89 100644 --- a/dart/lib/model/get_product_information200_response_ingredients_inner.dart +++ b/dart/lib/model/get_product_information200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_random_food_trivia200_response.dart b/dart/lib/model/get_random_food_trivia200_response.dart index ccc84677e..d400d1889 100644 --- a/dart/lib/model/get_random_food_trivia200_response.dart +++ b/dart/lib/model/get_random_food_trivia200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_random_recipes200_response.dart b/dart/lib/model/get_random_recipes200_response.dart index 800f0ac6f..61b16253c 100644 --- a/dart/lib/model/get_random_recipes200_response.dart +++ b/dart/lib/model/get_random_recipes200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_random_recipes200_response_recipes_inner.dart b/dart/lib/model/get_random_recipes200_response_recipes_inner.dart index 3d8fafc14..d0c54e252 100644 --- a/dart/lib/model/get_random_recipes200_response_recipes_inner.dart +++ b/dart/lib/model/get_random_recipes200_response_recipes_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_equipment_by_id200_response.dart b/dart/lib/model/get_recipe_equipment_by_id200_response.dart index 4003cfb02..16f5e9f36 100644 --- a/dart/lib/model/get_recipe_equipment_by_id200_response.dart +++ b/dart/lib/model/get_recipe_equipment_by_id200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_equipment_by_id200_response_equipment_inner.dart b/dart/lib/model/get_recipe_equipment_by_id200_response_equipment_inner.dart index 74a96504a..7ab840959 100644 --- a/dart/lib/model/get_recipe_equipment_by_id200_response_equipment_inner.dart +++ b/dart/lib/model/get_recipe_equipment_by_id200_response_equipment_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information200_response.dart b/dart/lib/model/get_recipe_information200_response.dart index 7f76d2f2a..02d59967b 100644 --- a/dart/lib/model/get_recipe_information200_response.dart +++ b/dart/lib/model/get_recipe_information200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner.dart b/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner.dart index f2bee590f..40b462cd9 100644 --- a/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner.dart +++ b/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures.dart b/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures.dart index 568a6948b..56edf8495 100644 --- a/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures.dart +++ b/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures_metric.dart b/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures_metric.dart index 60986bf4c..9449b533d 100644 --- a/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures_metric.dart +++ b/dart/lib/model/get_recipe_information200_response_extended_ingredients_inner_measures_metric.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information200_response_wine_pairing.dart b/dart/lib/model/get_recipe_information200_response_wine_pairing.dart index 5615c0a2a..ff6ce771e 100644 --- a/dart/lib/model/get_recipe_information200_response_wine_pairing.dart +++ b/dart/lib/model/get_recipe_information200_response_wine_pairing.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information200_response_wine_pairing_product_matches_inner.dart b/dart/lib/model/get_recipe_information200_response_wine_pairing_product_matches_inner.dart index e634c0300..b3bc7408f 100644 --- a/dart/lib/model/get_recipe_information200_response_wine_pairing_product_matches_inner.dart +++ b/dart/lib/model/get_recipe_information200_response_wine_pairing_product_matches_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_information_bulk200_response_inner.dart b/dart/lib/model/get_recipe_information_bulk200_response_inner.dart index 5bef88d5f..6fe689ad9 100644 --- a/dart/lib/model/get_recipe_information_bulk200_response_inner.dart +++ b/dart/lib/model/get_recipe_information_bulk200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_ingredients_by_id200_response.dart b/dart/lib/model/get_recipe_ingredients_by_id200_response.dart index 97ea3d234..8f96ce2cd 100644 --- a/dart/lib/model/get_recipe_ingredients_by_id200_response.dart +++ b/dart/lib/model/get_recipe_ingredients_by_id200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_ingredients_by_id200_response_ingredients_inner.dart b/dart/lib/model/get_recipe_ingredients_by_id200_response_ingredients_inner.dart index 8d98c06b2..c534f1a0e 100644 --- a/dart/lib/model/get_recipe_ingredients_by_id200_response_ingredients_inner.dart +++ b/dart/lib/model/get_recipe_ingredients_by_id200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_nutrition_widget_by_id200_response.dart b/dart/lib/model/get_recipe_nutrition_widget_by_id200_response.dart index b3db5274f..a8d6c7a45 100644 --- a/dart/lib/model/get_recipe_nutrition_widget_by_id200_response.dart +++ b/dart/lib/model/get_recipe_nutrition_widget_by_id200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_bad_inner.dart b/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_bad_inner.dart index 094973de2..2fc1b6064 100644 --- a/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_bad_inner.dart +++ b/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_bad_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_good_inner.dart b/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_good_inner.dart index ecfaede48..714e25452 100644 --- a/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_good_inner.dart +++ b/dart/lib/model/get_recipe_nutrition_widget_by_id200_response_good_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_price_breakdown_by_id200_response.dart b/dart/lib/model/get_recipe_price_breakdown_by_id200_response.dart index 5d70cd847..400a23018 100644 --- a/dart/lib/model/get_recipe_price_breakdown_by_id200_response.dart +++ b/dart/lib/model/get_recipe_price_breakdown_by_id200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner.dart b/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner.dart index 296259312..fb4f8b51c 100644 --- a/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner.dart +++ b/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.dart b/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.dart index 3fdb79e1f..1c5d68887 100644 --- a/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.dart +++ b/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.dart b/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.dart index 22b64f3dc..ef4edf11e 100644 --- a/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.dart +++ b/dart/lib/model/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_recipe_taste_by_id200_response.dart b/dart/lib/model/get_recipe_taste_by_id200_response.dart index 2d0140dec..e165f6153 100644 --- a/dart/lib/model/get_recipe_taste_by_id200_response.dart +++ b/dart/lib/model/get_recipe_taste_by_id200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_shopping_list200_response.dart b/dart/lib/model/get_shopping_list200_response.dart index 4a0465743..69685f2dd 100644 --- a/dart/lib/model/get_shopping_list200_response.dart +++ b/dart/lib/model/get_shopping_list200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_shopping_list200_response_aisles_inner.dart b/dart/lib/model/get_shopping_list200_response_aisles_inner.dart index 0128a4753..8814aa4ad 100644 --- a/dart/lib/model/get_shopping_list200_response_aisles_inner.dart +++ b/dart/lib/model/get_shopping_list200_response_aisles_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner.dart b/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner.dart index ac16c7635..9d836a582 100644 --- a/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner.dart +++ b/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner_measures.dart b/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner_measures.dart index 4ccde1536..2850bd95b 100644 --- a/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner_measures.dart +++ b/dart/lib/model/get_shopping_list200_response_aisles_inner_items_inner_measures.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_similar_recipes200_response_inner.dart b/dart/lib/model/get_similar_recipes200_response_inner.dart index 90d8fec8e..6c0e43a0f 100644 --- a/dart/lib/model/get_similar_recipes200_response_inner.dart +++ b/dart/lib/model/get_similar_recipes200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_wine_description200_response.dart b/dart/lib/model/get_wine_description200_response.dart index ffdeb17eb..ac2e31715 100644 --- a/dart/lib/model/get_wine_description200_response.dart +++ b/dart/lib/model/get_wine_description200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_wine_pairing200_response.dart b/dart/lib/model/get_wine_pairing200_response.dart index f035231ca..c5ae773b3 100644 --- a/dart/lib/model/get_wine_pairing200_response.dart +++ b/dart/lib/model/get_wine_pairing200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_wine_pairing200_response_product_matches_inner.dart b/dart/lib/model/get_wine_pairing200_response_product_matches_inner.dart index 07871eeaa..836d0b705 100644 --- a/dart/lib/model/get_wine_pairing200_response_product_matches_inner.dart +++ b/dart/lib/model/get_wine_pairing200_response_product_matches_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_wine_recommendation200_response.dart b/dart/lib/model/get_wine_recommendation200_response.dart index ef5a21f8e..d23920b6f 100644 --- a/dart/lib/model/get_wine_recommendation200_response.dart +++ b/dart/lib/model/get_wine_recommendation200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/get_wine_recommendation200_response_recommended_wines_inner.dart b/dart/lib/model/get_wine_recommendation200_response_recommended_wines_inner.dart index ace1adea8..1b7ae7e4e 100644 --- a/dart/lib/model/get_wine_recommendation200_response_recommended_wines_inner.dart +++ b/dart/lib/model/get_wine_recommendation200_response_recommended_wines_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/guess_nutrition_by_dish_name200_response.dart b/dart/lib/model/guess_nutrition_by_dish_name200_response.dart index 296c6fb33..e27d1cbec 100644 --- a/dart/lib/model/guess_nutrition_by_dish_name200_response.dart +++ b/dart/lib/model/guess_nutrition_by_dish_name200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/guess_nutrition_by_dish_name200_response_calories.dart b/dart/lib/model/guess_nutrition_by_dish_name200_response_calories.dart index a06297e15..3d0fd3325 100644 --- a/dart/lib/model/guess_nutrition_by_dish_name200_response_calories.dart +++ b/dart/lib/model/guess_nutrition_by_dish_name200_response_calories.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.dart b/dart/lib/model/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.dart index a3b660b4e..8ba63f67f 100644 --- a/dart/lib/model/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.dart +++ b/dart/lib/model/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_analysis_by_url200_response.dart b/dart/lib/model/image_analysis_by_url200_response.dart index be4006fdd..c476ae527 100644 --- a/dart/lib/model/image_analysis_by_url200_response.dart +++ b/dart/lib/model/image_analysis_by_url200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_analysis_by_url200_response_category.dart b/dart/lib/model/image_analysis_by_url200_response_category.dart index 6bf894b1f..f35810e19 100644 --- a/dart/lib/model/image_analysis_by_url200_response_category.dart +++ b/dart/lib/model/image_analysis_by_url200_response_category.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_analysis_by_url200_response_nutrition.dart b/dart/lib/model/image_analysis_by_url200_response_nutrition.dart index 22ab2a7e8..2b6c5261c 100644 --- a/dart/lib/model/image_analysis_by_url200_response_nutrition.dart +++ b/dart/lib/model/image_analysis_by_url200_response_nutrition.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_analysis_by_url200_response_nutrition_calories.dart b/dart/lib/model/image_analysis_by_url200_response_nutrition_calories.dart index f2e1c0506..aef00af7a 100644 --- a/dart/lib/model/image_analysis_by_url200_response_nutrition_calories.dart +++ b/dart/lib/model/image_analysis_by_url200_response_nutrition_calories.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.dart b/dart/lib/model/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.dart index 419a5482e..71fe61a0e 100644 --- a/dart/lib/model/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.dart +++ b/dart/lib/model/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_analysis_by_url200_response_recipes_inner.dart b/dart/lib/model/image_analysis_by_url200_response_recipes_inner.dart index 05846049c..a02ef0295 100644 --- a/dart/lib/model/image_analysis_by_url200_response_recipes_inner.dart +++ b/dart/lib/model/image_analysis_by_url200_response_recipes_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/image_classification_by_url200_response.dart b/dart/lib/model/image_classification_by_url200_response.dart index b8d5b227f..3317a50ee 100644 --- a/dart/lib/model/image_classification_by_url200_response.dart +++ b/dart/lib/model/image_classification_by_url200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/ingredient_search200_response.dart b/dart/lib/model/ingredient_search200_response.dart index fa6bf4034..b1a7fa4e2 100644 --- a/dart/lib/model/ingredient_search200_response.dart +++ b/dart/lib/model/ingredient_search200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/ingredient_search200_response_results_inner.dart b/dart/lib/model/ingredient_search200_response_results_inner.dart index 49c9d91c4..cbe5259af 100644 --- a/dart/lib/model/ingredient_search200_response_results_inner.dart +++ b/dart/lib/model/ingredient_search200_response_results_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/map_ingredients_to_grocery_products200_response_inner.dart b/dart/lib/model/map_ingredients_to_grocery_products200_response_inner.dart index af217a09f..5006d30b5 100644 --- a/dart/lib/model/map_ingredients_to_grocery_products200_response_inner.dart +++ b/dart/lib/model/map_ingredients_to_grocery_products200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/map_ingredients_to_grocery_products200_response_inner_products_inner.dart b/dart/lib/model/map_ingredients_to_grocery_products200_response_inner_products_inner.dart index de54e5ce5..5ee92dc48 100644 --- a/dart/lib/model/map_ingredients_to_grocery_products200_response_inner_products_inner.dart +++ b/dart/lib/model/map_ingredients_to_grocery_products200_response_inner_products_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/map_ingredients_to_grocery_products_request.dart b/dart/lib/model/map_ingredients_to_grocery_products_request.dart index 0509d8dfc..62ed56b59 100644 --- a/dart/lib/model/map_ingredients_to_grocery_products_request.dart +++ b/dart/lib/model/map_ingredients_to_grocery_products_request.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner.dart b/dart/lib/model/parse_ingredients200_response_inner.dart index a1f0aca2b..9978eef96 100644 --- a/dart/lib/model/parse_ingredients200_response_inner.dart +++ b/dart/lib/model/parse_ingredients200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner_estimated_cost.dart b/dart/lib/model/parse_ingredients200_response_inner_estimated_cost.dart index 39b76f587..835b61feb 100644 --- a/dart/lib/model/parse_ingredients200_response_inner_estimated_cost.dart +++ b/dart/lib/model/parse_ingredients200_response_inner_estimated_cost.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner_nutrition.dart b/dart/lib/model/parse_ingredients200_response_inner_nutrition.dart index 8c532aba7..2c3cfc5e1 100644 --- a/dart/lib/model/parse_ingredients200_response_inner_nutrition.dart +++ b/dart/lib/model/parse_ingredients200_response_inner_nutrition.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner_nutrition_caloric_breakdown.dart b/dart/lib/model/parse_ingredients200_response_inner_nutrition_caloric_breakdown.dart index 5ceac1942..7273786f8 100644 --- a/dart/lib/model/parse_ingredients200_response_inner_nutrition_caloric_breakdown.dart +++ b/dart/lib/model/parse_ingredients200_response_inner_nutrition_caloric_breakdown.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner_nutrition_nutrients_inner.dart b/dart/lib/model/parse_ingredients200_response_inner_nutrition_nutrients_inner.dart index bad018033..4f0ba9716 100644 --- a/dart/lib/model/parse_ingredients200_response_inner_nutrition_nutrients_inner.dart +++ b/dart/lib/model/parse_ingredients200_response_inner_nutrition_nutrients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner_nutrition_properties_inner.dart b/dart/lib/model/parse_ingredients200_response_inner_nutrition_properties_inner.dart index c8e43f7fc..fc297cfd8 100644 --- a/dart/lib/model/parse_ingredients200_response_inner_nutrition_properties_inner.dart +++ b/dart/lib/model/parse_ingredients200_response_inner_nutrition_properties_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/parse_ingredients200_response_inner_nutrition_weight_per_serving.dart b/dart/lib/model/parse_ingredients200_response_inner_nutrition_weight_per_serving.dart index 577e20101..5dded4bd2 100644 --- a/dart/lib/model/parse_ingredients200_response_inner_nutrition_weight_per_serving.dart +++ b/dart/lib/model/parse_ingredients200_response_inner_nutrition_weight_per_serving.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/quick_answer200_response.dart b/dart/lib/model/quick_answer200_response.dart index aaf0d1e01..ed3556def 100644 --- a/dart/lib/model/quick_answer200_response.dart +++ b/dart/lib/model/quick_answer200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_all_food200_response.dart b/dart/lib/model/search_all_food200_response.dart index 008ab7a4e..554cbe9e8 100644 --- a/dart/lib/model/search_all_food200_response.dart +++ b/dart/lib/model/search_all_food200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_all_food200_response_search_results_inner.dart b/dart/lib/model/search_all_food200_response_search_results_inner.dart index d06b84b8e..cf3ee77b5 100644 --- a/dart/lib/model/search_all_food200_response_search_results_inner.dart +++ b/dart/lib/model/search_all_food200_response_search_results_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_all_food200_response_search_results_inner_results_inner.dart b/dart/lib/model/search_all_food200_response_search_results_inner_results_inner.dart index 79d12a866..882679e7a 100644 --- a/dart/lib/model/search_all_food200_response_search_results_inner_results_inner.dart +++ b/dart/lib/model/search_all_food200_response_search_results_inner_results_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_custom_foods200_response.dart b/dart/lib/model/search_custom_foods200_response.dart index 7ca1480f0..1463f2cb0 100644 --- a/dart/lib/model/search_custom_foods200_response.dart +++ b/dart/lib/model/search_custom_foods200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_custom_foods200_response_custom_foods_inner.dart b/dart/lib/model/search_custom_foods200_response_custom_foods_inner.dart index 61e939a27..58b2a471d 100644 --- a/dart/lib/model/search_custom_foods200_response_custom_foods_inner.dart +++ b/dart/lib/model/search_custom_foods200_response_custom_foods_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_food_videos200_response.dart b/dart/lib/model/search_food_videos200_response.dart index 65d21a7c2..3d8c55deb 100644 --- a/dart/lib/model/search_food_videos200_response.dart +++ b/dart/lib/model/search_food_videos200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_food_videos200_response_videos_inner.dart b/dart/lib/model/search_food_videos200_response_videos_inner.dart index 894b0763b..5bea5e6dc 100644 --- a/dart/lib/model/search_food_videos200_response_videos_inner.dart +++ b/dart/lib/model/search_food_videos200_response_videos_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_grocery_products200_response.dart b/dart/lib/model/search_grocery_products200_response.dart index 4cad83a2a..13d5590e8 100644 --- a/dart/lib/model/search_grocery_products200_response.dart +++ b/dart/lib/model/search_grocery_products200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_grocery_products_by_upc200_response.dart b/dart/lib/model/search_grocery_products_by_upc200_response.dart index 5065cc849..a9e746e30 100644 --- a/dart/lib/model/search_grocery_products_by_upc200_response.dart +++ b/dart/lib/model/search_grocery_products_by_upc200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_grocery_products_by_upc200_response_ingredients_inner.dart b/dart/lib/model/search_grocery_products_by_upc200_response_ingredients_inner.dart index 2bc8e57f9..c370adfdb 100644 --- a/dart/lib/model/search_grocery_products_by_upc200_response_ingredients_inner.dart +++ b/dart/lib/model/search_grocery_products_by_upc200_response_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_grocery_products_by_upc200_response_nutrition.dart b/dart/lib/model/search_grocery_products_by_upc200_response_nutrition.dart index 71436c04a..f74da1948 100644 --- a/dart/lib/model/search_grocery_products_by_upc200_response_nutrition.dart +++ b/dart/lib/model/search_grocery_products_by_upc200_response_nutrition.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_grocery_products_by_upc200_response_servings.dart b/dart/lib/model/search_grocery_products_by_upc200_response_servings.dart index 76657ed66..79c6511ba 100644 --- a/dart/lib/model/search_grocery_products_by_upc200_response_servings.dart +++ b/dart/lib/model/search_grocery_products_by_upc200_response_servings.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_menu_items200_response.dart b/dart/lib/model/search_menu_items200_response.dart index 71ed1c106..3d363a5a2 100644 --- a/dart/lib/model/search_menu_items200_response.dart +++ b/dart/lib/model/search_menu_items200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_menu_items200_response_menu_items_inner.dart b/dart/lib/model/search_menu_items200_response_menu_items_inner.dart index 2afde7dcb..ca895ebf9 100644 --- a/dart/lib/model/search_menu_items200_response_menu_items_inner.dart +++ b/dart/lib/model/search_menu_items200_response_menu_items_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_recipes200_response.dart b/dart/lib/model/search_recipes200_response.dart index c326244c2..d8d135dcd 100644 --- a/dart/lib/model/search_recipes200_response.dart +++ b/dart/lib/model/search_recipes200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_recipes200_response_results_inner.dart b/dart/lib/model/search_recipes200_response_results_inner.dart index ea27eac9f..b8490418f 100644 --- a/dart/lib/model/search_recipes200_response_results_inner.dart +++ b/dart/lib/model/search_recipes200_response_results_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_recipes_by_ingredients200_response_inner.dart b/dart/lib/model/search_recipes_by_ingredients200_response_inner.dart index 134c6a606..5ea93f03a 100644 --- a/dart/lib/model/search_recipes_by_ingredients200_response_inner.dart +++ b/dart/lib/model/search_recipes_by_ingredients200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.dart b/dart/lib/model/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.dart index 921df50dd..f5b614adb 100644 --- a/dart/lib/model/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.dart +++ b/dart/lib/model/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_recipes_by_nutrients200_response_inner.dart b/dart/lib/model/search_recipes_by_nutrients200_response_inner.dart index 71956f143..b3672e020 100644 --- a/dart/lib/model/search_recipes_by_nutrients200_response_inner.dart +++ b/dart/lib/model/search_recipes_by_nutrients200_response_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_restaurants200_response.dart b/dart/lib/model/search_restaurants200_response.dart index e44039bb2..6f4329597 100644 --- a/dart/lib/model/search_restaurants200_response.dart +++ b/dart/lib/model/search_restaurants200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_restaurants200_response_restaurants_inner.dart b/dart/lib/model/search_restaurants200_response_restaurants_inner.dart index 5abe3fbae..08dd880ca 100644 --- a/dart/lib/model/search_restaurants200_response_restaurants_inner.dart +++ b/dart/lib/model/search_restaurants200_response_restaurants_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_restaurants200_response_restaurants_inner_address.dart b/dart/lib/model/search_restaurants200_response_restaurants_inner_address.dart index cd9f51ddf..8b43d1518 100644 --- a/dart/lib/model/search_restaurants200_response_restaurants_inner_address.dart +++ b/dart/lib/model/search_restaurants200_response_restaurants_inner_address.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours.dart b/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours.dart index a4fe1c38a..929f9b754 100644 --- a/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours.dart +++ b/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours_operational.dart b/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours_operational.dart index cd259f9ba..4b05a7982 100644 --- a/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours_operational.dart +++ b/dart/lib/model/search_restaurants200_response_restaurants_inner_local_hours_operational.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_site_content200_response.dart b/dart/lib/model/search_site_content200_response.dart index d0c56f55d..937de1824 100644 --- a/dart/lib/model/search_site_content200_response.dart +++ b/dart/lib/model/search_site_content200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_site_content200_response_articles_inner.dart b/dart/lib/model/search_site_content200_response_articles_inner.dart index 83f0a3dec..266265c99 100644 --- a/dart/lib/model/search_site_content200_response_articles_inner.dart +++ b/dart/lib/model/search_site_content200_response_articles_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/search_site_content200_response_articles_inner_data_points_inner.dart b/dart/lib/model/search_site_content200_response_articles_inner_data_points_inner.dart index 2f55dbf3e..4e6c8aeae 100644 --- a/dart/lib/model/search_site_content200_response_articles_inner_data_points_inner.dart +++ b/dart/lib/model/search_site_content200_response_articles_inner_data_points_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/summarize_recipe200_response.dart b/dart/lib/model/summarize_recipe200_response.dart index fc5826e63..9e83c539c 100644 --- a/dart/lib/model/summarize_recipe200_response.dart +++ b/dart/lib/model/summarize_recipe200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/talk_to_chatbot200_response.dart b/dart/lib/model/talk_to_chatbot200_response.dart index e0684ad1c..e83d9bd31 100644 --- a/dart/lib/model/talk_to_chatbot200_response.dart +++ b/dart/lib/model/talk_to_chatbot200_response.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/lib/model/talk_to_chatbot200_response_media_inner.dart b/dart/lib/model/talk_to_chatbot200_response_media_inner.dart index b76b2bd98..9225e6584 100644 --- a/dart/lib/model/talk_to_chatbot200_response_media_inner.dart +++ b/dart/lib/model/talk_to_chatbot200_response_media_inner.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/pubspec.yaml b/dart/pubspec.yaml index 41ab08885..72a2cdd8d 100644 --- a/dart/pubspec.yaml +++ b/dart/pubspec.yaml @@ -7,11 +7,11 @@ version: '1.0.0' description: 'OpenAPI API client' homepage: 'homepage' environment: - sdk: '>=2.12.0 <3.0.0' + sdk: '>=2.12.0 <4.0.0' dependencies: collection: '^1.17.0' http: '>=0.13.0 <0.14.0' - intl: '^0.18.0' + intl: any meta: '^1.1.8' dev_dependencies: - test: '>=1.16.0 <1.18.0' + test: '>=1.21.6 <1.22.0' diff --git a/dart/test/add_meal_plan_template200_response_items_inner_test.dart b/dart/test/add_meal_plan_template200_response_items_inner_test.dart index 9d074ece9..a5e4932f6 100644 --- a/dart/test/add_meal_plan_template200_response_items_inner_test.dart +++ b/dart/test/add_meal_plan_template200_response_items_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/add_meal_plan_template200_response_items_inner_value_test.dart b/dart/test/add_meal_plan_template200_response_items_inner_value_test.dart index d37045118..7dc3aace9 100644 --- a/dart/test/add_meal_plan_template200_response_items_inner_value_test.dart +++ b/dart/test/add_meal_plan_template200_response_items_inner_value_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/add_meal_plan_template200_response_test.dart b/dart/test/add_meal_plan_template200_response_test.dart index 44fe4e887..4a4b410c5 100644 --- a/dart/test/add_meal_plan_template200_response_test.dart +++ b/dart/test/add_meal_plan_template200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/add_to_meal_plan_request_test.dart b/dart/test/add_to_meal_plan_request_test.dart index 7cbe229c3..233be6761 100644 --- a/dart/test/add_to_meal_plan_request_test.dart +++ b/dart/test/add_to_meal_plan_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/add_to_meal_plan_request_value_ingredients_inner_test.dart b/dart/test/add_to_meal_plan_request_value_ingredients_inner_test.dart index 5f29c7085..098717de7 100644 --- a/dart/test/add_to_meal_plan_request_value_ingredients_inner_test.dart +++ b/dart/test/add_to_meal_plan_request_value_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/add_to_meal_plan_request_value_test.dart b/dart/test/add_to_meal_plan_request_value_test.dart index 6e78a92ca..0e65cab8c 100644 --- a/dart/test/add_to_meal_plan_request_value_test.dart +++ b/dart/test/add_to_meal_plan_request_value_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/add_to_shopping_list_request_test.dart b/dart/test/add_to_shopping_list_request_test.dart index 9173ae140..f08ec9fed 100644 --- a/dart/test/add_to_shopping_list_request_test.dart +++ b/dart/test/add_to_shopping_list_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_a_recipe_search_query200_response_dishes_inner_test.dart b/dart/test/analyze_a_recipe_search_query200_response_dishes_inner_test.dart index 285d87d68..334156be9 100644 --- a/dart/test/analyze_a_recipe_search_query200_response_dishes_inner_test.dart +++ b/dart/test/analyze_a_recipe_search_query200_response_dishes_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_a_recipe_search_query200_response_ingredients_inner_test.dart b/dart/test/analyze_a_recipe_search_query200_response_ingredients_inner_test.dart index 46496f97e..5acb122b8 100644 --- a/dart/test/analyze_a_recipe_search_query200_response_ingredients_inner_test.dart +++ b/dart/test/analyze_a_recipe_search_query200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_a_recipe_search_query200_response_test.dart b/dart/test/analyze_a_recipe_search_query200_response_test.dart index 2ef5e4378..cfef43339 100644 --- a/dart/test/analyze_a_recipe_search_query200_response_test.dart +++ b/dart/test/analyze_a_recipe_search_query200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_recipe_instructions200_response_ingredients_inner_test.dart b/dart/test/analyze_recipe_instructions200_response_ingredients_inner_test.dart index b6aeda5fe..6e4b53917 100644 --- a/dart/test/analyze_recipe_instructions200_response_ingredients_inner_test.dart +++ b/dart/test/analyze_recipe_instructions200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart b/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart index 4be6a66b8..f401b2ce5 100644 --- a/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart +++ b/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart b/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart index 13e48d5af..67754c31f 100644 --- a/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart +++ b/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_test.dart b/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_test.dart index ee08e9b46..a23022a82 100644 --- a/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_test.dart +++ b/dart/test/analyze_recipe_instructions200_response_parsed_instructions_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_recipe_instructions200_response_test.dart b/dart/test/analyze_recipe_instructions200_response_test.dart index 17fa5be8a..60d5d458b 100644 --- a/dart/test/analyze_recipe_instructions200_response_test.dart +++ b/dart/test/analyze_recipe_instructions200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/analyze_recipe_request_test.dart b/dart/test/analyze_recipe_request_test.dart index 1fc9dfe1c..9f4fc8b1c 100644 --- a/dart/test/analyze_recipe_request_test.dart +++ b/dart/test/analyze_recipe_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/autocomplete_ingredient_search200_response_inner_test.dart b/dart/test/autocomplete_ingredient_search200_response_inner_test.dart index 79cb0de07..9a8c59011 100644 --- a/dart/test/autocomplete_ingredient_search200_response_inner_test.dart +++ b/dart/test/autocomplete_ingredient_search200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/autocomplete_menu_item_search200_response_test.dart b/dart/test/autocomplete_menu_item_search200_response_test.dart index 0cf764fee..12840ad61 100644 --- a/dart/test/autocomplete_menu_item_search200_response_test.dart +++ b/dart/test/autocomplete_menu_item_search200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/autocomplete_product_search200_response_results_inner_test.dart b/dart/test/autocomplete_product_search200_response_results_inner_test.dart index 4d4553152..bf56a74f5 100644 --- a/dart/test/autocomplete_product_search200_response_results_inner_test.dart +++ b/dart/test/autocomplete_product_search200_response_results_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/autocomplete_product_search200_response_test.dart b/dart/test/autocomplete_product_search200_response_test.dart index ef8d8c756..eff3750d3 100644 --- a/dart/test/autocomplete_product_search200_response_test.dart +++ b/dart/test/autocomplete_product_search200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/autocomplete_recipe_search200_response_inner_test.dart b/dart/test/autocomplete_recipe_search200_response_inner_test.dart index 6bf5c03cb..e7f6f9774 100644 --- a/dart/test/autocomplete_recipe_search200_response_inner_test.dart +++ b/dart/test/autocomplete_recipe_search200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/classify_cuisine200_response_test.dart b/dart/test/classify_cuisine200_response_test.dart index 46019c4bd..6aebd758a 100644 --- a/dart/test/classify_cuisine200_response_test.dart +++ b/dart/test/classify_cuisine200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/classify_grocery_product200_response_test.dart b/dart/test/classify_grocery_product200_response_test.dart index 4725dd6e5..55c9c5f8c 100644 --- a/dart/test/classify_grocery_product200_response_test.dart +++ b/dart/test/classify_grocery_product200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/classify_grocery_product_bulk200_response_inner_test.dart b/dart/test/classify_grocery_product_bulk200_response_inner_test.dart index 6e9ca8a01..a32f5e0c6 100644 --- a/dart/test/classify_grocery_product_bulk200_response_inner_test.dart +++ b/dart/test/classify_grocery_product_bulk200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/classify_grocery_product_bulk_request_inner_test.dart b/dart/test/classify_grocery_product_bulk_request_inner_test.dart index f076cb77e..2c159435b 100644 --- a/dart/test/classify_grocery_product_bulk_request_inner_test.dart +++ b/dart/test/classify_grocery_product_bulk_request_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/classify_grocery_product_request_test.dart b/dart/test/classify_grocery_product_request_test.dart index 12da3ed92..d29fb010f 100644 --- a/dart/test/classify_grocery_product_request_test.dart +++ b/dart/test/classify_grocery_product_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/compute_glycemic_load200_response_ingredients_inner_test.dart b/dart/test/compute_glycemic_load200_response_ingredients_inner_test.dart index d185f4be5..8d502bb25 100644 --- a/dart/test/compute_glycemic_load200_response_ingredients_inner_test.dart +++ b/dart/test/compute_glycemic_load200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/compute_glycemic_load200_response_test.dart b/dart/test/compute_glycemic_load200_response_test.dart index 758aba084..d991f5237 100644 --- a/dart/test/compute_glycemic_load200_response_test.dart +++ b/dart/test/compute_glycemic_load200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/compute_glycemic_load_request_test.dart b/dart/test/compute_glycemic_load_request_test.dart index bcf54fa8a..0a52ebd7d 100644 --- a/dart/test/compute_glycemic_load_request_test.dart +++ b/dart/test/compute_glycemic_load_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/compute_ingredient_amount200_response_test.dart b/dart/test/compute_ingredient_amount200_response_test.dart index 3374bd986..927fcc6e2 100644 --- a/dart/test/compute_ingredient_amount200_response_test.dart +++ b/dart/test/compute_ingredient_amount200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/connect_user200_response_test.dart b/dart/test/connect_user200_response_test.dart index 96ced789d..cfd260974 100644 --- a/dart/test/connect_user200_response_test.dart +++ b/dart/test/connect_user200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/connect_user_request_test.dart b/dart/test/connect_user_request_test.dart index a9b713525..9836cd38d 100644 --- a/dart/test/connect_user_request_test.dart +++ b/dart/test/connect_user_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/convert_amounts200_response_test.dart b/dart/test/convert_amounts200_response_test.dart index b8be9b155..68973db0a 100644 --- a/dart/test/convert_amounts200_response_test.dart +++ b/dart/test/convert_amounts200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/create_recipe_card200_response_test.dart b/dart/test/create_recipe_card200_response_test.dart index a4ece4cfc..aa89f5250 100644 --- a/dart/test/create_recipe_card200_response_test.dart +++ b/dart/test/create_recipe_card200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/default_api_test.dart b/dart/test/default_api_test.dart index c1ac8f38b..5afc03c01 100644 --- a/dart/test/default_api_test.dart +++ b/dart/test/default_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/detect_food_in_text200_response_annotations_inner_test.dart b/dart/test/detect_food_in_text200_response_annotations_inner_test.dart index 4e0771aab..4984d76ce 100644 --- a/dart/test/detect_food_in_text200_response_annotations_inner_test.dart +++ b/dart/test/detect_food_in_text200_response_annotations_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/detect_food_in_text200_response_test.dart b/dart/test/detect_food_in_text200_response_test.dart index e3d711dcf..686369d2a 100644 --- a/dart/test/detect_food_in_text200_response_test.dart +++ b/dart/test/detect_food_in_text200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/generate_meal_plan200_response_nutrients_test.dart b/dart/test/generate_meal_plan200_response_nutrients_test.dart index 13fcf5847..89c059a5e 100644 --- a/dart/test/generate_meal_plan200_response_nutrients_test.dart +++ b/dart/test/generate_meal_plan200_response_nutrients_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/generate_meal_plan200_response_test.dart b/dart/test/generate_meal_plan200_response_test.dart index 6b00fb3df..e87af0d1b 100644 --- a/dart/test/generate_meal_plan200_response_test.dart +++ b/dart/test/generate_meal_plan200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/generate_shopping_list200_response_test.dart b/dart/test/generate_shopping_list200_response_test.dart index 5e4627b6d..6f6da5efd 100644 --- a/dart/test/generate_shopping_list200_response_test.dart +++ b/dart/test/generate_shopping_list200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_a_random_food_joke200_response_test.dart b/dart/test/get_a_random_food_joke200_response_test.dart index 319c060ec..af8a16bc0 100644 --- a/dart/test/get_a_random_food_joke200_response_test.dart +++ b/dart/test/get_a_random_food_joke200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_analyzed_recipe_instructions200_response_ingredients_inner_test.dart b/dart/test/get_analyzed_recipe_instructions200_response_ingredients_inner_test.dart index 3d0bbcc24..6718c6243 100644 --- a/dart/test/get_analyzed_recipe_instructions200_response_ingredients_inner_test.dart +++ b/dart/test/get_analyzed_recipe_instructions200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart b/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart index 6f6057bff..921281d1e 100644 --- a/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart +++ b/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart b/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart index 6cb0bae99..e0638849c 100644 --- a/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart +++ b/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_test.dart b/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_test.dart index 1987862ce..3c3bb49ce 100644 --- a/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_test.dart +++ b/dart/test/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_analyzed_recipe_instructions200_response_test.dart b/dart/test/get_analyzed_recipe_instructions200_response_test.dart index 3b88fbb68..7344c5f67 100644 --- a/dart/test/get_analyzed_recipe_instructions200_response_test.dart +++ b/dart/test/get_analyzed_recipe_instructions200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_comparable_products200_response_comparable_products_protein_inner_test.dart b/dart/test/get_comparable_products200_response_comparable_products_protein_inner_test.dart index 17b312622..21d36a9cf 100644 --- a/dart/test/get_comparable_products200_response_comparable_products_protein_inner_test.dart +++ b/dart/test/get_comparable_products200_response_comparable_products_protein_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_comparable_products200_response_comparable_products_test.dart b/dart/test/get_comparable_products200_response_comparable_products_test.dart index c0e31d1b8..1abaa2de5 100644 --- a/dart/test/get_comparable_products200_response_comparable_products_test.dart +++ b/dart/test/get_comparable_products200_response_comparable_products_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_comparable_products200_response_test.dart b/dart/test/get_comparable_products200_response_test.dart index d822bad71..c415b7d22 100644 --- a/dart/test/get_comparable_products200_response_test.dart +++ b/dart/test/get_comparable_products200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_conversation_suggests200_response_suggests_inner_test.dart b/dart/test/get_conversation_suggests200_response_suggests_inner_test.dart index 60e382cde..3daa7fd18 100644 --- a/dart/test/get_conversation_suggests200_response_suggests_inner_test.dart +++ b/dart/test/get_conversation_suggests200_response_suggests_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_conversation_suggests200_response_suggests_test.dart b/dart/test/get_conversation_suggests200_response_suggests_test.dart index 99620a2c3..aa23254e4 100644 --- a/dart/test/get_conversation_suggests200_response_suggests_test.dart +++ b/dart/test/get_conversation_suggests200_response_suggests_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first @@ -16,8 +16,8 @@ void main() { // final instance = GetConversationSuggests200ResponseSuggests(); group('test GetConversationSuggests200ResponseSuggests', () { - // Set (default value: const {}) - test('to test the property ``', () async { + // Set underscore (default value: const {}) + test('to test the property `underscore`', () async { // TODO }); diff --git a/dart/test/get_conversation_suggests200_response_test.dart b/dart/test/get_conversation_suggests200_response_test.dart index badb5c8db..bb5309af3 100644 --- a/dart/test/get_conversation_suggests200_response_test.dart +++ b/dart/test/get_conversation_suggests200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_dish_pairing_for_wine200_response_test.dart b/dart/test/get_dish_pairing_for_wine200_response_test.dart index aaf9b1dbc..0e97bee4f 100644 --- a/dart/test/get_dish_pairing_for_wine200_response_test.dart +++ b/dart/test/get_dish_pairing_for_wine200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_ingredient_information200_response_nutrition_test.dart b/dart/test/get_ingredient_information200_response_nutrition_test.dart index 2582e71fa..08597fca8 100644 --- a/dart/test/get_ingredient_information200_response_nutrition_test.dart +++ b/dart/test/get_ingredient_information200_response_nutrition_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_ingredient_information200_response_test.dart b/dart/test/get_ingredient_information200_response_test.dart index 04667036c..b9f5159c1 100644 --- a/dart/test/get_ingredient_information200_response_test.dart +++ b/dart/test/get_ingredient_information200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_ingredient_substitutes200_response_test.dart b/dart/test/get_ingredient_substitutes200_response_test.dart index 54bc91b88..b0e912d61 100644 --- a/dart/test/get_ingredient_substitutes200_response_test.dart +++ b/dart/test/get_ingredient_substitutes200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_template200_response_days_inner_items_inner_test.dart b/dart/test/get_meal_plan_template200_response_days_inner_items_inner_test.dart index 2784d6f2a..93dce1cd5 100644 --- a/dart/test/get_meal_plan_template200_response_days_inner_items_inner_test.dart +++ b/dart/test/get_meal_plan_template200_response_days_inner_items_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_template200_response_days_inner_items_inner_value_test.dart b/dart/test/get_meal_plan_template200_response_days_inner_items_inner_value_test.dart index d5984fd88..897822479 100644 --- a/dart/test/get_meal_plan_template200_response_days_inner_items_inner_value_test.dart +++ b/dart/test/get_meal_plan_template200_response_days_inner_items_inner_value_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_template200_response_days_inner_test.dart b/dart/test/get_meal_plan_template200_response_days_inner_test.dart index 19bd0bfba..64b76b18b 100644 --- a/dart/test/get_meal_plan_template200_response_days_inner_test.dart +++ b/dart/test/get_meal_plan_template200_response_days_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_template200_response_test.dart b/dart/test/get_meal_plan_template200_response_test.dart index 5ee1e3416..418f4a7d9 100644 --- a/dart/test/get_meal_plan_template200_response_test.dart +++ b/dart/test/get_meal_plan_template200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_templates200_response_test.dart b/dart/test/get_meal_plan_templates200_response_test.dart index fa0a66416..b5c89eb70 100644 --- a/dart/test/get_meal_plan_templates200_response_test.dart +++ b/dart/test/get_meal_plan_templates200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_week200_response_days_inner_items_inner_test.dart b/dart/test/get_meal_plan_week200_response_days_inner_items_inner_test.dart index ad9d2ba6a..6fd1c754e 100644 --- a/dart/test/get_meal_plan_week200_response_days_inner_items_inner_test.dart +++ b/dart/test/get_meal_plan_week200_response_days_inner_items_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_week200_response_days_inner_items_inner_value_test.dart b/dart/test/get_meal_plan_week200_response_days_inner_items_inner_value_test.dart index 769e87fb9..b8b97a694 100644 --- a/dart/test/get_meal_plan_week200_response_days_inner_items_inner_value_test.dart +++ b/dart/test/get_meal_plan_week200_response_days_inner_items_inner_value_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_test.dart b/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_test.dart index 457a9f5d7..cc1b952a4 100644 --- a/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_test.dart +++ b/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_test.dart b/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_test.dart index c970b237c..a38e94caf 100644 --- a/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_test.dart +++ b/dart/test/get_meal_plan_week200_response_days_inner_nutrition_summary_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_week200_response_days_inner_test.dart b/dart/test/get_meal_plan_week200_response_days_inner_test.dart index 0fa04eee4..708c37f69 100644 --- a/dart/test/get_meal_plan_week200_response_days_inner_test.dart +++ b/dart/test/get_meal_plan_week200_response_days_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_meal_plan_week200_response_test.dart b/dart/test/get_meal_plan_week200_response_test.dart index d40c0ff6b..5b2f3b13e 100644 --- a/dart/test/get_meal_plan_week200_response_test.dart +++ b/dart/test/get_meal_plan_week200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_menu_item_information200_response_test.dart b/dart/test/get_menu_item_information200_response_test.dart index 4a1e49c73..b2643e5f0 100644 --- a/dart/test/get_menu_item_information200_response_test.dart +++ b/dart/test/get_menu_item_information200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_product_information200_response_ingredients_inner_test.dart b/dart/test/get_product_information200_response_ingredients_inner_test.dart index fe8f88c98..87c49eeac 100644 --- a/dart/test/get_product_information200_response_ingredients_inner_test.dart +++ b/dart/test/get_product_information200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_product_information200_response_test.dart b/dart/test/get_product_information200_response_test.dart index ae5325e99..4fec753f0 100644 --- a/dart/test/get_product_information200_response_test.dart +++ b/dart/test/get_product_information200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_random_food_trivia200_response_test.dart b/dart/test/get_random_food_trivia200_response_test.dart index 946936d6c..3db455621 100644 --- a/dart/test/get_random_food_trivia200_response_test.dart +++ b/dart/test/get_random_food_trivia200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_random_recipes200_response_recipes_inner_test.dart b/dart/test/get_random_recipes200_response_recipes_inner_test.dart index 3a83c0a8b..1a893c8da 100644 --- a/dart/test/get_random_recipes200_response_recipes_inner_test.dart +++ b/dart/test/get_random_recipes200_response_recipes_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_random_recipes200_response_test.dart b/dart/test/get_random_recipes200_response_test.dart index bb5165f56..9bc94a4cd 100644 --- a/dart/test/get_random_recipes200_response_test.dart +++ b/dart/test/get_random_recipes200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_equipment_by_id200_response_equipment_inner_test.dart b/dart/test/get_recipe_equipment_by_id200_response_equipment_inner_test.dart index 01ba69de5..e042f155d 100644 --- a/dart/test/get_recipe_equipment_by_id200_response_equipment_inner_test.dart +++ b/dart/test/get_recipe_equipment_by_id200_response_equipment_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_equipment_by_id200_response_test.dart b/dart/test/get_recipe_equipment_by_id200_response_test.dart index d7eba3aae..c8f8ccc73 100644 --- a/dart/test/get_recipe_equipment_by_id200_response_test.dart +++ b/dart/test/get_recipe_equipment_by_id200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_metric_test.dart b/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_metric_test.dart index 9042faf37..1eb600e83 100644 --- a/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_metric_test.dart +++ b/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_metric_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_test.dart b/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_test.dart index 2fbf3faa8..d4a4f84d2 100644 --- a/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_test.dart +++ b/dart/test/get_recipe_information200_response_extended_ingredients_inner_measures_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information200_response_extended_ingredients_inner_test.dart b/dart/test/get_recipe_information200_response_extended_ingredients_inner_test.dart index bd72e99c2..5fb4c9d63 100644 --- a/dart/test/get_recipe_information200_response_extended_ingredients_inner_test.dart +++ b/dart/test/get_recipe_information200_response_extended_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information200_response_test.dart b/dart/test/get_recipe_information200_response_test.dart index 773a8b4ab..1f5b695bc 100644 --- a/dart/test/get_recipe_information200_response_test.dart +++ b/dart/test/get_recipe_information200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information200_response_wine_pairing_product_matches_inner_test.dart b/dart/test/get_recipe_information200_response_wine_pairing_product_matches_inner_test.dart index 06659ca24..3650416c0 100644 --- a/dart/test/get_recipe_information200_response_wine_pairing_product_matches_inner_test.dart +++ b/dart/test/get_recipe_information200_response_wine_pairing_product_matches_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information200_response_wine_pairing_test.dart b/dart/test/get_recipe_information200_response_wine_pairing_test.dart index 744a4ef5a..2754d8403 100644 --- a/dart/test/get_recipe_information200_response_wine_pairing_test.dart +++ b/dart/test/get_recipe_information200_response_wine_pairing_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_information_bulk200_response_inner_test.dart b/dart/test/get_recipe_information_bulk200_response_inner_test.dart index 809708e48..6fe184dc8 100644 --- a/dart/test/get_recipe_information_bulk200_response_inner_test.dart +++ b/dart/test/get_recipe_information_bulk200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_ingredients_by_id200_response_ingredients_inner_test.dart b/dart/test/get_recipe_ingredients_by_id200_response_ingredients_inner_test.dart index 45f7aa47f..2c6563f21 100644 --- a/dart/test/get_recipe_ingredients_by_id200_response_ingredients_inner_test.dart +++ b/dart/test/get_recipe_ingredients_by_id200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_ingredients_by_id200_response_test.dart b/dart/test/get_recipe_ingredients_by_id200_response_test.dart index fed1a57e6..038af1ebd 100644 --- a/dart/test/get_recipe_ingredients_by_id200_response_test.dart +++ b/dart/test/get_recipe_ingredients_by_id200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_nutrition_widget_by_id200_response_bad_inner_test.dart b/dart/test/get_recipe_nutrition_widget_by_id200_response_bad_inner_test.dart index 2a377af79..e4ff39d42 100644 --- a/dart/test/get_recipe_nutrition_widget_by_id200_response_bad_inner_test.dart +++ b/dart/test/get_recipe_nutrition_widget_by_id200_response_bad_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_nutrition_widget_by_id200_response_good_inner_test.dart b/dart/test/get_recipe_nutrition_widget_by_id200_response_good_inner_test.dart index 2e0ecd3c2..cbad58244 100644 --- a/dart/test/get_recipe_nutrition_widget_by_id200_response_good_inner_test.dart +++ b/dart/test/get_recipe_nutrition_widget_by_id200_response_good_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_nutrition_widget_by_id200_response_test.dart b/dart/test/get_recipe_nutrition_widget_by_id200_response_test.dart index fe5cd40e8..d432b713f 100644 --- a/dart/test/get_recipe_nutrition_widget_by_id200_response_test.dart +++ b/dart/test/get_recipe_nutrition_widget_by_id200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_test.dart b/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_test.dart index c4ed9e8a8..588ddf73f 100644 --- a/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_test.dart +++ b/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_test.dart b/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_test.dart index 1665c29f8..99baf5a02 100644 --- a/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_test.dart +++ b/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_test.dart b/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_test.dart index 487146eb8..043d57e6f 100644 --- a/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_test.dart +++ b/dart/test/get_recipe_price_breakdown_by_id200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_price_breakdown_by_id200_response_test.dart b/dart/test/get_recipe_price_breakdown_by_id200_response_test.dart index eef6d6776..9a95e00ea 100644 --- a/dart/test/get_recipe_price_breakdown_by_id200_response_test.dart +++ b/dart/test/get_recipe_price_breakdown_by_id200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_recipe_taste_by_id200_response_test.dart b/dart/test/get_recipe_taste_by_id200_response_test.dart index 0d55713bd..ee9ff7bca 100644 --- a/dart/test/get_recipe_taste_by_id200_response_test.dart +++ b/dart/test/get_recipe_taste_by_id200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_shopping_list200_response_aisles_inner_items_inner_measures_test.dart b/dart/test/get_shopping_list200_response_aisles_inner_items_inner_measures_test.dart index d8769123c..ce992776e 100644 --- a/dart/test/get_shopping_list200_response_aisles_inner_items_inner_measures_test.dart +++ b/dart/test/get_shopping_list200_response_aisles_inner_items_inner_measures_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_shopping_list200_response_aisles_inner_items_inner_test.dart b/dart/test/get_shopping_list200_response_aisles_inner_items_inner_test.dart index 658a9df04..a9fdf0325 100644 --- a/dart/test/get_shopping_list200_response_aisles_inner_items_inner_test.dart +++ b/dart/test/get_shopping_list200_response_aisles_inner_items_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_shopping_list200_response_aisles_inner_test.dart b/dart/test/get_shopping_list200_response_aisles_inner_test.dart index d723e22f2..61f60370f 100644 --- a/dart/test/get_shopping_list200_response_aisles_inner_test.dart +++ b/dart/test/get_shopping_list200_response_aisles_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_shopping_list200_response_test.dart b/dart/test/get_shopping_list200_response_test.dart index f86881086..654290cec 100644 --- a/dart/test/get_shopping_list200_response_test.dart +++ b/dart/test/get_shopping_list200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_similar_recipes200_response_inner_test.dart b/dart/test/get_similar_recipes200_response_inner_test.dart index f53279c12..668216cdd 100644 --- a/dart/test/get_similar_recipes200_response_inner_test.dart +++ b/dart/test/get_similar_recipes200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_wine_description200_response_test.dart b/dart/test/get_wine_description200_response_test.dart index 7f43d0410..0726eff28 100644 --- a/dart/test/get_wine_description200_response_test.dart +++ b/dart/test/get_wine_description200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_wine_pairing200_response_product_matches_inner_test.dart b/dart/test/get_wine_pairing200_response_product_matches_inner_test.dart index fc24701cf..a84ccefdd 100644 --- a/dart/test/get_wine_pairing200_response_product_matches_inner_test.dart +++ b/dart/test/get_wine_pairing200_response_product_matches_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_wine_pairing200_response_test.dart b/dart/test/get_wine_pairing200_response_test.dart index 487b75ae0..630ac5c52 100644 --- a/dart/test/get_wine_pairing200_response_test.dart +++ b/dart/test/get_wine_pairing200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_wine_recommendation200_response_recommended_wines_inner_test.dart b/dart/test/get_wine_recommendation200_response_recommended_wines_inner_test.dart index d3d31d751..6ec4629aa 100644 --- a/dart/test/get_wine_recommendation200_response_recommended_wines_inner_test.dart +++ b/dart/test/get_wine_recommendation200_response_recommended_wines_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/get_wine_recommendation200_response_test.dart b/dart/test/get_wine_recommendation200_response_test.dart index afe619d8a..c8646ae40 100644 --- a/dart/test/get_wine_recommendation200_response_test.dart +++ b/dart/test/get_wine_recommendation200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_test.dart b/dart/test/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_test.dart index 7c8f67f7f..92e64e084 100644 --- a/dart/test/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_test.dart +++ b/dart/test/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/guess_nutrition_by_dish_name200_response_calories_test.dart b/dart/test/guess_nutrition_by_dish_name200_response_calories_test.dart index a63f61030..65cc19c63 100644 --- a/dart/test/guess_nutrition_by_dish_name200_response_calories_test.dart +++ b/dart/test/guess_nutrition_by_dish_name200_response_calories_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/guess_nutrition_by_dish_name200_response_test.dart b/dart/test/guess_nutrition_by_dish_name200_response_test.dart index 910d1bd41..a8d9dd44c 100644 --- a/dart/test/guess_nutrition_by_dish_name200_response_test.dart +++ b/dart/test/guess_nutrition_by_dish_name200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_analysis_by_url200_response_category_test.dart b/dart/test/image_analysis_by_url200_response_category_test.dart index 0d7a19b64..5fa764923 100644 --- a/dart/test/image_analysis_by_url200_response_category_test.dart +++ b/dart/test/image_analysis_by_url200_response_category_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_test.dart b/dart/test/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_test.dart index db328e34f..c442548ca 100644 --- a/dart/test/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_test.dart +++ b/dart/test/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_analysis_by_url200_response_nutrition_calories_test.dart b/dart/test/image_analysis_by_url200_response_nutrition_calories_test.dart index 45e706d19..ddc85a3f6 100644 --- a/dart/test/image_analysis_by_url200_response_nutrition_calories_test.dart +++ b/dart/test/image_analysis_by_url200_response_nutrition_calories_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_analysis_by_url200_response_nutrition_test.dart b/dart/test/image_analysis_by_url200_response_nutrition_test.dart index 271633cfa..0529d3587 100644 --- a/dart/test/image_analysis_by_url200_response_nutrition_test.dart +++ b/dart/test/image_analysis_by_url200_response_nutrition_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_analysis_by_url200_response_recipes_inner_test.dart b/dart/test/image_analysis_by_url200_response_recipes_inner_test.dart index 1fadec2e4..2391d069b 100644 --- a/dart/test/image_analysis_by_url200_response_recipes_inner_test.dart +++ b/dart/test/image_analysis_by_url200_response_recipes_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_analysis_by_url200_response_test.dart b/dart/test/image_analysis_by_url200_response_test.dart index 3285040c6..9fb999641 100644 --- a/dart/test/image_analysis_by_url200_response_test.dart +++ b/dart/test/image_analysis_by_url200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/image_classification_by_url200_response_test.dart b/dart/test/image_classification_by_url200_response_test.dart index 65a6c4780..60838d024 100644 --- a/dart/test/image_classification_by_url200_response_test.dart +++ b/dart/test/image_classification_by_url200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/ingredient_search200_response_results_inner_test.dart b/dart/test/ingredient_search200_response_results_inner_test.dart index 630c38886..47e0b9ebb 100644 --- a/dart/test/ingredient_search200_response_results_inner_test.dart +++ b/dart/test/ingredient_search200_response_results_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/ingredient_search200_response_test.dart b/dart/test/ingredient_search200_response_test.dart index 2af118e5d..58fcd45fe 100644 --- a/dart/test/ingredient_search200_response_test.dart +++ b/dart/test/ingredient_search200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/ingredients_api_test.dart b/dart/test/ingredients_api_test.dart index d41ea33b1..d4cb71449 100644 --- a/dart/test/ingredients_api_test.dart +++ b/dart/test/ingredients_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/map_ingredients_to_grocery_products200_response_inner_products_inner_test.dart b/dart/test/map_ingredients_to_grocery_products200_response_inner_products_inner_test.dart index 67ebfd276..bbdf7bdca 100644 --- a/dart/test/map_ingredients_to_grocery_products200_response_inner_products_inner_test.dart +++ b/dart/test/map_ingredients_to_grocery_products200_response_inner_products_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/map_ingredients_to_grocery_products200_response_inner_test.dart b/dart/test/map_ingredients_to_grocery_products200_response_inner_test.dart index ae55d170f..398f15596 100644 --- a/dart/test/map_ingredients_to_grocery_products200_response_inner_test.dart +++ b/dart/test/map_ingredients_to_grocery_products200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/map_ingredients_to_grocery_products_request_test.dart b/dart/test/map_ingredients_to_grocery_products_request_test.dart index 65b3e918f..08c409b99 100644 --- a/dart/test/map_ingredients_to_grocery_products_request_test.dart +++ b/dart/test/map_ingredients_to_grocery_products_request_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/meal_planning_api_test.dart b/dart/test/meal_planning_api_test.dart index 6b7dd2f5c..8dde382d7 100644 --- a/dart/test/meal_planning_api_test.dart +++ b/dart/test/meal_planning_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/menu_items_api_test.dart b/dart/test/menu_items_api_test.dart index 68f181b24..40c38bf91 100644 --- a/dart/test/menu_items_api_test.dart +++ b/dart/test/menu_items_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/misc_api_test.dart b/dart/test/misc_api_test.dart index 6747ed6d6..be8e9866d 100644 --- a/dart/test/misc_api_test.dart +++ b/dart/test/misc_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_estimated_cost_test.dart b/dart/test/parse_ingredients200_response_inner_estimated_cost_test.dart index eb2707fb6..45aa6dd5a 100644 --- a/dart/test/parse_ingredients200_response_inner_estimated_cost_test.dart +++ b/dart/test/parse_ingredients200_response_inner_estimated_cost_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_nutrition_caloric_breakdown_test.dart b/dart/test/parse_ingredients200_response_inner_nutrition_caloric_breakdown_test.dart index e1b95c15a..8afb84fb7 100644 --- a/dart/test/parse_ingredients200_response_inner_nutrition_caloric_breakdown_test.dart +++ b/dart/test/parse_ingredients200_response_inner_nutrition_caloric_breakdown_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_nutrition_nutrients_inner_test.dart b/dart/test/parse_ingredients200_response_inner_nutrition_nutrients_inner_test.dart index 7130da45d..0fb18d25b 100644 --- a/dart/test/parse_ingredients200_response_inner_nutrition_nutrients_inner_test.dart +++ b/dart/test/parse_ingredients200_response_inner_nutrition_nutrients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_nutrition_properties_inner_test.dart b/dart/test/parse_ingredients200_response_inner_nutrition_properties_inner_test.dart index 21f8c9fad..8be0166ba 100644 --- a/dart/test/parse_ingredients200_response_inner_nutrition_properties_inner_test.dart +++ b/dart/test/parse_ingredients200_response_inner_nutrition_properties_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_nutrition_test.dart b/dart/test/parse_ingredients200_response_inner_nutrition_test.dart index d606d620a..80d5388c0 100644 --- a/dart/test/parse_ingredients200_response_inner_nutrition_test.dart +++ b/dart/test/parse_ingredients200_response_inner_nutrition_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_nutrition_weight_per_serving_test.dart b/dart/test/parse_ingredients200_response_inner_nutrition_weight_per_serving_test.dart index 49cdedbd3..31e046d8d 100644 --- a/dart/test/parse_ingredients200_response_inner_nutrition_weight_per_serving_test.dart +++ b/dart/test/parse_ingredients200_response_inner_nutrition_weight_per_serving_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/parse_ingredients200_response_inner_test.dart b/dart/test/parse_ingredients200_response_inner_test.dart index 48a3dc61d..02667fad7 100644 --- a/dart/test/parse_ingredients200_response_inner_test.dart +++ b/dart/test/parse_ingredients200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/products_api_test.dart b/dart/test/products_api_test.dart index 7f33402f6..bb2894dbd 100644 --- a/dart/test/products_api_test.dart +++ b/dart/test/products_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/quick_answer200_response_test.dart b/dart/test/quick_answer200_response_test.dart index 2be5f1c1c..d1efeaccc 100644 --- a/dart/test/quick_answer200_response_test.dart +++ b/dart/test/quick_answer200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/recipes_api_test.dart b/dart/test/recipes_api_test.dart index 2ecd3d0f1..7de4246ad 100644 --- a/dart/test/recipes_api_test.dart +++ b/dart/test/recipes_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_all_food200_response_search_results_inner_results_inner_test.dart b/dart/test/search_all_food200_response_search_results_inner_results_inner_test.dart index f6f9ae51a..4031fc882 100644 --- a/dart/test/search_all_food200_response_search_results_inner_results_inner_test.dart +++ b/dart/test/search_all_food200_response_search_results_inner_results_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_all_food200_response_search_results_inner_test.dart b/dart/test/search_all_food200_response_search_results_inner_test.dart index 3eb5c42fc..1fd77dd7a 100644 --- a/dart/test/search_all_food200_response_search_results_inner_test.dart +++ b/dart/test/search_all_food200_response_search_results_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_all_food200_response_test.dart b/dart/test/search_all_food200_response_test.dart index 3ff9a9be0..7f0bddd3b 100644 --- a/dart/test/search_all_food200_response_test.dart +++ b/dart/test/search_all_food200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_custom_foods200_response_custom_foods_inner_test.dart b/dart/test/search_custom_foods200_response_custom_foods_inner_test.dart index e2d034573..e789cfa8c 100644 --- a/dart/test/search_custom_foods200_response_custom_foods_inner_test.dart +++ b/dart/test/search_custom_foods200_response_custom_foods_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_custom_foods200_response_test.dart b/dart/test/search_custom_foods200_response_test.dart index c8487cacc..3c9476bd5 100644 --- a/dart/test/search_custom_foods200_response_test.dart +++ b/dart/test/search_custom_foods200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_food_videos200_response_test.dart b/dart/test/search_food_videos200_response_test.dart index c9fe884cd..2a7e6dff3 100644 --- a/dart/test/search_food_videos200_response_test.dart +++ b/dart/test/search_food_videos200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_food_videos200_response_videos_inner_test.dart b/dart/test/search_food_videos200_response_videos_inner_test.dart index 376969673..7d3c810f5 100644 --- a/dart/test/search_food_videos200_response_videos_inner_test.dart +++ b/dart/test/search_food_videos200_response_videos_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_grocery_products200_response_test.dart b/dart/test/search_grocery_products200_response_test.dart index e3e2001ca..e969740fb 100644 --- a/dart/test/search_grocery_products200_response_test.dart +++ b/dart/test/search_grocery_products200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_grocery_products_by_upc200_response_ingredients_inner_test.dart b/dart/test/search_grocery_products_by_upc200_response_ingredients_inner_test.dart index 930e6af75..6802fca18 100644 --- a/dart/test/search_grocery_products_by_upc200_response_ingredients_inner_test.dart +++ b/dart/test/search_grocery_products_by_upc200_response_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_grocery_products_by_upc200_response_nutrition_test.dart b/dart/test/search_grocery_products_by_upc200_response_nutrition_test.dart index a8f457573..ed1ee4c3f 100644 --- a/dart/test/search_grocery_products_by_upc200_response_nutrition_test.dart +++ b/dart/test/search_grocery_products_by_upc200_response_nutrition_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_grocery_products_by_upc200_response_servings_test.dart b/dart/test/search_grocery_products_by_upc200_response_servings_test.dart index 6c1ab505e..20ea52599 100644 --- a/dart/test/search_grocery_products_by_upc200_response_servings_test.dart +++ b/dart/test/search_grocery_products_by_upc200_response_servings_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_grocery_products_by_upc200_response_test.dart b/dart/test/search_grocery_products_by_upc200_response_test.dart index a270476da..f43874b82 100644 --- a/dart/test/search_grocery_products_by_upc200_response_test.dart +++ b/dart/test/search_grocery_products_by_upc200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_menu_items200_response_menu_items_inner_test.dart b/dart/test/search_menu_items200_response_menu_items_inner_test.dart index 28fc4db0f..424a97ed7 100644 --- a/dart/test/search_menu_items200_response_menu_items_inner_test.dart +++ b/dart/test/search_menu_items200_response_menu_items_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_menu_items200_response_test.dart b/dart/test/search_menu_items200_response_test.dart index d8ff9ee95..b9d260528 100644 --- a/dart/test/search_menu_items200_response_test.dart +++ b/dart/test/search_menu_items200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_recipes200_response_results_inner_test.dart b/dart/test/search_recipes200_response_results_inner_test.dart index 1fa1eec40..e3ae72d67 100644 --- a/dart/test/search_recipes200_response_results_inner_test.dart +++ b/dart/test/search_recipes200_response_results_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_recipes200_response_test.dart b/dart/test/search_recipes200_response_test.dart index cc8fdb656..ccc853da6 100644 --- a/dart/test/search_recipes200_response_test.dart +++ b/dart/test/search_recipes200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_test.dart b/dart/test/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_test.dart index 9ea64d040..25b05641e 100644 --- a/dart/test/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_test.dart +++ b/dart/test/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_recipes_by_ingredients200_response_inner_test.dart b/dart/test/search_recipes_by_ingredients200_response_inner_test.dart index 210b93941..a332579c4 100644 --- a/dart/test/search_recipes_by_ingredients200_response_inner_test.dart +++ b/dart/test/search_recipes_by_ingredients200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_recipes_by_nutrients200_response_inner_test.dart b/dart/test/search_recipes_by_nutrients200_response_inner_test.dart index 78a597947..ad0386067 100644 --- a/dart/test/search_recipes_by_nutrients200_response_inner_test.dart +++ b/dart/test/search_recipes_by_nutrients200_response_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_restaurants200_response_restaurants_inner_address_test.dart b/dart/test/search_restaurants200_response_restaurants_inner_address_test.dart index b1a3b4ec7..c90aad6cf 100644 --- a/dart/test/search_restaurants200_response_restaurants_inner_address_test.dart +++ b/dart/test/search_restaurants200_response_restaurants_inner_address_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_restaurants200_response_restaurants_inner_local_hours_operational_test.dart b/dart/test/search_restaurants200_response_restaurants_inner_local_hours_operational_test.dart index e84960707..db641d588 100644 --- a/dart/test/search_restaurants200_response_restaurants_inner_local_hours_operational_test.dart +++ b/dart/test/search_restaurants200_response_restaurants_inner_local_hours_operational_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_restaurants200_response_restaurants_inner_local_hours_test.dart b/dart/test/search_restaurants200_response_restaurants_inner_local_hours_test.dart index 88dc2c279..65f4ae80c 100644 --- a/dart/test/search_restaurants200_response_restaurants_inner_local_hours_test.dart +++ b/dart/test/search_restaurants200_response_restaurants_inner_local_hours_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_restaurants200_response_restaurants_inner_test.dart b/dart/test/search_restaurants200_response_restaurants_inner_test.dart index 9ddded149..dcc59b211 100644 --- a/dart/test/search_restaurants200_response_restaurants_inner_test.dart +++ b/dart/test/search_restaurants200_response_restaurants_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_restaurants200_response_test.dart b/dart/test/search_restaurants200_response_test.dart index 46c7fd5a7..9a57692ec 100644 --- a/dart/test/search_restaurants200_response_test.dart +++ b/dart/test/search_restaurants200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_site_content200_response_articles_inner_data_points_inner_test.dart b/dart/test/search_site_content200_response_articles_inner_data_points_inner_test.dart index 3626208ba..14acba1f8 100644 --- a/dart/test/search_site_content200_response_articles_inner_data_points_inner_test.dart +++ b/dart/test/search_site_content200_response_articles_inner_data_points_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_site_content200_response_articles_inner_test.dart b/dart/test/search_site_content200_response_articles_inner_test.dart index 57ac62f27..dfc141474 100644 --- a/dart/test/search_site_content200_response_articles_inner_test.dart +++ b/dart/test/search_site_content200_response_articles_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/search_site_content200_response_test.dart b/dart/test/search_site_content200_response_test.dart index 2b79cc0c1..33dcf8113 100644 --- a/dart/test/search_site_content200_response_test.dart +++ b/dart/test/search_site_content200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/summarize_recipe200_response_test.dart b/dart/test/summarize_recipe200_response_test.dart index afa04d1aa..2dc4223a8 100644 --- a/dart/test/summarize_recipe200_response_test.dart +++ b/dart/test/summarize_recipe200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/talk_to_chatbot200_response_media_inner_test.dart b/dart/test/talk_to_chatbot200_response_media_inner_test.dart index b004d5b02..f86366207 100644 --- a/dart/test/talk_to_chatbot200_response_media_inner_test.dart +++ b/dart/test/talk_to_chatbot200_response_media_inner_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/talk_to_chatbot200_response_test.dart b/dart/test/talk_to_chatbot200_response_test.dart index 7617a7ada..983f833f0 100644 --- a/dart/test/talk_to_chatbot200_response_test.dart +++ b/dart/test/talk_to_chatbot200_response_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/dart/test/wine_api_test.dart b/dart/test/wine_api_test.dart index 609edf9f9..08c15e218 100644 --- a/dart/test/wine_api_test.dart +++ b/dart/test/wine_api_test.dart @@ -1,7 +1,7 @@ // // AUTO-GENERATED FILE, DO NOT MODIFY! // -// @dart=2.12 +// @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first diff --git a/elixir/.openapi-generator/VERSION b/elixir/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/elixir/.openapi-generator/VERSION +++ b/elixir/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/elixir/lib/spoonacular_api/api/default.ex b/elixir/lib/spoonacular_api/api/default.ex index a858ee7bd..2a244e7ae 100644 --- a/elixir/lib/spoonacular_api/api/default.ex +++ b/elixir/lib/spoonacular_api/api/default.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.Default do @@ -27,7 +27,7 @@ defmodule SpoonacularAPI.Api.Default do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec analyze_recipe(Tesla.Env.client, SpoonacularAPI.Model.AnalyzeRecipeRequest.t, keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec analyze_recipe(Tesla.Env.client, SpoonacularAPI.Model.AnalyzeRecipeRequest.t, keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def analyze_recipe(connection, analyze_recipe_request, opts \\ []) do optional_params = %{ :language => :query, @@ -72,7 +72,7 @@ defmodule SpoonacularAPI.Api.Default do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec create_recipe_card_get(Tesla.Env.client, float(), keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec create_recipe_card_get(Tesla.Env.client, float(), keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def create_recipe_card_get(connection, id, opts \\ []) do optional_params = %{ :mask => :query, diff --git a/elixir/lib/spoonacular_api/api/ingredients.ex b/elixir/lib/spoonacular_api/api/ingredients.ex index 51a18fc15..657fd4bb1 100644 --- a/elixir/lib/spoonacular_api/api/ingredients.ex +++ b/elixir/lib/spoonacular_api/api/ingredients.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.Ingredients do @@ -28,7 +28,7 @@ defmodule SpoonacularAPI.Api.Ingredients do - `{:ok, [%AutocompleteIngredientSearch200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec autocomplete_ingredient_search(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.AutocompleteIngredientSearch200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec autocomplete_ingredient_search(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.AutocompleteIngredientSearch200ResponseInner.t]} | {:error, Tesla.Env.t} def autocomplete_ingredient_search(connection, opts \\ []) do optional_params = %{ :query => :query, @@ -326,7 +326,7 @@ defmodule SpoonacularAPI.Api.Ingredients do - `{:ok, [%MapIngredientsToGroceryProducts200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec map_ingredients_to_grocery_products(Tesla.Env.client, SpoonacularAPI.Model.MapIngredientsToGroceryProductsRequest.t, keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.MapIngredientsToGroceryProducts200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec map_ingredients_to_grocery_products(Tesla.Env.client, SpoonacularAPI.Model.MapIngredientsToGroceryProductsRequest.t, keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.MapIngredientsToGroceryProducts200ResponseInner.t]} | {:error, Tesla.Env.t} def map_ingredients_to_grocery_products(connection, map_ingredients_to_grocery_products_request, _opts \\ []) do request = %{} diff --git a/elixir/lib/spoonacular_api/api/meal_planning.ex b/elixir/lib/spoonacular_api/api/meal_planning.ex index b91389880..f436db3d5 100644 --- a/elixir/lib/spoonacular_api/api/meal_planning.ex +++ b/elixir/lib/spoonacular_api/api/meal_planning.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.MealPlanning do @@ -62,7 +62,7 @@ defmodule SpoonacularAPI.Api.MealPlanning do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec add_to_meal_plan(Tesla.Env.client, String.t, String.t, SpoonacularAPI.Model.AddToMealPlanRequest.t, keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec add_to_meal_plan(Tesla.Env.client, String.t, String.t, SpoonacularAPI.Model.AddToMealPlanRequest.t, keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def add_to_meal_plan(connection, username, hash, add_to_meal_plan_request, _opts \\ []) do request = %{} @@ -136,7 +136,7 @@ defmodule SpoonacularAPI.Api.MealPlanning do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec clear_meal_plan_day(Tesla.Env.client, String.t, String.t, String.t, keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec clear_meal_plan_day(Tesla.Env.client, String.t, String.t, String.t, keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def clear_meal_plan_day(connection, username, date, hash, _opts \\ []) do request = %{} @@ -206,7 +206,7 @@ defmodule SpoonacularAPI.Api.MealPlanning do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec delete_from_meal_plan(Tesla.Env.client, String.t, float(), String.t, keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec delete_from_meal_plan(Tesla.Env.client, String.t, float(), String.t, keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def delete_from_meal_plan(connection, username, id, hash, _opts \\ []) do request = %{} @@ -242,7 +242,7 @@ defmodule SpoonacularAPI.Api.MealPlanning do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec delete_from_shopping_list(Tesla.Env.client, String.t, integer(), String.t, keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec delete_from_shopping_list(Tesla.Env.client, String.t, integer(), String.t, keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def delete_from_shopping_list(connection, username, id, hash, _opts \\ []) do request = %{} @@ -278,7 +278,7 @@ defmodule SpoonacularAPI.Api.MealPlanning do - `{:ok, map()}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec delete_meal_plan_template(Tesla.Env.client, String.t, integer(), String.t, keyword()) :: {:ok, nil} | {:ok, Map.t} | {:error, Tesla.Env.t} + @spec delete_meal_plan_template(Tesla.Env.client, String.t, integer(), String.t, keyword()) :: {:ok, map()} | {:ok, nil} | {:error, Tesla.Env.t} def delete_meal_plan_template(connection, username, id, hash, _opts \\ []) do request = %{} diff --git a/elixir/lib/spoonacular_api/api/menu_items.ex b/elixir/lib/spoonacular_api/api/menu_items.ex index 78123f923..153f8b063 100644 --- a/elixir/lib/spoonacular_api/api/menu_items.ex +++ b/elixir/lib/spoonacular_api/api/menu_items.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.MenuItems do diff --git a/elixir/lib/spoonacular_api/api/misc.ex b/elixir/lib/spoonacular_api/api/misc.ex index 06525c360..7a2b272fb 100644 --- a/elixir/lib/spoonacular_api/api/misc.ex +++ b/elixir/lib/spoonacular_api/api/misc.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.Misc do diff --git a/elixir/lib/spoonacular_api/api/products.ex b/elixir/lib/spoonacular_api/api/products.ex index 91b63ad59..b9327581c 100644 --- a/elixir/lib/spoonacular_api/api/products.ex +++ b/elixir/lib/spoonacular_api/api/products.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.Products do @@ -105,7 +105,7 @@ defmodule SpoonacularAPI.Api.Products do - `{:ok, [%ClassifyGroceryProductBulk200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec classify_grocery_product_bulk(Tesla.Env.client, list(SpoonacularAPI.Model.ClassifyGroceryProductBulkRequestInner.t), keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.ClassifyGroceryProductBulk200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec classify_grocery_product_bulk(Tesla.Env.client, list(SpoonacularAPI.Model.ClassifyGroceryProductBulkRequestInner.t), keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.ClassifyGroceryProductBulk200ResponseInner.t]} | {:error, Tesla.Env.t} def classify_grocery_product_bulk(connection, classify_grocery_product_bulk_request_inner, opts \\ []) do optional_params = %{ :locale => :query diff --git a/elixir/lib/spoonacular_api/api/recipes.ex b/elixir/lib/spoonacular_api/api/recipes.ex index 01399ec2e..38182039e 100644 --- a/elixir/lib/spoonacular_api/api/recipes.ex +++ b/elixir/lib/spoonacular_api/api/recipes.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.Recipes do @@ -93,7 +93,7 @@ defmodule SpoonacularAPI.Api.Recipes do - `{:ok, [%AutocompleteRecipeSearch200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec autocomplete_recipe_search(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.AutocompleteRecipeSearch200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec autocomplete_recipe_search(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.AutocompleteRecipeSearch200ResponseInner.t]} | {:error, Tesla.Env.t} def autocomplete_recipe_search(connection, opts \\ []) do optional_params = %{ :query => :query, @@ -553,7 +553,7 @@ defmodule SpoonacularAPI.Api.Recipes do - `{:ok, [%GetRecipeInformationBulk200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec get_recipe_information_bulk(Tesla.Env.client, String.t, keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.GetRecipeInformationBulk200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec get_recipe_information_bulk(Tesla.Env.client, String.t, keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.GetRecipeInformationBulk200ResponseInner.t]} | {:error, Tesla.Env.t} def get_recipe_information_bulk(connection, ids, opts \\ []) do optional_params = %{ :includeNutrition => :query @@ -732,7 +732,7 @@ defmodule SpoonacularAPI.Api.Recipes do - `{:ok, [%GetSimilarRecipes200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec get_similar_recipes(Tesla.Env.client, integer(), keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.GetSimilarRecipes200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec get_similar_recipes(Tesla.Env.client, integer(), keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.GetSimilarRecipes200ResponseInner.t]} | {:error, Tesla.Env.t} def get_similar_recipes(connection, id, opts \\ []) do optional_params = %{ :number => :query, @@ -808,7 +808,7 @@ defmodule SpoonacularAPI.Api.Recipes do - `{:ok, [%ParseIngredients200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec parse_ingredients(Tesla.Env.client, String.t, float(), keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.ParseIngredients200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec parse_ingredients(Tesla.Env.client, String.t, float(), keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.ParseIngredients200ResponseInner.t]} | {:error, Tesla.Env.t} def parse_ingredients(connection, ingredient_list, servings, opts \\ []) do optional_params = %{ :language => :query, @@ -1314,7 +1314,7 @@ defmodule SpoonacularAPI.Api.Recipes do - `{:ok, [%SearchRecipesByIngredients200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec search_recipes_by_ingredients(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.SearchRecipesByIngredients200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec search_recipes_by_ingredients(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.SearchRecipesByIngredients200ResponseInner.t]} | {:error, Tesla.Env.t} def search_recipes_by_ingredients(connection, opts \\ []) do optional_params = %{ :ingredients => :query, @@ -1431,7 +1431,7 @@ defmodule SpoonacularAPI.Api.Recipes do - `{:ok, [%SearchRecipesByNutrients200ResponseInner{}, ...]}` on success - `{:error, Tesla.Env.t}` on failure """ - @spec search_recipes_by_nutrients(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, list(SpoonacularAPI.Model.SearchRecipesByNutrients200ResponseInner.t)} | {:error, Tesla.Env.t} + @spec search_recipes_by_nutrients(Tesla.Env.client, keyword()) :: {:ok, nil} | {:ok, [SpoonacularAPI.Model.SearchRecipesByNutrients200ResponseInner.t]} | {:error, Tesla.Env.t} def search_recipes_by_nutrients(connection, opts \\ []) do optional_params = %{ :minCarbs => :query, diff --git a/elixir/lib/spoonacular_api/api/wine.ex b/elixir/lib/spoonacular_api/api/wine.ex index d6f9c606e..9768befed 100644 --- a/elixir/lib/spoonacular_api/api/wine.ex +++ b/elixir/lib/spoonacular_api/api/wine.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Api.Wine do diff --git a/elixir/lib/spoonacular_api/connection.ex b/elixir/lib/spoonacular_api/connection.ex index a1c6be444..1d475af81 100644 --- a/elixir/lib/spoonacular_api/connection.ex +++ b/elixir/lib/spoonacular_api/connection.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Connection do diff --git a/elixir/lib/spoonacular_api/deserializer.ex b/elixir/lib/spoonacular_api/deserializer.ex index 49ada50ca..967dbbe78 100644 --- a/elixir/lib/spoonacular_api/deserializer.ex +++ b/elixir/lib/spoonacular_api/deserializer.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Deserializer do diff --git a/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response.ex b/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response.ex index d3f725ea9..44242bb64 100644 --- a/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response.ex +++ b/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddMealPlanTemplate200Response do diff --git a/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner.ex b/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner.ex index 62c55662d..190cde016 100644 --- a/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner.ex +++ b/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddMealPlanTemplate200ResponseItemsInner do diff --git a/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner_value.ex b/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner_value.ex index 6df544167..df5f5b4ba 100644 --- a/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner_value.ex +++ b/elixir/lib/spoonacular_api/model/add_meal_plan_template_200_response_items_inner_value.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddMealPlanTemplate200ResponseItemsInnerValue do diff --git a/elixir/lib/spoonacular_api/model/add_to_meal_plan_request.ex b/elixir/lib/spoonacular_api/model/add_to_meal_plan_request.ex index 4e51013f9..1b4273e57 100644 --- a/elixir/lib/spoonacular_api/model/add_to_meal_plan_request.ex +++ b/elixir/lib/spoonacular_api/model/add_to_meal_plan_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddToMealPlanRequest do diff --git a/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value.ex b/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value.ex index daac41ba3..307a2e2a6 100644 --- a/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value.ex +++ b/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddToMealPlanRequestValue do diff --git a/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value_ingredients_inner.ex index 12ac541ad..a2d6d6615 100644 --- a/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/add_to_meal_plan_request_value_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddToMealPlanRequestValueIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/add_to_shopping_list_request.ex b/elixir/lib/spoonacular_api/model/add_to_shopping_list_request.ex index e2bdf7117..db62ddb38 100644 --- a/elixir/lib/spoonacular_api/model/add_to_shopping_list_request.ex +++ b/elixir/lib/spoonacular_api/model/add_to_shopping_list_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AddToShoppingListRequest do diff --git a/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response.ex b/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response.ex index 7d0c46abb..c32840505 100644 --- a/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response.ex +++ b/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeARecipeSearchQuery200Response do diff --git a/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_dishes_inner.ex b/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_dishes_inner.ex index dd8136018..49b32fb27 100644 --- a/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_dishes_inner.ex +++ b/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_dishes_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeARecipeSearchQuery200ResponseDishesInner do diff --git a/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_ingredients_inner.ex index 7efec18e9..77083576c 100644 --- a/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/analyze_a_recipe_search_query_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeARecipeSearchQuery200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response.ex b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response.ex index 9652cb2ce..c2108caa7 100644 --- a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response.ex +++ b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeRecipeInstructions200Response do diff --git a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_ingredients_inner.ex index 0095c9fa5..34da125cc 100644 --- a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeRecipeInstructions200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner.ex b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner.ex index d1ac5f756..f392d3cc7 100644 --- a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner.ex +++ b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInner do diff --git a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex index 0c5b54518..5d62cb9d2 100644 --- a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex +++ b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner do diff --git a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex index 667aff0fc..c963b894a 100644 --- a/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/analyze_recipe_request.ex b/elixir/lib/spoonacular_api/model/analyze_recipe_request.ex index c4782cd4d..771520747 100644 --- a/elixir/lib/spoonacular_api/model/analyze_recipe_request.ex +++ b/elixir/lib/spoonacular_api/model/analyze_recipe_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AnalyzeRecipeRequest do diff --git a/elixir/lib/spoonacular_api/model/autocomplete_ingredient_search_200_response_inner.ex b/elixir/lib/spoonacular_api/model/autocomplete_ingredient_search_200_response_inner.ex index 4e439f854..8654bc15b 100644 --- a/elixir/lib/spoonacular_api/model/autocomplete_ingredient_search_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/autocomplete_ingredient_search_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AutocompleteIngredientSearch200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/autocomplete_menu_item_search_200_response.ex b/elixir/lib/spoonacular_api/model/autocomplete_menu_item_search_200_response.ex index 01ff3d3c5..21d957f8a 100644 --- a/elixir/lib/spoonacular_api/model/autocomplete_menu_item_search_200_response.ex +++ b/elixir/lib/spoonacular_api/model/autocomplete_menu_item_search_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AutocompleteMenuItemSearch200Response do diff --git a/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response.ex b/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response.ex index 6c0b4d8e2..db77fac75 100644 --- a/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response.ex +++ b/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AutocompleteProductSearch200Response do diff --git a/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response_results_inner.ex b/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response_results_inner.ex index 0d27e33c1..9fb9c22a1 100644 --- a/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response_results_inner.ex +++ b/elixir/lib/spoonacular_api/model/autocomplete_product_search_200_response_results_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AutocompleteProductSearch200ResponseResultsInner do diff --git a/elixir/lib/spoonacular_api/model/autocomplete_recipe_search_200_response_inner.ex b/elixir/lib/spoonacular_api/model/autocomplete_recipe_search_200_response_inner.ex index abff6e5f1..dd2402c16 100644 --- a/elixir/lib/spoonacular_api/model/autocomplete_recipe_search_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/autocomplete_recipe_search_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.AutocompleteRecipeSearch200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/classify_cuisine_200_response.ex b/elixir/lib/spoonacular_api/model/classify_cuisine_200_response.ex index 7437d83f9..d219bb830 100644 --- a/elixir/lib/spoonacular_api/model/classify_cuisine_200_response.ex +++ b/elixir/lib/spoonacular_api/model/classify_cuisine_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ClassifyCuisine200Response do diff --git a/elixir/lib/spoonacular_api/model/classify_grocery_product_200_response.ex b/elixir/lib/spoonacular_api/model/classify_grocery_product_200_response.ex index eec7975f0..08859e65f 100644 --- a/elixir/lib/spoonacular_api/model/classify_grocery_product_200_response.ex +++ b/elixir/lib/spoonacular_api/model/classify_grocery_product_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ClassifyGroceryProduct200Response do diff --git a/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_200_response_inner.ex b/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_200_response_inner.ex index aebb72226..a29e67649 100644 --- a/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ClassifyGroceryProductBulk200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_request_inner.ex b/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_request_inner.ex index d1b840852..2289c1320 100644 --- a/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_request_inner.ex +++ b/elixir/lib/spoonacular_api/model/classify_grocery_product_bulk_request_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ClassifyGroceryProductBulkRequestInner do diff --git a/elixir/lib/spoonacular_api/model/classify_grocery_product_request.ex b/elixir/lib/spoonacular_api/model/classify_grocery_product_request.ex index 741ed357b..3b0ae7c49 100644 --- a/elixir/lib/spoonacular_api/model/classify_grocery_product_request.ex +++ b/elixir/lib/spoonacular_api/model/classify_grocery_product_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ClassifyGroceryProductRequest do diff --git a/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response.ex b/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response.ex index 0d3bf2279..da96e90a2 100644 --- a/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response.ex +++ b/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ComputeGlycemicLoad200Response do diff --git a/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response_ingredients_inner.ex index d13116cd5..dfba36cc1 100644 --- a/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/compute_glycemic_load_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ComputeGlycemicLoad200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/compute_glycemic_load_request.ex b/elixir/lib/spoonacular_api/model/compute_glycemic_load_request.ex index 55e29f0a0..64b87e72f 100644 --- a/elixir/lib/spoonacular_api/model/compute_glycemic_load_request.ex +++ b/elixir/lib/spoonacular_api/model/compute_glycemic_load_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ComputeGlycemicLoadRequest do diff --git a/elixir/lib/spoonacular_api/model/compute_ingredient_amount_200_response.ex b/elixir/lib/spoonacular_api/model/compute_ingredient_amount_200_response.ex index 9fe7869a6..5e88ff7e4 100644 --- a/elixir/lib/spoonacular_api/model/compute_ingredient_amount_200_response.ex +++ b/elixir/lib/spoonacular_api/model/compute_ingredient_amount_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ComputeIngredientAmount200Response do diff --git a/elixir/lib/spoonacular_api/model/connect_user_200_response.ex b/elixir/lib/spoonacular_api/model/connect_user_200_response.ex index f6fea9574..fa45014cb 100644 --- a/elixir/lib/spoonacular_api/model/connect_user_200_response.ex +++ b/elixir/lib/spoonacular_api/model/connect_user_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ConnectUser200Response do diff --git a/elixir/lib/spoonacular_api/model/connect_user_request.ex b/elixir/lib/spoonacular_api/model/connect_user_request.ex index 913e4c745..a0d1b5512 100644 --- a/elixir/lib/spoonacular_api/model/connect_user_request.ex +++ b/elixir/lib/spoonacular_api/model/connect_user_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ConnectUserRequest do diff --git a/elixir/lib/spoonacular_api/model/convert_amounts_200_response.ex b/elixir/lib/spoonacular_api/model/convert_amounts_200_response.ex index 99a4a458b..7927944b8 100644 --- a/elixir/lib/spoonacular_api/model/convert_amounts_200_response.ex +++ b/elixir/lib/spoonacular_api/model/convert_amounts_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ConvertAmounts200Response do diff --git a/elixir/lib/spoonacular_api/model/create_recipe_card_200_response.ex b/elixir/lib/spoonacular_api/model/create_recipe_card_200_response.ex index 14f2e105b..24bbe84db 100644 --- a/elixir/lib/spoonacular_api/model/create_recipe_card_200_response.ex +++ b/elixir/lib/spoonacular_api/model/create_recipe_card_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.CreateRecipeCard200Response do diff --git a/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response.ex b/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response.ex index 7b667694b..359dbf4ad 100644 --- a/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response.ex +++ b/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.DetectFoodInText200Response do diff --git a/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response_annotations_inner.ex b/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response_annotations_inner.ex index babd621ea..dc42608f4 100644 --- a/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response_annotations_inner.ex +++ b/elixir/lib/spoonacular_api/model/detect_food_in_text_200_response_annotations_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.DetectFoodInText200ResponseAnnotationsInner do diff --git a/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response.ex b/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response.ex index 6b3d12474..ff7164ad6 100644 --- a/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response.ex +++ b/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GenerateMealPlan200Response do diff --git a/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response_nutrients.ex b/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response_nutrients.ex index 02ccccb0c..721fb44b1 100644 --- a/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response_nutrients.ex +++ b/elixir/lib/spoonacular_api/model/generate_meal_plan_200_response_nutrients.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GenerateMealPlan200ResponseNutrients do diff --git a/elixir/lib/spoonacular_api/model/generate_shopping_list_200_response.ex b/elixir/lib/spoonacular_api/model/generate_shopping_list_200_response.ex index f17feb5f8..6a47afef0 100644 --- a/elixir/lib/spoonacular_api/model/generate_shopping_list_200_response.ex +++ b/elixir/lib/spoonacular_api/model/generate_shopping_list_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GenerateShoppingList200Response do diff --git a/elixir/lib/spoonacular_api/model/get_a_random_food_joke_200_response.ex b/elixir/lib/spoonacular_api/model/get_a_random_food_joke_200_response.ex index 2a276d823..e51f744a4 100644 --- a/elixir/lib/spoonacular_api/model/get_a_random_food_joke_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_a_random_food_joke_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetARandomFoodJoke200Response do diff --git a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response.ex b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response.ex index 61cb34385..4db07ee34 100644 --- a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetAnalyzedRecipeInstructions200Response do diff --git a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_ingredients_inner.ex index 759632682..a3c535117 100644 --- a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetAnalyzedRecipeInstructions200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.ex b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.ex index eb73ee673..71a1bb64c 100644 --- a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner do diff --git a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex index d020a5802..068314438 100644 --- a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner do diff --git a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex index a72341f97..95e4a5789 100644 --- a/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_comparable_products_200_response.ex b/elixir/lib/spoonacular_api/model/get_comparable_products_200_response.ex index 4cc7e1446..b7c9f76be 100644 --- a/elixir/lib/spoonacular_api/model/get_comparable_products_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_comparable_products_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetComparableProducts200Response do diff --git a/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products.ex b/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products.ex index d3c5982ee..33358f608 100644 --- a/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products.ex +++ b/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetComparableProducts200ResponseComparableProducts do diff --git a/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products_protein_inner.ex b/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products_protein_inner.ex index 6cb444e82..8e8387eed 100644 --- a/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products_protein_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_comparable_products_200_response_comparable_products_protein_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetComparableProducts200ResponseComparableProductsProteinInner do diff --git a/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response.ex b/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response.ex index 000bc67cd..106e45e0e 100644 --- a/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetConversationSuggests200Response do diff --git a/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests.ex b/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests.ex index 1a815e87d..65d6338bb 100644 --- a/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests.ex +++ b/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetConversationSuggests200ResponseSuggests do diff --git a/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests___inner.ex b/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests___inner.ex index a49c02647..6cf4fd0a3 100644 --- a/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests___inner.ex +++ b/elixir/lib/spoonacular_api/model/get_conversation_suggests_200_response_suggests___inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetConversationSuggests200ResponseSuggestsInner do diff --git a/elixir/lib/spoonacular_api/model/get_dish_pairing_for_wine_200_response.ex b/elixir/lib/spoonacular_api/model/get_dish_pairing_for_wine_200_response.ex index d3ee33d4e..6cf2ca837 100644 --- a/elixir/lib/spoonacular_api/model/get_dish_pairing_for_wine_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_dish_pairing_for_wine_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetDishPairingForWine200Response do diff --git a/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response.ex b/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response.ex index 1ee35f49d..c96823a65 100644 --- a/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetIngredientInformation200Response do diff --git a/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response_nutrition.ex b/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response_nutrition.ex index 8dbfe91dc..526884308 100644 --- a/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response_nutrition.ex +++ b/elixir/lib/spoonacular_api/model/get_ingredient_information_200_response_nutrition.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetIngredientInformation200ResponseNutrition do diff --git a/elixir/lib/spoonacular_api/model/get_ingredient_substitutes_200_response.ex b/elixir/lib/spoonacular_api/model/get_ingredient_substitutes_200_response.ex index d44202191..2c7c387ad 100644 --- a/elixir/lib/spoonacular_api/model/get_ingredient_substitutes_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_ingredient_substitutes_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetIngredientSubstitutes200Response do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response.ex index c2e999178..7491d4bb9 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanTemplate200Response do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner.ex index b9be86c7a..6be5d53e0 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanTemplate200ResponseDaysInner do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner.ex index 5d30da792..e53d68b73 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanTemplate200ResponseDaysInnerItemsInner do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner_value.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner_value.ex index 9fbb1e073..196ce3a6a 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner_value.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_template_200_response_days_inner_items_inner_value.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_templates_200_response.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_templates_200_response.ex index 46235dd7f..9c1e38712 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_templates_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_templates_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanTemplates200Response do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response.ex index 3dd191b6d..6383cacad 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanWeek200Response do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner.ex index 5b7031bed..eca2982e2 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanWeek200ResponseDaysInner do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner.ex index 4ea8a0543..834e48e50 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanWeek200ResponseDaysInnerItemsInner do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner_value.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner_value.ex index a3bf83791..dd876c0db 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner_value.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_items_inner_value.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanWeek200ResponseDaysInnerItemsInnerValue do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary.ex index 03434720c..1ea772a4e 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanWeek200ResponseDaysInnerNutritionSummary do diff --git a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.ex b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.ex index e0fd74e1a..e0b2d0021 100644 --- a/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_menu_item_information_200_response.ex b/elixir/lib/spoonacular_api/model/get_menu_item_information_200_response.ex index b78dd0612..e0ea279e1 100644 --- a/elixir/lib/spoonacular_api/model/get_menu_item_information_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_menu_item_information_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetMenuItemInformation200Response do diff --git a/elixir/lib/spoonacular_api/model/get_product_information_200_response.ex b/elixir/lib/spoonacular_api/model/get_product_information_200_response.ex index 90bbbae1c..3a812d306 100644 --- a/elixir/lib/spoonacular_api/model/get_product_information_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_product_information_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetProductInformation200Response do diff --git a/elixir/lib/spoonacular_api/model/get_product_information_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/get_product_information_200_response_ingredients_inner.ex index 282d516fa..b318e7728 100644 --- a/elixir/lib/spoonacular_api/model/get_product_information_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_product_information_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetProductInformation200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_random_food_trivia_200_response.ex b/elixir/lib/spoonacular_api/model/get_random_food_trivia_200_response.ex index 3bf3041f7..a3cd68e61 100644 --- a/elixir/lib/spoonacular_api/model/get_random_food_trivia_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_random_food_trivia_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRandomFoodTrivia200Response do diff --git a/elixir/lib/spoonacular_api/model/get_random_recipes_200_response.ex b/elixir/lib/spoonacular_api/model/get_random_recipes_200_response.ex index a1980afc0..7d5253dfb 100644 --- a/elixir/lib/spoonacular_api/model/get_random_recipes_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_random_recipes_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRandomRecipes200Response do diff --git a/elixir/lib/spoonacular_api/model/get_random_recipes_200_response_recipes_inner.ex b/elixir/lib/spoonacular_api/model/get_random_recipes_200_response_recipes_inner.ex index 3263a4021..118057f1b 100644 --- a/elixir/lib/spoonacular_api/model/get_random_recipes_200_response_recipes_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_random_recipes_200_response_recipes_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRandomRecipes200ResponseRecipesInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response.ex b/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response.ex index ae3edd4e0..542fc8acf 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeEquipmentById200Response do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response_equipment_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response_equipment_inner.ex index 72cdd35c1..07501dfc9 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response_equipment_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_equipment_by_id_200_response_equipment_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeEquipmentById200ResponseEquipmentInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response.ex index e27d8e6c2..09467d010 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformation200Response do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner.ex index b14152435..efb2ebb11 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformation200ResponseExtendedIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures.ex index a4044c85e..b6b9d2efe 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.ex index 8ce3325a3..801f09380 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing.ex index d2650e0d7..26e6b9e80 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformation200ResponseWinePairing do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing_product_matches_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing_product_matches_inner.ex index 2ad9d3699..64d7826ae 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing_product_matches_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_200_response_wine_pairing_product_matches_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformation200ResponseWinePairingProductMatchesInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_information_bulk_200_response_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_information_bulk_200_response_inner.ex index 618ec23b4..87a3f5e95 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_information_bulk_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_information_bulk_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeInformationBulk200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response.ex b/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response.ex index 2c1d0aa55..0f2bda81c 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeIngredientsById200Response do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response_ingredients_inner.ex index 84aa68f33..3fdb636d3 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_ingredients_by_id_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeIngredientsById200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response.ex b/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response.ex index 302b49d16..c533cf804 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeNutritionWidgetById200Response do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_bad_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_bad_inner.ex index bb5af359a..b24768e15 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_bad_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_bad_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeNutritionWidgetById200ResponseBadInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_good_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_good_inner.ex index 17f5fd363..224f1cbec 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_good_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_nutrition_widget_by_id_200_response_good_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeNutritionWidgetById200ResponseGoodInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response.ex b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response.ex index 0fad9c6e6..9850dbb36 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipePriceBreakdownById200Response do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.ex index 2c6660e75..1727ae321 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipePriceBreakdownById200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.ex b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.ex index 5b06e88ce..ed65ca4fe 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.ex b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.ex index 9ec6b3e56..67d0a936a 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric do diff --git a/elixir/lib/spoonacular_api/model/get_recipe_taste_by_id_200_response.ex b/elixir/lib/spoonacular_api/model/get_recipe_taste_by_id_200_response.ex index 94a2b88bc..5f7060f1f 100644 --- a/elixir/lib/spoonacular_api/model/get_recipe_taste_by_id_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_recipe_taste_by_id_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetRecipeTasteById200Response do diff --git a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response.ex b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response.ex index 7a92df0b1..beb3149a4 100644 --- a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetShoppingList200Response do diff --git a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner.ex b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner.ex index e4a453c4e..8e73d3afd 100644 --- a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetShoppingList200ResponseAislesInner do diff --git a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner.ex b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner.ex index 7f2f8fe78..4d5ec913e 100644 --- a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetShoppingList200ResponseAislesInnerItemsInner do diff --git a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner_measures.ex b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner_measures.ex index c3fe8b143..1338a329c 100644 --- a/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner_measures.ex +++ b/elixir/lib/spoonacular_api/model/get_shopping_list_200_response_aisles_inner_items_inner_measures.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetShoppingList200ResponseAislesInnerItemsInnerMeasures do diff --git a/elixir/lib/spoonacular_api/model/get_similar_recipes_200_response_inner.ex b/elixir/lib/spoonacular_api/model/get_similar_recipes_200_response_inner.ex index 2324f4543..96e5e7e36 100644 --- a/elixir/lib/spoonacular_api/model/get_similar_recipes_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_similar_recipes_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetSimilarRecipes200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/get_wine_description_200_response.ex b/elixir/lib/spoonacular_api/model/get_wine_description_200_response.ex index 680206ca9..319d3a614 100644 --- a/elixir/lib/spoonacular_api/model/get_wine_description_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_wine_description_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetWineDescription200Response do diff --git a/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response.ex b/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response.ex index 167bd59f2..e1eb5aea3 100644 --- a/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetWinePairing200Response do diff --git a/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response_product_matches_inner.ex b/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response_product_matches_inner.ex index a1b4ebb0b..58243644a 100644 --- a/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response_product_matches_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_wine_pairing_200_response_product_matches_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetWinePairing200ResponseProductMatchesInner do diff --git a/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response.ex b/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response.ex index b00212593..08e00d3a3 100644 --- a/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response.ex +++ b/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetWineRecommendation200Response do diff --git a/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response_recommended_wines_inner.ex b/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response_recommended_wines_inner.ex index 9c360e2d8..334e7e80c 100644 --- a/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response_recommended_wines_inner.ex +++ b/elixir/lib/spoonacular_api/model/get_wine_recommendation_200_response_recommended_wines_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GetWineRecommendation200ResponseRecommendedWinesInner do diff --git a/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response.ex b/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response.ex index 80b98d4b4..03b5a0042 100644 --- a/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response.ex +++ b/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GuessNutritionByDishName200Response do diff --git a/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories.ex b/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories.ex index a9129c6a3..19906107b 100644 --- a/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories.ex +++ b/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GuessNutritionByDishName200ResponseCalories do diff --git a/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.ex b/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.ex index 1ec30b3ea..7fb873252 100644 --- a/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.ex +++ b/elixir/lib/spoonacular_api/model/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent do diff --git a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response.ex b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response.ex index 6158a16c7..4a27600c6 100644 --- a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response.ex +++ b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageAnalysisByUrl200Response do diff --git a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_category.ex b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_category.ex index e1957af35..f98d76b40 100644 --- a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_category.ex +++ b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_category.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageAnalysisByUrl200ResponseCategory do diff --git a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition.ex b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition.ex index 7608f7bb0..c2c7e3f35 100644 --- a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition.ex +++ b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageAnalysisByUrl200ResponseNutrition do diff --git a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories.ex b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories.ex index b0e9a4de6..9636e8c7b 100644 --- a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories.ex +++ b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageAnalysisByUrl200ResponseNutritionCalories do diff --git a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.ex b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.ex index 68247f334..fdc29a8bf 100644 --- a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.ex +++ b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent do diff --git a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_recipes_inner.ex b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_recipes_inner.ex index 3ec75cc77..4d93ff405 100644 --- a/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_recipes_inner.ex +++ b/elixir/lib/spoonacular_api/model/image_analysis_by_url_200_response_recipes_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageAnalysisByUrl200ResponseRecipesInner do diff --git a/elixir/lib/spoonacular_api/model/image_classification_by_url_200_response.ex b/elixir/lib/spoonacular_api/model/image_classification_by_url_200_response.ex index 5ed98ab98..f565b67a0 100644 --- a/elixir/lib/spoonacular_api/model/image_classification_by_url_200_response.ex +++ b/elixir/lib/spoonacular_api/model/image_classification_by_url_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ImageClassificationByUrl200Response do diff --git a/elixir/lib/spoonacular_api/model/ingredient_search_200_response.ex b/elixir/lib/spoonacular_api/model/ingredient_search_200_response.ex index 493978ed1..f1b132301 100644 --- a/elixir/lib/spoonacular_api/model/ingredient_search_200_response.ex +++ b/elixir/lib/spoonacular_api/model/ingredient_search_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.IngredientSearch200Response do diff --git a/elixir/lib/spoonacular_api/model/ingredient_search_200_response_results_inner.ex b/elixir/lib/spoonacular_api/model/ingredient_search_200_response_results_inner.ex index 65e631313..6a190c9ec 100644 --- a/elixir/lib/spoonacular_api/model/ingredient_search_200_response_results_inner.ex +++ b/elixir/lib/spoonacular_api/model/ingredient_search_200_response_results_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.IngredientSearch200ResponseResultsInner do diff --git a/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner.ex b/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner.ex index 46fa3882a..f0c1eed0c 100644 --- a/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.MapIngredientsToGroceryProducts200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner_products_inner.ex b/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner_products_inner.ex index 484c53b85..79795a288 100644 --- a/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner_products_inner.ex +++ b/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_200_response_inner_products_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.MapIngredientsToGroceryProducts200ResponseInnerProductsInner do diff --git a/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_request.ex b/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_request.ex index 41d804264..316b0293e 100644 --- a/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_request.ex +++ b/elixir/lib/spoonacular_api/model/map_ingredients_to_grocery_products_request.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.MapIngredientsToGroceryProductsRequest do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner.ex index 8fd8f02db..22bbb2ba4 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_estimated_cost.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_estimated_cost.ex index 09a9a3919..c8e407304 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_estimated_cost.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_estimated_cost.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInnerEstimatedCost do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition.ex index bbcc198f5..5d46c5847 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInnerNutrition do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.ex index c21a947f0..f2958a335 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_nutrients_inner.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_nutrients_inner.ex index 06e945fd8..3babdb7b0 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_nutrients_inner.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_nutrients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInnerNutritionNutrientsInner do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_properties_inner.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_properties_inner.ex index 53d9048fa..28a0af67d 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_properties_inner.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_properties_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInnerNutritionPropertiesInner do diff --git a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_weight_per_serving.ex b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_weight_per_serving.ex index f7ea5bb30..73fc40278 100644 --- a/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_weight_per_serving.ex +++ b/elixir/lib/spoonacular_api/model/parse_ingredients_200_response_inner_nutrition_weight_per_serving.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.ParseIngredients200ResponseInnerNutritionWeightPerServing do diff --git a/elixir/lib/spoonacular_api/model/quick_answer_200_response.ex b/elixir/lib/spoonacular_api/model/quick_answer_200_response.ex index 92d15d376..d0aad01c4 100644 --- a/elixir/lib/spoonacular_api/model/quick_answer_200_response.ex +++ b/elixir/lib/spoonacular_api/model/quick_answer_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.QuickAnswer200Response do diff --git a/elixir/lib/spoonacular_api/model/search_all_food_200_response.ex b/elixir/lib/spoonacular_api/model/search_all_food_200_response.ex index bd7d6d114..eac44eaf9 100644 --- a/elixir/lib/spoonacular_api/model/search_all_food_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_all_food_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchAllFood200Response do diff --git a/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner.ex b/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner.ex index c280c35c4..79f0efba4 100644 --- a/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchAllFood200ResponseSearchResultsInner do diff --git a/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner_results_inner.ex b/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner_results_inner.ex index 0d83775d5..63a8301c7 100644 --- a/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner_results_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_all_food_200_response_search_results_inner_results_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchAllFood200ResponseSearchResultsInnerResultsInner do diff --git a/elixir/lib/spoonacular_api/model/search_custom_foods_200_response.ex b/elixir/lib/spoonacular_api/model/search_custom_foods_200_response.ex index 399c8ae61..0cae56259 100644 --- a/elixir/lib/spoonacular_api/model/search_custom_foods_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_custom_foods_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchCustomFoods200Response do diff --git a/elixir/lib/spoonacular_api/model/search_custom_foods_200_response_custom_foods_inner.ex b/elixir/lib/spoonacular_api/model/search_custom_foods_200_response_custom_foods_inner.ex index 5e705d9fc..05982a212 100644 --- a/elixir/lib/spoonacular_api/model/search_custom_foods_200_response_custom_foods_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_custom_foods_200_response_custom_foods_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchCustomFoods200ResponseCustomFoodsInner do diff --git a/elixir/lib/spoonacular_api/model/search_food_videos_200_response.ex b/elixir/lib/spoonacular_api/model/search_food_videos_200_response.ex index 54d79b7ed..e007ea270 100644 --- a/elixir/lib/spoonacular_api/model/search_food_videos_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_food_videos_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchFoodVideos200Response do diff --git a/elixir/lib/spoonacular_api/model/search_food_videos_200_response_videos_inner.ex b/elixir/lib/spoonacular_api/model/search_food_videos_200_response_videos_inner.ex index b3dc67736..5bd7b831e 100644 --- a/elixir/lib/spoonacular_api/model/search_food_videos_200_response_videos_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_food_videos_200_response_videos_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchFoodVideos200ResponseVideosInner do diff --git a/elixir/lib/spoonacular_api/model/search_grocery_products_200_response.ex b/elixir/lib/spoonacular_api/model/search_grocery_products_200_response.ex index 160fcc0a4..e1d240e6f 100644 --- a/elixir/lib/spoonacular_api/model/search_grocery_products_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_grocery_products_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchGroceryProducts200Response do diff --git a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response.ex b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response.ex index 882ade6d8..d89687e28 100644 --- a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchGroceryProductsByUpc200Response do diff --git a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_ingredients_inner.ex index c1af0a2ba..e2925fdf7 100644 --- a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchGroceryProductsByUpc200ResponseIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_nutrition.ex b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_nutrition.ex index 55aa40a07..6551e3356 100644 --- a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_nutrition.ex +++ b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_nutrition.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchGroceryProductsByUpc200ResponseNutrition do diff --git a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_servings.ex b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_servings.ex index 6fafe1e05..2fa423791 100644 --- a/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_servings.ex +++ b/elixir/lib/spoonacular_api/model/search_grocery_products_by_upc_200_response_servings.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchGroceryProductsByUpc200ResponseServings do diff --git a/elixir/lib/spoonacular_api/model/search_menu_items_200_response.ex b/elixir/lib/spoonacular_api/model/search_menu_items_200_response.ex index 1a4a48e82..0c10fe38e 100644 --- a/elixir/lib/spoonacular_api/model/search_menu_items_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_menu_items_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchMenuItems200Response do diff --git a/elixir/lib/spoonacular_api/model/search_menu_items_200_response_menu_items_inner.ex b/elixir/lib/spoonacular_api/model/search_menu_items_200_response_menu_items_inner.ex index c5b4dee23..e4576f8c3 100644 --- a/elixir/lib/spoonacular_api/model/search_menu_items_200_response_menu_items_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_menu_items_200_response_menu_items_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchMenuItems200ResponseMenuItemsInner do diff --git a/elixir/lib/spoonacular_api/model/search_recipes_200_response.ex b/elixir/lib/spoonacular_api/model/search_recipes_200_response.ex index 93c65f69b..0ee3e8d32 100644 --- a/elixir/lib/spoonacular_api/model/search_recipes_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_recipes_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRecipes200Response do diff --git a/elixir/lib/spoonacular_api/model/search_recipes_200_response_results_inner.ex b/elixir/lib/spoonacular_api/model/search_recipes_200_response_results_inner.ex index 850ecf9f2..fc81ae0dc 100644 --- a/elixir/lib/spoonacular_api/model/search_recipes_200_response_results_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_recipes_200_response_results_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRecipes200ResponseResultsInner do diff --git a/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner.ex b/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner.ex index 861924f41..5441b2ebd 100644 --- a/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRecipesByIngredients200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.ex b/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.ex index d65f8e9de..04ca1c6f8 100644 --- a/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner do diff --git a/elixir/lib/spoonacular_api/model/search_recipes_by_nutrients_200_response_inner.ex b/elixir/lib/spoonacular_api/model/search_recipes_by_nutrients_200_response_inner.ex index bdc9e5ec6..bacbf19c1 100644 --- a/elixir/lib/spoonacular_api/model/search_recipes_by_nutrients_200_response_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_recipes_by_nutrients_200_response_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRecipesByNutrients200ResponseInner do diff --git a/elixir/lib/spoonacular_api/model/search_restaurants_200_response.ex b/elixir/lib/spoonacular_api/model/search_restaurants_200_response.ex index 74b579057..b7422867d 100644 --- a/elixir/lib/spoonacular_api/model/search_restaurants_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_restaurants_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRestaurants200Response do diff --git a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner.ex b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner.ex index e546c826c..25ed4e5ac 100644 --- a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRestaurants200ResponseRestaurantsInner do diff --git a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_address.ex b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_address.ex index aad998e0b..7c36380ec 100644 --- a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_address.ex +++ b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_address.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRestaurants200ResponseRestaurantsInnerAddress do diff --git a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours.ex b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours.ex index a284e0103..154dde550 100644 --- a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours.ex +++ b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRestaurants200ResponseRestaurantsInnerLocalHours do diff --git a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours_operational.ex b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours_operational.ex index 6b549757f..5cbdb4225 100644 --- a/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours_operational.ex +++ b/elixir/lib/spoonacular_api/model/search_restaurants_200_response_restaurants_inner_local_hours_operational.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational do diff --git a/elixir/lib/spoonacular_api/model/search_site_content_200_response.ex b/elixir/lib/spoonacular_api/model/search_site_content_200_response.ex index 072898de9..c2bb297d1 100644 --- a/elixir/lib/spoonacular_api/model/search_site_content_200_response.ex +++ b/elixir/lib/spoonacular_api/model/search_site_content_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchSiteContent200Response do diff --git a/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner.ex b/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner.ex index 27c9ed2c4..9278b7230 100644 --- a/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchSiteContent200ResponseArticlesInner do diff --git a/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner_data_points_inner.ex b/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner_data_points_inner.ex index fcc44289d..da73ff51d 100644 --- a/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner_data_points_inner.ex +++ b/elixir/lib/spoonacular_api/model/search_site_content_200_response_articles_inner_data_points_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SearchSiteContent200ResponseArticlesInnerDataPointsInner do diff --git a/elixir/lib/spoonacular_api/model/summarize_recipe_200_response.ex b/elixir/lib/spoonacular_api/model/summarize_recipe_200_response.ex index 559395c8b..f321a4abe 100644 --- a/elixir/lib/spoonacular_api/model/summarize_recipe_200_response.ex +++ b/elixir/lib/spoonacular_api/model/summarize_recipe_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.SummarizeRecipe200Response do diff --git a/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response.ex b/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response.ex index e881098f7..ded3f3aa5 100644 --- a/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response.ex +++ b/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.TalkToChatbot200Response do diff --git a/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response_media_inner.ex b/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response_media_inner.ex index 5f719e643..846894e2d 100644 --- a/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response_media_inner.ex +++ b/elixir/lib/spoonacular_api/model/talk_to_chatbot_200_response_media_inner.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.Model.TalkToChatbot200ResponseMediaInner do diff --git a/elixir/lib/spoonacular_api/request_builder.ex b/elixir/lib/spoonacular_api/request_builder.ex index d7309700f..addcf57f5 100644 --- a/elixir/lib/spoonacular_api/request_builder.ex +++ b/elixir/lib/spoonacular_api/request_builder.ex @@ -1,4 +1,4 @@ -# NOTE: This file is auto generated by OpenAPI Generator 7.3.0 (https://openapi-generator.tech). +# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech). # Do not edit this file manually. defmodule SpoonacularAPI.RequestBuilder do diff --git a/elm/.openapi-generator/VERSION b/elm/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/elm/.openapi-generator/VERSION +++ b/elm/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/elm/README.md b/elm/README.md index 7037de265..9c9792e79 100644 --- a/elm/README.md +++ b/elm/README.md @@ -8,6 +8,7 @@ Special diets/dietary requirements currently available include: vegan, vegetaria This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate an API client. - API version: 1.1 -- Package version: 1.1.1 +- Package version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.ElmClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/erlang/.openapi-generator/VERSION b/erlang/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/erlang/.openapi-generator/VERSION +++ b/erlang/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/go/.openapi-generator/VERSION b/go/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/go/.openapi-generator/VERSION +++ b/go/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/go/README.md b/go/README.md index d7c8d13c4..08d0a95d4 100644 --- a/go/README.md +++ b/go/README.md @@ -8,7 +8,8 @@ Special diets/dietary requirements currently available include: vegan, vegetaria This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 1.1 -- Package version: 1.1.1 +- Package version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/go/client.go b/go/client.go index 284090f52..37f058666 100644 --- a/go/client.go +++ b/go/client.go @@ -184,7 +184,7 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri return } if t, ok := obj.(time.Time); ok { - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), collectionType) return } value = v.Type().String() + " value" diff --git a/go/configuration.go b/go/configuration.go index 82b2c067e..b1376195e 100644 --- a/go/configuration.go +++ b/go/configuration.go @@ -90,7 +90,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/1.1.1/go", + UserAgent: "OpenAPI-Generator/1.1.2/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/groovy/.openapi-generator-ignore b/groovy/.openapi-generator-ignore deleted file mode 100644 index 7484ee590..000000000 --- a/groovy/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/groovy/.openapi-generator/FILES b/groovy/.openapi-generator/FILES deleted file mode 100644 index a49161ee2..000000000 --- a/groovy/.openapi-generator/FILES +++ /dev/null @@ -1,166 +0,0 @@ -.openapi-generator-ignore -README.md -build.gradle -src/main/groovy/org/openapitools/api/ApiUtils.groovy -src/main/groovy/org/openapitools/api/DefaultApi.groovy -src/main/groovy/org/openapitools/api/IngredientsApi.groovy -src/main/groovy/org/openapitools/api/MealPlanningApi.groovy -src/main/groovy/org/openapitools/api/MenuItemsApi.groovy -src/main/groovy/org/openapitools/api/MiscApi.groovy -src/main/groovy/org/openapitools/api/ProductsApi.groovy -src/main/groovy/org/openapitools/api/RecipesApi.groovy -src/main/groovy/org/openapitools/api/WineApi.groovy -src/main/groovy/org/openapitools/model/AddMealPlanTemplate200Response.groovy -src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInner.groovy -src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInnerValue.groovy -src/main/groovy/org/openapitools/model/AddToMealPlanRequest.groovy -src/main/groovy/org/openapitools/model/AddToMealPlanRequestValue.groovy -src/main/groovy/org/openapitools/model/AddToMealPlanRequestValueIngredientsInner.groovy -src/main/groovy/org/openapitools/model/AddToShoppingListRequest.groovy -src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200Response.groovy -src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.groovy -src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200Response.groovy -src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.groovy -src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy -src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy -src/main/groovy/org/openapitools/model/AnalyzeRecipeRequest.groovy -src/main/groovy/org/openapitools/model/AutocompleteIngredientSearch200ResponseInner.groovy -src/main/groovy/org/openapitools/model/AutocompleteMenuItemSearch200Response.groovy -src/main/groovy/org/openapitools/model/AutocompleteProductSearch200Response.groovy -src/main/groovy/org/openapitools/model/AutocompleteProductSearch200ResponseResultsInner.groovy -src/main/groovy/org/openapitools/model/AutocompleteRecipeSearch200ResponseInner.groovy -src/main/groovy/org/openapitools/model/ClassifyCuisine200Response.groovy -src/main/groovy/org/openapitools/model/ClassifyGroceryProduct200Response.groovy -src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulk200ResponseInner.groovy -src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulkRequestInner.groovy -src/main/groovy/org/openapitools/model/ClassifyGroceryProductRequest.groovy -src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200Response.groovy -src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/ComputeGlycemicLoadRequest.groovy -src/main/groovy/org/openapitools/model/ComputeIngredientAmount200Response.groovy -src/main/groovy/org/openapitools/model/ConnectUser200Response.groovy -src/main/groovy/org/openapitools/model/ConnectUserRequest.groovy -src/main/groovy/org/openapitools/model/ConvertAmounts200Response.groovy -src/main/groovy/org/openapitools/model/CreateRecipeCard200Response.groovy -src/main/groovy/org/openapitools/model/DetectFoodInText200Response.groovy -src/main/groovy/org/openapitools/model/DetectFoodInText200ResponseAnnotationsInner.groovy -src/main/groovy/org/openapitools/model/GenerateMealPlan200Response.groovy -src/main/groovy/org/openapitools/model/GenerateMealPlan200ResponseNutrients.groovy -src/main/groovy/org/openapitools/model/GenerateShoppingList200Response.groovy -src/main/groovy/org/openapitools/model/GetARandomFoodJoke200Response.groovy -src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200Response.groovy -src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.groovy -src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy -src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy -src/main/groovy/org/openapitools/model/GetComparableProducts200Response.groovy -src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProducts.groovy -src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProductsProteinInner.groovy -src/main/groovy/org/openapitools/model/GetConversationSuggests200Response.groovy -src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggests.groovy -src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggestsInner.groovy -src/main/groovy/org/openapitools/model/GetDishPairingForWine200Response.groovy -src/main/groovy/org/openapitools/model/GetIngredientInformation200Response.groovy -src/main/groovy/org/openapitools/model/GetIngredientInformation200ResponseNutrition.groovy -src/main/groovy/org/openapitools/model/GetIngredientSubstitutes200Response.groovy -src/main/groovy/org/openapitools/model/GetMealPlanTemplate200Response.groovy -src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInner.groovy -src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.groovy -src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.groovy -src/main/groovy/org/openapitools/model/GetMealPlanTemplates200Response.groovy -src/main/groovy/org/openapitools/model/GetMealPlanWeek200Response.groovy -src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInner.groovy -src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.groovy -src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.groovy -src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.groovy -src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.groovy -src/main/groovy/org/openapitools/model/GetMenuItemInformation200Response.groovy -src/main/groovy/org/openapitools/model/GetProductInformation200Response.groovy -src/main/groovy/org/openapitools/model/GetProductInformation200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/GetRandomFoodTrivia200Response.groovy -src/main/groovy/org/openapitools/model/GetRandomRecipes200Response.groovy -src/main/groovy/org/openapitools/model/GetRandomRecipes200ResponseRecipesInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200Response.groovy -src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200ResponseEquipmentInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformation200Response.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairing.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeInformationBulk200ResponseInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200Response.groovy -src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200Response.groovy -src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseBadInner.groovy -src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.groovy -src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200Response.groovy -src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.groovy -src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.groovy -src/main/groovy/org/openapitools/model/GetRecipeTasteByID200Response.groovy -src/main/groovy/org/openapitools/model/GetShoppingList200Response.groovy -src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInner.groovy -src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInner.groovy -src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.groovy -src/main/groovy/org/openapitools/model/GetSimilarRecipes200ResponseInner.groovy -src/main/groovy/org/openapitools/model/GetWineDescription200Response.groovy -src/main/groovy/org/openapitools/model/GetWinePairing200Response.groovy -src/main/groovy/org/openapitools/model/GetWinePairing200ResponseProductMatchesInner.groovy -src/main/groovy/org/openapitools/model/GetWineRecommendation200Response.groovy -src/main/groovy/org/openapitools/model/GetWineRecommendation200ResponseRecommendedWinesInner.groovy -src/main/groovy/org/openapitools/model/GuessNutritionByDishName200Response.groovy -src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCalories.groovy -src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.groovy -src/main/groovy/org/openapitools/model/ImageAnalysisByURL200Response.groovy -src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseCategory.groovy -src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutrition.groovy -src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCalories.groovy -src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.groovy -src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseRecipesInner.groovy -src/main/groovy/org/openapitools/model/ImageClassificationByURL200Response.groovy -src/main/groovy/org/openapitools/model/IngredientSearch200Response.groovy -src/main/groovy/org/openapitools/model/IngredientSearch200ResponseResultsInner.groovy -src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInner.groovy -src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.groovy -src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProductsRequest.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInner.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerEstimatedCost.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutrition.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.groovy -src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.groovy -src/main/groovy/org/openapitools/model/QuickAnswer200Response.groovy -src/main/groovy/org/openapitools/model/SearchAllFood200Response.groovy -src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInner.groovy -src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.groovy -src/main/groovy/org/openapitools/model/SearchCustomFoods200Response.groovy -src/main/groovy/org/openapitools/model/SearchCustomFoods200ResponseCustomFoodsInner.groovy -src/main/groovy/org/openapitools/model/SearchFoodVideos200Response.groovy -src/main/groovy/org/openapitools/model/SearchFoodVideos200ResponseVideosInner.groovy -src/main/groovy/org/openapitools/model/SearchGroceryProducts200Response.groovy -src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200Response.groovy -src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.groovy -src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseNutrition.groovy -src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseServings.groovy -src/main/groovy/org/openapitools/model/SearchMenuItems200Response.groovy -src/main/groovy/org/openapitools/model/SearchMenuItems200ResponseMenuItemsInner.groovy -src/main/groovy/org/openapitools/model/SearchRecipes200Response.groovy -src/main/groovy/org/openapitools/model/SearchRecipes200ResponseResultsInner.groovy -src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInner.groovy -src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.groovy -src/main/groovy/org/openapitools/model/SearchRecipesByNutrients200ResponseInner.groovy -src/main/groovy/org/openapitools/model/SearchRestaurants200Response.groovy -src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInner.groovy -src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerAddress.groovy -src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.groovy -src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.groovy -src/main/groovy/org/openapitools/model/SearchSiteContent200Response.groovy -src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInner.groovy -src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.groovy -src/main/groovy/org/openapitools/model/SummarizeRecipe200Response.groovy -src/main/groovy/org/openapitools/model/TalkToChatbot200Response.groovy -src/main/groovy/org/openapitools/model/TalkToChatbot200ResponseMediaInner.groovy diff --git a/groovy/.openapi-generator/VERSION b/groovy/.openapi-generator/VERSION deleted file mode 100644 index 8b23b8d47..000000000 --- a/groovy/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.3.0 \ No newline at end of file diff --git a/groovy/README.md b/groovy/README.md deleted file mode 100644 index 77bc153cb..000000000 --- a/groovy/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# spoonacular - -The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. - -Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. - -This Groovy package, using the [http-builder-ng library](https://http-builder-ng.github.io/http-builder-ng/), is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 1.1 -- Package version: 1.1.1 -- Build package: org.openapitools.codegen.languages.GroovyClientCodegen -For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) - -## Requirements - -* Groovy 2.5.7 -* Gradle 4.9 - -## Build - -First, create the gradle wrapper script: - -``` -gradle wrapper -``` - -Then, run: - -``` -./gradlew check assemble -``` - -## Getting Started - - -```groovy -def apiInstance = new DefaultApi() -def analyzeRecipeRequest = new AnalyzeRecipeRequest() // AnalyzeRecipeRequest | Example request body. -def language = "en" // String | The input language, either \"en\" or \"de\". -def includeNutrition = false // Boolean | Whether nutrition data should be added to correctly parsed ingredients. -def includeTaste = false // Boolean | Whether taste data should be added to correctly parsed ingredients. - -apiInstance.analyzeRecipe(analyzeRecipeRequest, language, includeNutrition, includeTaste) - { - // on success - def result = (Object)it - println result - -} - { - // on failure - statusCode, message -> - println "${statusCode} ${message}" -}; -``` - diff --git a/groovy/build.gradle b/groovy/build.gradle deleted file mode 100644 index 00ddb6f15..000000000 --- a/groovy/build.gradle +++ /dev/null @@ -1,45 +0,0 @@ -apply plugin: 'groovy' -apply plugin: 'idea' -apply plugin: 'eclipse' - -group = 'org.openapitools' -version = '1.1.1' -archivesBaseName = 'openapi-gen-groovy' - -wrapper { - gradleVersion = '4.9' - distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip" -} - -buildscript { - repositories { - maven { url "https://repo1.maven.org/maven2" } - maven { url = 'https://plugins.gradle.org/m2/' } - } - dependencies { - classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '4.24.20') - } -} - -repositories { - maven { url "https://repo1.maven.org/maven2" } - mavenLocal() -} - -ext { - swagger_annotations_version = "1.5.22" - jackson_version = "2.9.10" - jackson_databind_version = "2.9.10.8" -} - -dependencies { - compile 'org.codehaus.groovy:groovy-all:2.5.14' - compile "io.swagger:swagger-annotations:$swagger_annotations_version" - compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" - compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version" - compile "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version" - compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version" - compile "com.fasterxml.jackson.datatype:jackson-datatype-joda:$jackson_version" - compile 'io.github.http-builder-ng:http-builder-ng-core:1.0.3' - testCompile "junit:junit:4.13" -} diff --git a/groovy/src/main/groovy/org/openapitools/api/ApiUtils.groovy b/groovy/src/main/groovy/org/openapitools/api/ApiUtils.groovy deleted file mode 100644 index cc4d3d248..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/ApiUtils.groovy +++ /dev/null @@ -1,79 +0,0 @@ -package org.openapitools.api - -import groovy.json.JsonBuilder -import groovy.json.JsonGenerator -import groovyx.net.http.ChainedHttpConfig -import groovyx.net.http.ContentTypes -import groovyx.net.http.NativeHandlers -import groovyx.net.http.ToServer - -import static groovyx.net.http.HttpBuilder.configure -import static java.net.URI.create - -class ApiUtils { - - static def jsonGenerator = new JsonGenerator.Options() - .addConverter(Enum) { Enum u, String key -> - u.toString() - } - .build() - - void invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, method, container, type) { - def (url, uriPath) = buildUrlAndUriPath(basePath, versionPath, resourcePath) - println "url=$url uriPath=$uriPath" - def http = configure { - request.uri = url - request.uri.path = uriPath - request.encoder(ContentTypes.JSON, { final ChainedHttpConfig config, final ToServer ts -> - final ChainedHttpConfig.ChainedRequest request = config.getChainedRequest(); - if (NativeHandlers.Encoders.handleRawUpload(config, ts)) { - return; - } - - final Object body = NativeHandlers.Encoders.checkNull(request.actualBody()); - final String json = ((body instanceof String || body instanceof GString) - ? body.toString() - : new JsonBuilder(body, jsonGenerator).toString()); - ts.toServer(NativeHandlers.Encoders.stringToStream(json, request.actualCharset())); - }) - } - .invokeMethod(String.valueOf(method).toLowerCase()) { - request.uri.query = queryParams - request.headers = headerParams - if (bodyParams != null) { - request.body = bodyParams - } - request.contentType = contentType - - response.success { resp, json -> - if (type != null) { - onSuccess(parse(json, container, type)) - } - } - response.failure { resp -> - onFailure(resp.statusCode, resp.message) - } - } - - } - - private static def buildUrlAndUriPath(basePath, versionPath, resourcePath) { - // HTTPBuilder expects to get as its constructor parameter an URL, - // without any other additions like path, therefore we need to cut the path - // from the basePath as it is represented by swagger APIs - // we use java.net.URI to manipulate the basePath - // then the uriPath will hold the rest of the path - URI baseUri = create(basePath) - def pathOnly = baseUri.getPath() - [basePath-pathOnly, pathOnly+versionPath+resourcePath] - } - - private def parse(object, container, clazz) { - if (container == "array") { - return object.collect {parse(it, "", clazz)} - } else { - return clazz.newInstance(object) - } - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/DefaultApi.groovy b/groovy/src/main/groovy/org/openapitools/api/DefaultApi.groovy deleted file mode 100644 index 21092354d..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/DefaultApi.groovy +++ /dev/null @@ -1,134 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import org.openapitools.model.AnalyzeRecipeRequest -import java.math.BigDecimal -import org.openapitools.model.SearchRestaurants200Response - -class DefaultApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def analyzeRecipe ( AnalyzeRecipeRequest analyzeRecipeRequest, String language, Boolean includeNutrition, Boolean includeTaste, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/analyze" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (analyzeRecipeRequest == null) { - throw new RuntimeException("missing required params analyzeRecipeRequest") - } - - if (language != null) { - queryParams.put("language", language) - } - if (includeNutrition != null) { - queryParams.put("includeNutrition", includeNutrition) - } - if (includeTaste != null) { - queryParams.put("includeTaste", includeTaste) - } - - - contentType = 'application/json'; - bodyParams = analyzeRecipeRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - Object.class ) - - } - - def createRecipeCardGet ( BigDecimal id, String mask, String backgroundImage, String backgroundColor, String fontColor, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/card" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (mask != null) { - queryParams.put("mask", mask) - } - if (backgroundImage != null) { - queryParams.put("backgroundImage", backgroundImage) - } - if (backgroundColor != null) { - queryParams.put("backgroundColor", backgroundColor) - } - if (fontColor != null) { - queryParams.put("fontColor", fontColor) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - Object.class ) - - } - - def searchRestaurants ( String query, BigDecimal lat, BigDecimal lng, BigDecimal distance, BigDecimal budget, String cuisine, BigDecimal minRating, Boolean isOpen, String sort, BigDecimal page, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/restaurants/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (lat != null) { - queryParams.put("lat", lat) - } - if (lng != null) { - queryParams.put("lng", lng) - } - if (distance != null) { - queryParams.put("distance", distance) - } - if (budget != null) { - queryParams.put("budget", budget) - } - if (cuisine != null) { - queryParams.put("cuisine", cuisine) - } - if (minRating != null) { - queryParams.put("min-rating", minRating) - } - if (isOpen != null) { - queryParams.put("is-open", isOpen) - } - if (sort != null) { - queryParams.put("sort", sort) - } - if (page != null) { - queryParams.put("page", page) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchRestaurants200Response.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/IngredientsApi.groovy b/groovy/src/main/groovy/org/openapitools/api/IngredientsApi.groovy deleted file mode 100644 index eded2fcc3..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/IngredientsApi.groovy +++ /dev/null @@ -1,333 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import org.openapitools.model.AutocompleteIngredientSearch200ResponseInner -import java.math.BigDecimal -import org.openapitools.model.ComputeIngredientAmount200Response -import org.openapitools.model.GetIngredientInformation200Response -import org.openapitools.model.GetIngredientSubstitutes200Response -import org.openapitools.model.IngredientSearch200Response -import org.openapitools.model.MapIngredientsToGroceryProducts200ResponseInner -import org.openapitools.model.MapIngredientsToGroceryProductsRequest -import java.util.Set - -class IngredientsApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def autocompleteIngredientSearch ( String query, Integer number, Boolean metaInformation, String intolerances, String language, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/autocomplete" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (number != null) { - queryParams.put("number", number) - } - if (metaInformation != null) { - queryParams.put("metaInformation", metaInformation) - } - if (intolerances != null) { - queryParams.put("intolerances", intolerances) - } - if (language != null) { - queryParams.put("language", language) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "set", - AutocompleteIngredientSearch200ResponseInner.class ) - - } - - def computeIngredientAmount ( BigDecimal id, String nutrient, BigDecimal target, String unit, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/${id}/amount" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - // verify required params are set - if (nutrient == null) { - throw new RuntimeException("missing required params nutrient") - } - // verify required params are set - if (target == null) { - throw new RuntimeException("missing required params target") - } - - if (nutrient != null) { - queryParams.put("nutrient", nutrient) - } - if (target != null) { - queryParams.put("target", target) - } - if (unit != null) { - queryParams.put("unit", unit) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - ComputeIngredientAmount200Response.class ) - - } - - def getIngredientInformation ( Integer id, BigDecimal amount, String unit, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/${id}/information" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (amount != null) { - queryParams.put("amount", amount) - } - if (unit != null) { - queryParams.put("unit", unit) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetIngredientInformation200Response.class ) - - } - - def getIngredientSubstitutes ( String ingredientName, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/substitutes" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientName == null) { - throw new RuntimeException("missing required params ingredientName") - } - - if (ingredientName != null) { - queryParams.put("ingredientName", ingredientName) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetIngredientSubstitutes200Response.class ) - - } - - def getIngredientSubstitutesByID ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/${id}/substitutes" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetIngredientSubstitutes200Response.class ) - - } - - def ingredientSearch ( String query, Boolean addChildren, BigDecimal minProteinPercent, BigDecimal maxProteinPercent, BigDecimal minFatPercent, BigDecimal maxFatPercent, BigDecimal minCarbsPercent, BigDecimal maxCarbsPercent, Boolean metaInformation, String intolerances, String sort, String sortDirection, Integer offset, Integer number, String language, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (addChildren != null) { - queryParams.put("addChildren", addChildren) - } - if (minProteinPercent != null) { - queryParams.put("minProteinPercent", minProteinPercent) - } - if (maxProteinPercent != null) { - queryParams.put("maxProteinPercent", maxProteinPercent) - } - if (minFatPercent != null) { - queryParams.put("minFatPercent", minFatPercent) - } - if (maxFatPercent != null) { - queryParams.put("maxFatPercent", maxFatPercent) - } - if (minCarbsPercent != null) { - queryParams.put("minCarbsPercent", minCarbsPercent) - } - if (maxCarbsPercent != null) { - queryParams.put("maxCarbsPercent", maxCarbsPercent) - } - if (metaInformation != null) { - queryParams.put("metaInformation", metaInformation) - } - if (intolerances != null) { - queryParams.put("intolerances", intolerances) - } - if (sort != null) { - queryParams.put("sort", sort) - } - if (sortDirection != null) { - queryParams.put("sortDirection", sortDirection) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - if (language != null) { - queryParams.put("language", language) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - IngredientSearch200Response.class ) - - } - - def ingredientsByIDImage ( BigDecimal id, String measure, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/ingredientWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (measure != null) { - queryParams.put("measure", measure) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def mapIngredientsToGroceryProducts ( MapIngredientsToGroceryProductsRequest mapIngredientsToGroceryProductsRequest, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/map" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (mapIngredientsToGroceryProductsRequest == null) { - throw new RuntimeException("missing required params mapIngredientsToGroceryProductsRequest") - } - - - - contentType = 'application/json'; - bodyParams = mapIngredientsToGroceryProductsRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "set", - MapIngredientsToGroceryProducts200ResponseInner.class ) - - } - - def visualizeIngredients ( String ingredientList, BigDecimal servings, String language, String measure, String view, Boolean defaultCss, Boolean showBacklink, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/visualizeIngredients" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientList == null) { - throw new RuntimeException("missing required params ingredientList") - } - // verify required params are set - if (servings == null) { - throw new RuntimeException("missing required params servings") - } - - if (language != null) { - queryParams.put("language", language) - } - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("ingredientList", ingredientList) - bodyParams.put("servings", servings) - bodyParams.put("measure", measure) - bodyParams.put("view", view) - bodyParams.put("defaultCss", defaultCss) - bodyParams.put("showBacklink", showBacklink) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - String.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/MealPlanningApi.groovy b/groovy/src/main/groovy/org/openapitools/api/MealPlanningApi.groovy deleted file mode 100644 index 47ba1d647..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/MealPlanningApi.groovy +++ /dev/null @@ -1,496 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import org.openapitools.model.AddMealPlanTemplate200Response -import org.openapitools.model.AddToMealPlanRequest -import org.openapitools.model.AddToShoppingListRequest -import java.math.BigDecimal -import org.openapitools.model.ConnectUser200Response -import org.openapitools.model.ConnectUserRequest -import org.openapitools.model.GenerateMealPlan200Response -import org.openapitools.model.GenerateShoppingList200Response -import org.openapitools.model.GetMealPlanTemplate200Response -import org.openapitools.model.GetMealPlanTemplates200Response -import org.openapitools.model.GetMealPlanWeek200Response -import org.openapitools.model.GetShoppingList200Response - -class MealPlanningApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def addMealPlanTemplate ( String username, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/templates" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - AddMealPlanTemplate200Response.class ) - - } - - def addToMealPlan ( String username, String hash, AddToMealPlanRequest addToMealPlanRequest, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/items" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - // verify required params are set - if (addToMealPlanRequest == null) { - throw new RuntimeException("missing required params addToMealPlanRequest") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - contentType = 'application/json'; - bodyParams = addToMealPlanRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - Object.class ) - - } - - def addToShoppingList ( String username, String hash, AddToShoppingListRequest addToShoppingListRequest, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/shopping-list/items" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - // verify required params are set - if (addToShoppingListRequest == null) { - throw new RuntimeException("missing required params addToShoppingListRequest") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - contentType = 'application/json'; - bodyParams = addToShoppingListRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - GenerateShoppingList200Response.class ) - - } - - def clearMealPlanDay ( String username, String date, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/day/${date}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (date == null) { - throw new RuntimeException("missing required params date") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "DELETE", "", - Object.class ) - - } - - def connectUser ( ConnectUserRequest connectUserRequest, Closure onSuccess, Closure onFailure) { - String resourcePath = "/users/connect" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (connectUserRequest == null) { - throw new RuntimeException("missing required params connectUserRequest") - } - - - - contentType = 'application/json'; - bodyParams = connectUserRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - ConnectUser200Response.class ) - - } - - def deleteFromMealPlan ( String username, BigDecimal id, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/items/${id}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "DELETE", "", - Object.class ) - - } - - def deleteFromShoppingList ( String username, Integer id, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/shopping-list/items/${id}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "DELETE", "", - Object.class ) - - } - - def deleteMealPlanTemplate ( String username, Integer id, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/templates/${id}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "DELETE", "", - Object.class ) - - } - - def generateMealPlan ( String timeFrame, BigDecimal targetCalories, String diet, String exclude, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/generate" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (timeFrame != null) { - queryParams.put("timeFrame", timeFrame) - } - if (targetCalories != null) { - queryParams.put("targetCalories", targetCalories) - } - if (diet != null) { - queryParams.put("diet", diet) - } - if (exclude != null) { - queryParams.put("exclude", exclude) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GenerateMealPlan200Response.class ) - - } - - def generateShoppingList ( String username, String startDate, String endDate, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/shopping-list/${start_date}/${end_date}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (startDate == null) { - throw new RuntimeException("missing required params startDate") - } - // verify required params are set - if (endDate == null) { - throw new RuntimeException("missing required params endDate") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - GenerateShoppingList200Response.class ) - - } - - def getMealPlanTemplate ( String username, Integer id, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/templates/${id}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetMealPlanTemplate200Response.class ) - - } - - def getMealPlanTemplates ( String username, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/templates" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetMealPlanTemplates200Response.class ) - - } - - def getMealPlanWeek ( String username, String startDate, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/week/${start_date}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (startDate == null) { - throw new RuntimeException("missing required params startDate") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetMealPlanWeek200Response.class ) - - } - - def getShoppingList ( String username, String hash, Closure onSuccess, Closure onFailure) { - String resourcePath = "/mealplanner/${username}/shopping-list" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (hash != null) { - queryParams.put("hash", hash) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetShoppingList200Response.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/MenuItemsApi.groovy b/groovy/src/main/groovy/org/openapitools/api/MenuItemsApi.groovy deleted file mode 100644 index 9374a22d7..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/MenuItemsApi.groovy +++ /dev/null @@ -1,244 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import org.openapitools.model.AutocompleteMenuItemSearch200Response -import java.math.BigDecimal -import org.openapitools.model.GetMenuItemInformation200Response -import org.openapitools.model.SearchMenuItems200Response - -class MenuItemsApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def autocompleteMenuItemSearch ( String query, BigDecimal number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/suggest" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (query == null) { - throw new RuntimeException("missing required params query") - } - - if (query != null) { - queryParams.put("query", query) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - AutocompleteMenuItemSearch200Response.class ) - - } - - def getMenuItemInformation ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/${id}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetMenuItemInformation200Response.class ) - - } - - def menuItemNutritionByIDImage ( BigDecimal id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/${id}/nutritionWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def menuItemNutritionLabelImage ( BigDecimal id, Boolean showOptionalNutrients, Boolean showZeroValues, Boolean showIngredients, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/${id}/nutritionLabel.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (showOptionalNutrients != null) { - queryParams.put("showOptionalNutrients", showOptionalNutrients) - } - if (showZeroValues != null) { - queryParams.put("showZeroValues", showZeroValues) - } - if (showIngredients != null) { - queryParams.put("showIngredients", showIngredients) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def menuItemNutritionLabelWidget ( BigDecimal id, Boolean defaultCss, Boolean showOptionalNutrients, Boolean showZeroValues, Boolean showIngredients, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/${id}/nutritionLabel" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - if (showOptionalNutrients != null) { - queryParams.put("showOptionalNutrients", showOptionalNutrients) - } - if (showZeroValues != null) { - queryParams.put("showZeroValues", showZeroValues) - } - if (showIngredients != null) { - queryParams.put("showIngredients", showIngredients) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def searchMenuItems ( String query, BigDecimal minCalories, BigDecimal maxCalories, BigDecimal minCarbs, BigDecimal maxCarbs, BigDecimal minProtein, BigDecimal maxProtein, BigDecimal minFat, BigDecimal maxFat, Boolean addMenuItemInformation, Integer offset, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (minCalories != null) { - queryParams.put("minCalories", minCalories) - } - if (maxCalories != null) { - queryParams.put("maxCalories", maxCalories) - } - if (minCarbs != null) { - queryParams.put("minCarbs", minCarbs) - } - if (maxCarbs != null) { - queryParams.put("maxCarbs", maxCarbs) - } - if (minProtein != null) { - queryParams.put("minProtein", minProtein) - } - if (maxProtein != null) { - queryParams.put("maxProtein", maxProtein) - } - if (minFat != null) { - queryParams.put("minFat", minFat) - } - if (maxFat != null) { - queryParams.put("maxFat", maxFat) - } - if (addMenuItemInformation != null) { - queryParams.put("addMenuItemInformation", addMenuItemInformation) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchMenuItems200Response.class ) - - } - - def visualizeMenuItemNutritionByID ( Integer id, Boolean defaultCss, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/menuItems/${id}/nutritionWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/MiscApi.groovy b/groovy/src/main/groovy/org/openapitools/api/MiscApi.groovy deleted file mode 100644 index 1034266b3..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/MiscApi.groovy +++ /dev/null @@ -1,355 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import java.math.BigDecimal -import org.openapitools.model.DetectFoodInText200Response -import org.openapitools.model.GetARandomFoodJoke200Response -import org.openapitools.model.GetConversationSuggests200Response -import org.openapitools.model.GetRandomFoodTrivia200Response -import org.openapitools.model.ImageAnalysisByURL200Response -import org.openapitools.model.ImageClassificationByURL200Response -import org.openapitools.model.SearchAllFood200Response -import org.openapitools.model.SearchCustomFoods200Response -import org.openapitools.model.SearchFoodVideos200Response -import org.openapitools.model.SearchSiteContent200Response -import org.openapitools.model.TalkToChatbot200Response - -class MiscApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def detectFoodInText ( String text, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/detect" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (text == null) { - throw new RuntimeException("missing required params text") - } - - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = text - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - DetectFoodInText200Response.class ) - - } - - def getARandomFoodJoke ( Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/jokes/random" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetARandomFoodJoke200Response.class ) - - } - - def getConversationSuggests ( String query, BigDecimal number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/converse/suggest" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (query == null) { - throw new RuntimeException("missing required params query") - } - - if (query != null) { - queryParams.put("query", query) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetConversationSuggests200Response.class ) - - } - - def getRandomFoodTrivia ( Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/trivia/random" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRandomFoodTrivia200Response.class ) - - } - - def imageAnalysisByURL ( String imageUrl, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/images/analyze" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (imageUrl == null) { - throw new RuntimeException("missing required params imageUrl") - } - - if (imageUrl != null) { - queryParams.put("imageUrl", imageUrl) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - ImageAnalysisByURL200Response.class ) - - } - - def imageClassificationByURL ( String imageUrl, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/images/classify" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (imageUrl == null) { - throw new RuntimeException("missing required params imageUrl") - } - - if (imageUrl != null) { - queryParams.put("imageUrl", imageUrl) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - ImageClassificationByURL200Response.class ) - - } - - def searchAllFood ( String query, Integer offset, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (query == null) { - throw new RuntimeException("missing required params query") - } - - if (query != null) { - queryParams.put("query", query) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchAllFood200Response.class ) - - } - - def searchCustomFoods ( String username, String hash, String query, Integer offset, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/customFoods/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (username == null) { - throw new RuntimeException("missing required params username") - } - // verify required params are set - if (hash == null) { - throw new RuntimeException("missing required params hash") - } - - if (query != null) { - queryParams.put("query", query) - } - if (username != null) { - queryParams.put("username", username) - } - if (hash != null) { - queryParams.put("hash", hash) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchCustomFoods200Response.class ) - - } - - def searchFoodVideos ( String query, String type, String cuisine, String diet, String includeIngredients, String excludeIngredients, BigDecimal minLength, BigDecimal maxLength, Integer offset, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/videos/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (type != null) { - queryParams.put("type", type) - } - if (cuisine != null) { - queryParams.put("cuisine", cuisine) - } - if (diet != null) { - queryParams.put("diet", diet) - } - if (includeIngredients != null) { - queryParams.put("includeIngredients", includeIngredients) - } - if (excludeIngredients != null) { - queryParams.put("excludeIngredients", excludeIngredients) - } - if (minLength != null) { - queryParams.put("minLength", minLength) - } - if (maxLength != null) { - queryParams.put("maxLength", maxLength) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchFoodVideos200Response.class ) - - } - - def searchSiteContent ( String query, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/site/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (query == null) { - throw new RuntimeException("missing required params query") - } - - if (query != null) { - queryParams.put("query", query) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchSiteContent200Response.class ) - - } - - def talkToChatbot ( String text, String contextId, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/converse" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (text == null) { - throw new RuntimeException("missing required params text") - } - - if (text != null) { - queryParams.put("text", text) - } - if (contextId != null) { - queryParams.put("contextId", contextId) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - TalkToChatbot200Response.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/ProductsApi.groovy b/groovy/src/main/groovy/org/openapitools/api/ProductsApi.groovy deleted file mode 100644 index 59440df34..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/ProductsApi.groovy +++ /dev/null @@ -1,357 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import org.openapitools.model.AutocompleteProductSearch200Response -import java.math.BigDecimal -import org.openapitools.model.ClassifyGroceryProduct200Response -import org.openapitools.model.ClassifyGroceryProductBulk200ResponseInner -import org.openapitools.model.ClassifyGroceryProductBulkRequestInner -import org.openapitools.model.ClassifyGroceryProductRequest -import org.openapitools.model.GetComparableProducts200Response -import org.openapitools.model.GetProductInformation200Response -import org.openapitools.model.SearchGroceryProducts200Response -import org.openapitools.model.SearchGroceryProductsByUPC200Response -import java.util.Set - -class ProductsApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def autocompleteProductSearch ( String query, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/suggest" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (query == null) { - throw new RuntimeException("missing required params query") - } - - if (query != null) { - queryParams.put("query", query) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - AutocompleteProductSearch200Response.class ) - - } - - def classifyGroceryProduct ( ClassifyGroceryProductRequest classifyGroceryProductRequest, String locale, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/classify" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (classifyGroceryProductRequest == null) { - throw new RuntimeException("missing required params classifyGroceryProductRequest") - } - - if (locale != null) { - queryParams.put("locale", locale) - } - - - contentType = 'application/json'; - bodyParams = classifyGroceryProductRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - ClassifyGroceryProduct200Response.class ) - - } - - def classifyGroceryProductBulk ( Set classifyGroceryProductBulkRequestInner, String locale, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/classifyBatch" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (classifyGroceryProductBulkRequestInner == null) { - throw new RuntimeException("missing required params classifyGroceryProductBulkRequestInner") - } - - if (locale != null) { - queryParams.put("locale", locale) - } - - - contentType = 'application/json'; - bodyParams = classifyGroceryProductBulkRequestInner - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "set", - ClassifyGroceryProductBulk200ResponseInner.class ) - - } - - def getComparableProducts ( BigDecimal upc, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/upc/${upc}/comparable" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (upc == null) { - throw new RuntimeException("missing required params upc") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetComparableProducts200Response.class ) - - } - - def getProductInformation ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/${id}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetProductInformation200Response.class ) - - } - - def productNutritionByIDImage ( BigDecimal id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/${id}/nutritionWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def productNutritionLabelImage ( BigDecimal id, Boolean showOptionalNutrients, Boolean showZeroValues, Boolean showIngredients, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/${id}/nutritionLabel.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (showOptionalNutrients != null) { - queryParams.put("showOptionalNutrients", showOptionalNutrients) - } - if (showZeroValues != null) { - queryParams.put("showZeroValues", showZeroValues) - } - if (showIngredients != null) { - queryParams.put("showIngredients", showIngredients) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def productNutritionLabelWidget ( BigDecimal id, Boolean defaultCss, Boolean showOptionalNutrients, Boolean showZeroValues, Boolean showIngredients, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/${id}/nutritionLabel" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - if (showOptionalNutrients != null) { - queryParams.put("showOptionalNutrients", showOptionalNutrients) - } - if (showZeroValues != null) { - queryParams.put("showZeroValues", showZeroValues) - } - if (showIngredients != null) { - queryParams.put("showIngredients", showIngredients) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def searchGroceryProducts ( String query, BigDecimal minCalories, BigDecimal maxCalories, BigDecimal minCarbs, BigDecimal maxCarbs, BigDecimal minProtein, BigDecimal maxProtein, BigDecimal minFat, BigDecimal maxFat, Boolean addProductInformation, Integer offset, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/search" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (minCalories != null) { - queryParams.put("minCalories", minCalories) - } - if (maxCalories != null) { - queryParams.put("maxCalories", maxCalories) - } - if (minCarbs != null) { - queryParams.put("minCarbs", minCarbs) - } - if (maxCarbs != null) { - queryParams.put("maxCarbs", maxCarbs) - } - if (minProtein != null) { - queryParams.put("minProtein", minProtein) - } - if (maxProtein != null) { - queryParams.put("maxProtein", maxProtein) - } - if (minFat != null) { - queryParams.put("minFat", minFat) - } - if (maxFat != null) { - queryParams.put("maxFat", maxFat) - } - if (addProductInformation != null) { - queryParams.put("addProductInformation", addProductInformation) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchGroceryProducts200Response.class ) - - } - - def searchGroceryProductsByUPC ( BigDecimal upc, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/upc/${upc}" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (upc == null) { - throw new RuntimeException("missing required params upc") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchGroceryProductsByUPC200Response.class ) - - } - - def visualizeProductNutritionByID ( Integer id, Boolean defaultCss, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/products/${id}/nutritionWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/RecipesApi.groovy b/groovy/src/main/groovy/org/openapitools/api/RecipesApi.groovy deleted file mode 100644 index c2c4849f6..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/RecipesApi.groovy +++ /dev/null @@ -1,1762 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import org.openapitools.model.AnalyzeARecipeSearchQuery200Response -import org.openapitools.model.AnalyzeRecipeInstructions200Response -import org.openapitools.model.AutocompleteRecipeSearch200ResponseInner -import java.math.BigDecimal -import org.openapitools.model.ClassifyCuisine200Response -import org.openapitools.model.ComputeGlycemicLoad200Response -import org.openapitools.model.ComputeGlycemicLoadRequest -import org.openapitools.model.ConvertAmounts200Response -import org.openapitools.model.CreateRecipeCard200Response -import org.openapitools.model.GetAnalyzedRecipeInstructions200Response -import org.openapitools.model.GetRandomRecipes200Response -import org.openapitools.model.GetRecipeEquipmentByID200Response -import org.openapitools.model.GetRecipeInformation200Response -import org.openapitools.model.GetRecipeInformationBulk200ResponseInner -import org.openapitools.model.GetRecipeIngredientsByID200Response -import org.openapitools.model.GetRecipeNutritionWidgetByID200Response -import org.openapitools.model.GetRecipePriceBreakdownByID200Response -import org.openapitools.model.GetRecipeTasteByID200Response -import org.openapitools.model.GetSimilarRecipes200ResponseInner -import org.openapitools.model.GuessNutritionByDishName200Response -import org.openapitools.model.ParseIngredients200ResponseInner -import org.openapitools.model.QuickAnswer200Response -import org.openapitools.model.SearchRecipes200Response -import org.openapitools.model.SearchRecipesByIngredients200ResponseInner -import org.openapitools.model.SearchRecipesByNutrients200ResponseInner -import java.util.Set -import org.openapitools.model.SummarizeRecipe200Response - -class RecipesApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def analyzeARecipeSearchQuery ( String q, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/queries/analyze" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (q == null) { - throw new RuntimeException("missing required params q") - } - - if (q != null) { - queryParams.put("q", q) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - AnalyzeARecipeSearchQuery200Response.class ) - - } - - def analyzeRecipeInstructions ( String instructions, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/analyzeInstructions" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (instructions == null) { - throw new RuntimeException("missing required params instructions") - } - - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = instructions - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - AnalyzeRecipeInstructions200Response.class ) - - } - - def autocompleteRecipeSearch ( String query, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/autocomplete" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "set", - AutocompleteRecipeSearch200ResponseInner.class ) - - } - - def classifyCuisine ( String title, String ingredientList, String language, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/cuisine" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (title == null) { - throw new RuntimeException("missing required params title") - } - // verify required params are set - if (ingredientList == null) { - throw new RuntimeException("missing required params ingredientList") - } - - if (language != null) { - queryParams.put("language", language) - } - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("title", title) - bodyParams.put("ingredientList", ingredientList) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - ClassifyCuisine200Response.class ) - - } - - def computeGlycemicLoad ( ComputeGlycemicLoadRequest computeGlycemicLoadRequest, String language, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/ingredients/glycemicLoad" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (computeGlycemicLoadRequest == null) { - throw new RuntimeException("missing required params computeGlycemicLoadRequest") - } - - if (language != null) { - queryParams.put("language", language) - } - - - contentType = 'application/json'; - bodyParams = computeGlycemicLoadRequest - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - ComputeGlycemicLoad200Response.class ) - - } - - def convertAmounts ( String ingredientName, BigDecimal sourceAmount, String sourceUnit, String targetUnit, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/convert" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientName == null) { - throw new RuntimeException("missing required params ingredientName") - } - // verify required params are set - if (sourceAmount == null) { - throw new RuntimeException("missing required params sourceAmount") - } - // verify required params are set - if (sourceUnit == null) { - throw new RuntimeException("missing required params sourceUnit") - } - // verify required params are set - if (targetUnit == null) { - throw new RuntimeException("missing required params targetUnit") - } - - if (ingredientName != null) { - queryParams.put("ingredientName", ingredientName) - } - if (sourceAmount != null) { - queryParams.put("sourceAmount", sourceAmount) - } - if (sourceUnit != null) { - queryParams.put("sourceUnit", sourceUnit) - } - if (targetUnit != null) { - queryParams.put("targetUnit", targetUnit) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - ConvertAmounts200Response.class ) - - } - - def createRecipeCard ( String title, String ingredients, String instructions, BigDecimal readyInMinutes, BigDecimal servings, String mask, String backgroundImage, File image, String imageUrl, String author, String backgroundColor, String fontColor, String source, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/visualizeRecipe" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (title == null) { - throw new RuntimeException("missing required params title") - } - // verify required params are set - if (ingredients == null) { - throw new RuntimeException("missing required params ingredients") - } - // verify required params are set - if (instructions == null) { - throw new RuntimeException("missing required params instructions") - } - // verify required params are set - if (readyInMinutes == null) { - throw new RuntimeException("missing required params readyInMinutes") - } - // verify required params are set - if (servings == null) { - throw new RuntimeException("missing required params servings") - } - // verify required params are set - if (mask == null) { - throw new RuntimeException("missing required params mask") - } - // verify required params are set - if (backgroundImage == null) { - throw new RuntimeException("missing required params backgroundImage") - } - - - - - contentType = 'multipart/form-data'; - bodyParams = [:] - bodyParams.put("title", title) - bodyParams.put("ingredients", ingredients) - bodyParams.put("instructions", instructions) - bodyParams.put("readyInMinutes", readyInMinutes) - bodyParams.put("servings", servings) - bodyParams.put("mask", mask) - bodyParams.put("backgroundImage", backgroundImage) - bodyParams.put("image", image) - bodyParams.put("imageUrl", imageUrl) - bodyParams.put("author", author) - bodyParams.put("backgroundColor", backgroundColor) - bodyParams.put("fontColor", fontColor) - bodyParams.put("source", source) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - CreateRecipeCard200Response.class ) - - } - - def equipmentByIDImage ( BigDecimal id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/equipmentWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def extractRecipeFromWebsite ( String url, Boolean forceExtraction, Boolean analyze, Boolean includeNutrition, Boolean includeTaste, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/extract" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (url == null) { - throw new RuntimeException("missing required params url") - } - - if (url != null) { - queryParams.put("url", url) - } - if (forceExtraction != null) { - queryParams.put("forceExtraction", forceExtraction) - } - if (analyze != null) { - queryParams.put("analyze", analyze) - } - if (includeNutrition != null) { - queryParams.put("includeNutrition", includeNutrition) - } - if (includeTaste != null) { - queryParams.put("includeTaste", includeTaste) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipeInformation200Response.class ) - - } - - def getAnalyzedRecipeInstructions ( Integer id, Boolean stepBreakdown, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/analyzedInstructions" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (stepBreakdown != null) { - queryParams.put("stepBreakdown", stepBreakdown) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetAnalyzedRecipeInstructions200Response.class ) - - } - - def getRandomRecipes ( Boolean limitLicense, Boolean includeNutrition, String includeTags, String excludeTags, Integer number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/random" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (limitLicense != null) { - queryParams.put("limitLicense", limitLicense) - } - if (includeNutrition != null) { - queryParams.put("includeNutrition", includeNutrition) - } - if (includeTags != null) { - queryParams.put("include-tags", includeTags) - } - if (excludeTags != null) { - queryParams.put("exclude-tags", excludeTags) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRandomRecipes200Response.class ) - - } - - def getRecipeEquipmentByID ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/equipmentWidget.json" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipeEquipmentByID200Response.class ) - - } - - def getRecipeInformation ( Integer id, Boolean includeNutrition, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/information" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (includeNutrition != null) { - queryParams.put("includeNutrition", includeNutrition) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipeInformation200Response.class ) - - } - - def getRecipeInformationBulk ( String ids, Boolean includeNutrition, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/informationBulk" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ids == null) { - throw new RuntimeException("missing required params ids") - } - - if (ids != null) { - queryParams.put("ids", ids) - } - if (includeNutrition != null) { - queryParams.put("includeNutrition", includeNutrition) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "set", - GetRecipeInformationBulk200ResponseInner.class ) - - } - - def getRecipeIngredientsByID ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/ingredientWidget.json" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipeIngredientsByID200Response.class ) - - } - - def getRecipeNutritionWidgetByID ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/nutritionWidget.json" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipeNutritionWidgetByID200Response.class ) - - } - - def getRecipePriceBreakdownByID ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/priceBreakdownWidget.json" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipePriceBreakdownByID200Response.class ) - - } - - def getRecipeTasteByID ( Integer id, Boolean normalize, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/tasteWidget.json" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (normalize != null) { - queryParams.put("normalize", normalize) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetRecipeTasteByID200Response.class ) - - } - - def getSimilarRecipes ( Integer id, Integer number, Boolean limitLicense, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/similar" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (number != null) { - queryParams.put("number", number) - } - if (limitLicense != null) { - queryParams.put("limitLicense", limitLicense) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "set", - GetSimilarRecipes200ResponseInner.class ) - - } - - def guessNutritionByDishName ( String title, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/guessNutrition" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (title == null) { - throw new RuntimeException("missing required params title") - } - - if (title != null) { - queryParams.put("title", title) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GuessNutritionByDishName200Response.class ) - - } - - def parseIngredients ( String ingredientList, BigDecimal servings, String language, Boolean includeNutrition, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/parseIngredients" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientList == null) { - throw new RuntimeException("missing required params ingredientList") - } - // verify required params are set - if (servings == null) { - throw new RuntimeException("missing required params servings") - } - - if (language != null) { - queryParams.put("language", language) - } - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("ingredientList", ingredientList) - bodyParams.put("servings", servings) - bodyParams.put("includeNutrition", includeNutrition) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "set", - ParseIngredients200ResponseInner.class ) - - } - - def priceBreakdownByIDImage ( BigDecimal id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/priceBreakdownWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def quickAnswer ( String q, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/quickAnswer" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (q == null) { - throw new RuntimeException("missing required params q") - } - - if (q != null) { - queryParams.put("q", q) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - QuickAnswer200Response.class ) - - } - - def recipeNutritionByIDImage ( BigDecimal id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/nutritionWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def recipeNutritionLabelImage ( BigDecimal id, Boolean showOptionalNutrients, Boolean showZeroValues, Boolean showIngredients, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/nutritionLabel.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (showOptionalNutrients != null) { - queryParams.put("showOptionalNutrients", showOptionalNutrients) - } - if (showZeroValues != null) { - queryParams.put("showZeroValues", showZeroValues) - } - if (showIngredients != null) { - queryParams.put("showIngredients", showIngredients) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def recipeNutritionLabelWidget ( BigDecimal id, Boolean defaultCss, Boolean showOptionalNutrients, Boolean showZeroValues, Boolean showIngredients, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/nutritionLabel" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - if (showOptionalNutrients != null) { - queryParams.put("showOptionalNutrients", showOptionalNutrients) - } - if (showZeroValues != null) { - queryParams.put("showZeroValues", showZeroValues) - } - if (showIngredients != null) { - queryParams.put("showIngredients", showIngredients) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def recipeTasteByIDImage ( BigDecimal id, Boolean normalize, String rgb, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/tasteWidget.png" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (normalize != null) { - queryParams.put("normalize", normalize) - } - if (rgb != null) { - queryParams.put("rgb", rgb) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - File.class ) - - } - - def searchRecipes ( String query, String cuisine, String excludeCuisine, String diet, String intolerances, String equipment, String includeIngredients, String excludeIngredients, String type, Boolean instructionsRequired, Boolean fillIngredients, Boolean addRecipeInformation, Boolean addRecipeNutrition, String author, String tags, BigDecimal recipeBoxId, String titleMatch, BigDecimal maxReadyTime, BigDecimal minServings, BigDecimal maxServings, Boolean ignorePantry, String sort, String sortDirection, BigDecimal minCarbs, BigDecimal maxCarbs, BigDecimal minProtein, BigDecimal maxProtein, BigDecimal minCalories, BigDecimal maxCalories, BigDecimal minFat, BigDecimal maxFat, BigDecimal minAlcohol, BigDecimal maxAlcohol, BigDecimal minCaffeine, BigDecimal maxCaffeine, BigDecimal minCopper, BigDecimal maxCopper, BigDecimal minCalcium, BigDecimal maxCalcium, BigDecimal minCholine, BigDecimal maxCholine, BigDecimal minCholesterol, BigDecimal maxCholesterol, BigDecimal minFluoride, BigDecimal maxFluoride, BigDecimal minSaturatedFat, BigDecimal maxSaturatedFat, BigDecimal minVitaminA, BigDecimal maxVitaminA, BigDecimal minVitaminC, BigDecimal maxVitaminC, BigDecimal minVitaminD, BigDecimal maxVitaminD, BigDecimal minVitaminE, BigDecimal maxVitaminE, BigDecimal minVitaminK, BigDecimal maxVitaminK, BigDecimal minVitaminB1, BigDecimal maxVitaminB1, BigDecimal minVitaminB2, BigDecimal maxVitaminB2, BigDecimal minVitaminB5, BigDecimal maxVitaminB5, BigDecimal minVitaminB3, BigDecimal maxVitaminB3, BigDecimal minVitaminB6, BigDecimal maxVitaminB6, BigDecimal minVitaminB12, BigDecimal maxVitaminB12, BigDecimal minFiber, BigDecimal maxFiber, BigDecimal minFolate, BigDecimal maxFolate, BigDecimal minFolicAcid, BigDecimal maxFolicAcid, BigDecimal minIodine, BigDecimal maxIodine, BigDecimal minIron, BigDecimal maxIron, BigDecimal minMagnesium, BigDecimal maxMagnesium, BigDecimal minManganese, BigDecimal maxManganese, BigDecimal minPhosphorus, BigDecimal maxPhosphorus, BigDecimal minPotassium, BigDecimal maxPotassium, BigDecimal minSelenium, BigDecimal maxSelenium, BigDecimal minSodium, BigDecimal maxSodium, BigDecimal minSugar, BigDecimal maxSugar, BigDecimal minZinc, BigDecimal maxZinc, Integer offset, Integer number, Boolean limitLicense, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/complexSearch" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (query != null) { - queryParams.put("query", query) - } - if (cuisine != null) { - queryParams.put("cuisine", cuisine) - } - if (excludeCuisine != null) { - queryParams.put("excludeCuisine", excludeCuisine) - } - if (diet != null) { - queryParams.put("diet", diet) - } - if (intolerances != null) { - queryParams.put("intolerances", intolerances) - } - if (equipment != null) { - queryParams.put("equipment", equipment) - } - if (includeIngredients != null) { - queryParams.put("includeIngredients", includeIngredients) - } - if (excludeIngredients != null) { - queryParams.put("excludeIngredients", excludeIngredients) - } - if (type != null) { - queryParams.put("type", type) - } - if (instructionsRequired != null) { - queryParams.put("instructionsRequired", instructionsRequired) - } - if (fillIngredients != null) { - queryParams.put("fillIngredients", fillIngredients) - } - if (addRecipeInformation != null) { - queryParams.put("addRecipeInformation", addRecipeInformation) - } - if (addRecipeNutrition != null) { - queryParams.put("addRecipeNutrition", addRecipeNutrition) - } - if (author != null) { - queryParams.put("author", author) - } - if (tags != null) { - queryParams.put("tags", tags) - } - if (recipeBoxId != null) { - queryParams.put("recipeBoxId", recipeBoxId) - } - if (titleMatch != null) { - queryParams.put("titleMatch", titleMatch) - } - if (maxReadyTime != null) { - queryParams.put("maxReadyTime", maxReadyTime) - } - if (minServings != null) { - queryParams.put("minServings", minServings) - } - if (maxServings != null) { - queryParams.put("maxServings", maxServings) - } - if (ignorePantry != null) { - queryParams.put("ignorePantry", ignorePantry) - } - if (sort != null) { - queryParams.put("sort", sort) - } - if (sortDirection != null) { - queryParams.put("sortDirection", sortDirection) - } - if (minCarbs != null) { - queryParams.put("minCarbs", minCarbs) - } - if (maxCarbs != null) { - queryParams.put("maxCarbs", maxCarbs) - } - if (minProtein != null) { - queryParams.put("minProtein", minProtein) - } - if (maxProtein != null) { - queryParams.put("maxProtein", maxProtein) - } - if (minCalories != null) { - queryParams.put("minCalories", minCalories) - } - if (maxCalories != null) { - queryParams.put("maxCalories", maxCalories) - } - if (minFat != null) { - queryParams.put("minFat", minFat) - } - if (maxFat != null) { - queryParams.put("maxFat", maxFat) - } - if (minAlcohol != null) { - queryParams.put("minAlcohol", minAlcohol) - } - if (maxAlcohol != null) { - queryParams.put("maxAlcohol", maxAlcohol) - } - if (minCaffeine != null) { - queryParams.put("minCaffeine", minCaffeine) - } - if (maxCaffeine != null) { - queryParams.put("maxCaffeine", maxCaffeine) - } - if (minCopper != null) { - queryParams.put("minCopper", minCopper) - } - if (maxCopper != null) { - queryParams.put("maxCopper", maxCopper) - } - if (minCalcium != null) { - queryParams.put("minCalcium", minCalcium) - } - if (maxCalcium != null) { - queryParams.put("maxCalcium", maxCalcium) - } - if (minCholine != null) { - queryParams.put("minCholine", minCholine) - } - if (maxCholine != null) { - queryParams.put("maxCholine", maxCholine) - } - if (minCholesterol != null) { - queryParams.put("minCholesterol", minCholesterol) - } - if (maxCholesterol != null) { - queryParams.put("maxCholesterol", maxCholesterol) - } - if (minFluoride != null) { - queryParams.put("minFluoride", minFluoride) - } - if (maxFluoride != null) { - queryParams.put("maxFluoride", maxFluoride) - } - if (minSaturatedFat != null) { - queryParams.put("minSaturatedFat", minSaturatedFat) - } - if (maxSaturatedFat != null) { - queryParams.put("maxSaturatedFat", maxSaturatedFat) - } - if (minVitaminA != null) { - queryParams.put("minVitaminA", minVitaminA) - } - if (maxVitaminA != null) { - queryParams.put("maxVitaminA", maxVitaminA) - } - if (minVitaminC != null) { - queryParams.put("minVitaminC", minVitaminC) - } - if (maxVitaminC != null) { - queryParams.put("maxVitaminC", maxVitaminC) - } - if (minVitaminD != null) { - queryParams.put("minVitaminD", minVitaminD) - } - if (maxVitaminD != null) { - queryParams.put("maxVitaminD", maxVitaminD) - } - if (minVitaminE != null) { - queryParams.put("minVitaminE", minVitaminE) - } - if (maxVitaminE != null) { - queryParams.put("maxVitaminE", maxVitaminE) - } - if (minVitaminK != null) { - queryParams.put("minVitaminK", minVitaminK) - } - if (maxVitaminK != null) { - queryParams.put("maxVitaminK", maxVitaminK) - } - if (minVitaminB1 != null) { - queryParams.put("minVitaminB1", minVitaminB1) - } - if (maxVitaminB1 != null) { - queryParams.put("maxVitaminB1", maxVitaminB1) - } - if (minVitaminB2 != null) { - queryParams.put("minVitaminB2", minVitaminB2) - } - if (maxVitaminB2 != null) { - queryParams.put("maxVitaminB2", maxVitaminB2) - } - if (minVitaminB5 != null) { - queryParams.put("minVitaminB5", minVitaminB5) - } - if (maxVitaminB5 != null) { - queryParams.put("maxVitaminB5", maxVitaminB5) - } - if (minVitaminB3 != null) { - queryParams.put("minVitaminB3", minVitaminB3) - } - if (maxVitaminB3 != null) { - queryParams.put("maxVitaminB3", maxVitaminB3) - } - if (minVitaminB6 != null) { - queryParams.put("minVitaminB6", minVitaminB6) - } - if (maxVitaminB6 != null) { - queryParams.put("maxVitaminB6", maxVitaminB6) - } - if (minVitaminB12 != null) { - queryParams.put("minVitaminB12", minVitaminB12) - } - if (maxVitaminB12 != null) { - queryParams.put("maxVitaminB12", maxVitaminB12) - } - if (minFiber != null) { - queryParams.put("minFiber", minFiber) - } - if (maxFiber != null) { - queryParams.put("maxFiber", maxFiber) - } - if (minFolate != null) { - queryParams.put("minFolate", minFolate) - } - if (maxFolate != null) { - queryParams.put("maxFolate", maxFolate) - } - if (minFolicAcid != null) { - queryParams.put("minFolicAcid", minFolicAcid) - } - if (maxFolicAcid != null) { - queryParams.put("maxFolicAcid", maxFolicAcid) - } - if (minIodine != null) { - queryParams.put("minIodine", minIodine) - } - if (maxIodine != null) { - queryParams.put("maxIodine", maxIodine) - } - if (minIron != null) { - queryParams.put("minIron", minIron) - } - if (maxIron != null) { - queryParams.put("maxIron", maxIron) - } - if (minMagnesium != null) { - queryParams.put("minMagnesium", minMagnesium) - } - if (maxMagnesium != null) { - queryParams.put("maxMagnesium", maxMagnesium) - } - if (minManganese != null) { - queryParams.put("minManganese", minManganese) - } - if (maxManganese != null) { - queryParams.put("maxManganese", maxManganese) - } - if (minPhosphorus != null) { - queryParams.put("minPhosphorus", minPhosphorus) - } - if (maxPhosphorus != null) { - queryParams.put("maxPhosphorus", maxPhosphorus) - } - if (minPotassium != null) { - queryParams.put("minPotassium", minPotassium) - } - if (maxPotassium != null) { - queryParams.put("maxPotassium", maxPotassium) - } - if (minSelenium != null) { - queryParams.put("minSelenium", minSelenium) - } - if (maxSelenium != null) { - queryParams.put("maxSelenium", maxSelenium) - } - if (minSodium != null) { - queryParams.put("minSodium", minSodium) - } - if (maxSodium != null) { - queryParams.put("maxSodium", maxSodium) - } - if (minSugar != null) { - queryParams.put("minSugar", minSugar) - } - if (maxSugar != null) { - queryParams.put("maxSugar", maxSugar) - } - if (minZinc != null) { - queryParams.put("minZinc", minZinc) - } - if (maxZinc != null) { - queryParams.put("maxZinc", maxZinc) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - if (limitLicense != null) { - queryParams.put("limitLicense", limitLicense) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SearchRecipes200Response.class ) - - } - - def searchRecipesByIngredients ( String ingredients, Integer number, Boolean limitLicense, BigDecimal ranking, Boolean ignorePantry, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/findByIngredients" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (ingredients != null) { - queryParams.put("ingredients", ingredients) - } - if (number != null) { - queryParams.put("number", number) - } - if (limitLicense != null) { - queryParams.put("limitLicense", limitLicense) - } - if (ranking != null) { - queryParams.put("ranking", ranking) - } - if (ignorePantry != null) { - queryParams.put("ignorePantry", ignorePantry) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "set", - SearchRecipesByIngredients200ResponseInner.class ) - - } - - def searchRecipesByNutrients ( BigDecimal minCarbs, BigDecimal maxCarbs, BigDecimal minProtein, BigDecimal maxProtein, BigDecimal minCalories, BigDecimal maxCalories, BigDecimal minFat, BigDecimal maxFat, BigDecimal minAlcohol, BigDecimal maxAlcohol, BigDecimal minCaffeine, BigDecimal maxCaffeine, BigDecimal minCopper, BigDecimal maxCopper, BigDecimal minCalcium, BigDecimal maxCalcium, BigDecimal minCholine, BigDecimal maxCholine, BigDecimal minCholesterol, BigDecimal maxCholesterol, BigDecimal minFluoride, BigDecimal maxFluoride, BigDecimal minSaturatedFat, BigDecimal maxSaturatedFat, BigDecimal minVitaminA, BigDecimal maxVitaminA, BigDecimal minVitaminC, BigDecimal maxVitaminC, BigDecimal minVitaminD, BigDecimal maxVitaminD, BigDecimal minVitaminE, BigDecimal maxVitaminE, BigDecimal minVitaminK, BigDecimal maxVitaminK, BigDecimal minVitaminB1, BigDecimal maxVitaminB1, BigDecimal minVitaminB2, BigDecimal maxVitaminB2, BigDecimal minVitaminB5, BigDecimal maxVitaminB5, BigDecimal minVitaminB3, BigDecimal maxVitaminB3, BigDecimal minVitaminB6, BigDecimal maxVitaminB6, BigDecimal minVitaminB12, BigDecimal maxVitaminB12, BigDecimal minFiber, BigDecimal maxFiber, BigDecimal minFolate, BigDecimal maxFolate, BigDecimal minFolicAcid, BigDecimal maxFolicAcid, BigDecimal minIodine, BigDecimal maxIodine, BigDecimal minIron, BigDecimal maxIron, BigDecimal minMagnesium, BigDecimal maxMagnesium, BigDecimal minManganese, BigDecimal maxManganese, BigDecimal minPhosphorus, BigDecimal maxPhosphorus, BigDecimal minPotassium, BigDecimal maxPotassium, BigDecimal minSelenium, BigDecimal maxSelenium, BigDecimal minSodium, BigDecimal maxSodium, BigDecimal minSugar, BigDecimal maxSugar, BigDecimal minZinc, BigDecimal maxZinc, Integer offset, Integer number, Boolean random, Boolean limitLicense, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/findByNutrients" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - - if (minCarbs != null) { - queryParams.put("minCarbs", minCarbs) - } - if (maxCarbs != null) { - queryParams.put("maxCarbs", maxCarbs) - } - if (minProtein != null) { - queryParams.put("minProtein", minProtein) - } - if (maxProtein != null) { - queryParams.put("maxProtein", maxProtein) - } - if (minCalories != null) { - queryParams.put("minCalories", minCalories) - } - if (maxCalories != null) { - queryParams.put("maxCalories", maxCalories) - } - if (minFat != null) { - queryParams.put("minFat", minFat) - } - if (maxFat != null) { - queryParams.put("maxFat", maxFat) - } - if (minAlcohol != null) { - queryParams.put("minAlcohol", minAlcohol) - } - if (maxAlcohol != null) { - queryParams.put("maxAlcohol", maxAlcohol) - } - if (minCaffeine != null) { - queryParams.put("minCaffeine", minCaffeine) - } - if (maxCaffeine != null) { - queryParams.put("maxCaffeine", maxCaffeine) - } - if (minCopper != null) { - queryParams.put("minCopper", minCopper) - } - if (maxCopper != null) { - queryParams.put("maxCopper", maxCopper) - } - if (minCalcium != null) { - queryParams.put("minCalcium", minCalcium) - } - if (maxCalcium != null) { - queryParams.put("maxCalcium", maxCalcium) - } - if (minCholine != null) { - queryParams.put("minCholine", minCholine) - } - if (maxCholine != null) { - queryParams.put("maxCholine", maxCholine) - } - if (minCholesterol != null) { - queryParams.put("minCholesterol", minCholesterol) - } - if (maxCholesterol != null) { - queryParams.put("maxCholesterol", maxCholesterol) - } - if (minFluoride != null) { - queryParams.put("minFluoride", minFluoride) - } - if (maxFluoride != null) { - queryParams.put("maxFluoride", maxFluoride) - } - if (minSaturatedFat != null) { - queryParams.put("minSaturatedFat", minSaturatedFat) - } - if (maxSaturatedFat != null) { - queryParams.put("maxSaturatedFat", maxSaturatedFat) - } - if (minVitaminA != null) { - queryParams.put("minVitaminA", minVitaminA) - } - if (maxVitaminA != null) { - queryParams.put("maxVitaminA", maxVitaminA) - } - if (minVitaminC != null) { - queryParams.put("minVitaminC", minVitaminC) - } - if (maxVitaminC != null) { - queryParams.put("maxVitaminC", maxVitaminC) - } - if (minVitaminD != null) { - queryParams.put("minVitaminD", minVitaminD) - } - if (maxVitaminD != null) { - queryParams.put("maxVitaminD", maxVitaminD) - } - if (minVitaminE != null) { - queryParams.put("minVitaminE", minVitaminE) - } - if (maxVitaminE != null) { - queryParams.put("maxVitaminE", maxVitaminE) - } - if (minVitaminK != null) { - queryParams.put("minVitaminK", minVitaminK) - } - if (maxVitaminK != null) { - queryParams.put("maxVitaminK", maxVitaminK) - } - if (minVitaminB1 != null) { - queryParams.put("minVitaminB1", minVitaminB1) - } - if (maxVitaminB1 != null) { - queryParams.put("maxVitaminB1", maxVitaminB1) - } - if (minVitaminB2 != null) { - queryParams.put("minVitaminB2", minVitaminB2) - } - if (maxVitaminB2 != null) { - queryParams.put("maxVitaminB2", maxVitaminB2) - } - if (minVitaminB5 != null) { - queryParams.put("minVitaminB5", minVitaminB5) - } - if (maxVitaminB5 != null) { - queryParams.put("maxVitaminB5", maxVitaminB5) - } - if (minVitaminB3 != null) { - queryParams.put("minVitaminB3", minVitaminB3) - } - if (maxVitaminB3 != null) { - queryParams.put("maxVitaminB3", maxVitaminB3) - } - if (minVitaminB6 != null) { - queryParams.put("minVitaminB6", minVitaminB6) - } - if (maxVitaminB6 != null) { - queryParams.put("maxVitaminB6", maxVitaminB6) - } - if (minVitaminB12 != null) { - queryParams.put("minVitaminB12", minVitaminB12) - } - if (maxVitaminB12 != null) { - queryParams.put("maxVitaminB12", maxVitaminB12) - } - if (minFiber != null) { - queryParams.put("minFiber", minFiber) - } - if (maxFiber != null) { - queryParams.put("maxFiber", maxFiber) - } - if (minFolate != null) { - queryParams.put("minFolate", minFolate) - } - if (maxFolate != null) { - queryParams.put("maxFolate", maxFolate) - } - if (minFolicAcid != null) { - queryParams.put("minFolicAcid", minFolicAcid) - } - if (maxFolicAcid != null) { - queryParams.put("maxFolicAcid", maxFolicAcid) - } - if (minIodine != null) { - queryParams.put("minIodine", minIodine) - } - if (maxIodine != null) { - queryParams.put("maxIodine", maxIodine) - } - if (minIron != null) { - queryParams.put("minIron", minIron) - } - if (maxIron != null) { - queryParams.put("maxIron", maxIron) - } - if (minMagnesium != null) { - queryParams.put("minMagnesium", minMagnesium) - } - if (maxMagnesium != null) { - queryParams.put("maxMagnesium", maxMagnesium) - } - if (minManganese != null) { - queryParams.put("minManganese", minManganese) - } - if (maxManganese != null) { - queryParams.put("maxManganese", maxManganese) - } - if (minPhosphorus != null) { - queryParams.put("minPhosphorus", minPhosphorus) - } - if (maxPhosphorus != null) { - queryParams.put("maxPhosphorus", maxPhosphorus) - } - if (minPotassium != null) { - queryParams.put("minPotassium", minPotassium) - } - if (maxPotassium != null) { - queryParams.put("maxPotassium", maxPotassium) - } - if (minSelenium != null) { - queryParams.put("minSelenium", minSelenium) - } - if (maxSelenium != null) { - queryParams.put("maxSelenium", maxSelenium) - } - if (minSodium != null) { - queryParams.put("minSodium", minSodium) - } - if (maxSodium != null) { - queryParams.put("maxSodium", maxSodium) - } - if (minSugar != null) { - queryParams.put("minSugar", minSugar) - } - if (maxSugar != null) { - queryParams.put("maxSugar", maxSugar) - } - if (minZinc != null) { - queryParams.put("minZinc", minZinc) - } - if (maxZinc != null) { - queryParams.put("maxZinc", maxZinc) - } - if (offset != null) { - queryParams.put("offset", offset) - } - if (number != null) { - queryParams.put("number", number) - } - if (random != null) { - queryParams.put("random", random) - } - if (limitLicense != null) { - queryParams.put("limitLicense", limitLicense) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "set", - SearchRecipesByNutrients200ResponseInner.class ) - - } - - def summarizeRecipe ( Integer id, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/summary" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - SummarizeRecipe200Response.class ) - - } - - def visualizeEquipment ( String instructions, String view, Boolean defaultCss, Boolean showBacklink, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/visualizeEquipment" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (instructions == null) { - throw new RuntimeException("missing required params instructions") - } - - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("instructions", instructions) - bodyParams.put("view", view) - bodyParams.put("defaultCss", defaultCss) - bodyParams.put("showBacklink", showBacklink) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - String.class ) - - } - - def visualizePriceBreakdown ( String ingredientList, BigDecimal servings, String language, BigDecimal mode, Boolean defaultCss, Boolean showBacklink, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/visualizePriceEstimator" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientList == null) { - throw new RuntimeException("missing required params ingredientList") - } - // verify required params are set - if (servings == null) { - throw new RuntimeException("missing required params servings") - } - - if (language != null) { - queryParams.put("language", language) - } - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("ingredientList", ingredientList) - bodyParams.put("servings", servings) - bodyParams.put("mode", mode) - bodyParams.put("defaultCss", defaultCss) - bodyParams.put("showBacklink", showBacklink) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - String.class ) - - } - - def visualizeRecipeEquipmentByID ( Integer id, Boolean defaultCss, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/equipmentWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def visualizeRecipeIngredientsByID ( Integer id, Boolean defaultCss, String measure, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/ingredientWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - if (measure != null) { - queryParams.put("measure", measure) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def visualizeRecipeNutrition ( String ingredientList, BigDecimal servings, String language, Boolean defaultCss, Boolean showBacklink, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/visualizeNutrition" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientList == null) { - throw new RuntimeException("missing required params ingredientList") - } - // verify required params are set - if (servings == null) { - throw new RuntimeException("missing required params servings") - } - - if (language != null) { - queryParams.put("language", language) - } - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("ingredientList", ingredientList) - bodyParams.put("servings", servings) - bodyParams.put("defaultCss", defaultCss) - bodyParams.put("showBacklink", showBacklink) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - String.class ) - - } - - def visualizeRecipeNutritionByID ( Integer id, Boolean defaultCss, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/nutritionWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def visualizeRecipePriceBreakdownByID ( Integer id, Boolean defaultCss, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/priceBreakdownWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (defaultCss != null) { - queryParams.put("defaultCss", defaultCss) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - - def visualizeRecipeTaste ( String ingredientList, String language, Boolean normalize, String rgb, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/visualizeTaste" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (ingredientList == null) { - throw new RuntimeException("missing required params ingredientList") - } - - if (language != null) { - queryParams.put("language", language) - } - - - - contentType = 'application/x-www-form-urlencoded'; - bodyParams = [:] - bodyParams.put("ingredientList", ingredientList) - bodyParams.put("normalize", normalize) - bodyParams.put("rgb", rgb) - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "POST", "", - String.class ) - - } - - def visualizeRecipeTasteByID ( Integer id, Boolean normalize, String rgb, Closure onSuccess, Closure onFailure) { - String resourcePath = "/recipes/${id}/tasteWidget" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (id == null) { - throw new RuntimeException("missing required params id") - } - - if (normalize != null) { - queryParams.put("normalize", normalize) - } - if (rgb != null) { - queryParams.put("rgb", rgb) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - String.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/api/WineApi.groovy b/groovy/src/main/groovy/org/openapitools/api/WineApi.groovy deleted file mode 100644 index c109342d0..000000000 --- a/groovy/src/main/groovy/org/openapitools/api/WineApi.groovy +++ /dev/null @@ -1,135 +0,0 @@ -package org.openapitools.api; - -import org.openapitools.api.ApiUtils -import java.math.BigDecimal -import org.openapitools.model.GetDishPairingForWine200Response -import org.openapitools.model.GetWineDescription200Response -import org.openapitools.model.GetWinePairing200Response -import org.openapitools.model.GetWineRecommendation200Response - -class WineApi { - String basePath = "https://api.spoonacular.com" - String versionPath = "" - ApiUtils apiUtils = new ApiUtils(); - - def getDishPairingForWine ( String wine, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/wine/dishes" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (wine == null) { - throw new RuntimeException("missing required params wine") - } - - if (wine != null) { - queryParams.put("wine", wine) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetDishPairingForWine200Response.class ) - - } - - def getWineDescription ( String wine, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/wine/description" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (wine == null) { - throw new RuntimeException("missing required params wine") - } - - if (wine != null) { - queryParams.put("wine", wine) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetWineDescription200Response.class ) - - } - - def getWinePairing ( String food, BigDecimal maxPrice, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/wine/pairing" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (food == null) { - throw new RuntimeException("missing required params food") - } - - if (food != null) { - queryParams.put("food", food) - } - if (maxPrice != null) { - queryParams.put("maxPrice", maxPrice) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetWinePairing200Response.class ) - - } - - def getWineRecommendation ( String wine, BigDecimal maxPrice, BigDecimal minRating, BigDecimal number, Closure onSuccess, Closure onFailure) { - String resourcePath = "/food/wine/recommendation" - - // params - def queryParams = [:] - def headerParams = [:] - def bodyParams - def contentType - - // verify required params are set - if (wine == null) { - throw new RuntimeException("missing required params wine") - } - - if (wine != null) { - queryParams.put("wine", wine) - } - if (maxPrice != null) { - queryParams.put("maxPrice", maxPrice) - } - if (minRating != null) { - queryParams.put("minRating", minRating) - } - if (number != null) { - queryParams.put("number", number) - } - - - - - apiUtils.invokeApi(onSuccess, onFailure, basePath, versionPath, resourcePath, queryParams, headerParams, bodyParams, contentType, - "GET", "", - GetWineRecommendation200Response.class ) - - } - -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200Response.groovy deleted file mode 100644 index 041bfd398..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200Response.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AddMealPlanTemplate200ResponseItemsInner; - -@Canonical -class AddMealPlanTemplate200Response { - - String name - - Set items = new LinkedHashSet<>() - - Boolean publishAsPublic -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInner.groovy deleted file mode 100644 index 275a8309e..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInner.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.AddMealPlanTemplate200ResponseItemsInnerValue; - -@Canonical -class AddMealPlanTemplate200ResponseItemsInner { - - Integer day - - Integer slot - - Integer position - - String type - - AddMealPlanTemplate200ResponseItemsInnerValue value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInnerValue.groovy b/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInnerValue.groovy deleted file mode 100644 index 935af5001..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddMealPlanTemplate200ResponseItemsInnerValue.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class AddMealPlanTemplate200ResponseItemsInnerValue { - - Integer id - - BigDecimal servings - - String title - - String imageType -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequest.groovy deleted file mode 100644 index f5e4462fb..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequest.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.model.AddToMealPlanRequestValue; - -@Canonical -class AddToMealPlanRequest { - - BigDecimal date - - Integer slot - - Integer position - - String type - - AddToMealPlanRequestValue value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequestValue.groovy b/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequestValue.groovy deleted file mode 100644 index 2b4689697..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequestValue.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AddToMealPlanRequestValueIngredientsInner; - -@Canonical -class AddToMealPlanRequestValue { - - Set ingredients = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequestValueIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequestValueIngredientsInner.groovy deleted file mode 100644 index e74a28d4b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddToMealPlanRequestValueIngredientsInner.groovy +++ /dev/null @@ -1,11 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class AddToMealPlanRequestValueIngredientsInner { - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AddToShoppingListRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/AddToShoppingListRequest.groovy deleted file mode 100644 index 1931cafc0..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AddToShoppingListRequest.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class AddToShoppingListRequest { - - String item - - String aisle - - Boolean parse -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200Response.groovy deleted file mode 100644 index 3edf98368..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200Response.groovy +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AnalyzeARecipeSearchQuery200ResponseDishesInner; -import org.openapitools.model.AnalyzeARecipeSearchQuery200ResponseIngredientsInner; - -@Canonical -class AnalyzeARecipeSearchQuery200Response { - - Set dishes = new LinkedHashSet<>() - - Set ingredients = new LinkedHashSet<>() - - List cuisines = new ArrayList<>() - - List modifiers = new ArrayList<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.groovy deleted file mode 100644 index 9cb2cfa5d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class AnalyzeARecipeSearchQuery200ResponseDishesInner { - - String image - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.groovy deleted file mode 100644 index cd2398435..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class AnalyzeARecipeSearchQuery200ResponseIngredientsInner { - - String image - - Boolean include - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200Response.groovy deleted file mode 100644 index e39914ec1..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200Response.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AnalyzeRecipeInstructions200ResponseIngredientsInner; -import org.openapitools.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInner; - -@Canonical -class AnalyzeRecipeInstructions200Response { - - Set parsedInstructions = new LinkedHashSet<>() - - Set ingredients = new LinkedHashSet<>() - - Set equipment = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.groovy deleted file mode 100644 index 8739b3e22..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class AnalyzeRecipeInstructions200ResponseIngredientsInner { - - BigDecimal id - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.groovy deleted file mode 100644 index 5c1172465..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner; - -@Canonical -class AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { - - String name - - Set steps -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy deleted file mode 100644 index fec40b3b2..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner; - -@Canonical -class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { - - BigDecimal number - - String step - - Set ingredients - - Set equipment -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy deleted file mode 100644 index c595238f0..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { - - BigDecimal id - - String name - - String localizedName - - String image -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeRequest.groovy deleted file mode 100644 index afd388538..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AnalyzeRecipeRequest.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class AnalyzeRecipeRequest { - - String title - - Integer servings - - List ingredients - - String instructions -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AutocompleteIngredientSearch200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AutocompleteIngredientSearch200ResponseInner.groovy deleted file mode 100644 index 959d171ae..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AutocompleteIngredientSearch200ResponseInner.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class AutocompleteIngredientSearch200ResponseInner { - - String name - - String image - - Integer id - - String aisle - - List possibleUnits -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AutocompleteMenuItemSearch200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/AutocompleteMenuItemSearch200Response.groovy deleted file mode 100644 index 463b761d8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AutocompleteMenuItemSearch200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AutocompleteProductSearch200ResponseResultsInner; - -@Canonical -class AutocompleteMenuItemSearch200Response { - - Set results = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AutocompleteProductSearch200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/AutocompleteProductSearch200Response.groovy deleted file mode 100644 index b7e37d1a4..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AutocompleteProductSearch200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AutocompleteProductSearch200ResponseResultsInner; - -@Canonical -class AutocompleteProductSearch200Response { - - Set results = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AutocompleteProductSearch200ResponseResultsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AutocompleteProductSearch200ResponseResultsInner.groovy deleted file mode 100644 index c4e0b0a93..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AutocompleteProductSearch200ResponseResultsInner.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class AutocompleteProductSearch200ResponseResultsInner { - - Integer id - - String title -} diff --git a/groovy/src/main/groovy/org/openapitools/model/AutocompleteRecipeSearch200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/AutocompleteRecipeSearch200ResponseInner.groovy deleted file mode 100644 index 78062f11b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/AutocompleteRecipeSearch200ResponseInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class AutocompleteRecipeSearch200ResponseInner { - - Integer id - - String title - - String imageType -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ClassifyCuisine200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ClassifyCuisine200Response.groovy deleted file mode 100644 index d2febf2f8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ClassifyCuisine200Response.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class ClassifyCuisine200Response { - - String cuisine - - List cuisines = new ArrayList<>() - - BigDecimal confidence -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProduct200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProduct200Response.groovy deleted file mode 100644 index 16518dd52..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProduct200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class ClassifyGroceryProduct200Response { - - String cleanTitle - - String image - - String category - - List breadcrumbs = new ArrayList<>() - - Integer usdaCode -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulk200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulk200ResponseInner.groovy deleted file mode 100644 index 47b022cac..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulk200ResponseInner.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class ClassifyGroceryProductBulk200ResponseInner { - - String cleanTitle - - String image - - String category - - List breadcrumbs = new ArrayList<>() - - Integer usdaCode -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulkRequestInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulkRequestInner.groovy deleted file mode 100644 index acf6d6ff8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductBulkRequestInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class ClassifyGroceryProductBulkRequestInner { - - String title - - String upc - - String pluCode -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductRequest.groovy deleted file mode 100644 index 5db1f508f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ClassifyGroceryProductRequest.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class ClassifyGroceryProductRequest { - - String title - - String upc - - String pluCode -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200Response.groovy deleted file mode 100644 index c79557995..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200Response.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.ComputeGlycemicLoad200ResponseIngredientsInner; - -@Canonical -class ComputeGlycemicLoad200Response { - - BigDecimal totalGlycemicLoad - - Set ingredients = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200ResponseIngredientsInner.groovy deleted file mode 100644 index d34c5f7b0..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoad200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ComputeGlycemicLoad200ResponseIngredientsInner { - - Integer id - - String original - - BigDecimal glycemicIndex - - BigDecimal glycemicLoad -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoadRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoadRequest.groovy deleted file mode 100644 index afd756535..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ComputeGlycemicLoadRequest.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class ComputeGlycemicLoadRequest { - - List ingredients = new ArrayList<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ComputeIngredientAmount200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ComputeIngredientAmount200Response.groovy deleted file mode 100644 index 6f5611f58..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ComputeIngredientAmount200Response.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ComputeIngredientAmount200Response { - - BigDecimal amount - - String unit -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ConnectUser200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ConnectUser200Response.groovy deleted file mode 100644 index 7e3f232fd..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ConnectUser200Response.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class ConnectUser200Response { - - String username - - String hash -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ConnectUserRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/ConnectUserRequest.groovy deleted file mode 100644 index 6a75e53b8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ConnectUserRequest.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class ConnectUserRequest { - - String username - - String firstName - - String lastName - - String email -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ConvertAmounts200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ConvertAmounts200Response.groovy deleted file mode 100644 index 8743ebdf9..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ConvertAmounts200Response.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ConvertAmounts200Response { - - BigDecimal sourceAmount - - String sourceUnit - - BigDecimal targetAmount - - String targetUnit - - String answer -} diff --git a/groovy/src/main/groovy/org/openapitools/model/CreateRecipeCard200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/CreateRecipeCard200Response.groovy deleted file mode 100644 index a8f21caad..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/CreateRecipeCard200Response.groovy +++ /dev/null @@ -1,11 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class CreateRecipeCard200Response { - - String url -} diff --git a/groovy/src/main/groovy/org/openapitools/model/DetectFoodInText200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/DetectFoodInText200Response.groovy deleted file mode 100644 index 5faee668d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/DetectFoodInText200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.DetectFoodInText200ResponseAnnotationsInner; - -@Canonical -class DetectFoodInText200Response { - - Set annotations = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/DetectFoodInText200ResponseAnnotationsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/DetectFoodInText200ResponseAnnotationsInner.groovy deleted file mode 100644 index a38224f8a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/DetectFoodInText200ResponseAnnotationsInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class DetectFoodInText200ResponseAnnotationsInner { - - String annotation - - String image - - String tag -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GenerateMealPlan200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GenerateMealPlan200Response.groovy deleted file mode 100644 index 1c4bde608..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GenerateMealPlan200Response.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GenerateMealPlan200ResponseNutrients; -import org.openapitools.model.GetSimilarRecipes200ResponseInner; - -@Canonical -class GenerateMealPlan200Response { - - Set meals = new LinkedHashSet<>() - - GenerateMealPlan200ResponseNutrients nutrients -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GenerateMealPlan200ResponseNutrients.groovy b/groovy/src/main/groovy/org/openapitools/model/GenerateMealPlan200ResponseNutrients.groovy deleted file mode 100644 index a1ac91f9e..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GenerateMealPlan200ResponseNutrients.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GenerateMealPlan200ResponseNutrients { - - BigDecimal calories - - BigDecimal carbohydrates - - BigDecimal fat - - BigDecimal protein -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GenerateShoppingList200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GenerateShoppingList200Response.groovy deleted file mode 100644 index b8949d96b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GenerateShoppingList200Response.groovy +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetShoppingList200ResponseAislesInner; - -@Canonical -class GenerateShoppingList200Response { - - Set aisles = new LinkedHashSet<>() - - BigDecimal cost - - BigDecimal startDate - - BigDecimal endDate -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetARandomFoodJoke200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetARandomFoodJoke200Response.groovy deleted file mode 100644 index bc6ef0d57..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetARandomFoodJoke200Response.groovy +++ /dev/null @@ -1,11 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetARandomFoodJoke200Response { - - String text -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200Response.groovy deleted file mode 100644 index 1f7ab2799..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200Response.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetAnalyzedRecipeInstructions200ResponseIngredientsInner; -import org.openapitools.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner; - -@Canonical -class GetAnalyzedRecipeInstructions200Response { - - Set parsedInstructions = new LinkedHashSet<>() - - Set ingredients = new LinkedHashSet<>() - - Set equipment = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.groovy deleted file mode 100644 index a1f6ec0e6..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetAnalyzedRecipeInstructions200ResponseIngredientsInner { - - Integer id - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.groovy deleted file mode 100644 index b90918cda..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner; - -@Canonical -class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { - - String name - - Set steps -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy deleted file mode 100644 index a03887d26..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.groovy +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner; - -@Canonical -class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { - - BigDecimal number - - String step - - Set ingredients - - Set equipment -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy deleted file mode 100644 index 0ca65197d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { - - Integer id - - String name - - String localizedName - - String image -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200Response.groovy deleted file mode 100644 index e889527c5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200Response.groovy +++ /dev/null @@ -1,12 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GetComparableProducts200ResponseComparableProducts; - -@Canonical -class GetComparableProducts200Response { - - GetComparableProducts200ResponseComparableProducts comparableProducts -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProducts.groovy b/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProducts.groovy deleted file mode 100644 index 41f9e0063..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProducts.groovy +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetComparableProducts200ResponseComparableProductsProteinInner; - -@Canonical -class GetComparableProducts200ResponseComparableProducts { - - List calories = new ArrayList<>() - - List likes = new ArrayList<>() - - List price = new ArrayList<>() - - Set protein = new LinkedHashSet<>() - - Set spoonacularScore = new LinkedHashSet<>() - - List sugar = new ArrayList<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProductsProteinInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProductsProteinInner.groovy deleted file mode 100644 index ba3377d09..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetComparableProducts200ResponseComparableProductsProteinInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetComparableProducts200ResponseComparableProductsProteinInner { - - BigDecimal difference - - Integer id - - String image - - String title -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200Response.groovy deleted file mode 100644 index 3366b04a0..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200Response.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.GetConversationSuggests200ResponseSuggests; - -@Canonical -class GetConversationSuggests200Response { - - GetConversationSuggests200ResponseSuggests suggests - - List words = new ArrayList<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggests.groovy b/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggests.groovy deleted file mode 100644 index b847d8f83..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggests.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetConversationSuggests200ResponseSuggestsInner; - -@Canonical -class GetConversationSuggests200ResponseSuggests { - - Set u = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggestsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggestsInner.groovy deleted file mode 100644 index afb37c06d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetConversationSuggests200ResponseSuggestsInner.groovy +++ /dev/null @@ -1,11 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetConversationSuggests200ResponseSuggestsInner { - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetDishPairingForWine200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetDishPairingForWine200Response.groovy deleted file mode 100644 index 17f64c2f5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetDishPairingForWine200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class GetDishPairingForWine200Response { - - List pairings = new ArrayList<>() - - String text -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetIngredientInformation200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetIngredientInformation200Response.groovy deleted file mode 100644 index e8c531d7f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetIngredientInformation200Response.groovy +++ /dev/null @@ -1,50 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.GetIngredientInformation200ResponseNutrition; -import org.openapitools.model.ParseIngredients200ResponseInnerEstimatedCost; - -@Canonical -class GetIngredientInformation200Response { - - Integer id - - String original - - String originalName - - String name - - String nameClean - - BigDecimal amount - - String unit - - String unitShort - - String unitLong - - List possibleUnits = new ArrayList<>() - - ParseIngredients200ResponseInnerEstimatedCost estimatedCost - - String consistency - - List shoppingListUnits = new ArrayList<>() - - String aisle - - String image - - List meta = new ArrayList<>() - - GetIngredientInformation200ResponseNutrition nutrition - - List categoryPath = new ArrayList<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetIngredientInformation200ResponseNutrition.groovy b/groovy/src/main/groovy/org/openapitools/model/GetIngredientInformation200ResponseNutrition.groovy deleted file mode 100644 index 33676bc4a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetIngredientInformation200ResponseNutrition.groovy +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionNutrientsInner; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionPropertiesInner; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionWeightPerServing; - -@Canonical -class GetIngredientInformation200ResponseNutrition { - - Set nutrients = new LinkedHashSet<>() - - Set properties = new LinkedHashSet<>() - - ParseIngredients200ResponseInnerNutritionCaloricBreakdown caloricBreakdown - - ParseIngredients200ResponseInnerNutritionWeightPerServing weightPerServing -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetIngredientSubstitutes200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetIngredientSubstitutes200Response.groovy deleted file mode 100644 index 2791af830..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetIngredientSubstitutes200Response.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class GetIngredientSubstitutes200Response { - - String ingredient - - List substitutes = new ArrayList<>() - - String message -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200Response.groovy deleted file mode 100644 index 70961a310..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200Response.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetMealPlanTemplate200ResponseDaysInner; - -@Canonical -class GetMealPlanTemplate200Response { - - Integer id - - String name - - Set days = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInner.groovy deleted file mode 100644 index 49f6dca4d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInner.groovy +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetMealPlanTemplate200ResponseDaysInnerItemsInner; -import org.openapitools.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummary; - -@Canonical -class GetMealPlanTemplate200ResponseDaysInner { - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummary - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummaryBreakfast - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummaryLunch - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummaryDinner - - String day - - Set items -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.groovy deleted file mode 100644 index 546b18ab7..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue; - -@Canonical -class GetMealPlanTemplate200ResponseDaysInnerItemsInner { - - Integer id - - Integer slot - - Integer position - - String type - - GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.groovy deleted file mode 100644 index e45eeb07f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { - - BigDecimal id - - String title - - String imageType -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplates200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplates200Response.groovy deleted file mode 100644 index dc7e79a9f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanTemplates200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetAnalyzedRecipeInstructions200ResponseIngredientsInner; - -@Canonical -class GetMealPlanTemplates200Response { - - Set templates = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200Response.groovy deleted file mode 100644 index 27963ae18..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetMealPlanWeek200ResponseDaysInner; - -@Canonical -class GetMealPlanWeek200Response { - - Set days = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInner.groovy deleted file mode 100644 index 32d15f52c..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInner.groovy +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetMealPlanWeek200ResponseDaysInnerItemsInner; -import org.openapitools.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummary; - -@Canonical -class GetMealPlanWeek200ResponseDaysInner { - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummary - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummaryBreakfast - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummaryLunch - - GetMealPlanWeek200ResponseDaysInnerNutritionSummary nutritionSummaryDinner - - BigDecimal date - - String day - - Set items -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.groovy deleted file mode 100644 index 49732af60..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GetMealPlanWeek200ResponseDaysInnerItemsInnerValue; - -@Canonical -class GetMealPlanWeek200ResponseDaysInnerItemsInner { - - Integer id - - Integer slot - - Integer position - - String type - - GetMealPlanWeek200ResponseDaysInnerItemsInnerValue value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.groovy deleted file mode 100644 index c6ed613e5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { - - BigDecimal servings - - BigDecimal id - - String title - - String imageType -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.groovy deleted file mode 100644 index e5341383a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner; - -@Canonical -class GetMealPlanWeek200ResponseDaysInnerNutritionSummary { - - Set nutrients = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.groovy deleted file mode 100644 index 649029ff5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { - - String name - - BigDecimal amount - - String unit - - BigDecimal percentDailyNeeds -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetMenuItemInformation200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetMenuItemInformation200Response.groovy deleted file mode 100644 index 6ddbad1d1..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetMenuItemInformation200Response.groovy +++ /dev/null @@ -1,38 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseNutrition; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseServings; - -@Canonical -class GetMenuItemInformation200Response { - - Integer id - - String title - - String restaurantChain - - SearchGroceryProductsByUPC200ResponseNutrition nutrition - - List badges = new ArrayList<>() - - List breadcrumbs = new ArrayList<>() - - String generatedText - - String imageType - - BigDecimal likes - - SearchGroceryProductsByUPC200ResponseServings servings - - BigDecimal price - - BigDecimal spoonacularScore -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetProductInformation200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetProductInformation200Response.groovy deleted file mode 100644 index e04639c23..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetProductInformation200Response.groovy +++ /dev/null @@ -1,47 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.GetProductInformation200ResponseIngredientsInner; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseNutrition; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseServings; - -@Canonical -class GetProductInformation200Response { - - Integer id - - String title - - List breadcrumbs = new ArrayList<>() - - String imageType - - List badges = new ArrayList<>() - - List importantBadges = new ArrayList<>() - - Integer ingredientCount - - String generatedText - - String ingredientList - - List ingredients = new ArrayList<>() - - BigDecimal likes - - String aisle - - SearchGroceryProductsByUPC200ResponseNutrition nutrition - - BigDecimal price - - SearchGroceryProductsByUPC200ResponseServings servings - - BigDecimal spoonacularScore -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetProductInformation200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetProductInformation200ResponseIngredientsInner.groovy deleted file mode 100644 index 0d069cc1b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetProductInformation200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetProductInformation200ResponseIngredientsInner { - - String description - - String name - - String safetyLevel -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRandomFoodTrivia200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRandomFoodTrivia200Response.groovy deleted file mode 100644 index a67ed7707..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRandomFoodTrivia200Response.groovy +++ /dev/null @@ -1,11 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetRandomFoodTrivia200Response { - - String text -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRandomRecipes200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRandomRecipes200Response.groovy deleted file mode 100644 index 494dc7c67..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRandomRecipes200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRandomRecipes200ResponseRecipesInner; - -@Canonical -class GetRandomRecipes200Response { - - Set recipes = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRandomRecipes200ResponseRecipesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRandomRecipes200ResponseRecipesInner.groovy deleted file mode 100644 index 5b270b700..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRandomRecipes200ResponseRecipesInner.groovy +++ /dev/null @@ -1,91 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeInformation200ResponseExtendedIngredientsInner; -import org.openapitools.model.GetRecipeInformation200ResponseWinePairing; - -@Canonical -class GetRandomRecipes200ResponseRecipesInner { - - Integer id - - String title - - String image - - String imageType - - BigDecimal servings - - Integer readyInMinutes - - String license - - String sourceName - - String sourceUrl - - String spoonacularSourceUrl - - BigDecimal aggregateLikes - - BigDecimal healthScore - - BigDecimal spoonacularScore - - BigDecimal pricePerServing - - List analyzedInstructions - - Boolean cheap - - String creditsText - - List cuisines - - Boolean dairyFree - - List diets - - String gaps - - Boolean glutenFree - - String instructions - - Boolean ketogenic - - Boolean lowFodmap - - List occasions - - Boolean sustainable - - Boolean vegan - - Boolean vegetarian - - Boolean veryHealthy - - Boolean veryPopular - - Boolean whole30 - - BigDecimal weightWatcherSmartPoints - - List dishTypes - - Set extendedIngredients - - String summary - - GetRecipeInformation200ResponseWinePairing winePairing -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200Response.groovy deleted file mode 100644 index caa1f2f23..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeEquipmentByID200ResponseEquipmentInner; - -@Canonical -class GetRecipeEquipmentByID200Response { - - Set equipment = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200ResponseEquipmentInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200ResponseEquipmentInner.groovy deleted file mode 100644 index 6bfe3b82d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeEquipmentByID200ResponseEquipmentInner.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetRecipeEquipmentByID200ResponseEquipmentInner { - - String image - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200Response.groovy deleted file mode 100644 index 254204bd9..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200Response.groovy +++ /dev/null @@ -1,91 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeInformation200ResponseExtendedIngredientsInner; -import org.openapitools.model.GetRecipeInformation200ResponseWinePairing; - -@Canonical -class GetRecipeInformation200Response { - - Integer id - - String title - - String image - - String imageType - - BigDecimal servings - - Integer readyInMinutes - - String license - - String sourceName - - String sourceUrl - - String spoonacularSourceUrl - - Integer aggregateLikes - - BigDecimal healthScore - - BigDecimal spoonacularScore - - BigDecimal pricePerServing - - List analyzedInstructions = new ArrayList<>() - - Boolean cheap - - String creditsText - - List cuisines = new ArrayList<>() - - Boolean dairyFree - - List diets = new ArrayList<>() - - String gaps - - Boolean glutenFree - - String instructions - - Boolean ketogenic - - Boolean lowFodmap - - List occasions = new ArrayList<>() - - Boolean sustainable - - Boolean vegan - - Boolean vegetarian - - Boolean veryHealthy - - Boolean veryPopular - - Boolean whole30 - - BigDecimal weightWatcherSmartPoints - - List dishTypes = new ArrayList<>() - - Set extendedIngredients = new LinkedHashSet<>() - - String summary - - GetRecipeInformation200ResponseWinePairing winePairing -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInner.groovy deleted file mode 100644 index a3648361e..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInner.groovy +++ /dev/null @@ -1,35 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures; - -@Canonical -class GetRecipeInformation200ResponseExtendedIngredientsInner { - - String aisle - - BigDecimal amount - - String consitency - - Integer id - - String image - - GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures measures - - List meta - - String name - - String original - - String originalName - - String unit -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.groovy deleted file mode 100644 index 15715c8aa..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric; - -@Canonical -class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { - - GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric metric - - GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric us -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.groovy deleted file mode 100644 index 119220419..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { - - BigDecimal amount - - String unitLong - - String unitShort -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairing.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairing.groovy deleted file mode 100644 index 0a6b323f7..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairing.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeInformation200ResponseWinePairingProductMatchesInner; - -@Canonical -class GetRecipeInformation200ResponseWinePairing { - - List pairedWines = new ArrayList<>() - - String pairingText - - Set productMatches = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.groovy deleted file mode 100644 index c62b2b066..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.groovy +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetRecipeInformation200ResponseWinePairingProductMatchesInner { - - Integer id - - String title - - String description - - String price - - String imageUrl - - BigDecimal averageRating - - Integer ratingCount - - BigDecimal score - - String link -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformationBulk200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformationBulk200ResponseInner.groovy deleted file mode 100644 index 6c8484c6d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeInformationBulk200ResponseInner.groovy +++ /dev/null @@ -1,91 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeInformation200ResponseExtendedIngredientsInner; -import org.openapitools.model.GetRecipeInformation200ResponseWinePairing; - -@Canonical -class GetRecipeInformationBulk200ResponseInner { - - Integer id - - String title - - String image - - String imageType - - BigDecimal servings - - Integer readyInMinutes - - String license - - String sourceName - - String sourceUrl - - String spoonacularSourceUrl - - Integer aggregateLikes - - BigDecimal healthScore - - BigDecimal spoonacularScore - - BigDecimal pricePerServing - - List analyzedInstructions = new ArrayList<>() - - Boolean cheap - - String creditsText - - List cuisines = new ArrayList<>() - - Boolean dairyFree - - List diets = new ArrayList<>() - - String gaps - - Boolean glutenFree - - String instructions - - Boolean ketogenic - - Boolean lowFodmap - - List occasions = new ArrayList<>() - - Boolean sustainable - - Boolean vegan - - Boolean vegetarian - - Boolean veryHealthy - - Boolean veryPopular - - Boolean whole30 - - BigDecimal weightWatcherSmartPoints - - List dishTypes = new ArrayList<>() - - Set extendedIngredients = new LinkedHashSet<>() - - String summary - - GetRecipeInformation200ResponseWinePairing winePairing -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200Response.groovy deleted file mode 100644 index be84ad317..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeIngredientsByID200ResponseIngredientsInner; - -@Canonical -class GetRecipeIngredientsByID200Response { - - Set ingredients = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200ResponseIngredientsInner.groovy deleted file mode 100644 index b343d0575..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeIngredientsByID200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount; - -@Canonical -class GetRecipeIngredientsByID200ResponseIngredientsInner { - - GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount amount - - String image - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200Response.groovy deleted file mode 100644 index c93742e65..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200Response.groovy +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipeNutritionWidgetByID200ResponseBadInner; -import org.openapitools.model.GetRecipeNutritionWidgetByID200ResponseGoodInner; - -@Canonical -class GetRecipeNutritionWidgetByID200Response { - - String calories - - String carbs - - String fat - - String protein - - Set bad = new LinkedHashSet<>() - - Set good = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseBadInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseBadInner.groovy deleted file mode 100644 index 58890b364..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseBadInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetRecipeNutritionWidgetByID200ResponseBadInner { - - String name - - String amount - - Boolean indented - - BigDecimal percentOfDailyNeeds -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.groovy deleted file mode 100644 index 7750c5cc2..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetRecipeNutritionWidgetByID200ResponseGoodInner { - - String amount - - Boolean indented - - BigDecimal percentOfDailyNeeds - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200Response.groovy deleted file mode 100644 index ca8791026..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200Response.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetRecipePriceBreakdownByID200ResponseIngredientsInner; - -@Canonical -class GetRecipePriceBreakdownByID200Response { - - Set ingredients = new LinkedHashSet<>() - - BigDecimal totalCost - - BigDecimal totalCostPerServing -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.groovy deleted file mode 100644 index f409a5ee3..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount; - -@Canonical -class GetRecipePriceBreakdownByID200ResponseIngredientsInner { - - GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount amount - - String image - - String name - - BigDecimal price -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.groovy deleted file mode 100644 index 982bf9c7f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric; - -@Canonical -class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount { - - GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric metric - - GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric us -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.groovy deleted file mode 100644 index 07dd0c3b1..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric { - - String unit - - BigDecimal value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetRecipeTasteByID200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetRecipeTasteByID200Response.groovy deleted file mode 100644 index 0c4b56e0b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetRecipeTasteByID200Response.groovy +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetRecipeTasteByID200Response { - - BigDecimal sweetness - - BigDecimal saltiness - - BigDecimal sourness - - BigDecimal bitterness - - BigDecimal savoriness - - BigDecimal fattiness - - BigDecimal spiciness -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200Response.groovy deleted file mode 100644 index 636f6d9b1..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200Response.groovy +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetShoppingList200ResponseAislesInner; - -@Canonical -class GetShoppingList200Response { - - Set aisles = new LinkedHashSet<>() - - BigDecimal cost - - BigDecimal startDate - - BigDecimal endDate -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInner.groovy deleted file mode 100644 index 9342f6d2b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInner.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetShoppingList200ResponseAislesInnerItemsInner; - -@Canonical -class GetShoppingList200ResponseAislesInner { - - String aisle - - Set items -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInner.groovy deleted file mode 100644 index 348cc6712..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInner.groovy +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.model.GetShoppingList200ResponseAislesInnerItemsInnerMeasures; - -@Canonical -class GetShoppingList200ResponseAislesInnerItemsInner { - - Integer id - - String name - - GetShoppingList200ResponseAislesInnerItemsInnerMeasures measures - - Boolean pantryItem - - String aisle - - BigDecimal cost - - Integer ingredientId -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.groovy b/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.groovy deleted file mode 100644 index 86c0f73b0..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionWeightPerServing; - -@Canonical -class GetShoppingList200ResponseAislesInnerItemsInnerMeasures { - - ParseIngredients200ResponseInnerNutritionWeightPerServing original - - ParseIngredients200ResponseInnerNutritionWeightPerServing metric - - ParseIngredients200ResponseInnerNutritionWeightPerServing us -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetSimilarRecipes200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetSimilarRecipes200ResponseInner.groovy deleted file mode 100644 index 1d682bb29..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetSimilarRecipes200ResponseInner.groovy +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetSimilarRecipes200ResponseInner { - - Integer id - - String title - - String imageType - - Integer readyInMinutes - - BigDecimal servings - - String sourceUrl -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetWineDescription200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetWineDescription200Response.groovy deleted file mode 100644 index 37cfdc8b5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetWineDescription200Response.groovy +++ /dev/null @@ -1,11 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class GetWineDescription200Response { - - String wineDescription -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetWinePairing200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetWinePairing200Response.groovy deleted file mode 100644 index d86cd35b9..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetWinePairing200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetWinePairing200ResponseProductMatchesInner; - -@Canonical -class GetWinePairing200Response { - - List pairedWines = new ArrayList<>() - - String pairingText - - Set productMatches = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetWinePairing200ResponseProductMatchesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetWinePairing200ResponseProductMatchesInner.groovy deleted file mode 100644 index aa0950bf2..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetWinePairing200ResponseProductMatchesInner.groovy +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetWinePairing200ResponseProductMatchesInner { - - Integer id - - String title - - BigDecimal averageRating - - String description - - String imageUrl - - String link - - String price - - Integer ratingCount - - BigDecimal score -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetWineRecommendation200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GetWineRecommendation200Response.groovy deleted file mode 100644 index 9ab0b6135..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetWineRecommendation200Response.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.GetWineRecommendation200ResponseRecommendedWinesInner; - -@Canonical -class GetWineRecommendation200Response { - - Set recommendedWines = new LinkedHashSet<>() - - Integer totalFound -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GetWineRecommendation200ResponseRecommendedWinesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/GetWineRecommendation200ResponseRecommendedWinesInner.groovy deleted file mode 100644 index 11f31134b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GetWineRecommendation200ResponseRecommendedWinesInner.groovy +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GetWineRecommendation200ResponseRecommendedWinesInner { - - Integer id - - String title - - BigDecimal averageRating - - String description - - String imageUrl - - String link - - String price - - Integer ratingCount - - BigDecimal score -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200Response.groovy deleted file mode 100644 index 30a15fdcc..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200Response.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.GuessNutritionByDishName200ResponseCalories; - -@Canonical -class GuessNutritionByDishName200Response { - - GuessNutritionByDishName200ResponseCalories calories - - GuessNutritionByDishName200ResponseCalories carbs - - GuessNutritionByDishName200ResponseCalories fat - - GuessNutritionByDishName200ResponseCalories protein - - Integer recipesUsed -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCalories.groovy b/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCalories.groovy deleted file mode 100644 index 43e39419b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCalories.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.model.GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent; - -@Canonical -class GuessNutritionByDishName200ResponseCalories { - - GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent confidenceRange95Percent - - BigDecimal standardDeviation - - String unit - - BigDecimal value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.groovy b/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.groovy deleted file mode 100644 index 0fecf1662..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { - - BigDecimal max - - BigDecimal min -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200Response.groovy deleted file mode 100644 index 0db849c10..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.ImageAnalysisByURL200ResponseCategory; -import org.openapitools.model.ImageAnalysisByURL200ResponseNutrition; -import org.openapitools.model.ImageAnalysisByURL200ResponseRecipesInner; - -@Canonical -class ImageAnalysisByURL200Response { - - ImageAnalysisByURL200ResponseNutrition nutrition - - ImageAnalysisByURL200ResponseCategory category - - Set recipes = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseCategory.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseCategory.groovy deleted file mode 100644 index be4dad048..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseCategory.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ImageAnalysisByURL200ResponseCategory { - - String name - - BigDecimal probability -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutrition.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutrition.groovy deleted file mode 100644 index 73c181914..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutrition.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.ImageAnalysisByURL200ResponseNutritionCalories; - -@Canonical -class ImageAnalysisByURL200ResponseNutrition { - - Integer recipesUsed - - ImageAnalysisByURL200ResponseNutritionCalories calories - - ImageAnalysisByURL200ResponseNutritionCalories fat - - ImageAnalysisByURL200ResponseNutritionCalories protein - - ImageAnalysisByURL200ResponseNutritionCalories carbs -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCalories.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCalories.groovy deleted file mode 100644 index 1c74c3fdd..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCalories.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import org.openapitools.model.ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent; - -@Canonical -class ImageAnalysisByURL200ResponseNutritionCalories { - - BigDecimal value - - String unit - - ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent confidenceRange95Percent - - BigDecimal standardDeviation -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.groovy deleted file mode 100644 index 895d01ea7..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent { - - BigDecimal min - - BigDecimal max -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseRecipesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseRecipesInner.groovy deleted file mode 100644 index cdb460fba..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageAnalysisByURL200ResponseRecipesInner.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class ImageAnalysisByURL200ResponseRecipesInner { - - Integer id - - String title - - String imageType - - String url -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ImageClassificationByURL200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/ImageClassificationByURL200Response.groovy deleted file mode 100644 index fb203550c..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ImageClassificationByURL200Response.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ImageClassificationByURL200Response { - - String category - - BigDecimal probability -} diff --git a/groovy/src/main/groovy/org/openapitools/model/IngredientSearch200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/IngredientSearch200Response.groovy deleted file mode 100644 index 986ff310a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/IngredientSearch200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.IngredientSearch200ResponseResultsInner; - -@Canonical -class IngredientSearch200Response { - - Set results = new LinkedHashSet<>() - - Integer offset - - Integer number - - Integer totalResults -} diff --git a/groovy/src/main/groovy/org/openapitools/model/IngredientSearch200ResponseResultsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/IngredientSearch200ResponseResultsInner.groovy deleted file mode 100644 index 3de7f7184..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/IngredientSearch200ResponseResultsInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class IngredientSearch200ResponseResultsInner { - - Integer id - - String name - - String image -} diff --git a/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInner.groovy deleted file mode 100644 index 33a47449a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInner.groovy +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.MapIngredientsToGroceryProducts200ResponseInnerProductsInner; - -@Canonical -class MapIngredientsToGroceryProducts200ResponseInner { - - String original - - String originalName - - String ingredientImage - - List meta = new ArrayList<>() - - Set products = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.groovy deleted file mode 100644 index a816b86d8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class MapIngredientsToGroceryProducts200ResponseInnerProductsInner { - - Integer id - - String title - - String upc -} diff --git a/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProductsRequest.groovy b/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProductsRequest.groovy deleted file mode 100644 index 6453ad01c..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/MapIngredientsToGroceryProductsRequest.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class MapIngredientsToGroceryProductsRequest { - - List ingredients = new ArrayList<>() - - BigDecimal servings -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInner.groovy deleted file mode 100644 index dfd48318a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInner.groovy +++ /dev/null @@ -1,46 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.ParseIngredients200ResponseInnerEstimatedCost; -import org.openapitools.model.ParseIngredients200ResponseInnerNutrition; - -@Canonical -class ParseIngredients200ResponseInner { - - Integer id - - String original - - String originalName - - String name - - String nameClean - - BigDecimal amount - - String unit - - String unitShort - - String unitLong - - List possibleUnits = new ArrayList<>() - - ParseIngredients200ResponseInnerEstimatedCost estimatedCost - - String consistency - - String aisle - - String image - - List meta = new ArrayList<>() - - ParseIngredients200ResponseInnerNutrition nutrition -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerEstimatedCost.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerEstimatedCost.groovy deleted file mode 100644 index bd0bb3beb..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerEstimatedCost.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ParseIngredients200ResponseInnerEstimatedCost { - - BigDecimal value - - String unit -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutrition.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutrition.groovy deleted file mode 100644 index f4b906d23..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutrition.groovy +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionNutrientsInner; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionPropertiesInner; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionWeightPerServing; - -@Canonical -class ParseIngredients200ResponseInnerNutrition { - - Set nutrients = new LinkedHashSet<>() - - Set properties = new LinkedHashSet<>() - - Set flavonoids = new LinkedHashSet<>() - - ParseIngredients200ResponseInnerNutritionCaloricBreakdown caloricBreakdown - - ParseIngredients200ResponseInnerNutritionWeightPerServing weightPerServing -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.groovy deleted file mode 100644 index 81ff37547..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ParseIngredients200ResponseInnerNutritionCaloricBreakdown { - - BigDecimal percentProtein - - BigDecimal percentFat - - BigDecimal percentCarbs -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.groovy deleted file mode 100644 index 28d1b275a..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ParseIngredients200ResponseInnerNutritionNutrientsInner { - - String name - - BigDecimal amount - - String unit - - BigDecimal percentOfDailyNeeds -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.groovy deleted file mode 100644 index d100529bf..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ParseIngredients200ResponseInnerNutritionPropertiesInner { - - String name - - BigDecimal amount - - String unit -} diff --git a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.groovy b/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.groovy deleted file mode 100644 index 2055d93a3..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class ParseIngredients200ResponseInnerNutritionWeightPerServing { - - BigDecimal amount - - String unit -} diff --git a/groovy/src/main/groovy/org/openapitools/model/QuickAnswer200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/QuickAnswer200Response.groovy deleted file mode 100644 index 98bec704d..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/QuickAnswer200Response.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class QuickAnswer200Response { - - String answer - - String image -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200Response.groovy deleted file mode 100644 index 90831c94f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200Response.groovy +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchAllFood200ResponseSearchResultsInner; - -@Canonical -class SearchAllFood200Response { - - String query - - Integer totalResults - - Integer limit - - Integer offset - - Set searchResults = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInner.groovy deleted file mode 100644 index f0df89ec5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInner.groovy +++ /dev/null @@ -1,19 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchAllFood200ResponseSearchResultsInnerResultsInner; - -@Canonical -class SearchAllFood200ResponseSearchResultsInner { - - String name - - Integer totalResults - - Set results -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.groovy deleted file mode 100644 index 6ef53edf5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.groovy +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class SearchAllFood200ResponseSearchResultsInnerResultsInner { - - String id - - String name - - String image - - String link - - String type - - BigDecimal relevance - - String content -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchCustomFoods200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchCustomFoods200Response.groovy deleted file mode 100644 index 49d5dbf79..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchCustomFoods200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchCustomFoods200ResponseCustomFoodsInner; - -@Canonical -class SearchCustomFoods200Response { - - Set customFoods = new LinkedHashSet<>() - - String type - - Integer offset - - Integer number -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchCustomFoods200ResponseCustomFoodsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchCustomFoods200ResponseCustomFoodsInner.groovy deleted file mode 100644 index 7bee2eaab..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchCustomFoods200ResponseCustomFoodsInner.groovy +++ /dev/null @@ -1,20 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class SearchCustomFoods200ResponseCustomFoodsInner { - - Integer id - - String title - - BigDecimal servings - - String imageUrl - - BigDecimal price -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchFoodVideos200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchFoodVideos200Response.groovy deleted file mode 100644 index e3d9970b8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchFoodVideos200Response.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchFoodVideos200ResponseVideosInner; - -@Canonical -class SearchFoodVideos200Response { - - Set videos = new LinkedHashSet<>() - - Integer totalResults -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchFoodVideos200ResponseVideosInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchFoodVideos200ResponseVideosInner.groovy deleted file mode 100644 index 979e624e4..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchFoodVideos200ResponseVideosInner.groovy +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class SearchFoodVideos200ResponseVideosInner { - - String title - - Integer length - - BigDecimal rating - - String shortTitle - - String thumbnail - - Integer views - - String youTubeId -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProducts200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProducts200Response.groovy deleted file mode 100644 index ab8401bcf..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProducts200Response.groovy +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.AutocompleteRecipeSearch200ResponseInner; - -@Canonical -class SearchGroceryProducts200Response { - - Set products = new LinkedHashSet<>() - - Integer totalProducts - - String type - - Integer offset - - Integer number -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200Response.groovy deleted file mode 100644 index de34e15db..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200Response.groovy +++ /dev/null @@ -1,48 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseIngredientsInner; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseNutrition; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseServings; - -@Canonical -class SearchGroceryProductsByUPC200Response { - - Integer id - - String title - - List badges = new ArrayList<>() - - List importantBadges = new ArrayList<>() - - List breadcrumbs = new ArrayList<>() - - String generatedText - - String imageType - - Integer ingredientCount - - String ingredientList - - Set ingredients = new LinkedHashSet<>() - - BigDecimal likes - - SearchGroceryProductsByUPC200ResponseNutrition nutrition - - BigDecimal price - - SearchGroceryProductsByUPC200ResponseServings servings - - BigDecimal spoonacularScore -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.groovy deleted file mode 100644 index 393654d11..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class SearchGroceryProductsByUPC200ResponseIngredientsInner { - - String description - - String name - - String safetyLevel -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseNutrition.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseNutrition.groovy deleted file mode 100644 index 516f090b7..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseNutrition.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown; -import org.openapitools.model.ParseIngredients200ResponseInnerNutritionNutrientsInner; - -@Canonical -class SearchGroceryProductsByUPC200ResponseNutrition { - - Set nutrients = new LinkedHashSet<>() - - ParseIngredients200ResponseInnerNutritionCaloricBreakdown caloricBreakdown -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseServings.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseServings.groovy deleted file mode 100644 index eab664c60..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchGroceryProductsByUPC200ResponseServings.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class SearchGroceryProductsByUPC200ResponseServings { - - BigDecimal number - - BigDecimal size - - String unit -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchMenuItems200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchMenuItems200Response.groovy deleted file mode 100644 index fbb25aaf3..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchMenuItems200Response.groovy +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchMenuItems200ResponseMenuItemsInner; - -@Canonical -class SearchMenuItems200Response { - - Set menuItems = new LinkedHashSet<>() - - Integer totalMenuItems - - String type - - Integer offset - - Integer number -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchMenuItems200ResponseMenuItemsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchMenuItems200ResponseMenuItemsInner.groovy deleted file mode 100644 index 814bb3e43..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchMenuItems200ResponseMenuItemsInner.groovy +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.SearchGroceryProductsByUPC200ResponseServings; - -@Canonical -class SearchMenuItems200ResponseMenuItemsInner { - - Integer id - - String title - - String restaurantChain - - String image - - String imageType - - SearchGroceryProductsByUPC200ResponseServings servings -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRecipes200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRecipes200Response.groovy deleted file mode 100644 index 83a669b68..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRecipes200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchRecipes200ResponseResultsInner; - -@Canonical -class SearchRecipes200Response { - - Integer offset - - Integer number - - Set results = new LinkedHashSet<>() - - Integer totalResults -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRecipes200ResponseResultsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRecipes200ResponseResultsInner.groovy deleted file mode 100644 index 755084365..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRecipes200ResponseResultsInner.groovy +++ /dev/null @@ -1,17 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class SearchRecipes200ResponseResultsInner { - - Integer id - - String title - - String image - - String imageType -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInner.groovy deleted file mode 100644 index fd384ea9e..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInner.groovy +++ /dev/null @@ -1,36 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner; - -@Canonical -class SearchRecipesByIngredients200ResponseInner { - - Integer id - - String image - - String imageType - - Integer likes - - Integer missedIngredientCount - - Set missedIngredients = new LinkedHashSet<>() - - String title - - List unusedIngredients = new ArrayList<>() - - BigDecimal usedIngredientCount - - Set usedIngredients = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.groovy deleted file mode 100644 index f166fa871..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.groovy +++ /dev/null @@ -1,36 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; - -@Canonical -class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { - - String aisle - - BigDecimal amount - - Integer id - - String image - - List meta - - String name - - String extendedName - - String original - - String originalName - - String unit - - String unitLong - - String unitShort -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByNutrients200ResponseInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByNutrients200ResponseInner.groovy deleted file mode 100644 index 6df1b42ae..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRecipesByNutrients200ResponseInner.groovy +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class SearchRecipesByNutrients200ResponseInner { - - BigDecimal calories - - String carbs - - String fat - - Integer id - - String image - - String imageType - - String protein - - String title -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200Response.groovy deleted file mode 100644 index 73d3ecd35..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200Response.groovy +++ /dev/null @@ -1,14 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.SearchRestaurants200ResponseRestaurantsInner; - -@Canonical -class SearchRestaurants200Response { - - List restaurants -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInner.groovy deleted file mode 100644 index bdf63ac3b..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInner.groovy +++ /dev/null @@ -1,54 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.SearchRestaurants200ResponseRestaurantsInnerAddress; -import org.openapitools.model.SearchRestaurants200ResponseRestaurantsInnerLocalHours; - -@Canonical -class SearchRestaurants200ResponseRestaurantsInner { - - String id - - String name - - Integer phoneNumber - - SearchRestaurants200ResponseRestaurantsInnerAddress address - - String type - - String description - - SearchRestaurants200ResponseRestaurantsInnerLocalHours localHours - - List cuisines - - List foodPhotos - - List logoPhotos - - List storePhotos - - Integer dollarSigns - - Boolean pickupEnabled - - Boolean deliveryEnabled - - Boolean isOpen - - Boolean offersFirstPartyDelivery - - Boolean offersThirdPartyDelivery - - BigDecimal miles - - BigDecimal weightedRatingValue - - Integer aggregatedRatingCount -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerAddress.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerAddress.groovy deleted file mode 100644 index e94179930..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerAddress.groovy +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.math.BigDecimal; - -@Canonical -class SearchRestaurants200ResponseRestaurantsInnerAddress { - - String streetAddr - - String city - - String state - - String zipcode - - String country - - BigDecimal lat - - BigDecimal lon - - String streetAddr2 - - BigDecimal latitude - - BigDecimal longitude -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.groovy deleted file mode 100644 index d3dad37e5..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.groovy +++ /dev/null @@ -1,18 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import org.openapitools.model.SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational; - -@Canonical -class SearchRestaurants200ResponseRestaurantsInnerLocalHours { - - SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational operational - - SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational delivery - - SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational pickup - - SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational dineIn -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.groovy deleted file mode 100644 index 4d0fb6c73..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.groovy +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational { - - String monday - - String tuesday - - String wednesday - - String thursday - - String friday - - String saturday - - String sunday -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200Response.groovy deleted file mode 100644 index 9519d1242..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200Response.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchSiteContent200ResponseArticlesInner; - -@Canonical -class SearchSiteContent200Response { - - Set articles = new LinkedHashSet<>() - - Set groceryProducts = new LinkedHashSet<>() - - Set menuItems = new LinkedHashSet<>() - - Set recipes = new LinkedHashSet<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInner.groovy deleted file mode 100644 index 5199f6be8..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInner.groovy +++ /dev/null @@ -1,21 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.LinkedHashSet; -import java.util.Set; -import org.openapitools.model.SearchSiteContent200ResponseArticlesInnerDataPointsInner; - -@Canonical -class SearchSiteContent200ResponseArticlesInner { - - Set dataPoints - - String image - - String link - - String name -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.groovy b/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.groovy deleted file mode 100644 index eb78787a2..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.groovy +++ /dev/null @@ -1,13 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class SearchSiteContent200ResponseArticlesInnerDataPointsInner { - - String key - - String value -} diff --git a/groovy/src/main/groovy/org/openapitools/model/SummarizeRecipe200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/SummarizeRecipe200Response.groovy deleted file mode 100644 index 2dfa87a92..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/SummarizeRecipe200Response.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class SummarizeRecipe200Response { - - Integer id - - String summary - - String title -} diff --git a/groovy/src/main/groovy/org/openapitools/model/TalkToChatbot200Response.groovy b/groovy/src/main/groovy/org/openapitools/model/TalkToChatbot200Response.groovy deleted file mode 100644 index e59112b3f..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/TalkToChatbot200Response.groovy +++ /dev/null @@ -1,16 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.util.ArrayList; -import java.util.Arrays; -import org.openapitools.model.TalkToChatbot200ResponseMediaInner; - -@Canonical -class TalkToChatbot200Response { - - String answerText - - List media = new ArrayList<>() -} diff --git a/groovy/src/main/groovy/org/openapitools/model/TalkToChatbot200ResponseMediaInner.groovy b/groovy/src/main/groovy/org/openapitools/model/TalkToChatbot200ResponseMediaInner.groovy deleted file mode 100644 index 70db14b88..000000000 --- a/groovy/src/main/groovy/org/openapitools/model/TalkToChatbot200ResponseMediaInner.groovy +++ /dev/null @@ -1,15 +0,0 @@ -package org.openapitools.model; - -import groovy.transform.Canonical -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -@Canonical -class TalkToChatbot200ResponseMediaInner { - - String title - - String image - - String link -} diff --git a/haskell/.openapi-generator/VERSION b/haskell/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/haskell/.openapi-generator/VERSION +++ b/haskell/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/haskell/lib/Spoonacular/Core.hs b/haskell/lib/Spoonacular/Core.hs index 80d6bb91a..4c813bcea 100644 --- a/haskell/lib/Spoonacular/Core.hs +++ b/haskell/lib/Spoonacular/Core.hs @@ -51,6 +51,7 @@ import qualified Data.Maybe as P import qualified Data.Proxy as P (Proxy(..)) import qualified Data.Text as T import qualified Data.Text.Encoding as T +import qualified Data.Text.Lazy.Encoding as TL import qualified Data.Time as TI import qualified Data.Time.ISO8601 as TI import qualified GHC.Base as P (Alternative) @@ -340,6 +341,9 @@ toQuery :: WH.ToHttpApiData a => (BC.ByteString, Maybe a) -> [NH.QueryItem] toQuery x = [(fmap . fmap) toQueryParam x] where toQueryParam = T.encodeUtf8 . WH.toQueryParam +toJsonQuery :: A.ToJSON a => (BC.ByteString, Maybe a) -> [NH.QueryItem] +toJsonQuery = toQuery . (fmap . fmap) (TL.decodeUtf8 . A.encode) + toPartialEscapeQuery :: B.ByteString -> NH.Query -> NH.PartialEscapeQuery toPartialEscapeQuery extraUnreserved query = fmap (\(k, v) -> (k, maybe [] go v)) query where go :: B.ByteString -> [NH.EscapeItem] @@ -372,6 +376,9 @@ toFormColl c xs = WH.toForm $ fmap unpack $ _toColl c toHeader $ pack xs toQueryColl :: WH.ToHttpApiData a => CollectionFormat -> (BC.ByteString, Maybe [a]) -> NH.Query toQueryColl c xs = _toCollA c toQuery xs +toJsonQueryColl :: A.ToJSON a => CollectionFormat -> (BC.ByteString, Maybe [a]) -> NH.Query +toJsonQueryColl c xs = _toCollA c toJsonQuery xs + _toColl :: P.Traversable f => CollectionFormat -> (f a -> [(b, BC.ByteString)]) -> f [a] -> [(b, BC.ByteString)] _toColl c encode xs = fmap (fmap P.fromJust) (_toCollA' c fencode BC.singleton (fmap Just xs)) where fencode = fmap (fmap Just) . encode . fmap P.fromJust diff --git a/haskell/lib/Spoonacular/Model.hs b/haskell/lib/Spoonacular/Model.hs index 457fe16ff..0dc8f7fd7 100644 --- a/haskell/lib/Spoonacular/Model.hs +++ b/haskell/lib/Spoonacular/Model.hs @@ -17,6 +17,7 @@ Module : Spoonacular.Model {-# LANGUAGE DeriveFoldable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DeriveTraversable #-} +{-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE MultiParamTypeClasses #-} diff --git a/haskell/spoonacular.cabal b/haskell/spoonacular.cabal index a6962d40e..1c99d8ebf 100644 --- a/haskell/spoonacular.cabal +++ b/haskell/spoonacular.cabal @@ -12,6 +12,8 @@ description: . . OpenAPI version: 3.0.0 . + Generator version: 7.7.0-SNAPSHOT + . category: Web homepage: https://openapi-generator.tech author: Author Name Here diff --git a/java/.github/workflows/maven.yml b/java/.github/workflows/maven.yml index 5d346b820..83539b07c 100644 --- a/java/.github/workflows/maven.yml +++ b/java/.github/workflows/maven.yml @@ -17,11 +17,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '8' ] + java: [ 17, 21 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: 'temurin' diff --git a/java/.openapi-generator/VERSION b/java/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/java/.openapi-generator/VERSION +++ b/java/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/java/README.md b/java/README.md index 0efcf4c8e..ed334a8ee 100644 --- a/java/README.md +++ b/java/README.md @@ -2,6 +2,7 @@ spoonacular API - API version: 1.1 + - Generator version: 7.7.0-SNAPSHOT The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. @@ -42,7 +43,7 @@ Add this dependency to your project's POM: com.spoonacular java-client - 1.1.1 + 1.1.2 compile ``` @@ -58,7 +59,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "com.spoonacular:java-client:1.1.1" + implementation "com.spoonacular:java-client:1.1.2" } ``` @@ -72,7 +73,7 @@ mvn clean package Then manually install the following JARs: -* `target/java-client-1.1.1.jar` +* `target/java-client-1.1.2.jar` * `target/lib/*.jar` ## Getting Started diff --git a/java/api/openapi.yaml b/java/api/openapi.yaml index 2f2b2439f..bdce8c86f 100644 --- a/java/api/openapi.yaml +++ b/java/api/openapi.yaml @@ -1093,7 +1093,8 @@ paths: summary: Search Recipes tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/findByIngredients: get: deprecated: false @@ -1444,7 +1445,8 @@ paths: summary: Search Recipes by Ingredients tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/findByNutrients: get: deprecated: false @@ -2243,7 +2245,8 @@ paths: summary: Search Recipes by Nutrients tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/information: get: deprecated: false @@ -2605,7 +2608,8 @@ paths: summary: Get Recipe Information tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/informationBulk: get: deprecated: false @@ -3598,7 +3602,8 @@ paths: summary: Get Recipe Information Bulk tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/similar: get: deprecated: false @@ -3691,7 +3696,8 @@ paths: summary: Get Similar Recipes tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/random: get: deprecated: false @@ -4091,7 +4097,8 @@ paths: summary: Get Random Recipes tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/autocomplete: get: deprecated: false @@ -4173,7 +4180,8 @@ paths: summary: Autocomplete Recipe Search tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/tasteWidget.json: get: deprecated: false @@ -4229,7 +4237,8 @@ paths: summary: Taste by ID tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/tasteWidget.png: get: deprecated: false @@ -4284,7 +4293,8 @@ paths: summary: Recipe Taste by ID Image tags: - recipes - x-accepts: image/png + x-accepts: + - image/png /recipes/{id}/equipmentWidget.json: get: deprecated: false @@ -4331,7 +4341,8 @@ paths: summary: Equipment by ID tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/equipmentWidget.png: get: deprecated: false @@ -4367,7 +4378,8 @@ paths: summary: Equipment by ID Image tags: - recipes - x-accepts: image/png + x-accepts: + - image/png /recipes/{id}/priceBreakdownWidget.json: get: deprecated: false @@ -4508,7 +4520,8 @@ paths: summary: Price Breakdown by ID tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/priceBreakdownWidget.png: get: deprecated: false @@ -4544,7 +4557,8 @@ paths: summary: Price Breakdown by ID Image tags: - recipes - x-accepts: image/png + x-accepts: + - image/png /recipes/{id}/ingredientWidget.json: get: deprecated: false @@ -4682,7 +4696,8 @@ paths: summary: Ingredients by ID tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/ingredientWidget.png: get: deprecated: false @@ -4730,7 +4745,8 @@ paths: summary: Ingredients by ID Image tags: - ingredients - x-accepts: image/png + x-accepts: + - image/png /recipes/{id}/nutritionWidget.json: get: deprecated: false @@ -4886,7 +4902,8 @@ paths: summary: Nutrition by ID tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/nutritionWidget.png: get: deprecated: false @@ -4922,7 +4939,8 @@ paths: summary: Recipe Nutrition by ID Image tags: - recipes - x-accepts: image/png + x-accepts: + - image/png /recipes/{id}/nutritionLabel: get: deprecated: false @@ -4994,7 +5012,8 @@ paths: summary: Recipe Nutrition Label Widget tags: - recipes - x-accepts: text/html + x-accepts: + - text/html /recipes/{id}/nutritionLabel.png: get: deprecated: false @@ -5057,7 +5076,8 @@ paths: summary: Recipe Nutrition Label Image tags: - recipes - x-accepts: image/png + x-accepts: + - image/png /recipes/{id}/analyzedInstructions: get: deprecated: false @@ -5148,7 +5168,8 @@ paths: summary: Get Analyzed Recipe Instructions tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/extract: get: deprecated: false @@ -5539,7 +5560,8 @@ paths: summary: Extract Recipe from Website tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/ingredientWidget: get: deprecated: false @@ -5596,7 +5618,8 @@ paths: summary: Ingredients by ID Widget tags: - recipes - x-accepts: text/html + x-accepts: + - text/html /recipes/{id}/tasteWidget: get: deprecated: false @@ -5651,7 +5674,8 @@ paths: summary: Recipe Taste by ID Widget tags: - recipes - x-accepts: text/html + x-accepts: + - text/html /recipes/{id}/equipmentWidget: get: deprecated: false @@ -5697,7 +5721,8 @@ paths: summary: Equipment by ID Widget tags: - recipes - x-accepts: text/html + x-accepts: + - text/html /recipes/{id}/priceBreakdownWidget: get: deprecated: false @@ -5742,7 +5767,8 @@ paths: summary: Price Breakdown by ID Widget tags: - recipes - x-accepts: text/html + x-accepts: + - text/html /recipes/visualizeTaste: post: deprecated: false @@ -5791,7 +5817,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: text/html + x-accepts: + - text/html /recipes/visualizeNutrition: post: deprecated: false @@ -5840,7 +5867,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: text/html + x-accepts: + - text/html /recipes/visualizePriceEstimator: post: deprecated: false @@ -5888,7 +5916,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: text/html + x-accepts: + - text/html /recipes/visualizeEquipment: post: deprecated: false @@ -5923,7 +5952,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: text/html + x-accepts: + - text/html /recipes/analyze: post: deprecated: false @@ -5999,7 +6029,8 @@ paths: description: Not Found summary: Analyze Recipe x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/summary: get: deprecated: false @@ -6057,7 +6088,8 @@ paths: summary: Summarize Recipe tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/card: get: deprecated: false @@ -6129,7 +6161,8 @@ paths: "404": description: Not Found summary: Create Recipe Card - x-accepts: application/json + x-accepts: + - application/json /recipes/visualizeRecipe: post: deprecated: false @@ -6174,7 +6207,8 @@ paths: tags: - recipes x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json /recipes/analyzeInstructions: post: deprecated: false @@ -6259,7 +6293,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /recipes/cuisine: post: deprecated: false @@ -6316,7 +6351,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /recipes/queries/analyze: get: deprecated: false @@ -6366,7 +6402,8 @@ paths: summary: Analyze a Recipe Search Query tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/convert: get: deprecated: false @@ -6441,7 +6478,8 @@ paths: summary: Convert Amounts tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /recipes/parseIngredients: post: deprecated: false @@ -6861,7 +6899,8 @@ paths: tags: - recipes x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /recipes/{id}/nutritionWidget: get: deprecated: false @@ -6907,7 +6946,8 @@ paths: summary: Recipe Nutrition by ID Widget tags: - recipes - x-accepts: text/html + x-accepts: + - text/html /recipes/visualizeIngredients: post: deprecated: false @@ -6956,7 +6996,8 @@ paths: tags: - ingredients x-content-type: application/x-www-form-urlencoded - x-accepts: text/html + x-accepts: + - text/html /recipes/guessNutrition: get: deprecated: false @@ -7023,7 +7064,8 @@ paths: summary: Guess Nutrition by Dish Name tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/{id}/information: get: deprecated: false @@ -7241,7 +7283,8 @@ paths: summary: Get Ingredient Information tags: - ingredients - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/{id}/amount: get: deprecated: false @@ -7310,7 +7353,8 @@ paths: summary: Compute Ingredient Amount tags: - ingredients - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/glycemicLoad: post: deprecated: false @@ -7380,7 +7424,8 @@ paths: tags: - recipes x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/autocomplete: get: deprecated: false @@ -7600,7 +7645,8 @@ paths: summary: Autocomplete Ingredient Search tags: - ingredients - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/search: get: deprecated: false @@ -7793,7 +7839,8 @@ paths: summary: Ingredient Search tags: - ingredients - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/substitutes: get: deprecated: false @@ -7838,7 +7885,8 @@ paths: summary: Get Ingredient Substitutes tags: - ingredients - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/{id}/substitutes: get: deprecated: false @@ -7883,7 +7931,8 @@ paths: summary: Get Ingredient Substitutes by ID tags: - ingredients - x-accepts: application/json + x-accepts: + - application/json /food/products/search: get: deprecated: false @@ -8039,7 +8088,8 @@ paths: summary: Search Grocery Products tags: - products - x-accepts: application/json + x-accepts: + - application/json /food/products/upc/{upc}: get: deprecated: false @@ -8149,7 +8199,8 @@ paths: summary: Search Grocery Products by UPC tags: - products - x-accepts: application/json + x-accepts: + - application/json /food/customFoods/search: get: deprecated: false @@ -8237,7 +8288,8 @@ paths: summary: Search Custom Foods tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/products/{id}: get: deprecated: false @@ -8549,7 +8601,8 @@ paths: summary: Get Product Information tags: - products - x-accepts: application/json + x-accepts: + - application/json /food/products/upc/{upc}/comparable: get: deprecated: false @@ -8627,7 +8680,8 @@ paths: summary: Get Comparable Products tags: - products - x-accepts: application/json + x-accepts: + - application/json /food/products/suggest: get: deprecated: false @@ -8682,7 +8736,8 @@ paths: summary: Autocomplete Product Search tags: - products - x-accepts: application/json + x-accepts: + - application/json /food/products/{id}/nutritionWidget: get: deprecated: false @@ -8731,7 +8786,8 @@ paths: summary: Product Nutrition by ID Widget tags: - products - x-accepts: text/html + x-accepts: + - text/html /food/products/{id}/nutritionWidget.png: get: deprecated: false @@ -8767,7 +8823,8 @@ paths: summary: Product Nutrition by ID Image tags: - products - x-accepts: image/png + x-accepts: + - image/png /food/products/{id}/nutritionLabel: get: deprecated: false @@ -8839,7 +8896,8 @@ paths: summary: Product Nutrition Label Widget tags: - products - x-accepts: text/html + x-accepts: + - text/html /food/products/{id}/nutritionLabel.png: get: deprecated: false @@ -8902,7 +8960,8 @@ paths: summary: Product Nutrition Label Image tags: - products - x-accepts: image/png + x-accepts: + - image/png /food/products/classify: post: deprecated: false @@ -8967,7 +9026,8 @@ paths: tags: - products x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /food/products/classifyBatch: post: deprecated: false @@ -9054,7 +9114,8 @@ paths: tags: - products x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /food/ingredients/map: post: deprecated: false @@ -9173,7 +9234,8 @@ paths: tags: - ingredients x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /food/menuItems/suggest: get: deprecated: false @@ -9229,7 +9291,8 @@ paths: summary: Autocomplete Menu Item Search tags: - menu items - x-accepts: application/json + x-accepts: + - application/json /food/menuItems/search: get: deprecated: false @@ -9398,7 +9461,8 @@ paths: summary: Search Menu Items tags: - menu items - x-accepts: application/json + x-accepts: + - application/json /food/menuItems/{id}: get: deprecated: false @@ -9476,7 +9540,8 @@ paths: summary: Get Menu Item Information tags: - menu items - x-accepts: application/json + x-accepts: + - application/json /food/menuItems/{id}/nutritionWidget: get: deprecated: false @@ -9522,7 +9587,8 @@ paths: summary: Menu Item Nutrition by ID Widget tags: - menu items - x-accepts: text/html + x-accepts: + - text/html /food/menuItems/{id}/nutritionWidget.png: get: deprecated: false @@ -9559,7 +9625,8 @@ paths: summary: Menu Item Nutrition by ID Image tags: - menu items - x-accepts: image/png + x-accepts: + - image/png /food/menuItems/{id}/nutritionLabel: get: deprecated: false @@ -9632,7 +9699,8 @@ paths: summary: Menu Item Nutrition Label Widget tags: - menu items - x-accepts: text/html + x-accepts: + - text/html /food/menuItems/{id}/nutritionLabel.png: get: deprecated: false @@ -9695,7 +9763,8 @@ paths: summary: Menu Item Nutrition Label Image tags: - menu items - x-accepts: image/png + x-accepts: + - image/png /mealplanner/generate: get: deprecated: false @@ -9788,7 +9857,8 @@ paths: summary: Generate Meal Plan tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/week/{start_date}: get: deprecated: false @@ -10119,7 +10189,8 @@ paths: summary: Get Meal Plan Week tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/day/{date}: delete: deprecated: false @@ -10172,7 +10243,8 @@ paths: summary: Clear Meal Plan Day tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/items: post: deprecated: false @@ -10243,7 +10315,8 @@ paths: tags: - meal planning x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/items/{id}: delete: deprecated: false @@ -10295,7 +10368,8 @@ paths: summary: Delete from Meal Plan tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/templates: get: deprecated: false @@ -10352,7 +10426,8 @@ paths: summary: Get Meal Plan Templates tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json post: deprecated: false description: Add a meal plan template for a user. @@ -10448,7 +10523,8 @@ paths: summary: Add Meal Plan Template tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/templates/{id}: delete: deprecated: false @@ -10501,7 +10577,8 @@ paths: summary: Delete Meal Plan Template tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json get: deprecated: false description: Get information about a meal plan template. @@ -11464,7 +11541,8 @@ paths: summary: Get Meal Plan Template tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/shopping-list: get: deprecated: false @@ -11532,7 +11610,8 @@ paths: summary: Get Shopping List tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/shopping-list/{start_date}/{end_date}: post: deprecated: false @@ -11619,7 +11698,8 @@ paths: summary: Generate Shopping List tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /users/connect: post: deprecated: false @@ -11665,7 +11745,8 @@ paths: tags: - meal planning x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/shopping-list/items: post: deprecated: false @@ -11746,7 +11827,8 @@ paths: tags: - meal planning x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /mealplanner/{username}/shopping-list/items/{id}: delete: deprecated: false @@ -11798,7 +11880,8 @@ paths: summary: Delete from Shopping List tags: - meal planning - x-accepts: application/json + x-accepts: + - application/json /food/restaurants/search: get: deprecated: false @@ -11914,7 +11997,8 @@ paths: "404": description: Not Found summary: Search Restaurants - x-accepts: application/json + x-accepts: + - application/json /food/wine/dishes: get: deprecated: false @@ -11961,7 +12045,8 @@ paths: summary: Dish Pairing for Wine tags: - wine - x-accepts: application/json + x-accepts: + - application/json /food/wine/pairing: get: deprecated: false @@ -12032,7 +12117,8 @@ paths: summary: Wine Pairing tags: - wine - x-accepts: application/json + x-accepts: + - application/json /food/wine/description: get: deprecated: false @@ -12074,7 +12160,8 @@ paths: summary: Wine Description tags: - wine - x-accepts: application/json + x-accepts: + - application/json /food/wine/recommendation: get: deprecated: false @@ -12171,7 +12258,8 @@ paths: summary: Wine Recommendation tags: - wine - x-accepts: application/json + x-accepts: + - application/json /food/images/classify: get: deprecated: false @@ -12211,7 +12299,8 @@ paths: summary: Image Classification by URL tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/images/analyze: get: deprecated: false @@ -12323,7 +12412,8 @@ paths: summary: Image Analysis by URL tags: - misc - x-accepts: application/json + x-accepts: + - application/json /recipes/quickAnswer: get: deprecated: false @@ -12364,7 +12454,8 @@ paths: summary: Quick Answer tags: - recipes - x-accepts: application/json + x-accepts: + - application/json /food/detect: post: deprecated: false @@ -12429,7 +12520,8 @@ paths: tags: - misc x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /food/site/search: get: deprecated: false @@ -12577,7 +12669,8 @@ paths: summary: Search Site Content tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/search: get: deprecated: false @@ -12751,7 +12844,8 @@ paths: summary: Search All Food tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/videos/search: get: deprecated: false @@ -12896,7 +12990,8 @@ paths: summary: Search Food Videos tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/jokes/random: get: deprecated: false @@ -12927,7 +13022,8 @@ paths: summary: Random Food Joke tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/trivia/random: get: deprecated: false @@ -12958,7 +13054,8 @@ paths: summary: Random Food Trivia tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/converse: get: deprecated: false @@ -13011,7 +13108,8 @@ paths: summary: Talk to Chatbot tags: - misc - x-accepts: application/json + x-accepts: + - application/json /food/converse/suggest: get: deprecated: false @@ -13068,7 +13166,8 @@ paths: summary: Conversation Suggests tags: - misc - x-accepts: application/json + x-accepts: + - application/json components: parameters: ingredients: diff --git a/java/build.gradle b/java/build.gradle index 60289b104..3e7177f35 100644 --- a/java/build.gradle +++ b/java/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'com.spoonacular' -version = '1.1.1' +version = '1.1.2' buildscript { repositories { @@ -108,8 +108,8 @@ ext { dependencies { implementation 'io.swagger:swagger-annotations:1.6.8' implementation "com.google.code.findbugs:jsr305:3.0.2" - implementation 'com.squareup.okhttp3:okhttp:4.10.0' - implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0' + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' implementation 'com.google.code.gson:gson:2.9.1' implementation 'io.gsonfire:gson-fire:1.9.0' implementation 'javax.ws.rs:jsr311-api:1.1.1' @@ -117,9 +117,9 @@ dependencies { implementation 'org.openapitools:jackson-databind-nullable:0.2.6' implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2' testImplementation 'org.mockito:mockito-core:3.12.4' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2' } javadoc { diff --git a/java/build.sbt b/java/build.sbt index 80a6e2bef..f14a926f4 100644 --- a/java/build.sbt +++ b/java/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.spoonacular", name := "java-client", - version := "1.1.1", + version := "1.1.2", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), @@ -10,8 +10,8 @@ lazy val root = (project in file(".")). resolvers += Resolver.mavenLocal, libraryDependencies ++= Seq( "io.swagger" % "swagger-annotations" % "1.6.5", - "com.squareup.okhttp3" % "okhttp" % "4.10.0", - "com.squareup.okhttp3" % "logging-interceptor" % "4.10.0", + "com.squareup.okhttp3" % "okhttp" % "4.12.0", + "com.squareup.okhttp3" % "logging-interceptor" % "4.12.0", "com.google.code.gson" % "gson" % "2.9.1", "org.apache.commons" % "commons-lang3" % "3.12.0", "javax.ws.rs" % "jsr311-api" % "1.1.1", @@ -21,7 +21,7 @@ lazy val root = (project in file(".")). "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "org.junit.jupiter" % "junit-jupiter-api" % "5.9.1" % "test", + "org.junit.jupiter" % "junit-jupiter-api" % "5.10.2" % "test", "com.novocode" % "junit-interface" % "0.10" % "test", "org.mockito" % "mockito-core" % "3.12.4" % "test" ) diff --git a/java/gradle/wrapper/gradle-wrapper.jar b/java/gradle/wrapper/gradle-wrapper.jar index c4868dfcc..c33c57b4e 100644 --- a/java/gradle/wrapper/gradle-wrapper.jar +++ b/java/gradle/wrapper/gradle-wrapper.jar @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33ad4583fd7ee156f533778736fa1b4940bd83b433934d1cc4e9f608e99a6a89 -size 59536 +oid sha256:cb0da6751c2b753a16ac168bb354870ebb1e162e9083f116729cec9c781156b8 +size 43453 diff --git a/java/gradle/wrapper/gradle-wrapper.properties b/java/gradle/wrapper/gradle-wrapper.properties index ffed3a254..b82aa23a4 100644 --- a/java/gradle/wrapper/gradle-wrapper.properties +++ b/java/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/java/gradlew b/java/gradlew index 005bcde04..9d0ce634c 100644 --- a/java/gradlew +++ b/java/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -69,37 +69,35 @@ app_path=$0 # Need this for daisy-chained symlinks. while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] +APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path +[ -h "$app_path" ] do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac +ls=$( ls -ld "$app_path" ) +link=${ls#*' -> '} +case $link in #( +/*) app_path=$link ;; #( +*) app_path=$APP_HOME$link ;; +esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"' +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum warn () { - echo "$*" +echo "$*" } >&2 die () { - echo - echo "$*" - echo - exit 1 +echo +echo "$*" +echo +exit 1 } >&2 # OS specific support (must be 'true' or 'false'). @@ -108,10 +106,10 @@ msys=false darwin=false nonstop=false case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; +CYGWIN* ) cygwin=true ;; #( +Darwin* ) darwin=true ;; #( +MSYS* | MINGW* ) msys=true ;; #( +NONSTOP* ) nonstop=true ;; esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar @@ -119,39 +117,46 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME +if [ -x "$JAVA_HOME/jre/sh/java" ] ; then +# IBM's JDK on AIX uses strange locations for the executables +JAVACMD=$JAVA_HOME/jre/sh/java +else +JAVACMD=$JAVA_HOME/bin/java +fi +if [ ! -x "$JAVACMD" ] ; then +die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME Please set the JAVA_HOME variable in your environment to match the location of your Java installation." - fi +fi else - JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +JAVACMD=java +if ! command -v java >/dev/null 2>&1 +then +die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi +fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac +case $MAX_FD in #( +max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +MAX_FD=$( ulimit -H -n ) || +warn "Could not query maximum file descriptor limit" +esac +case $MAX_FD in #( +'' | soft) :;; #( +*) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +ulimit -n "$MAX_FD" || +warn "Could not set maximum file descriptor limit to $MAX_FD" +esac fi # Collect all arguments for the java command, stacking in reverse order: @@ -164,46 +169,56 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done +APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) +CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + +JAVACMD=$( cygpath --unix "$JAVACMD" ) + +# Now convert the arguments - kludge to limit ourselves to /bin/sh +for arg do +if +case $arg in #( +-*) false ;; # don't mess with options #( +/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath +[ -e "$t" ] ;; #( +*) false ;; +esac +then +arg=$( cygpath --path --ignore --mixed "$arg" ) +fi +# Roll the args list around exactly as many times as the number of +# args, so each arg winds up back in the position where it started, but +# possibly modified. +# +# NB: a `for` loop captures its iteration list before it begins, so +# changing the positional parameters here affects neither the number of +# iterations, nor the values presented in `arg`. +shift # remove old arg +set -- "$@" "$arg" # push replacement arg +done fi -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" +"-Dorg.gradle.appname=$APP_BASE_NAME" \ +-classpath "$CLASSPATH" \ +org.gradle.wrapper.GradleWrapperMain \ +"$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then +die "xargs is not available" +fi # Use "xargs" to parse quoted args. # @@ -225,10 +240,10 @@ set -- \ # eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' +printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | +xargs -n1 | +sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | +tr '\n' ' ' +)" '"$@"' exec "$JAVACMD" "$@" diff --git a/java/gradlew.bat b/java/gradlew.bat index 6a68175eb..25da30dbd 100644 --- a/java/gradlew.bat +++ b/java/gradlew.bat @@ -14,7 +14,7 @@ @rem limitations under the License. @rem -@if "%DEBUG%" == "" @echo off +@if "%DEBUG%"=="" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @@ -25,7 +25,8 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -33,20 +34,20 @@ set APP_HOME=%DIRNAME% for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m" +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute +if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -56,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar :end @rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd +if %ERRORLEVEL% equ 0 goto mainEnd :fail rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% :mainEnd if "%OS%"=="Windows_NT" endlocal diff --git a/java/pom.xml b/java/pom.xml index 6a2915da1..eec47679c 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -5,7 +5,7 @@ java-client jar java-client - 1.1.1 + 1.1.2 https://spoonacular.com/food-api/sdks Java Client for the spoonacular API @@ -50,7 +50,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.1.0 + 3.4.1 enforce-maven @@ -72,12 +72,12 @@ maven-surefire-plugin 2.22.2 - + loggerPath conf/log4j.properties - + -Xms512m -Xmx1500m methods 10 @@ -93,7 +93,7 @@ maven-dependency-plugin - 3.3.0 + 3.6.1 package @@ -124,7 +124,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.3.0 + 3.5.0 add_sources @@ -155,7 +155,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.1 + 3.6.3 attach-javadocs @@ -178,7 +178,7 @@ org.apache.maven.plugins maven-source-plugin - 3.2.1 + 3.3.0 attach-sources @@ -241,7 +241,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.0.1 + 3.2.1 sign-artifacts @@ -331,14 +331,14 @@ 1.9.0 4.11.0 2.10.1 - 3.13.0 + 3.14.0 0.2.6 1.3.5 - 5.10.0 + 5.10.2 1.10.0 2.1.1 1.1.1 UTF-8 - 2.27.2 + 2.43.0 diff --git a/java/src/main/java/com/spoonacular/client/ApiClient.java b/java/src/main/java/com/spoonacular/client/ApiClient.java index 040f0af20..aafb25a9c 100644 --- a/java/src/main/java/com/spoonacular/client/ApiClient.java +++ b/java/src/main/java/com/spoonacular/client/ApiClient.java @@ -141,7 +141,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.1.1/java"); + setUserAgent("OpenAPI-Generator/1.1.2/java"); authentications = new HashMap(); } @@ -467,6 +467,19 @@ public void setAWS4Configuration(String accessKey, String secretKey, String regi throw new RuntimeException("No AWS4 authentication configured!"); } + /** + * Helper method to set credentials for AWSV4 Signature + * + * @param accessKey Access Key + * @param secretKey Secret Key + * @param sessionToken Session Token + * @param region Region + * @param service Service to access to + */ + public void setAWS4Configuration(String accessKey, String secretKey, String sessionToken, String region, String service) { + throw new RuntimeException("No AWS4 authentication configured!"); + } + /** * Set the User-Agent header's value (by adding to the default header map). * diff --git a/java/src/main/java/com/spoonacular/client/ApiException.java b/java/src/main/java/com/spoonacular/client/ApiException.java index adb24e1fb..46a3e55bb 100644 --- a/java/src/main/java/com/spoonacular/client/ApiException.java +++ b/java/src/main/java/com/spoonacular/client/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/java/src/main/java/com/spoonacular/client/Configuration.java b/java/src/main/java/com/spoonacular/client/Configuration.java index 05054d124..07a611213 100644 --- a/java/src/main/java/com/spoonacular/client/Configuration.java +++ b/java/src/main/java/com/spoonacular/client/Configuration.java @@ -13,9 +13,9 @@ package com.spoonacular.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class Configuration { - public static final String VERSION = "1.1.1"; + public static final String VERSION = "1.1.2"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/java/src/main/java/com/spoonacular/client/JSON.java b/java/src/main/java/com/spoonacular/client/JSON.java index 00a17f107..a72b95fd8 100644 --- a/java/src/main/java/com/spoonacular/client/JSON.java +++ b/java/src/main/java/com/spoonacular/client/JSON.java @@ -13,11 +13,11 @@ package com.spoonacular.client; -import com.fasterxml.jackson.databind.util.StdDateFormat; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapter; +import com.google.gson.internal.bind.util.ISO8601Utils; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import com.google.gson.JsonElement; @@ -31,16 +31,14 @@ import java.lang.reflect.Type; import java.text.DateFormat; import java.text.ParseException; +import java.text.ParsePosition; import java.time.LocalDate; import java.time.OffsetDateTime; -import java.time.ZoneId; -import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.Locale; import java.util.Map; import java.util.HashMap; -import java.util.TimeZone; /* * A JSON utility class @@ -57,11 +55,6 @@ public class JSON { private static LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - private static final StdDateFormat sdf = new StdDateFormat() - .withTimeZone(TimeZone.getTimeZone(ZoneId.systemDefault())) - .withColonInTimeZone(true); - private static final DateTimeFormatter dtf = DateTimeFormatter.ISO_OFFSET_DATE_TIME; - @SuppressWarnings("unchecked") public static GsonBuilder createGson() { GsonFireBuilder fireBuilder = new GsonFireBuilder() @@ -93,7 +86,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri return clazz; } - { + static { GsonBuilder gsonBuilder = createGson(); gsonBuilder.registerTypeAdapter(Date.class, dateTypeAdapter); gsonBuilder.registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter); @@ -486,7 +479,7 @@ public java.sql.Date read(JsonReader in) throws IOException { if (dateFormat != null) { return new java.sql.Date(dateFormat.parse(date).getTime()); } - return new java.sql.Date(sdf.parse(date).getTime()); + return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); } catch (ParseException e) { throw new JsonParseException(e); } @@ -496,7 +489,7 @@ public java.sql.Date read(JsonReader in) throws IOException { /** * Gson TypeAdapter for java.util.Date type - * If the dateFormat is null, DateTimeFormatter will be used. + * If the dateFormat is null, ISO8601Utils will be used. */ public static class DateTypeAdapter extends TypeAdapter { @@ -521,7 +514,7 @@ public void write(JsonWriter out, Date date) throws IOException { if (dateFormat != null) { value = dateFormat.format(date); } else { - value = date.toInstant().atOffset(ZoneOffset.UTC).format(dtf); + value = ISO8601Utils.format(date, true); } out.value(value); } @@ -540,7 +533,7 @@ public Date read(JsonReader in) throws IOException { if (dateFormat != null) { return dateFormat.parse(date); } - return sdf.parse(date); + return ISO8601Utils.parse(date, new ParsePosition(0)); } catch (ParseException e) { throw new JsonParseException(e); } diff --git a/java/src/main/java/com/spoonacular/client/Pair.java b/java/src/main/java/com/spoonacular/client/Pair.java index 5cc4c99a0..81cddc2d1 100644 --- a/java/src/main/java/com/spoonacular/client/Pair.java +++ b/java/src/main/java/com/spoonacular/client/Pair.java @@ -13,7 +13,7 @@ package com.spoonacular.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class Pair { private String name = ""; private String value = ""; diff --git a/java/src/main/java/com/spoonacular/client/ServerConfiguration.java b/java/src/main/java/com/spoonacular/client/ServerConfiguration.java index 20dc98d86..4c5921de5 100644 --- a/java/src/main/java/com/spoonacular/client/ServerConfiguration.java +++ b/java/src/main/java/com/spoonacular/client/ServerConfiguration.java @@ -5,6 +5,7 @@ /** * Representing a Server configuration. */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ServerConfiguration { public String URL; public String description; diff --git a/java/src/main/java/com/spoonacular/client/ServerVariable.java b/java/src/main/java/com/spoonacular/client/ServerVariable.java index 07b3e7029..774324def 100644 --- a/java/src/main/java/com/spoonacular/client/ServerVariable.java +++ b/java/src/main/java/com/spoonacular/client/ServerVariable.java @@ -5,6 +5,7 @@ /** * Representing a Server Variable for server URL template substitution. */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ServerVariable { public String description; public String defaultValue; diff --git a/java/src/main/java/com/spoonacular/client/StringUtil.java b/java/src/main/java/com/spoonacular/client/StringUtil.java index 81a3a71f5..0331895b4 100644 --- a/java/src/main/java/com/spoonacular/client/StringUtil.java +++ b/java/src/main/java/com/spoonacular/client/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/java/src/main/java/com/spoonacular/client/auth/ApiKeyAuth.java b/java/src/main/java/com/spoonacular/client/auth/ApiKeyAuth.java index e895561c2..67f3b5e86 100644 --- a/java/src/main/java/com/spoonacular/client/auth/ApiKeyAuth.java +++ b/java/src/main/java/com/spoonacular/client/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/java/src/main/java/com/spoonacular/client/auth/HttpBasicAuth.java b/java/src/main/java/com/spoonacular/client/auth/HttpBasicAuth.java index 1748df8be..be3d73d21 100644 --- a/java/src/main/java/com/spoonacular/client/auth/HttpBasicAuth.java +++ b/java/src/main/java/com/spoonacular/client/auth/HttpBasicAuth.java @@ -22,8 +22,6 @@ import java.util.Map; import java.util.List; -import java.io.UnsupportedEncodingException; - public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/java/src/main/java/com/spoonacular/client/auth/HttpBearerAuth.java b/java/src/main/java/com/spoonacular/client/auth/HttpBearerAuth.java index dd5e4d6ea..641e41bcc 100644 --- a/java/src/main/java/com/spoonacular/client/auth/HttpBearerAuth.java +++ b/java/src/main/java/com/spoonacular/client/auth/HttpBearerAuth.java @@ -22,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/java/src/main/java/com/spoonacular/client/model/AbstractOpenApiSchema.java b/java/src/main/java/com/spoonacular/client/model/AbstractOpenApiSchema.java index c4d9be888..7b06d6e90 100644 --- a/java/src/main/java/com/spoonacular/client/model/AbstractOpenApiSchema.java +++ b/java/src/main/java/com/spoonacular/client/model/AbstractOpenApiSchema.java @@ -21,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200Response.java b/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200Response.java index 5725a4898..895c16abc 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddMealPlanTemplate200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.java b/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.java index 1151d40a1..98ff1b812 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.java @@ -50,7 +50,7 @@ /** * AddMealPlanTemplate200ResponseItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddMealPlanTemplate200ResponseItemsInner { public static final String SERIALIZED_NAME_DAY = "day"; @SerializedName(SERIALIZED_NAME_DAY) diff --git a/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.java b/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.java index 41b35dbcb..8200ab4e6 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.java +++ b/java/src/main/java/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.java @@ -50,7 +50,7 @@ /** * AddMealPlanTemplate200ResponseItemsInnerValue */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddMealPlanTemplate200ResponseItemsInnerValue { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequest.java b/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequest.java index 4347d4aad..934885174 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequest.java @@ -51,7 +51,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddToMealPlanRequest { public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) diff --git a/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValue.java b/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValue.java index b3062b4f8..06df07657 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValue.java +++ b/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValue.java @@ -52,7 +52,7 @@ /** * AddToMealPlanRequestValue */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddToMealPlanRequestValue { public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.java index 572480f32..fd2af265e 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.java @@ -49,7 +49,7 @@ /** * AddToMealPlanRequestValueIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddToMealPlanRequestValueIngredientsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/AddToShoppingListRequest.java b/java/src/main/java/com/spoonacular/client/model/AddToShoppingListRequest.java index 953ef0ff9..03dbc567b 100644 --- a/java/src/main/java/com/spoonacular/client/model/AddToShoppingListRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/AddToShoppingListRequest.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AddToShoppingListRequest { public static final String SERIALIZED_NAME_ITEM = "item"; @SerializedName(SERIALIZED_NAME_ITEM) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.java index 3dcdc5f42..db9e6c8c0 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.java @@ -55,7 +55,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeARecipeSearchQuery200Response { public static final String SERIALIZED_NAME_DISHES = "dishes"; @SerializedName(SERIALIZED_NAME_DISHES) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.java index c77ea875b..7dd985b37 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.java @@ -49,7 +49,7 @@ /** * AnalyzeARecipeSearchQuery200ResponseDishesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeARecipeSearchQuery200ResponseDishesInner { public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.java index 48487c6b2..e3a8f1b89 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.java @@ -49,7 +49,7 @@ /** * AnalyzeARecipeSearchQuery200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeARecipeSearchQuery200ResponseIngredientsInner { public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.java index 61bacb6ba..98de5b06b 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeRecipeInstructions200Response { public static final String SERIALIZED_NAME_PARSED_INSTRUCTIONS = "parsedInstructions"; @SerializedName(SERIALIZED_NAME_PARSED_INSTRUCTIONS) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.java index 6c9c72b39..b6f9dd0c9 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.java @@ -50,7 +50,7 @@ /** * AnalyzeRecipeInstructions200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeRecipeInstructions200ResponseIngredientsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.java index 9040dfa16..8ee3aaa1e 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.java @@ -52,7 +52,7 @@ /** * AnalyzeRecipeInstructions200ResponseParsedInstructionsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -60,7 +60,7 @@ public class AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { public static final String SERIALIZED_NAME_STEPS = "steps"; @SerializedName(SERIALIZED_NAME_STEPS) - private Set steps; + private Set steps = new LinkedHashSet<>(); public AnalyzeRecipeInstructions200ResponseParsedInstructionsInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java index 6dcf148b7..96b21f455 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java @@ -53,7 +53,7 @@ /** * AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) @@ -65,11 +65,11 @@ public class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInn public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) - private Set ingredients; + private Set ingredients = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_EQUIPMENT = "equipment"; @SerializedName(SERIALIZED_NAME_EQUIPMENT) - private Set equipment; + private Set equipment = new LinkedHashSet<>(); public AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java index 75ddb4fd5..cf7f50566 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java @@ -50,7 +50,7 @@ /** * AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeRequest.java b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeRequest.java index 1d84f1af2..ff02918e6 100644 --- a/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/AnalyzeRecipeRequest.java @@ -51,7 +51,7 @@ /** * AnalyzeRecipeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AnalyzeRecipeRequest { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -63,7 +63,7 @@ public class AnalyzeRecipeRequest { public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) - private List ingredients; + private List ingredients = new ArrayList<>(); public static final String SERIALIZED_NAME_INSTRUCTIONS = "instructions"; @SerializedName(SERIALIZED_NAME_INSTRUCTIONS) diff --git a/java/src/main/java/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.java index eb0c4b22c..003d20e2a 100644 --- a/java/src/main/java/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.java @@ -51,7 +51,7 @@ /** * AutocompleteIngredientSearch200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AutocompleteIngredientSearch200ResponseInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -71,7 +71,7 @@ public class AutocompleteIngredientSearch200ResponseInner { public static final String SERIALIZED_NAME_POSSIBLE_UNITS = "possibleUnits"; @SerializedName(SERIALIZED_NAME_POSSIBLE_UNITS) - private List possibleUnits; + private List possibleUnits = new ArrayList<>(); public AutocompleteIngredientSearch200ResponseInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.java b/java/src/main/java/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.java index 9bc892012..1dcdea3ee 100644 --- a/java/src/main/java/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AutocompleteMenuItemSearch200Response { public static final String SERIALIZED_NAME_RESULTS = "results"; @SerializedName(SERIALIZED_NAME_RESULTS) diff --git a/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200Response.java b/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200Response.java index cf3650e3c..27522ff93 100644 --- a/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AutocompleteProductSearch200Response { public static final String SERIALIZED_NAME_RESULTS = "results"; @SerializedName(SERIALIZED_NAME_RESULTS) diff --git a/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.java b/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.java index f92443dc8..fce44a2a2 100644 --- a/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.java @@ -49,7 +49,7 @@ /** * AutocompleteProductSearch200ResponseResultsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AutocompleteProductSearch200ResponseResultsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.java index 8804faa3a..e9941904e 100644 --- a/java/src/main/java/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.java @@ -49,7 +49,7 @@ /** * AutocompleteRecipeSearch200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class AutocompleteRecipeSearch200ResponseInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/ClassifyCuisine200Response.java b/java/src/main/java/com/spoonacular/client/model/ClassifyCuisine200Response.java index 49222e22d..26964f164 100644 --- a/java/src/main/java/com/spoonacular/client/model/ClassifyCuisine200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ClassifyCuisine200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ClassifyCuisine200Response { public static final String SERIALIZED_NAME_CUISINE = "cuisine"; @SerializedName(SERIALIZED_NAME_CUISINE) diff --git a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProduct200Response.java b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProduct200Response.java index 1ebdeb37a..602db98f8 100644 --- a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProduct200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProduct200Response.java @@ -51,7 +51,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ClassifyGroceryProduct200Response { public static final String SERIALIZED_NAME_CLEAN_TITLE = "cleanTitle"; @SerializedName(SERIALIZED_NAME_CLEAN_TITLE) diff --git a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.java index 63010cfba..a15387c38 100644 --- a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.java @@ -51,7 +51,7 @@ /** * ClassifyGroceryProductBulk200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ClassifyGroceryProductBulk200ResponseInner { public static final String SERIALIZED_NAME_CLEAN_TITLE = "cleanTitle"; @SerializedName(SERIALIZED_NAME_CLEAN_TITLE) diff --git a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.java b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.java index fd8f81332..65f34925c 100644 --- a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.java @@ -49,7 +49,7 @@ /** * ClassifyGroceryProductBulkRequestInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ClassifyGroceryProductBulkRequestInner { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) diff --git a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductRequest.java b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductRequest.java index eff6a2db6..090cbf58b 100644 --- a/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/ClassifyGroceryProductRequest.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ClassifyGroceryProductRequest { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) diff --git a/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200Response.java b/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200Response.java index 05f943e77..b7167baca 100644 --- a/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ComputeGlycemicLoad200Response { public static final String SERIALIZED_NAME_TOTAL_GLYCEMIC_LOAD = "totalGlycemicLoad"; @SerializedName(SERIALIZED_NAME_TOTAL_GLYCEMIC_LOAD) diff --git a/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.java index 681fda9c8..98d34a7c1 100644 --- a/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.java @@ -50,7 +50,7 @@ /** * ComputeGlycemicLoad200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ComputeGlycemicLoad200ResponseIngredientsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoadRequest.java b/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoadRequest.java index 4cb2ed466..248ad1a65 100644 --- a/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoadRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/ComputeGlycemicLoadRequest.java @@ -51,7 +51,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ComputeGlycemicLoadRequest { public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/ComputeIngredientAmount200Response.java b/java/src/main/java/com/spoonacular/client/model/ComputeIngredientAmount200Response.java index 8ca58e2f3..e9560308d 100644 --- a/java/src/main/java/com/spoonacular/client/model/ComputeIngredientAmount200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ComputeIngredientAmount200Response.java @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ComputeIngredientAmount200Response { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/ConnectUser200Response.java b/java/src/main/java/com/spoonacular/client/model/ConnectUser200Response.java index 6cb679408..bb0b3ef23 100644 --- a/java/src/main/java/com/spoonacular/client/model/ConnectUser200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ConnectUser200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ConnectUser200Response { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) diff --git a/java/src/main/java/com/spoonacular/client/model/ConnectUserRequest.java b/java/src/main/java/com/spoonacular/client/model/ConnectUserRequest.java index 168c41de3..6cf4a2b18 100644 --- a/java/src/main/java/com/spoonacular/client/model/ConnectUserRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/ConnectUserRequest.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ConnectUserRequest { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) diff --git a/java/src/main/java/com/spoonacular/client/model/ConvertAmounts200Response.java b/java/src/main/java/com/spoonacular/client/model/ConvertAmounts200Response.java index 1607279f7..acde5e102 100644 --- a/java/src/main/java/com/spoonacular/client/model/ConvertAmounts200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ConvertAmounts200Response.java @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ConvertAmounts200Response { public static final String SERIALIZED_NAME_SOURCE_AMOUNT = "sourceAmount"; @SerializedName(SERIALIZED_NAME_SOURCE_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/CreateRecipeCard200Response.java b/java/src/main/java/com/spoonacular/client/model/CreateRecipeCard200Response.java index fae336c33..190bfc02b 100644 --- a/java/src/main/java/com/spoonacular/client/model/CreateRecipeCard200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/CreateRecipeCard200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class CreateRecipeCard200Response { public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) diff --git a/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200Response.java b/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200Response.java index f60c5409a..7b1437db7 100644 --- a/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class DetectFoodInText200Response { public static final String SERIALIZED_NAME_ANNOTATIONS = "annotations"; @SerializedName(SERIALIZED_NAME_ANNOTATIONS) diff --git a/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.java b/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.java index 20e860fd3..7debd569d 100644 --- a/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.java @@ -49,7 +49,7 @@ /** * DetectFoodInText200ResponseAnnotationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class DetectFoodInText200ResponseAnnotationsInner { public static final String SERIALIZED_NAME_ANNOTATION = "annotation"; @SerializedName(SERIALIZED_NAME_ANNOTATION) diff --git a/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200Response.java b/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200Response.java index afcf9654f..ce53a3ea8 100644 --- a/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GenerateMealPlan200Response { public static final String SERIALIZED_NAME_MEALS = "meals"; @SerializedName(SERIALIZED_NAME_MEALS) diff --git a/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.java b/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.java index fbe5668a4..a6736b127 100644 --- a/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.java +++ b/java/src/main/java/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.java @@ -50,7 +50,7 @@ /** * GenerateMealPlan200ResponseNutrients */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GenerateMealPlan200ResponseNutrients { public static final String SERIALIZED_NAME_CALORIES = "calories"; @SerializedName(SERIALIZED_NAME_CALORIES) diff --git a/java/src/main/java/com/spoonacular/client/model/GenerateShoppingList200Response.java b/java/src/main/java/com/spoonacular/client/model/GenerateShoppingList200Response.java index 1063a44f6..12c3a109b 100644 --- a/java/src/main/java/com/spoonacular/client/model/GenerateShoppingList200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GenerateShoppingList200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GenerateShoppingList200Response { public static final String SERIALIZED_NAME_AISLES = "aisles"; @SerializedName(SERIALIZED_NAME_AISLES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetARandomFoodJoke200Response.java b/java/src/main/java/com/spoonacular/client/model/GetARandomFoodJoke200Response.java index 546eb542b..fa4f94357 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetARandomFoodJoke200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetARandomFoodJoke200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetARandomFoodJoke200Response { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.java b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.java index 4bec63a94..47daf4602 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetAnalyzedRecipeInstructions200Response { public static final String SERIALIZED_NAME_PARSED_INSTRUCTIONS = "parsedInstructions"; @SerializedName(SERIALIZED_NAME_PARSED_INSTRUCTIONS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.java index 829f46d37..02e981fdc 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.java @@ -49,7 +49,7 @@ /** * GetAnalyzedRecipeInstructions200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetAnalyzedRecipeInstructions200ResponseIngredientsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.java b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.java index 99286529e..25f78caf0 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.java @@ -52,7 +52,7 @@ /** * GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -60,7 +60,7 @@ public class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { public static final String SERIALIZED_NAME_STEPS = "steps"; @SerializedName(SERIALIZED_NAME_STEPS) - private Set steps; + private Set steps = new LinkedHashSet<>(); public GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java index 6a0077689..6e53d7ea5 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.java @@ -53,7 +53,7 @@ /** * GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) @@ -65,11 +65,11 @@ public class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStep public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) - private Set ingredients; + private Set ingredients = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_EQUIPMENT = "equipment"; @SerializedName(SERIALIZED_NAME_EQUIPMENT) - private Set equipment; + private Set equipment = new LinkedHashSet<>(); public GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java index 6f6f38ca6..64b83dc68 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.java @@ -49,7 +49,7 @@ /** * GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200Response.java b/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200Response.java index 462836e2f..21477a28a 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200Response.java @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetComparableProducts200Response { public static final String SERIALIZED_NAME_COMPARABLE_PRODUCTS = "comparableProducts"; @SerializedName(SERIALIZED_NAME_COMPARABLE_PRODUCTS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.java b/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.java index 77c7d4f24..3c245b757 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.java +++ b/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.java @@ -54,7 +54,7 @@ /** * GetComparableProducts200ResponseComparableProducts */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetComparableProducts200ResponseComparableProducts { public static final String SERIALIZED_NAME_CALORIES = "calories"; @SerializedName(SERIALIZED_NAME_CALORIES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.java b/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.java index 2c4ebfd08..7cd1fd646 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.java @@ -50,7 +50,7 @@ /** * GetComparableProducts200ResponseComparableProductsProteinInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetComparableProducts200ResponseComparableProductsProteinInner { public static final String SERIALIZED_NAME_DIFFERENCE = "difference"; @SerializedName(SERIALIZED_NAME_DIFFERENCE) diff --git a/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200Response.java b/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200Response.java index e6d68be54..5d95d5120 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetConversationSuggests200Response { public static final String SERIALIZED_NAME_SUGGESTS = "suggests"; @SerializedName(SERIALIZED_NAME_SUGGESTS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.java b/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.java index 43bc38581..c178b0c3e 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.java +++ b/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.java @@ -52,7 +52,7 @@ /** * GetConversationSuggests200ResponseSuggests */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetConversationSuggests200ResponseSuggests { public static final String SERIALIZED_NAME_U = "_"; @SerializedName(SERIALIZED_NAME_U) diff --git a/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.java b/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.java index 3aaecb168..872f020ee 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.java @@ -49,7 +49,7 @@ /** * GetConversationSuggests200ResponseSuggestsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetConversationSuggests200ResponseSuggestsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/GetDishPairingForWine200Response.java b/java/src/main/java/com/spoonacular/client/model/GetDishPairingForWine200Response.java index af9169923..8a5108989 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetDishPairingForWine200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetDishPairingForWine200Response.java @@ -51,7 +51,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetDishPairingForWine200Response { public static final String SERIALIZED_NAME_PAIRINGS = "pairings"; @SerializedName(SERIALIZED_NAME_PAIRINGS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200Response.java b/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200Response.java index 8e6451919..dc0c04bcb 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200Response.java @@ -54,7 +54,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetIngredientInformation200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.java b/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.java index f469660ed..81e962bef 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.java +++ b/java/src/main/java/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.java @@ -55,7 +55,7 @@ /** * GetIngredientInformation200ResponseNutrition */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetIngredientInformation200ResponseNutrition { public static final String SERIALIZED_NAME_NUTRIENTS = "nutrients"; @SerializedName(SERIALIZED_NAME_NUTRIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetIngredientSubstitutes200Response.java b/java/src/main/java/com/spoonacular/client/model/GetIngredientSubstitutes200Response.java index 1bc9f092c..e57cdf21b 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetIngredientSubstitutes200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetIngredientSubstitutes200Response.java @@ -51,7 +51,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetIngredientSubstitutes200Response { public static final String SERIALIZED_NAME_INGREDIENT = "ingredient"; @SerializedName(SERIALIZED_NAME_INGREDIENT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200Response.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200Response.java index 734cd91b2..1272753a1 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanTemplate200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.java index 8f4673580..075437ee7 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.java @@ -53,7 +53,7 @@ /** * GetMealPlanTemplate200ResponseDaysInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanTemplate200ResponseDaysInner { public static final String SERIALIZED_NAME_NUTRITION_SUMMARY = "nutritionSummary"; @SerializedName(SERIALIZED_NAME_NUTRITION_SUMMARY) @@ -77,7 +77,7 @@ public class GetMealPlanTemplate200ResponseDaysInner { public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private Set items; + private Set items = new LinkedHashSet<>(); public GetMealPlanTemplate200ResponseDaysInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.java index c7a8fd689..65cbc9933 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.java @@ -50,7 +50,7 @@ /** * GetMealPlanTemplate200ResponseDaysInnerItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanTemplate200ResponseDaysInnerItemsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.java index c1e02c007..c95b4983a 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.java @@ -50,7 +50,7 @@ /** * GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplates200Response.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplates200Response.java index 719653c5a..ba3c2b135 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplates200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanTemplates200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanTemplates200Response { public static final String SERIALIZED_NAME_TEMPLATES = "templates"; @SerializedName(SERIALIZED_NAME_TEMPLATES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200Response.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200Response.java index 47cb16cfa..02391f688 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanWeek200Response { public static final String SERIALIZED_NAME_DAYS = "days"; @SerializedName(SERIALIZED_NAME_DAYS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.java index 76a408c4c..714c082cc 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.java @@ -54,7 +54,7 @@ /** * GetMealPlanWeek200ResponseDaysInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanWeek200ResponseDaysInner { public static final String SERIALIZED_NAME_NUTRITION_SUMMARY = "nutritionSummary"; @SerializedName(SERIALIZED_NAME_NUTRITION_SUMMARY) @@ -82,7 +82,7 @@ public class GetMealPlanWeek200ResponseDaysInner { public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private Set items; + private Set items = new LinkedHashSet<>(); public GetMealPlanWeek200ResponseDaysInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.java index 25a171cc4..dfa357ddb 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.java @@ -50,7 +50,7 @@ /** * GetMealPlanWeek200ResponseDaysInnerItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanWeek200ResponseDaysInnerItemsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.java index 05514a86a..585548586 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.java @@ -50,7 +50,7 @@ /** * GetMealPlanWeek200ResponseDaysInnerItemsInnerValue */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { public static final String SERIALIZED_NAME_SERVINGS = "servings"; @SerializedName(SERIALIZED_NAME_SERVINGS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.java index 0ad78e41e..83336ac1e 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.java @@ -52,7 +52,7 @@ /** * GetMealPlanWeek200ResponseDaysInnerNutritionSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanWeek200ResponseDaysInnerNutritionSummary { public static final String SERIALIZED_NAME_NUTRIENTS = "nutrients"; @SerializedName(SERIALIZED_NAME_NUTRIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.java index 6d9d58ec4..aef921075 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.java @@ -50,7 +50,7 @@ /** * GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/GetMenuItemInformation200Response.java b/java/src/main/java/com/spoonacular/client/model/GetMenuItemInformation200Response.java index 2d069183f..c210d6eee 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetMenuItemInformation200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetMenuItemInformation200Response.java @@ -54,7 +54,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetMenuItemInformation200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetProductInformation200Response.java b/java/src/main/java/com/spoonacular/client/model/GetProductInformation200Response.java index dfe2a9e7e..8728a6466 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetProductInformation200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetProductInformation200Response.java @@ -55,7 +55,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetProductInformation200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.java index 005c3684d..d50ecf581 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.java @@ -49,7 +49,7 @@ /** * GetProductInformation200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetProductInformation200ResponseIngredientsInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRandomFoodTrivia200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRandomFoodTrivia200Response.java index 3346ad4e7..76f39a17d 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRandomFoodTrivia200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRandomFoodTrivia200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRandomFoodTrivia200Response { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200Response.java index 29940ef84..f47663695 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRandomRecipes200Response { public static final String SERIALIZED_NAME_RECIPES = "recipes"; @SerializedName(SERIALIZED_NAME_RECIPES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.java b/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.java index b560ee901..da4496bb7 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.java @@ -56,7 +56,7 @@ /** * GetRandomRecipes200ResponseRecipesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRandomRecipes200ResponseRecipesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -116,7 +116,7 @@ public class GetRandomRecipes200ResponseRecipesInner { public static final String SERIALIZED_NAME_ANALYZED_INSTRUCTIONS = "analyzedInstructions"; @SerializedName(SERIALIZED_NAME_ANALYZED_INSTRUCTIONS) - private List analyzedInstructions; + private List analyzedInstructions = new ArrayList<>(); public static final String SERIALIZED_NAME_CHEAP = "cheap"; @SerializedName(SERIALIZED_NAME_CHEAP) @@ -128,7 +128,7 @@ public class GetRandomRecipes200ResponseRecipesInner { public static final String SERIALIZED_NAME_CUISINES = "cuisines"; @SerializedName(SERIALIZED_NAME_CUISINES) - private List cuisines; + private List cuisines = new ArrayList<>(); public static final String SERIALIZED_NAME_DAIRY_FREE = "dairyFree"; @SerializedName(SERIALIZED_NAME_DAIRY_FREE) @@ -136,7 +136,7 @@ public class GetRandomRecipes200ResponseRecipesInner { public static final String SERIALIZED_NAME_DIETS = "diets"; @SerializedName(SERIALIZED_NAME_DIETS) - private List diets; + private List diets = new ArrayList<>(); public static final String SERIALIZED_NAME_GAPS = "gaps"; @SerializedName(SERIALIZED_NAME_GAPS) @@ -160,7 +160,7 @@ public class GetRandomRecipes200ResponseRecipesInner { public static final String SERIALIZED_NAME_OCCASIONS = "occasions"; @SerializedName(SERIALIZED_NAME_OCCASIONS) - private List occasions; + private List occasions = new ArrayList<>(); public static final String SERIALIZED_NAME_SUSTAINABLE = "sustainable"; @SerializedName(SERIALIZED_NAME_SUSTAINABLE) @@ -192,11 +192,11 @@ public class GetRandomRecipes200ResponseRecipesInner { public static final String SERIALIZED_NAME_DISH_TYPES = "dishTypes"; @SerializedName(SERIALIZED_NAME_DISH_TYPES) - private List dishTypes; + private List dishTypes = new ArrayList<>(); public static final String SERIALIZED_NAME_EXTENDED_INGREDIENTS = "extendedIngredients"; @SerializedName(SERIALIZED_NAME_EXTENDED_INGREDIENTS) - private Set extendedIngredients; + private Set extendedIngredients = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_SUMMARY = "summary"; @SerializedName(SERIALIZED_NAME_SUMMARY) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.java index f127b1760..614683366 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeEquipmentByID200Response { public static final String SERIALIZED_NAME_EQUIPMENT = "equipment"; @SerializedName(SERIALIZED_NAME_EQUIPMENT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.java index 1fae353dd..b4d5c5b86 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.java @@ -49,7 +49,7 @@ /** * GetRecipeEquipmentByID200ResponseEquipmentInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeEquipmentByID200ResponseEquipmentInner { public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200Response.java index c39206a4d..2ef9794b6 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200Response.java @@ -56,7 +56,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformation200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.java index 5341658ca..5a93f51f7 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.java @@ -53,7 +53,7 @@ /** * GetRecipeInformation200ResponseExtendedIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformation200ResponseExtendedIngredientsInner { public static final String SERIALIZED_NAME_AISLE = "aisle"; @SerializedName(SERIALIZED_NAME_AISLE) @@ -81,7 +81,7 @@ public class GetRecipeInformation200ResponseExtendedIngredientsInner { public static final String SERIALIZED_NAME_META = "meta"; @SerializedName(SERIALIZED_NAME_META) - private List meta; + private List meta = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.java index 360dd04ec..0f4290f21 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.java @@ -50,7 +50,7 @@ /** * GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { public static final String SERIALIZED_NAME_METRIC = "metric"; @SerializedName(SERIALIZED_NAME_METRIC) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.java index f363c2a08..f373a4c0e 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.java @@ -50,7 +50,7 @@ /** * GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.java index 7e719b71c..9e192ac55 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.java @@ -54,7 +54,7 @@ /** * GetRecipeInformation200ResponseWinePairing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformation200ResponseWinePairing { public static final String SERIALIZED_NAME_PAIRED_WINES = "pairedWines"; @SerializedName(SERIALIZED_NAME_PAIRED_WINES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.java index e6d0de09c..05e6f9ed9 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.java @@ -50,7 +50,7 @@ /** * GetRecipeInformation200ResponseWinePairingProductMatchesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformation200ResponseWinePairingProductMatchesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.java index 532225e98..958ab2ed1 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.java @@ -56,7 +56,7 @@ /** * GetRecipeInformationBulk200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeInformationBulk200ResponseInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.java index 16789e351..508cfab8f 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeIngredientsByID200Response { public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.java index e1b49ccdc..0bace8595 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.java @@ -50,7 +50,7 @@ /** * GetRecipeIngredientsByID200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeIngredientsByID200ResponseIngredientsInner { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.java index 50fdddf2e..2b3de6500 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeNutritionWidgetByID200Response { public static final String SERIALIZED_NAME_CALORIES = "calories"; @SerializedName(SERIALIZED_NAME_CALORIES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.java index ffa79794f..fa64d32a8 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.java @@ -50,7 +50,7 @@ /** * GetRecipeNutritionWidgetByID200ResponseBadInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeNutritionWidgetByID200ResponseBadInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.java index 247dadaf6..208da384d 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.java @@ -50,7 +50,7 @@ /** * GetRecipeNutritionWidgetByID200ResponseGoodInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeNutritionWidgetByID200ResponseGoodInner { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.java index fa9be4b75..e5cd783c4 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipePriceBreakdownByID200Response { public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.java index 419be5b97..eaee6134d 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.java @@ -51,7 +51,7 @@ /** * GetRecipePriceBreakdownByID200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipePriceBreakdownByID200ResponseIngredientsInner { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.java b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.java index 22243bedb..e1f397ca8 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.java @@ -50,7 +50,7 @@ /** * GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount { public static final String SERIALIZED_NAME_METRIC = "metric"; @SerializedName(SERIALIZED_NAME_METRIC) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.java b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.java index c3be87cb3..04b9f9fd8 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.java @@ -50,7 +50,7 @@ /** * GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric { public static final String SERIALIZED_NAME_UNIT = "unit"; @SerializedName(SERIALIZED_NAME_UNIT) diff --git a/java/src/main/java/com/spoonacular/client/model/GetRecipeTasteByID200Response.java b/java/src/main/java/com/spoonacular/client/model/GetRecipeTasteByID200Response.java index cfd5f11f9..7a8a6d6ee 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetRecipeTasteByID200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetRecipeTasteByID200Response.java @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetRecipeTasteByID200Response { public static final String SERIALIZED_NAME_SWEETNESS = "sweetness"; @SerializedName(SERIALIZED_NAME_SWEETNESS) diff --git a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200Response.java b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200Response.java index 35e249d58..faca6831f 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200Response.java @@ -53,7 +53,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetShoppingList200Response { public static final String SERIALIZED_NAME_AISLES = "aisles"; @SerializedName(SERIALIZED_NAME_AISLES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.java b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.java index f22b39aef..fa586e79d 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.java @@ -52,7 +52,7 @@ /** * GetShoppingList200ResponseAislesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetShoppingList200ResponseAislesInner { public static final String SERIALIZED_NAME_AISLE = "aisle"; @SerializedName(SERIALIZED_NAME_AISLE) @@ -60,7 +60,7 @@ public class GetShoppingList200ResponseAislesInner { public static final String SERIALIZED_NAME_ITEMS = "items"; @SerializedName(SERIALIZED_NAME_ITEMS) - private Set items; + private Set items = new LinkedHashSet<>(); public GetShoppingList200ResponseAislesInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.java b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.java index 1f58d5a1e..43c7cc88b 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.java @@ -51,7 +51,7 @@ /** * GetShoppingList200ResponseAislesInnerItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetShoppingList200ResponseAislesInnerItemsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.java b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.java index cbb2316c9..33ef6bfdd 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.java +++ b/java/src/main/java/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.java @@ -50,7 +50,7 @@ /** * GetShoppingList200ResponseAislesInnerItemsInnerMeasures */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetShoppingList200ResponseAislesInnerItemsInnerMeasures { public static final String SERIALIZED_NAME_ORIGINAL = "original"; @SerializedName(SERIALIZED_NAME_ORIGINAL) diff --git a/java/src/main/java/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.java index 5f322d10d..de00c1540 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.java @@ -50,7 +50,7 @@ /** * GetSimilarRecipes200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetSimilarRecipes200ResponseInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetWineDescription200Response.java b/java/src/main/java/com/spoonacular/client/model/GetWineDescription200Response.java index 44e83e935..2ae0d8a10 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetWineDescription200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetWineDescription200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetWineDescription200Response { public static final String SERIALIZED_NAME_WINE_DESCRIPTION = "wineDescription"; @SerializedName(SERIALIZED_NAME_WINE_DESCRIPTION) diff --git a/java/src/main/java/com/spoonacular/client/model/GetWinePairing200Response.java b/java/src/main/java/com/spoonacular/client/model/GetWinePairing200Response.java index e42d2fed7..42faf54b3 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetWinePairing200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetWinePairing200Response.java @@ -54,7 +54,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetWinePairing200Response { public static final String SERIALIZED_NAME_PAIRED_WINES = "pairedWines"; @SerializedName(SERIALIZED_NAME_PAIRED_WINES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.java b/java/src/main/java/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.java index 0bcc18c78..2b4677876 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.java @@ -50,7 +50,7 @@ /** * GetWinePairing200ResponseProductMatchesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetWinePairing200ResponseProductMatchesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200Response.java b/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200Response.java index eba6374f9..1b28c42fe 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetWineRecommendation200Response { public static final String SERIALIZED_NAME_RECOMMENDED_WINES = "recommendedWines"; @SerializedName(SERIALIZED_NAME_RECOMMENDED_WINES) diff --git a/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.java b/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.java index aaa70bd68..f9ad506ac 100644 --- a/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.java @@ -50,7 +50,7 @@ /** * GetWineRecommendation200ResponseRecommendedWinesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GetWineRecommendation200ResponseRecommendedWinesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200Response.java b/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200Response.java index ac6307f09..ec00cca07 100644 --- a/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200Response.java @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GuessNutritionByDishName200Response { public static final String SERIALIZED_NAME_CALORIES = "calories"; @SerializedName(SERIALIZED_NAME_CALORIES) diff --git a/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.java b/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.java index 349036e42..780a6fbfa 100644 --- a/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.java +++ b/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.java @@ -51,7 +51,7 @@ /** * GuessNutritionByDishName200ResponseCalories */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GuessNutritionByDishName200ResponseCalories { public static final String SERIALIZED_NAME_CONFIDENCE_RANGE95_PERCENT = "confidenceRange95Percent"; @SerializedName(SERIALIZED_NAME_CONFIDENCE_RANGE95_PERCENT) diff --git a/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.java b/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.java index c3d9bb70f..58449d188 100644 --- a/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.java +++ b/java/src/main/java/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.java @@ -50,7 +50,7 @@ /** * GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { public static final String SERIALIZED_NAME_MAX = "max"; @SerializedName(SERIALIZED_NAME_MAX) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200Response.java b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200Response.java index 7b07ba23f..c55761d05 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200Response.java @@ -54,7 +54,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageAnalysisByURL200Response { public static final String SERIALIZED_NAME_NUTRITION = "nutrition"; @SerializedName(SERIALIZED_NAME_NUTRITION) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.java b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.java index de0923431..eadb4b2c3 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.java @@ -50,7 +50,7 @@ /** * ImageAnalysisByURL200ResponseCategory */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageAnalysisByURL200ResponseCategory { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.java b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.java index 2db15fb33..79e6d5d15 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.java @@ -50,7 +50,7 @@ /** * ImageAnalysisByURL200ResponseNutrition */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageAnalysisByURL200ResponseNutrition { public static final String SERIALIZED_NAME_RECIPES_USED = "recipesUsed"; @SerializedName(SERIALIZED_NAME_RECIPES_USED) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.java b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.java index 975804c96..bae9b9c21 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.java @@ -51,7 +51,7 @@ /** * ImageAnalysisByURL200ResponseNutritionCalories */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageAnalysisByURL200ResponseNutritionCalories { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.java b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.java index c73f9df6d..fc8416de7 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.java @@ -50,7 +50,7 @@ /** * ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent { public static final String SERIALIZED_NAME_MIN = "min"; @SerializedName(SERIALIZED_NAME_MIN) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.java b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.java index 13372b81b..9ea1c7da9 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.java @@ -49,7 +49,7 @@ /** * ImageAnalysisByURL200ResponseRecipesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageAnalysisByURL200ResponseRecipesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/ImageClassificationByURL200Response.java b/java/src/main/java/com/spoonacular/client/model/ImageClassificationByURL200Response.java index 9da9910aa..75eb7114c 100644 --- a/java/src/main/java/com/spoonacular/client/model/ImageClassificationByURL200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/ImageClassificationByURL200Response.java @@ -50,7 +50,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ImageClassificationByURL200Response { public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) diff --git a/java/src/main/java/com/spoonacular/client/model/IngredientSearch200Response.java b/java/src/main/java/com/spoonacular/client/model/IngredientSearch200Response.java index d7f63b777..afff2d900 100644 --- a/java/src/main/java/com/spoonacular/client/model/IngredientSearch200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/IngredientSearch200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class IngredientSearch200Response { public static final String SERIALIZED_NAME_RESULTS = "results"; @SerializedName(SERIALIZED_NAME_RESULTS) diff --git a/java/src/main/java/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.java b/java/src/main/java/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.java index d59277049..7f4b92c1c 100644 --- a/java/src/main/java/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.java @@ -49,7 +49,7 @@ /** * IngredientSearch200ResponseResultsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class IngredientSearch200ResponseResultsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.java index 2b70b708e..5317fd4b7 100644 --- a/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.java @@ -54,7 +54,7 @@ /** * MapIngredientsToGroceryProducts200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class MapIngredientsToGroceryProducts200ResponseInner { public static final String SERIALIZED_NAME_ORIGINAL = "original"; @SerializedName(SERIALIZED_NAME_ORIGINAL) diff --git a/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.java b/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.java index 1dd8cd308..31c441b26 100644 --- a/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.java @@ -49,7 +49,7 @@ /** * MapIngredientsToGroceryProducts200ResponseInnerProductsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class MapIngredientsToGroceryProducts200ResponseInnerProductsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.java b/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.java index 7695200f3..1feb2deae 100644 --- a/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.java +++ b/java/src/main/java/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class MapIngredientsToGroceryProductsRequest { public static final String SERIALIZED_NAME_INGREDIENTS = "ingredients"; @SerializedName(SERIALIZED_NAME_INGREDIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInner.java index 16eb80276..df50573c2 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInner.java @@ -54,7 +54,7 @@ /** * ParseIngredients200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.java index 5bbe5290d..dfc59ec04 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.java @@ -50,7 +50,7 @@ /** * ParseIngredients200ResponseInnerEstimatedCost */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInnerEstimatedCost { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.java index 8d19c301d..accf87fdf 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.java @@ -55,7 +55,7 @@ /** * ParseIngredients200ResponseInnerNutrition */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInnerNutrition { public static final String SERIALIZED_NAME_NUTRIENTS = "nutrients"; @SerializedName(SERIALIZED_NAME_NUTRIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.java index 4c540ab61..3549e2c85 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.java @@ -50,7 +50,7 @@ /** * ParseIngredients200ResponseInnerNutritionCaloricBreakdown */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInnerNutritionCaloricBreakdown { public static final String SERIALIZED_NAME_PERCENT_PROTEIN = "percentProtein"; @SerializedName(SERIALIZED_NAME_PERCENT_PROTEIN) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.java index 8597d0cff..584c93ccb 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.java @@ -50,7 +50,7 @@ /** * ParseIngredients200ResponseInnerNutritionNutrientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInnerNutritionNutrientsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.java index d72366313..661199ad6 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.java @@ -50,7 +50,7 @@ /** * ParseIngredients200ResponseInnerNutritionPropertiesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInnerNutritionPropertiesInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.java b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.java index 659b99f01..1f1e4adcf 100644 --- a/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.java +++ b/java/src/main/java/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.java @@ -50,7 +50,7 @@ /** * ParseIngredients200ResponseInnerNutritionWeightPerServing */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class ParseIngredients200ResponseInnerNutritionWeightPerServing { public static final String SERIALIZED_NAME_AMOUNT = "amount"; @SerializedName(SERIALIZED_NAME_AMOUNT) diff --git a/java/src/main/java/com/spoonacular/client/model/QuickAnswer200Response.java b/java/src/main/java/com/spoonacular/client/model/QuickAnswer200Response.java index 616ffc291..53c7b58b8 100644 --- a/java/src/main/java/com/spoonacular/client/model/QuickAnswer200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/QuickAnswer200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class QuickAnswer200Response { public static final String SERIALIZED_NAME_ANSWER = "answer"; @SerializedName(SERIALIZED_NAME_ANSWER) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchAllFood200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchAllFood200Response.java index cdb3b4b27..a2552eeab 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchAllFood200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchAllFood200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchAllFood200Response { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.java index 79577402b..66ada3dfd 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.java @@ -52,7 +52,7 @@ /** * SearchAllFood200ResponseSearchResultsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchAllFood200ResponseSearchResultsInner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -64,7 +64,7 @@ public class SearchAllFood200ResponseSearchResultsInner { public static final String SERIALIZED_NAME_RESULTS = "results"; @SerializedName(SERIALIZED_NAME_RESULTS) - private Set results; + private Set results = new LinkedHashSet<>(); public SearchAllFood200ResponseSearchResultsInner() { } diff --git a/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.java index 2c69cf71b..9edfa5148 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.java @@ -50,7 +50,7 @@ /** * SearchAllFood200ResponseSearchResultsInnerResultsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchAllFood200ResponseSearchResultsInnerResultsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200Response.java index 42b6778da..405e82919 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchCustomFoods200Response { public static final String SERIALIZED_NAME_CUSTOM_FOODS = "customFoods"; @SerializedName(SERIALIZED_NAME_CUSTOM_FOODS) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.java index 9c2ff7ced..4497cdde5 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.java @@ -50,7 +50,7 @@ /** * SearchCustomFoods200ResponseCustomFoodsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchCustomFoods200ResponseCustomFoodsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200Response.java index f730ece42..9da325ab5 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchFoodVideos200Response { public static final String SERIALIZED_NAME_VIDEOS = "videos"; @SerializedName(SERIALIZED_NAME_VIDEOS) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.java b/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.java index df65dbcc0..a4e29780d 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.java @@ -50,7 +50,7 @@ /** * SearchFoodVideos200ResponseVideosInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchFoodVideos200ResponseVideosInner { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProducts200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProducts200Response.java index c643b33e4..85871d640 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProducts200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProducts200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchGroceryProducts200Response { public static final String SERIALIZED_NAME_PRODUCTS = "products"; @SerializedName(SERIALIZED_NAME_PRODUCTS) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.java index 9c56c5ceb..80a5e0d31 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.java @@ -57,7 +57,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchGroceryProductsByUPC200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.java index 113acf984..c13ccc09c 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.java @@ -49,7 +49,7 @@ /** * SearchGroceryProductsByUPC200ResponseIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchGroceryProductsByUPC200ResponseIngredientsInner { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.java b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.java index 548862156..d8c699854 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.java @@ -53,7 +53,7 @@ /** * SearchGroceryProductsByUPC200ResponseNutrition */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchGroceryProductsByUPC200ResponseNutrition { public static final String SERIALIZED_NAME_NUTRIENTS = "nutrients"; @SerializedName(SERIALIZED_NAME_NUTRIENTS) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.java b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.java index 641de0542..875e9d532 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.java @@ -50,7 +50,7 @@ /** * SearchGroceryProductsByUPC200ResponseServings */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchGroceryProductsByUPC200ResponseServings { public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200Response.java index 83a561bbb..eee48cde3 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchMenuItems200Response { public static final String SERIALIZED_NAME_MENU_ITEMS = "menuItems"; @SerializedName(SERIALIZED_NAME_MENU_ITEMS) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.java index 9ed33546c..62a639d79 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.java @@ -50,7 +50,7 @@ /** * SearchMenuItems200ResponseMenuItemsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchMenuItems200ResponseMenuItemsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRecipes200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchRecipes200Response.java index e5537e76c..d23454e88 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRecipes200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRecipes200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRecipes200Response { public static final String SERIALIZED_NAME_OFFSET = "offset"; @SerializedName(SERIALIZED_NAME_OFFSET) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.java index bcc94baf9..30ddb337b 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.java @@ -49,7 +49,7 @@ /** * SearchRecipes200ResponseResultsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRecipes200ResponseResultsInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.java index 7f8f743b3..425dbb7a6 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.java @@ -55,7 +55,7 @@ /** * SearchRecipesByIngredients200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRecipesByIngredients200ResponseInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.java index 0a95a115f..e3ba76f7c 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.java @@ -52,7 +52,7 @@ /** * SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { public static final String SERIALIZED_NAME_AISLE = "aisle"; @SerializedName(SERIALIZED_NAME_AISLE) @@ -72,7 +72,7 @@ public class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { public static final String SERIALIZED_NAME_META = "meta"; @SerializedName(SERIALIZED_NAME_META) - private List meta; + private List meta = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.java b/java/src/main/java/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.java index 1182fceb5..c664516d2 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.java @@ -50,7 +50,7 @@ /** * SearchRecipesByNutrients200ResponseInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRecipesByNutrients200ResponseInner { public static final String SERIALIZED_NAME_CALORIES = "calories"; @SerializedName(SERIALIZED_NAME_CALORIES) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200Response.java index ac56f55c6..62f57e930 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200Response.java @@ -52,11 +52,11 @@ /** * SearchRestaurants200Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRestaurants200Response { public static final String SERIALIZED_NAME_RESTAURANTS = "restaurants"; @SerializedName(SERIALIZED_NAME_RESTAURANTS) - private List restaurants; + private List restaurants = new ArrayList<>(); public SearchRestaurants200Response() { } diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.java index a0b9b9c5f..7975e4400 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.java @@ -54,7 +54,7 @@ /** * SearchRestaurants200ResponseRestaurantsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRestaurants200ResponseRestaurantsInner { public static final String SERIALIZED_NAME_ID = "_id"; @SerializedName(SERIALIZED_NAME_ID) @@ -86,19 +86,19 @@ public class SearchRestaurants200ResponseRestaurantsInner { public static final String SERIALIZED_NAME_CUISINES = "cuisines"; @SerializedName(SERIALIZED_NAME_CUISINES) - private List cuisines; + private List cuisines = new ArrayList<>(); public static final String SERIALIZED_NAME_FOOD_PHOTOS = "food_photos"; @SerializedName(SERIALIZED_NAME_FOOD_PHOTOS) - private List foodPhotos; + private List foodPhotos = new ArrayList<>(); public static final String SERIALIZED_NAME_LOGO_PHOTOS = "logo_photos"; @SerializedName(SERIALIZED_NAME_LOGO_PHOTOS) - private List logoPhotos; + private List logoPhotos = new ArrayList<>(); public static final String SERIALIZED_NAME_STORE_PHOTOS = "store_photos"; @SerializedName(SERIALIZED_NAME_STORE_PHOTOS) - private List storePhotos; + private List storePhotos = new ArrayList<>(); public static final String SERIALIZED_NAME_DOLLAR_SIGNS = "dollar_signs"; @SerializedName(SERIALIZED_NAME_DOLLAR_SIGNS) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.java b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.java index f66bcbfd7..d0ff4427a 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.java @@ -50,7 +50,7 @@ /** * SearchRestaurants200ResponseRestaurantsInnerAddress */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRestaurants200ResponseRestaurantsInnerAddress { public static final String SERIALIZED_NAME_STREET_ADDR = "street_addr"; @SerializedName(SERIALIZED_NAME_STREET_ADDR) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.java b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.java index fd5e9cc8a..26b31a9f9 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.java @@ -50,7 +50,7 @@ /** * SearchRestaurants200ResponseRestaurantsInnerLocalHours */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRestaurants200ResponseRestaurantsInnerLocalHours { public static final String SERIALIZED_NAME_OPERATIONAL = "operational"; @SerializedName(SERIALIZED_NAME_OPERATIONAL) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.java b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.java index 974bcc355..fb0d5b9d4 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.java @@ -49,7 +49,7 @@ /** * SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational { public static final String SERIALIZED_NAME_MONDAY = "Monday"; @SerializedName(SERIALIZED_NAME_MONDAY) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200Response.java b/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200Response.java index 9ca9f05ca..2de316cc5 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchSiteContent200Response { public static final String SERIALIZED_NAME_ARTICLES = "Articles"; @SerializedName(SERIALIZED_NAME_ARTICLES) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.java b/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.java index 9757447a5..ea8e2c098 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.java @@ -52,11 +52,11 @@ /** * SearchSiteContent200ResponseArticlesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchSiteContent200ResponseArticlesInner { public static final String SERIALIZED_NAME_DATA_POINTS = "dataPoints"; @SerializedName(SERIALIZED_NAME_DATA_POINTS) - private Set dataPoints; + private Set dataPoints = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) diff --git a/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.java b/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.java index 53f6ddde0..37e88d807 100644 --- a/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.java +++ b/java/src/main/java/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.java @@ -49,7 +49,7 @@ /** * SearchSiteContent200ResponseArticlesInnerDataPointsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SearchSiteContent200ResponseArticlesInnerDataPointsInner { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) diff --git a/java/src/main/java/com/spoonacular/client/model/SummarizeRecipe200Response.java b/java/src/main/java/com/spoonacular/client/model/SummarizeRecipe200Response.java index 47418519f..ebe96f078 100644 --- a/java/src/main/java/com/spoonacular/client/model/SummarizeRecipe200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/SummarizeRecipe200Response.java @@ -49,7 +49,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class SummarizeRecipe200Response { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200Response.java b/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200Response.java index 60a373458..97b810817 100644 --- a/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200Response.java +++ b/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200Response.java @@ -52,7 +52,7 @@ /** * */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class TalkToChatbot200Response { public static final String SERIALIZED_NAME_ANSWER_TEXT = "answerText"; @SerializedName(SERIALIZED_NAME_ANSWER_TEXT) diff --git a/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.java b/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.java index f67232056..fc8969209 100644 --- a/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.java +++ b/java/src/main/java/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.java @@ -49,7 +49,7 @@ /** * TalkToChatbot200ResponseMediaInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.7.0-SNAPSHOT") public class TalkToChatbot200ResponseMediaInner { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) diff --git a/javascript/.openapi-generator/VERSION b/javascript/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/javascript/.openapi-generator/VERSION +++ b/javascript/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/javascript/README.md b/javascript/README.md index b4f0144b8..876d859cd 100644 --- a/javascript/README.md +++ b/javascript/README.md @@ -8,6 +8,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g - API version: 1.1 - Package version: 1.1 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) @@ -113,7 +114,7 @@ apiKeyScheme.apiKey = "YOUR API KEY" var api = new SpoonacularApi.DefaultApi() var analyzeRecipeRequest = {"title":"Spaghetti Carbonara","servings":2,"ingredients":["1 lb spaghetti","3.5 oz pancetta","2 Tbsps olive oil","1 egg","0.5 cup parmesan cheese"],"instructions":"Bring a large pot of water to a boil and season generously with salt. Add the pasta to the water once boiling and cook until al dente. Reserve 2 cups of cooking water and drain the pasta. "}; // {AnalyzeRecipeRequest} Example request body. var opts = { - 'language': en, // {String} The input language, either \"en\" or \"de\". + 'language': "en", // {String} The input language, either \"en\" or \"de\". 'includeNutrition': false, // {Boolean} Whether nutrition data should be added to correctly parsed ingredients. 'includeTaste': false // {Boolean} Whether taste data should be added to correctly parsed ingredients. }; diff --git a/javascript/docs/DefaultApi.md b/javascript/docs/DefaultApi.md index 6fbed3e43..e4ddee4a4 100644 --- a/javascript/docs/DefaultApi.md +++ b/javascript/docs/DefaultApi.md @@ -32,7 +32,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.DefaultApi(); let analyzeRecipeRequest = {"title":"Spaghetti Carbonara","servings":2,"ingredients":["1 lb spaghetti","3.5 oz pancetta","2 Tbsps olive oil","1 egg","0.5 cup parmesan cheese"],"instructions":"Bring a large pot of water to a boil and season generously with salt. Add the pasta to the water once boiling and cook until al dente. Reserve 2 cups of cooking water and drain the pasta. "}; // AnalyzeRecipeRequest | Example request body. let opts = { - 'language': en, // String | The input language, either \"en\" or \"de\". + 'language': "en", // String | The input language, either \"en\" or \"de\". 'includeNutrition': false, // Boolean | Whether nutrition data should be added to correctly parsed ingredients. 'includeTaste': false // Boolean | Whether taste data should be added to correctly parsed ingredients. }; @@ -91,10 +91,10 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.DefaultApi(); let id = 4632; // Number | The recipe id. let opts = { - 'mask': ellipseMask, // String | The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). - 'backgroundImage': background1, // String | The background image (\"none\",\"background1\", or \"background2\"). - 'backgroundColor': ffffff, // String | The background color for the recipe card as a hex-string. - 'fontColor': 333333 // String | The font color for the recipe card as a hex-string. + 'mask': "ellipseMask", // String | The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). + 'backgroundImage': "background1", // String | The background image (\"none\",\"background1\", or \"background2\"). + 'backgroundColor': "ffffff", // String | The background color for the recipe card as a hex-string. + 'fontColor': "333333" // String | The font color for the recipe card as a hex-string. }; apiInstance.createRecipeCardGet(id, opts, (error, data, response) => { if (error) { @@ -151,15 +151,15 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.DefaultApi(); let opts = { - 'query': beach cafe, // String | The search query. + 'query': "beach cafe", // String | The search query. 'lat': 37.7786357, // Number | The latitude of the user's location. 'lng': -122.3918135, // Number | The longitude of the user's location.\". 'distance': 2, // Number | The distance around the location in miles. 'budget': 20, // Number | The user's budget for a meal in USD. - 'cuisine': italian, // String | The cuisine of the restaurant. + 'cuisine': "italian", // String | The cuisine of the restaurant. 'minRating': 4.4, // Number | The minimum rating of the restaurant between 0 and 5. 'isOpen': true, // Boolean | Whether the restaurant must be open at the time of search. - 'sort': distance, // String | How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. + 'sort': "distance", // String | How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. 'page': 0 // Number | The page number of results. }; apiInstance.searchRestaurants(opts, (error, data, response) => { diff --git a/javascript/docs/IngredientsApi.md b/javascript/docs/IngredientsApi.md index 1c1d44e90..ade53ea2f 100644 --- a/javascript/docs/IngredientsApi.md +++ b/javascript/docs/IngredientsApi.md @@ -37,11 +37,11 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.IngredientsApi(); let opts = { - 'query': burger, // String | The (natural language) search query. + 'query': "burger", // String | The (natural language) search query. 'number': 10, // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. 'metaInformation': false, // Boolean | Whether to return more meta information about the ingredients. - 'intolerances': egg, // String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. - 'language': en // String | The language of the input. Either 'en' or 'de'. + 'intolerances': "egg", // String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. + 'language': "en" // String | The language of the input. Either 'en' or 'de'. }; apiInstance.autocompleteIngredientSearch(opts, (error, data, response) => { if (error) { @@ -98,10 +98,10 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.IngredientsApi(); let id = 9266; // Number | The id of the ingredient you want the amount for. -let nutrient = protein; // String | The target nutrient. See a list of supported nutrients. +let nutrient = "protein"; // String | The target nutrient. See a list of supported nutrients. let target = 2; // Number | The target number of the given nutrient. let opts = { - 'unit': oz // String | The target unit. + 'unit': "oz" // String | The target unit. }; apiInstance.computeIngredientAmount(id, nutrient, target, opts, (error, data, response) => { if (error) { @@ -159,7 +159,7 @@ let apiInstance = new SpoonacularApi.IngredientsApi(); let id = 1; // Number | The item's id. let opts = { 'amount': 150, // Number | The amount of this ingredient. - 'unit': grams // String | The unit for the given amount. + 'unit': "grams" // String | The unit for the given amount. }; apiInstance.getIngredientInformation(id, opts, (error, data, response) => { if (error) { @@ -213,7 +213,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.IngredientsApi(); -let ingredientName = butter; // String | The name of the ingredient you want to replace. +let ingredientName = "butter"; // String | The name of the ingredient you want to replace. apiInstance.getIngredientSubstitutes(ingredientName, (error, data, response) => { if (error) { console.error(error); @@ -316,7 +316,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.IngredientsApi(); let opts = { - 'query': burger, // String | The (natural language) search query. + 'query': "burger", // String | The (natural language) search query. 'addChildren': true, // Boolean | Whether to add children of found foods. 'minProteinPercent': 10, // Number | The minimum percentage of protein the food must have (between 0 and 100). 'maxProteinPercent': 90, // Number | The maximum percentage of protein the food can have (between 0 and 100). @@ -325,12 +325,12 @@ let opts = { 'minCarbsPercent': 10, // Number | The minimum percentage of carbs the food must have (between 0 and 100). 'maxCarbsPercent': 90, // Number | The maximum percentage of carbs the food can have (between 0 and 100). 'metaInformation': false, // Boolean | Whether to return more meta information about the ingredients. - 'intolerances': egg, // String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. - 'sort': calories, // String | The strategy to sort recipes by. See a full list of supported sorting options. - 'sortDirection': asc, // String | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). + 'intolerances': "egg", // String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. + 'sort': "calories", // String | The strategy to sort recipes by. See a full list of supported sorting options. + 'sortDirection': "asc", // String | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). 'offset': 56, // Number | The number of results to skip (between 0 and 900). 'number': 10, // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. - 'language': en // String | The language of the input. Either 'en' or 'de'. + 'language': "en" // String | The language of the input. Either 'en' or 'de'. }; apiInstance.ingredientSearch(opts, (error, data, response) => { if (error) { @@ -398,7 +398,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.IngredientsApi(); let id = 1082038; // Number | The recipe id. let opts = { - 'measure': metric // String | Whether the the measures should be 'us' or 'metric'. + 'measure': "metric" // String | Whether the the measures should be 'us' or 'metric'. }; apiInstance.ingredientsByIDImage(id, opts, (error, data, response) => { if (error) { @@ -505,7 +505,7 @@ let apiInstance = new SpoonacularApi.IngredientsApi(); let ingredientList = "ingredientList_example"; // String | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). let servings = 3.4; // Number | The number of servings. let opts = { - 'language': en, // String | The language of the input. Either 'en' or 'de'. + 'language': "en", // String | The language of the input. Either 'en' or 'de'. 'measure': "measure_example", // String | The original system of measurement, either 'metric' or 'us'. 'view': "view_example", // String | How to visualize the ingredients, either 'grid' or 'list'. 'defaultCss': true, // Boolean | Whether the default CSS should be added to the response. diff --git a/javascript/docs/MealPlanningApi.md b/javascript/docs/MealPlanningApi.md index 92ccf9896..49ab372bb 100644 --- a/javascript/docs/MealPlanningApi.md +++ b/javascript/docs/MealPlanningApi.md @@ -41,8 +41,8 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. -let hash = 4b5v4398573406; // String | The private hash for the username. +let username = "dsky"; // String | The username. +let hash = "4b5v4398573406"; // String | The private hash for the username. apiInstance.addMealPlanTemplate(username, hash, (error, data, response) => { if (error) { console.error(error); @@ -94,7 +94,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let hash = "hash_example"; // String | The private hash for the username. let addToMealPlanRequest = {"date":1589500800,"slot":1,"position":0,"type":"INGREDIENTS","value":{"ingredients":[{"name":"1 banana"}]}}; // AddToMealPlanRequest | apiInstance.addToMealPlan(username, hash, addToMealPlanRequest, (error, data, response) => { @@ -149,7 +149,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let hash = "hash_example"; // String | The private hash for the username. let addToShoppingListRequest = {"item":"1 package baking powder","aisle":"Baking","parse":true}; // AddToShoppingListRequest | apiInstance.addToShoppingList(username, hash, addToShoppingListRequest, (error, data, response) => { @@ -204,8 +204,8 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. -let date = 2020-06-01; // String | The date in the format yyyy-mm-dd. +let username = "dsky"; // String | The username. +let date = "2020-06-01"; // String | The date in the format yyyy-mm-dd. let hash = "hash_example"; // String | The private hash for the username. apiInstance.clearMealPlanDay(username, date, hash, (error, data, response) => { if (error) { @@ -310,7 +310,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let id = 15678; // Number | The shopping list item id. let hash = "hash_example"; // String | The private hash for the username. apiInstance.deleteFromMealPlan(username, id, hash, (error, data, response) => { @@ -365,7 +365,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let id = 1; // Number | The item's id. let hash = "hash_example"; // String | The private hash for the username. apiInstance.deleteFromShoppingList(username, id, hash, (error, data, response) => { @@ -420,9 +420,9 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let id = 1; // Number | The item's id. -let hash = 4b5v4398573406; // String | The private hash for the username. +let hash = "4b5v4398573406"; // String | The private hash for the username. apiInstance.deleteMealPlanTemplate(username, id, hash, (error, data, response) => { if (error) { console.error(error); @@ -476,10 +476,10 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.MealPlanningApi(); let opts = { - 'timeFrame': day, // String | Either for one \"day\" or an entire \"week\". + 'timeFrame': "day", // String | Either for one \"day\" or an entire \"week\". 'targetCalories': 2000, // Number | What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. - 'diet': vegetarian, // String | Enter a diet that the meal plan has to adhere to. See a full list of supported diets. - 'exclude': shellfish, olives // String | A comma-separated list of allergens or ingredients that must be excluded. + 'diet': "vegetarian", // String | Enter a diet that the meal plan has to adhere to. See a full list of supported diets. + 'exclude': "shellfish, olives" // String | A comma-separated list of allergens or ingredients that must be excluded. }; apiInstance.generateMealPlan(opts, (error, data, response) => { if (error) { @@ -534,9 +534,9 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. -let startDate = 2020-06-01; // String | The start date in the format yyyy-mm-dd. -let endDate = 2020-06-07; // String | The end date in the format yyyy-mm-dd. +let username = "dsky"; // String | The username. +let startDate = "2020-06-01"; // String | The start date in the format yyyy-mm-dd. +let endDate = "2020-06-07"; // String | The end date in the format yyyy-mm-dd. let hash = "hash_example"; // String | The private hash for the username. apiInstance.generateShoppingList(username, startDate, endDate, hash, (error, data, response) => { if (error) { @@ -591,7 +591,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let id = 1; // Number | The item's id. let hash = "hash_example"; // String | The private hash for the username. apiInstance.getMealPlanTemplate(username, id, hash, (error, data, response) => { @@ -646,7 +646,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let hash = "hash_example"; // String | The private hash for the username. apiInstance.getMealPlanTemplates(username, hash, (error, data, response) => { if (error) { @@ -699,8 +699,8 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. -let startDate = 2020-06-01; // String | The start date of the meal planned week in the format yyyy-mm-dd. +let username = "dsky"; // String | The username. +let startDate = "2020-06-01"; // String | The start date of the meal planned week in the format yyyy-mm-dd. let hash = "hash_example"; // String | The private hash for the username. apiInstance.getMealPlanWeek(username, startDate, hash, (error, data, response) => { if (error) { @@ -754,7 +754,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MealPlanningApi(); -let username = dsky; // String | The username. +let username = "dsky"; // String | The username. let hash = "hash_example"; // String | The private hash for the username. apiInstance.getShoppingList(username, hash, (error, data, response) => { if (error) { diff --git a/javascript/docs/MenuItemsApi.md b/javascript/docs/MenuItemsApi.md index 87c355d7e..03b2dc212 100644 --- a/javascript/docs/MenuItemsApi.md +++ b/javascript/docs/MenuItemsApi.md @@ -34,7 +34,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MenuItemsApi(); -let query = chicke; // String | The (partial) search query. +let query = "chicke"; // String | The (partial) search query. let opts = { 'number': 10 // Number | The number of results to return (between 1 and 25). }; @@ -312,7 +312,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.MenuItemsApi(); let opts = { - 'query': burger, // String | The (natural language) search query. + 'query': "burger", // String | The (natural language) search query. 'minCalories': 50, // Number | The minimum amount of calories the menu item must have. 'maxCalories': 800, // Number | The maximum amount of calories the menu item can have. 'minCarbs': 10, // Number | The minimum amount of carbohydrates in grams the menu item must have. diff --git a/javascript/docs/MiscApi.md b/javascript/docs/MiscApi.md index 8bffebb57..d3cc25256 100644 --- a/javascript/docs/MiscApi.md +++ b/javascript/docs/MiscApi.md @@ -136,7 +136,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let query = tell; // String | A (partial) query from the user. The endpoint will return if it matches topics it can talk about. +let query = "tell"; // String | A (partial) query from the user. The endpoint will return if it matches topics it can talk about. let opts = { 'number': 5 // Number | The number of suggestions to return (between 1 and 25). }; @@ -238,7 +238,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let imageUrl = https://spoonacular.com/recipeImages/635350-240x150.jpg; // String | The URL of the image to be analyzed. +let imageUrl = "https://spoonacular.com/recipeImages/635350-240x150.jpg"; // String | The URL of the image to be analyzed. apiInstance.imageAnalysisByURL(imageUrl, (error, data, response) => { if (error) { console.error(error); @@ -289,7 +289,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let imageUrl = https://spoonacular.com/recipeImages/635350-240x150.jpg; // String | The URL of the image to be classified. +let imageUrl = "https://spoonacular.com/recipeImages/635350-240x150.jpg"; // String | The URL of the image to be classified. apiInstance.imageClassificationByURL(imageUrl, (error, data, response) => { if (error) { console.error(error); @@ -340,7 +340,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let query = apple; // String | The search query. +let query = "apple"; // String | The search query. let opts = { 'offset': 56, // Number | The number of results to skip (between 0 and 900). 'number': 10 // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. @@ -397,10 +397,10 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let username = dsky; // String | The username. -let hash = 4b5v4398573406; // String | The private hash for the username. +let username = "dsky"; // String | The username. +let hash = "4b5v4398573406"; // String | The private hash for the username. let opts = { - 'query': burger, // String | The (natural language) search query. + 'query': "burger", // String | The (natural language) search query. 'offset': 56, // Number | The number of results to skip (between 0 and 900). 'number': 10 // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. }; @@ -459,12 +459,12 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.MiscApi(); let opts = { - 'query': burger, // String | The (natural language) search query. - 'type': main course, // String | The type of the recipes. See a full list of supported meal types. - 'cuisine': italian, // String | The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. - 'diet': vegetarian, // String | The diet for which the recipes must be suitable. See a full list of supported diets. - 'includeIngredients': tomato,cheese, // String | A comma-separated list of ingredients that the recipes should contain. - 'excludeIngredients': eggs, // String | A comma-separated list of ingredients or ingredient types that the recipes must not contain. + 'query': "burger", // String | The (natural language) search query. + 'type': "main course", // String | The type of the recipes. See a full list of supported meal types. + 'cuisine': "italian", // String | The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. + 'diet': "vegetarian", // String | The diet for which the recipes must be suitable. See a full list of supported diets. + 'includeIngredients': "tomato,cheese", // String | A comma-separated list of ingredients that the recipes should contain. + 'excludeIngredients': "eggs", // String | A comma-separated list of ingredients or ingredient types that the recipes must not contain. 'minLength': 0, // Number | Minimum video length in seconds. 'maxLength': 999, // Number | Maximum video length in seconds. 'offset': 56, // Number | The number of results to skip (between 0 and 900). @@ -529,7 +529,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let query = past; // String | The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. +let query = "past"; // String | The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. apiInstance.searchSiteContent(query, (error, data, response) => { if (error) { console.error(error); @@ -580,9 +580,9 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.MiscApi(); -let text = donut recipes; // String | The request / question / answer from the user to the chatbot. +let text = "donut recipes"; // String | The request / question / answer from the user to the chatbot. let opts = { - 'contextId': 342938 // String | An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. + 'contextId': "342938" // String | An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. }; apiInstance.talkToChatbot(text, opts, (error, data, response) => { if (error) { diff --git a/javascript/docs/ProductsApi.md b/javascript/docs/ProductsApi.md index 88d0db8dd..02bcf3e33 100644 --- a/javascript/docs/ProductsApi.md +++ b/javascript/docs/ProductsApi.md @@ -38,7 +38,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.ProductsApi(); -let query = chicke; // String | The (partial) search query. +let query = "chicke"; // String | The (partial) search query. let opts = { 'number': 10 // Number | The number of results to return (between 1 and 25). }; @@ -95,7 +95,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.ProductsApi(); let classifyGroceryProductRequest = {"title":"Kroger Vitamin A & D Reduced Fat 2% Milk","upc":"","plu_code":""}; // ClassifyGroceryProductRequest | let opts = { - 'locale': en_US // String | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). + 'locale': "en_US" // String | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). }; apiInstance.classifyGroceryProduct(classifyGroceryProductRequest, opts, (error, data, response) => { if (error) { @@ -150,7 +150,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.ProductsApi(); let classifyGroceryProductBulkRequestInner = [{"title":"Kroger Vitamin A & D Reduced Fat 2% Milk","upc":"","plu_code":""}]; // [ClassifyGroceryProductBulkRequestInner] | let opts = { - 'locale': en_US // String | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). + 'locale': "en_US" // String | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). }; apiInstance.classifyGroceryProductBulk(classifyGroceryProductBulkRequestInner, opts, (error, data, response) => { if (error) { @@ -477,7 +477,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.ProductsApi(); let opts = { - 'query': burger, // String | The (natural language) search query. + 'query': "burger", // String | The (natural language) search query. 'minCalories': 50, // Number | The minimum amount of calories the product must have. 'maxCalories': 800, // Number | The maximum amount of calories the product can have. 'minCarbs': 10, // Number | The minimum amount of carbohydrates in grams the product must have. diff --git a/javascript/docs/RecipesApi.md b/javascript/docs/RecipesApi.md index 02e25e9ab..1990818f8 100644 --- a/javascript/docs/RecipesApi.md +++ b/javascript/docs/RecipesApi.md @@ -67,7 +67,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.RecipesApi(); -let q = salmon with fusilli and no nuts; // String | The recipe search query. +let q = "salmon with fusilli and no nuts"; // String | The recipe search query. apiInstance.analyzeARecipeSearchQuery(q, (error, data, response) => { if (error) { console.error(error); @@ -170,7 +170,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.RecipesApi(); let opts = { - 'query': burger, // String | The (natural language) search query. + 'query': "burger", // String | The (natural language) search query. 'number': 10 // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. }; apiInstance.autocompleteRecipeSearch(opts, (error, data, response) => { @@ -227,7 +227,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let title = "title_example"; // String | The title of the recipe. let ingredientList = "ingredientList_example"; // String | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). let opts = { - 'language': en // String | The language of the input. Either 'en' or 'de'. + 'language': "en" // String | The language of the input. Either 'en' or 'de'. }; apiInstance.classifyCuisine(title, ingredientList, opts, (error, data, response) => { if (error) { @@ -283,7 +283,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.RecipesApi(); let computeGlycemicLoadRequest = {"ingredients":["1 kiwi","2 cups rice","2 glasses of water"]}; // ComputeGlycemicLoadRequest | let opts = { - 'language': en // String | The language of the input. Either 'en' or 'de'. + 'language': "en" // String | The language of the input. Either 'en' or 'de'. }; apiInstance.computeGlycemicLoad(computeGlycemicLoadRequest, opts, (error, data, response) => { if (error) { @@ -336,10 +336,10 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.RecipesApi(); -let ingredientName = flour; // String | The ingredient which you want to convert. +let ingredientName = "flour"; // String | The ingredient which you want to convert. let sourceAmount = 2.5; // Number | The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". -let sourceUnit = cups; // String | The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" -let targetUnit = grams; // String | The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" +let sourceUnit = "cups"; // String | The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" +let targetUnit = "grams"; // String | The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" apiInstance.convertAmounts(ingredientName, sourceAmount, sourceUnit, targetUnit, (error, data, response) => { if (error) { console.error(error); @@ -521,7 +521,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.RecipesApi(); -let url = https://foodista.com/recipe/ZHK4KPB6/chocolate-crinkle-cookies; // String | The URL of the recipe page. +let url = "https://foodista.com/recipe/ZHK4KPB6/chocolate-crinkle-cookies"; // String | The URL of the recipe page. let opts = { 'forceExtraction': true, // Boolean | If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. 'analyze': false, // Boolean | If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. @@ -640,8 +640,8 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let opts = { 'limitLicense': true, // Boolean | Whether the recipes should have an open license that allows display with proper attribution. 'includeNutrition': false, // Boolean | Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. - 'includeTags': vegetarian,gluten, // String | A comma-separated list of tags that the random recipe(s) must adhere to. - 'excludeTags': meat,dairy, // String | A comma-separated list of tags that the random recipe(s) must not adhere to. + 'includeTags': "vegetarian,gluten", // String | A comma-separated list of tags that the random recipe(s) must adhere to. + 'excludeTags': "meat,dairy", // String | A comma-separated list of tags that the random recipe(s) must not adhere to. 'number': 10 // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. }; apiInstance.getRandomRecipes(opts, (error, data, response) => { @@ -804,7 +804,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.RecipesApi(); -let ids = 715538,716429; // String | A comma-separated list of recipe ids. +let ids = "715538,716429"; // String | A comma-separated list of recipe ids. let opts = { 'includeNutrition': false // Boolean | Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. }; @@ -1124,7 +1124,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.RecipesApi(); -let title = Spaghetti Aglio et Olio; // String | The title of the dish. +let title = "Spaghetti Aglio et Olio"; // String | The title of the dish. apiInstance.guessNutritionByDishName(title, (error, data, response) => { if (error) { console.error(error); @@ -1178,7 +1178,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let ingredientList = "ingredientList_example"; // String | The ingredient list of the recipe, one ingredient per line. let servings = 3.4; // Number | The number of servings that you can make from the ingredients. let opts = { - 'language': en, // String | The language of the input. Either 'en' or 'de'. + 'language': "en", // String | The language of the input. Either 'en' or 'de'. 'includeNutrition': true // Boolean | }; apiInstance.parseIngredients(ingredientList, servings, opts, (error, data, response) => { @@ -1285,7 +1285,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.RecipesApi(); -let q = How much vitamin c is in 2 apples?; // String | The nutrition related question. +let q = "How much vitamin c is in 2 apples?"; // String | The nutrition related question. apiInstance.quickAnswer(q, (error, data, response) => { if (error) { console.error(error); @@ -1510,7 +1510,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let id = 69095; // Number | The recipe id. let opts = { 'normalize': false, // Boolean | Normalize to the strongest taste. - 'rgb': 75,192,192 // String | Red, green, blue values for the chart color. + 'rgb': "75,192,192" // String | Red, green, blue values for the chart color. }; apiInstance.recipeTasteByIDImage(id, opts, (error, data, response) => { if (error) { @@ -1565,29 +1565,29 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.RecipesApi(); let opts = { - 'query': burger, // String | The (natural language) search query. - 'cuisine': italian, // String | The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. - 'excludeCuisine': greek, // String | The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. - 'diet': vegetarian, // String | The diet for which the recipes must be suitable. See a full list of supported diets. - 'intolerances': gluten, // String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. - 'equipment': pan, // String | The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". - 'includeIngredients': tomato,cheese, // String | A comma-separated list of ingredients that should/must be used in the recipes. - 'excludeIngredients': eggs, // String | A comma-separated list of ingredients or ingredient types that the recipes must not contain. - 'type': main course, // String | The type of recipe. See a full list of supported meal types. + 'query': "burger", // String | The (natural language) search query. + 'cuisine': "italian", // String | The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. + 'excludeCuisine': "greek", // String | The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. + 'diet': "vegetarian", // String | The diet for which the recipes must be suitable. See a full list of supported diets. + 'intolerances': "gluten", // String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. + 'equipment': "pan", // String | The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". + 'includeIngredients': "tomato,cheese", // String | A comma-separated list of ingredients that should/must be used in the recipes. + 'excludeIngredients': "eggs", // String | A comma-separated list of ingredients or ingredient types that the recipes must not contain. + 'type': "main course", // String | The type of recipe. See a full list of supported meal types. 'instructionsRequired': true, // Boolean | Whether the recipes must have instructions. 'fillIngredients': false, // Boolean | Add information about the ingredients and whether they are used or missing in relation to the query. 'addRecipeInformation': false, // Boolean | If set to true, you get more information about the recipes returned. 'addRecipeNutrition': false, // Boolean | If set to true, you get nutritional information about each recipes returned. - 'author': coffeebean, // String | The username of the recipe author. + 'author': "coffeebean", // String | The username of the recipe author. 'tags': "tags_example", // String | The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. 'recipeBoxId': 2468, // Number | The id of the recipe box to which the search should be limited to. - 'titleMatch': Crock Pot, // String | Enter text that must be found in the title of the recipes. + 'titleMatch': "Crock Pot", // String | Enter text that must be found in the title of the recipes. 'maxReadyTime': 20, // Number | The maximum time in minutes it should take to prepare and cook the recipe. 'minServings': 1, // Number | The minimum amount of servings the recipe is for. 'maxServings': 8, // Number | The maximum amount of servings the recipe is for. 'ignorePantry': false, // Boolean | Whether to ignore typical pantry items, such as water, salt, flour, etc. - 'sort': calories, // String | The strategy to sort recipes by. See a full list of supported sorting options. - 'sortDirection': asc, // String | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). + 'sort': "calories", // String | The strategy to sort recipes by. See a full list of supported sorting options. + 'sortDirection': "asc", // String | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). 'minCarbs': 10, // Number | The minimum amount of carbohydrates in grams the recipe must have. 'maxCarbs': 100, // Number | The maximum amount of carbohydrates in grams the recipe can have. 'minProtein': 10, // Number | The minimum amount of protein in grams the recipe must have. @@ -1812,7 +1812,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.RecipesApi(); let opts = { - 'ingredients': carrots,tomatoes, // String | A comma-separated list of ingredients that the recipes should contain. + 'ingredients': "carrots,tomatoes", // String | A comma-separated list of ingredients that the recipes should contain. 'number': 10, // Number | The maximum number of items to return (between 1 and 100). Defaults to 10. 'limitLicense': true, // Boolean | Whether the recipes should have an open license that allows display with proper attribution. 'ranking': 1, // Number | Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. @@ -2188,7 +2188,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let ingredientList = "ingredientList_example"; // String | The ingredient list of the recipe, one ingredient per line. let servings = 3.4; // Number | The number of servings. let opts = { - 'language': en, // String | The language of the input. Either 'en' or 'de'. + 'language': "en", // String | The language of the input. Either 'en' or 'de'. 'mode': 3.4, // Number | The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). 'defaultCss': true, // Boolean | Whether the default CSS should be added to the response. 'showBacklink': true // Boolean | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. @@ -2306,7 +2306,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let id = 1; // Number | The item's id. let opts = { 'defaultCss': false, // Boolean | Whether the default CSS should be added to the response. - 'measure': metric // String | Whether the the measures should be 'us' or 'metric'. + 'measure': "metric" // String | Whether the the measures should be 'us' or 'metric'. }; apiInstance.visualizeRecipeIngredientsByID(id, opts, (error, data, response) => { if (error) { @@ -2363,7 +2363,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let ingredientList = "ingredientList_example"; // String | The ingredient list of the recipe, one ingredient per line. let servings = 3.4; // Number | The number of servings. let opts = { - 'language': en, // String | The language of the input. Either 'en' or 'de'. + 'language': "en", // String | The language of the input. Either 'en' or 'de'. 'defaultCss': true, // Boolean | Whether the default CSS should be added to the response. 'showBacklink': true // Boolean | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. }; @@ -2533,7 +2533,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; let apiInstance = new SpoonacularApi.RecipesApi(); let ingredientList = "ingredientList_example"; // String | The ingredient list of the recipe, one ingredient per line. let opts = { - 'language': en, // String | The language of the input. Either 'en' or 'de'. + 'language': "en", // String | The language of the input. Either 'en' or 'de'. 'normalize': true, // Boolean | Normalize to the strongest taste. 'rgb': "rgb_example" // String | Red, green, blue values for the chart color. }; @@ -2593,7 +2593,7 @@ let apiInstance = new SpoonacularApi.RecipesApi(); let id = 1; // Number | The item's id. let opts = { 'normalize': true, // Boolean | Whether to normalize to the strongest taste. - 'rgb': 75,192,192 // String | Red, green, blue values for the chart color. + 'rgb': "75,192,192" // String | Red, green, blue values for the chart color. }; apiInstance.visualizeRecipeTasteByID(id, opts, (error, data, response) => { if (error) { diff --git a/javascript/docs/WineApi.md b/javascript/docs/WineApi.md index 61274969f..2ebdc094b 100644 --- a/javascript/docs/WineApi.md +++ b/javascript/docs/WineApi.md @@ -31,7 +31,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.WineApi(); -let wine = malbec; // String | The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". +let wine = "malbec"; // String | The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". apiInstance.getDishPairingForWine(wine, (error, data, response) => { if (error) { console.error(error); @@ -82,7 +82,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.WineApi(); -let wine = merlot; // String | The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". +let wine = "merlot"; // String | The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". apiInstance.getWineDescription(wine, (error, data, response) => { if (error) { console.error(error); @@ -133,7 +133,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.WineApi(); -let food = steak; // String | The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). +let food = "steak"; // String | The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). let opts = { 'maxPrice': 50 // Number | The maximum price for the specific wine recommendation in USD. }; @@ -188,7 +188,7 @@ apiKeyScheme.apiKey = 'YOUR API KEY'; //apiKeyScheme.apiKeyPrefix = 'Token'; let apiInstance = new SpoonacularApi.WineApi(); -let wine = merlot; // String | The type of wine to get a specific product recommendation for. +let wine = "merlot"; // String | The type of wine to get a specific product recommendation for. let opts = { 'maxPrice': 50, // Number | The maximum price for the specific wine recommendation in USD. 'minRating': 0.7, // Number | The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. diff --git a/kotlin/.openapi-generator/FILES b/kotlin/.openapi-generator/FILES index 0ee04685e..2271cee10 100644 --- a/kotlin/.openapi-generator/FILES +++ b/kotlin/.openapi-generator/FILES @@ -347,3 +347,165 @@ src/main/kotlin/spoonacular/infrastructure/ResponseExtensions.kt src/main/kotlin/spoonacular/infrastructure/Serializer.kt src/main/kotlin/spoonacular/infrastructure/URIAdapter.kt src/main/kotlin/spoonacular/infrastructure/UUIDAdapter.kt +src/test/kotlin/com/spoonacular/DefaultApiTest.kt +src/test/kotlin/com/spoonacular/IngredientsApiTest.kt +src/test/kotlin/com/spoonacular/MealPlanningApiTest.kt +src/test/kotlin/com/spoonacular/MenuItemsApiTest.kt +src/test/kotlin/com/spoonacular/MiscApiTest.kt +src/test/kotlin/com/spoonacular/ProductsApiTest.kt +src/test/kotlin/com/spoonacular/RecipesApiTest.kt +src/test/kotlin/com/spoonacular/WineApiTest.kt +src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValueTest.kt +src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueTest.kt +src/test/kotlin/com/spoonacular/client/model/AddToShoppingListRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ClassifyCuisine200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ConnectUser200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ConnectUserRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/ConvertAmounts200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/CreateRecipeCard200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrientsTest.kt +src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GenerateShoppingList200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsTest.kt +src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsTest.kt +src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetDishPairingForWine200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutritionTest.kt +src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetMenuItemInformation200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.kt +src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetWineDescription200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.kt +src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesTest.kt +src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategoryTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/ImageClassificationByURL200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequestTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCostTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.kt +src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/QuickAnswer200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchGroceryProducts200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutritionTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServingsTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/SummarizeRecipe200ResponseTest.kt +src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInnerTest.kt +src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseTest.kt diff --git a/kotlin/.openapi-generator/VERSION b/kotlin/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/kotlin/.openapi-generator/VERSION +++ b/kotlin/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/kotlin/README.md b/kotlin/README.md index ffbc9e114..7c71bec1a 100644 --- a/kotlin/README.md +++ b/kotlin/README.md @@ -8,7 +8,8 @@ Special diets/dietary requirements currently available include: vegan, vegetaria This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate an API client. - API version: 1.1 -- Package version: 1.1.1 +- Package version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.KotlinClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) @@ -45,107 +46,107 @@ This runs all tests and packages the library. All URIs are relative to *https://api.spoonacular.com* -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*DefaultApi* | [**analyzeRecipe**](docs/DefaultApi.md#analyzerecipe) | **POST** /recipes/analyze | Analyze Recipe -*DefaultApi* | [**createRecipeCardGet**](docs/DefaultApi.md#createrecipecardget) | **GET** /recipes/{id}/card | Create Recipe Card -*DefaultApi* | [**searchRestaurants**](docs/DefaultApi.md#searchrestaurants) | **GET** /food/restaurants/search | Search Restaurants -*IngredientsApi* | [**autocompleteIngredientSearch**](docs/IngredientsApi.md#autocompleteingredientsearch) | **GET** /food/ingredients/autocomplete | Autocomplete Ingredient Search -*IngredientsApi* | [**computeIngredientAmount**](docs/IngredientsApi.md#computeingredientamount) | **GET** /food/ingredients/{id}/amount | Compute Ingredient Amount -*IngredientsApi* | [**getIngredientInformation**](docs/IngredientsApi.md#getingredientinformation) | **GET** /food/ingredients/{id}/information | Get Ingredient Information -*IngredientsApi* | [**getIngredientSubstitutes**](docs/IngredientsApi.md#getingredientsubstitutes) | **GET** /food/ingredients/substitutes | Get Ingredient Substitutes -*IngredientsApi* | [**getIngredientSubstitutesByID**](docs/IngredientsApi.md#getingredientsubstitutesbyid) | **GET** /food/ingredients/{id}/substitutes | Get Ingredient Substitutes by ID -*IngredientsApi* | [**ingredientSearch**](docs/IngredientsApi.md#ingredientsearch) | **GET** /food/ingredients/search | Ingredient Search -*IngredientsApi* | [**ingredientsByIDImage**](docs/IngredientsApi.md#ingredientsbyidimage) | **GET** /recipes/{id}/ingredientWidget.png | Ingredients by ID Image -*IngredientsApi* | [**mapIngredientsToGroceryProducts**](docs/IngredientsApi.md#mapingredientstogroceryproducts) | **POST** /food/ingredients/map | Map Ingredients to Grocery Products -*IngredientsApi* | [**visualizeIngredients**](docs/IngredientsApi.md#visualizeingredients) | **POST** /recipes/visualizeIngredients | Ingredients Widget -*MealPlanningApi* | [**addMealPlanTemplate**](docs/MealPlanningApi.md#addmealplantemplate) | **POST** /mealplanner/{username}/templates | Add Meal Plan Template -*MealPlanningApi* | [**addToMealPlan**](docs/MealPlanningApi.md#addtomealplan) | **POST** /mealplanner/{username}/items | Add to Meal Plan -*MealPlanningApi* | [**addToShoppingList**](docs/MealPlanningApi.md#addtoshoppinglist) | **POST** /mealplanner/{username}/shopping-list/items | Add to Shopping List -*MealPlanningApi* | [**clearMealPlanDay**](docs/MealPlanningApi.md#clearmealplanday) | **DELETE** /mealplanner/{username}/day/{date} | Clear Meal Plan Day -*MealPlanningApi* | [**connectUser**](docs/MealPlanningApi.md#connectuser) | **POST** /users/connect | Connect User -*MealPlanningApi* | [**deleteFromMealPlan**](docs/MealPlanningApi.md#deletefrommealplan) | **DELETE** /mealplanner/{username}/items/{id} | Delete from Meal Plan -*MealPlanningApi* | [**deleteFromShoppingList**](docs/MealPlanningApi.md#deletefromshoppinglist) | **DELETE** /mealplanner/{username}/shopping-list/items/{id} | Delete from Shopping List -*MealPlanningApi* | [**deleteMealPlanTemplate**](docs/MealPlanningApi.md#deletemealplantemplate) | **DELETE** /mealplanner/{username}/templates/{id} | Delete Meal Plan Template -*MealPlanningApi* | [**generateMealPlan**](docs/MealPlanningApi.md#generatemealplan) | **GET** /mealplanner/generate | Generate Meal Plan -*MealPlanningApi* | [**generateShoppingList**](docs/MealPlanningApi.md#generateshoppinglist) | **POST** /mealplanner/{username}/shopping-list/{start_date}/{end_date} | Generate Shopping List -*MealPlanningApi* | [**getMealPlanTemplate**](docs/MealPlanningApi.md#getmealplantemplate) | **GET** /mealplanner/{username}/templates/{id} | Get Meal Plan Template -*MealPlanningApi* | [**getMealPlanTemplates**](docs/MealPlanningApi.md#getmealplantemplates) | **GET** /mealplanner/{username}/templates | Get Meal Plan Templates -*MealPlanningApi* | [**getMealPlanWeek**](docs/MealPlanningApi.md#getmealplanweek) | **GET** /mealplanner/{username}/week/{start_date} | Get Meal Plan Week -*MealPlanningApi* | [**getShoppingList**](docs/MealPlanningApi.md#getshoppinglist) | **GET** /mealplanner/{username}/shopping-list | Get Shopping List -*MenuItemsApi* | [**autocompleteMenuItemSearch**](docs/MenuItemsApi.md#autocompletemenuitemsearch) | **GET** /food/menuItems/suggest | Autocomplete Menu Item Search -*MenuItemsApi* | [**getMenuItemInformation**](docs/MenuItemsApi.md#getmenuiteminformation) | **GET** /food/menuItems/{id} | Get Menu Item Information -*MenuItemsApi* | [**menuItemNutritionByIDImage**](docs/MenuItemsApi.md#menuitemnutritionbyidimage) | **GET** /food/menuItems/{id}/nutritionWidget.png | Menu Item Nutrition by ID Image -*MenuItemsApi* | [**menuItemNutritionLabelImage**](docs/MenuItemsApi.md#menuitemnutritionlabelimage) | **GET** /food/menuItems/{id}/nutritionLabel.png | Menu Item Nutrition Label Image -*MenuItemsApi* | [**menuItemNutritionLabelWidget**](docs/MenuItemsApi.md#menuitemnutritionlabelwidget) | **GET** /food/menuItems/{id}/nutritionLabel | Menu Item Nutrition Label Widget -*MenuItemsApi* | [**searchMenuItems**](docs/MenuItemsApi.md#searchmenuitems) | **GET** /food/menuItems/search | Search Menu Items -*MenuItemsApi* | [**visualizeMenuItemNutritionByID**](docs/MenuItemsApi.md#visualizemenuitemnutritionbyid) | **GET** /food/menuItems/{id}/nutritionWidget | Menu Item Nutrition by ID Widget -*MiscApi* | [**detectFoodInText**](docs/MiscApi.md#detectfoodintext) | **POST** /food/detect | Detect Food in Text -*MiscApi* | [**getARandomFoodJoke**](docs/MiscApi.md#getarandomfoodjoke) | **GET** /food/jokes/random | Random Food Joke -*MiscApi* | [**getConversationSuggests**](docs/MiscApi.md#getconversationsuggests) | **GET** /food/converse/suggest | Conversation Suggests -*MiscApi* | [**getRandomFoodTrivia**](docs/MiscApi.md#getrandomfoodtrivia) | **GET** /food/trivia/random | Random Food Trivia -*MiscApi* | [**imageAnalysisByURL**](docs/MiscApi.md#imageanalysisbyurl) | **GET** /food/images/analyze | Image Analysis by URL -*MiscApi* | [**imageClassificationByURL**](docs/MiscApi.md#imageclassificationbyurl) | **GET** /food/images/classify | Image Classification by URL -*MiscApi* | [**searchAllFood**](docs/MiscApi.md#searchallfood) | **GET** /food/search | Search All Food -*MiscApi* | [**searchCustomFoods**](docs/MiscApi.md#searchcustomfoods) | **GET** /food/customFoods/search | Search Custom Foods -*MiscApi* | [**searchFoodVideos**](docs/MiscApi.md#searchfoodvideos) | **GET** /food/videos/search | Search Food Videos -*MiscApi* | [**searchSiteContent**](docs/MiscApi.md#searchsitecontent) | **GET** /food/site/search | Search Site Content -*MiscApi* | [**talkToChatbot**](docs/MiscApi.md#talktochatbot) | **GET** /food/converse | Talk to Chatbot -*ProductsApi* | [**autocompleteProductSearch**](docs/ProductsApi.md#autocompleteproductsearch) | **GET** /food/products/suggest | Autocomplete Product Search -*ProductsApi* | [**classifyGroceryProduct**](docs/ProductsApi.md#classifygroceryproduct) | **POST** /food/products/classify | Classify Grocery Product -*ProductsApi* | [**classifyGroceryProductBulk**](docs/ProductsApi.md#classifygroceryproductbulk) | **POST** /food/products/classifyBatch | Classify Grocery Product Bulk -*ProductsApi* | [**getComparableProducts**](docs/ProductsApi.md#getcomparableproducts) | **GET** /food/products/upc/{upc}/comparable | Get Comparable Products -*ProductsApi* | [**getProductInformation**](docs/ProductsApi.md#getproductinformation) | **GET** /food/products/{id} | Get Product Information -*ProductsApi* | [**productNutritionByIDImage**](docs/ProductsApi.md#productnutritionbyidimage) | **GET** /food/products/{id}/nutritionWidget.png | Product Nutrition by ID Image -*ProductsApi* | [**productNutritionLabelImage**](docs/ProductsApi.md#productnutritionlabelimage) | **GET** /food/products/{id}/nutritionLabel.png | Product Nutrition Label Image -*ProductsApi* | [**productNutritionLabelWidget**](docs/ProductsApi.md#productnutritionlabelwidget) | **GET** /food/products/{id}/nutritionLabel | Product Nutrition Label Widget -*ProductsApi* | [**searchGroceryProducts**](docs/ProductsApi.md#searchgroceryproducts) | **GET** /food/products/search | Search Grocery Products -*ProductsApi* | [**searchGroceryProductsByUPC**](docs/ProductsApi.md#searchgroceryproductsbyupc) | **GET** /food/products/upc/{upc} | Search Grocery Products by UPC -*ProductsApi* | [**visualizeProductNutritionByID**](docs/ProductsApi.md#visualizeproductnutritionbyid) | **GET** /food/products/{id}/nutritionWidget | Product Nutrition by ID Widget -*RecipesApi* | [**analyzeARecipeSearchQuery**](docs/RecipesApi.md#analyzearecipesearchquery) | **GET** /recipes/queries/analyze | Analyze a Recipe Search Query -*RecipesApi* | [**analyzeRecipeInstructions**](docs/RecipesApi.md#analyzerecipeinstructions) | **POST** /recipes/analyzeInstructions | Analyze Recipe Instructions -*RecipesApi* | [**autocompleteRecipeSearch**](docs/RecipesApi.md#autocompleterecipesearch) | **GET** /recipes/autocomplete | Autocomplete Recipe Search -*RecipesApi* | [**classifyCuisine**](docs/RecipesApi.md#classifycuisine) | **POST** /recipes/cuisine | Classify Cuisine -*RecipesApi* | [**computeGlycemicLoad**](docs/RecipesApi.md#computeglycemicload) | **POST** /food/ingredients/glycemicLoad | Compute Glycemic Load -*RecipesApi* | [**convertAmounts**](docs/RecipesApi.md#convertamounts) | **GET** /recipes/convert | Convert Amounts -*RecipesApi* | [**createRecipeCard**](docs/RecipesApi.md#createrecipecard) | **POST** /recipes/visualizeRecipe | Create Recipe Card -*RecipesApi* | [**equipmentByIDImage**](docs/RecipesApi.md#equipmentbyidimage) | **GET** /recipes/{id}/equipmentWidget.png | Equipment by ID Image -*RecipesApi* | [**extractRecipeFromWebsite**](docs/RecipesApi.md#extractrecipefromwebsite) | **GET** /recipes/extract | Extract Recipe from Website -*RecipesApi* | [**getAnalyzedRecipeInstructions**](docs/RecipesApi.md#getanalyzedrecipeinstructions) | **GET** /recipes/{id}/analyzedInstructions | Get Analyzed Recipe Instructions -*RecipesApi* | [**getRandomRecipes**](docs/RecipesApi.md#getrandomrecipes) | **GET** /recipes/random | Get Random Recipes -*RecipesApi* | [**getRecipeEquipmentByID**](docs/RecipesApi.md#getrecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget.json | Equipment by ID -*RecipesApi* | [**getRecipeInformation**](docs/RecipesApi.md#getrecipeinformation) | **GET** /recipes/{id}/information | Get Recipe Information -*RecipesApi* | [**getRecipeInformationBulk**](docs/RecipesApi.md#getrecipeinformationbulk) | **GET** /recipes/informationBulk | Get Recipe Information Bulk -*RecipesApi* | [**getRecipeIngredientsByID**](docs/RecipesApi.md#getrecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget.json | Ingredients by ID -*RecipesApi* | [**getRecipeNutritionWidgetByID**](docs/RecipesApi.md#getrecipenutritionwidgetbyid) | **GET** /recipes/{id}/nutritionWidget.json | Nutrition by ID -*RecipesApi* | [**getRecipePriceBreakdownByID**](docs/RecipesApi.md#getrecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget.json | Price Breakdown by ID -*RecipesApi* | [**getRecipeTasteByID**](docs/RecipesApi.md#getrecipetastebyid) | **GET** /recipes/{id}/tasteWidget.json | Taste by ID -*RecipesApi* | [**getSimilarRecipes**](docs/RecipesApi.md#getsimilarrecipes) | **GET** /recipes/{id}/similar | Get Similar Recipes -*RecipesApi* | [**guessNutritionByDishName**](docs/RecipesApi.md#guessnutritionbydishname) | **GET** /recipes/guessNutrition | Guess Nutrition by Dish Name -*RecipesApi* | [**parseIngredients**](docs/RecipesApi.md#parseingredients) | **POST** /recipes/parseIngredients | Parse Ingredients -*RecipesApi* | [**priceBreakdownByIDImage**](docs/RecipesApi.md#pricebreakdownbyidimage) | **GET** /recipes/{id}/priceBreakdownWidget.png | Price Breakdown by ID Image -*RecipesApi* | [**quickAnswer**](docs/RecipesApi.md#quickanswer) | **GET** /recipes/quickAnswer | Quick Answer -*RecipesApi* | [**recipeNutritionByIDImage**](docs/RecipesApi.md#recipenutritionbyidimage) | **GET** /recipes/{id}/nutritionWidget.png | Recipe Nutrition by ID Image -*RecipesApi* | [**recipeNutritionLabelImage**](docs/RecipesApi.md#recipenutritionlabelimage) | **GET** /recipes/{id}/nutritionLabel.png | Recipe Nutrition Label Image -*RecipesApi* | [**recipeNutritionLabelWidget**](docs/RecipesApi.md#recipenutritionlabelwidget) | **GET** /recipes/{id}/nutritionLabel | Recipe Nutrition Label Widget -*RecipesApi* | [**recipeTasteByIDImage**](docs/RecipesApi.md#recipetastebyidimage) | **GET** /recipes/{id}/tasteWidget.png | Recipe Taste by ID Image -*RecipesApi* | [**searchRecipes**](docs/RecipesApi.md#searchrecipes) | **GET** /recipes/complexSearch | Search Recipes -*RecipesApi* | [**searchRecipesByIngredients**](docs/RecipesApi.md#searchrecipesbyingredients) | **GET** /recipes/findByIngredients | Search Recipes by Ingredients -*RecipesApi* | [**searchRecipesByNutrients**](docs/RecipesApi.md#searchrecipesbynutrients) | **GET** /recipes/findByNutrients | Search Recipes by Nutrients -*RecipesApi* | [**summarizeRecipe**](docs/RecipesApi.md#summarizerecipe) | **GET** /recipes/{id}/summary | Summarize Recipe -*RecipesApi* | [**visualizeEquipment**](docs/RecipesApi.md#visualizeequipment) | **POST** /recipes/visualizeEquipment | Equipment Widget -*RecipesApi* | [**visualizePriceBreakdown**](docs/RecipesApi.md#visualizepricebreakdown) | **POST** /recipes/visualizePriceEstimator | Price Breakdown Widget -*RecipesApi* | [**visualizeRecipeEquipmentByID**](docs/RecipesApi.md#visualizerecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget | Equipment by ID Widget -*RecipesApi* | [**visualizeRecipeIngredientsByID**](docs/RecipesApi.md#visualizerecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget | Ingredients by ID Widget -*RecipesApi* | [**visualizeRecipeNutrition**](docs/RecipesApi.md#visualizerecipenutrition) | **POST** /recipes/visualizeNutrition | Recipe Nutrition Widget -*RecipesApi* | [**visualizeRecipeNutritionByID**](docs/RecipesApi.md#visualizerecipenutritionbyid) | **GET** /recipes/{id}/nutritionWidget | Recipe Nutrition by ID Widget -*RecipesApi* | [**visualizeRecipePriceBreakdownByID**](docs/RecipesApi.md#visualizerecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget | Price Breakdown by ID Widget -*RecipesApi* | [**visualizeRecipeTaste**](docs/RecipesApi.md#visualizerecipetaste) | **POST** /recipes/visualizeTaste | Recipe Taste Widget -*RecipesApi* | [**visualizeRecipeTasteByID**](docs/RecipesApi.md#visualizerecipetastebyid) | **GET** /recipes/{id}/tasteWidget | Recipe Taste by ID Widget -*WineApi* | [**getDishPairingForWine**](docs/WineApi.md#getdishpairingforwine) | **GET** /food/wine/dishes | Dish Pairing for Wine -*WineApi* | [**getWineDescription**](docs/WineApi.md#getwinedescription) | **GET** /food/wine/description | Wine Description -*WineApi* | [**getWinePairing**](docs/WineApi.md#getwinepairing) | **GET** /food/wine/pairing | Wine Pairing -*WineApi* | [**getWineRecommendation**](docs/WineApi.md#getwinerecommendation) | **GET** /food/wine/recommendation | Wine Recommendation +| Class | Method | HTTP request | Description | +| ------------ | ------------- | ------------- | ------------- | +| *DefaultApi* | [**analyzeRecipe**](docs/DefaultApi.md#analyzerecipe) | **POST** /recipes/analyze | Analyze Recipe | +| *DefaultApi* | [**createRecipeCardGet**](docs/DefaultApi.md#createrecipecardget) | **GET** /recipes/{id}/card | Create Recipe Card | +| *DefaultApi* | [**searchRestaurants**](docs/DefaultApi.md#searchrestaurants) | **GET** /food/restaurants/search | Search Restaurants | +| *IngredientsApi* | [**autocompleteIngredientSearch**](docs/IngredientsApi.md#autocompleteingredientsearch) | **GET** /food/ingredients/autocomplete | Autocomplete Ingredient Search | +| *IngredientsApi* | [**computeIngredientAmount**](docs/IngredientsApi.md#computeingredientamount) | **GET** /food/ingredients/{id}/amount | Compute Ingredient Amount | +| *IngredientsApi* | [**getIngredientInformation**](docs/IngredientsApi.md#getingredientinformation) | **GET** /food/ingredients/{id}/information | Get Ingredient Information | +| *IngredientsApi* | [**getIngredientSubstitutes**](docs/IngredientsApi.md#getingredientsubstitutes) | **GET** /food/ingredients/substitutes | Get Ingredient Substitutes | +| *IngredientsApi* | [**getIngredientSubstitutesByID**](docs/IngredientsApi.md#getingredientsubstitutesbyid) | **GET** /food/ingredients/{id}/substitutes | Get Ingredient Substitutes by ID | +| *IngredientsApi* | [**ingredientSearch**](docs/IngredientsApi.md#ingredientsearch) | **GET** /food/ingredients/search | Ingredient Search | +| *IngredientsApi* | [**ingredientsByIDImage**](docs/IngredientsApi.md#ingredientsbyidimage) | **GET** /recipes/{id}/ingredientWidget.png | Ingredients by ID Image | +| *IngredientsApi* | [**mapIngredientsToGroceryProducts**](docs/IngredientsApi.md#mapingredientstogroceryproducts) | **POST** /food/ingredients/map | Map Ingredients to Grocery Products | +| *IngredientsApi* | [**visualizeIngredients**](docs/IngredientsApi.md#visualizeingredients) | **POST** /recipes/visualizeIngredients | Ingredients Widget | +| *MealPlanningApi* | [**addMealPlanTemplate**](docs/MealPlanningApi.md#addmealplantemplate) | **POST** /mealplanner/{username}/templates | Add Meal Plan Template | +| *MealPlanningApi* | [**addToMealPlan**](docs/MealPlanningApi.md#addtomealplan) | **POST** /mealplanner/{username}/items | Add to Meal Plan | +| *MealPlanningApi* | [**addToShoppingList**](docs/MealPlanningApi.md#addtoshoppinglist) | **POST** /mealplanner/{username}/shopping-list/items | Add to Shopping List | +| *MealPlanningApi* | [**clearMealPlanDay**](docs/MealPlanningApi.md#clearmealplanday) | **DELETE** /mealplanner/{username}/day/{date} | Clear Meal Plan Day | +| *MealPlanningApi* | [**connectUser**](docs/MealPlanningApi.md#connectuser) | **POST** /users/connect | Connect User | +| *MealPlanningApi* | [**deleteFromMealPlan**](docs/MealPlanningApi.md#deletefrommealplan) | **DELETE** /mealplanner/{username}/items/{id} | Delete from Meal Plan | +| *MealPlanningApi* | [**deleteFromShoppingList**](docs/MealPlanningApi.md#deletefromshoppinglist) | **DELETE** /mealplanner/{username}/shopping-list/items/{id} | Delete from Shopping List | +| *MealPlanningApi* | [**deleteMealPlanTemplate**](docs/MealPlanningApi.md#deletemealplantemplate) | **DELETE** /mealplanner/{username}/templates/{id} | Delete Meal Plan Template | +| *MealPlanningApi* | [**generateMealPlan**](docs/MealPlanningApi.md#generatemealplan) | **GET** /mealplanner/generate | Generate Meal Plan | +| *MealPlanningApi* | [**generateShoppingList**](docs/MealPlanningApi.md#generateshoppinglist) | **POST** /mealplanner/{username}/shopping-list/{start_date}/{end_date} | Generate Shopping List | +| *MealPlanningApi* | [**getMealPlanTemplate**](docs/MealPlanningApi.md#getmealplantemplate) | **GET** /mealplanner/{username}/templates/{id} | Get Meal Plan Template | +| *MealPlanningApi* | [**getMealPlanTemplates**](docs/MealPlanningApi.md#getmealplantemplates) | **GET** /mealplanner/{username}/templates | Get Meal Plan Templates | +| *MealPlanningApi* | [**getMealPlanWeek**](docs/MealPlanningApi.md#getmealplanweek) | **GET** /mealplanner/{username}/week/{start_date} | Get Meal Plan Week | +| *MealPlanningApi* | [**getShoppingList**](docs/MealPlanningApi.md#getshoppinglist) | **GET** /mealplanner/{username}/shopping-list | Get Shopping List | +| *MenuItemsApi* | [**autocompleteMenuItemSearch**](docs/MenuItemsApi.md#autocompletemenuitemsearch) | **GET** /food/menuItems/suggest | Autocomplete Menu Item Search | +| *MenuItemsApi* | [**getMenuItemInformation**](docs/MenuItemsApi.md#getmenuiteminformation) | **GET** /food/menuItems/{id} | Get Menu Item Information | +| *MenuItemsApi* | [**menuItemNutritionByIDImage**](docs/MenuItemsApi.md#menuitemnutritionbyidimage) | **GET** /food/menuItems/{id}/nutritionWidget.png | Menu Item Nutrition by ID Image | +| *MenuItemsApi* | [**menuItemNutritionLabelImage**](docs/MenuItemsApi.md#menuitemnutritionlabelimage) | **GET** /food/menuItems/{id}/nutritionLabel.png | Menu Item Nutrition Label Image | +| *MenuItemsApi* | [**menuItemNutritionLabelWidget**](docs/MenuItemsApi.md#menuitemnutritionlabelwidget) | **GET** /food/menuItems/{id}/nutritionLabel | Menu Item Nutrition Label Widget | +| *MenuItemsApi* | [**searchMenuItems**](docs/MenuItemsApi.md#searchmenuitems) | **GET** /food/menuItems/search | Search Menu Items | +| *MenuItemsApi* | [**visualizeMenuItemNutritionByID**](docs/MenuItemsApi.md#visualizemenuitemnutritionbyid) | **GET** /food/menuItems/{id}/nutritionWidget | Menu Item Nutrition by ID Widget | +| *MiscApi* | [**detectFoodInText**](docs/MiscApi.md#detectfoodintext) | **POST** /food/detect | Detect Food in Text | +| *MiscApi* | [**getARandomFoodJoke**](docs/MiscApi.md#getarandomfoodjoke) | **GET** /food/jokes/random | Random Food Joke | +| *MiscApi* | [**getConversationSuggests**](docs/MiscApi.md#getconversationsuggests) | **GET** /food/converse/suggest | Conversation Suggests | +| *MiscApi* | [**getRandomFoodTrivia**](docs/MiscApi.md#getrandomfoodtrivia) | **GET** /food/trivia/random | Random Food Trivia | +| *MiscApi* | [**imageAnalysisByURL**](docs/MiscApi.md#imageanalysisbyurl) | **GET** /food/images/analyze | Image Analysis by URL | +| *MiscApi* | [**imageClassificationByURL**](docs/MiscApi.md#imageclassificationbyurl) | **GET** /food/images/classify | Image Classification by URL | +| *MiscApi* | [**searchAllFood**](docs/MiscApi.md#searchallfood) | **GET** /food/search | Search All Food | +| *MiscApi* | [**searchCustomFoods**](docs/MiscApi.md#searchcustomfoods) | **GET** /food/customFoods/search | Search Custom Foods | +| *MiscApi* | [**searchFoodVideos**](docs/MiscApi.md#searchfoodvideos) | **GET** /food/videos/search | Search Food Videos | +| *MiscApi* | [**searchSiteContent**](docs/MiscApi.md#searchsitecontent) | **GET** /food/site/search | Search Site Content | +| *MiscApi* | [**talkToChatbot**](docs/MiscApi.md#talktochatbot) | **GET** /food/converse | Talk to Chatbot | +| *ProductsApi* | [**autocompleteProductSearch**](docs/ProductsApi.md#autocompleteproductsearch) | **GET** /food/products/suggest | Autocomplete Product Search | +| *ProductsApi* | [**classifyGroceryProduct**](docs/ProductsApi.md#classifygroceryproduct) | **POST** /food/products/classify | Classify Grocery Product | +| *ProductsApi* | [**classifyGroceryProductBulk**](docs/ProductsApi.md#classifygroceryproductbulk) | **POST** /food/products/classifyBatch | Classify Grocery Product Bulk | +| *ProductsApi* | [**getComparableProducts**](docs/ProductsApi.md#getcomparableproducts) | **GET** /food/products/upc/{upc}/comparable | Get Comparable Products | +| *ProductsApi* | [**getProductInformation**](docs/ProductsApi.md#getproductinformation) | **GET** /food/products/{id} | Get Product Information | +| *ProductsApi* | [**productNutritionByIDImage**](docs/ProductsApi.md#productnutritionbyidimage) | **GET** /food/products/{id}/nutritionWidget.png | Product Nutrition by ID Image | +| *ProductsApi* | [**productNutritionLabelImage**](docs/ProductsApi.md#productnutritionlabelimage) | **GET** /food/products/{id}/nutritionLabel.png | Product Nutrition Label Image | +| *ProductsApi* | [**productNutritionLabelWidget**](docs/ProductsApi.md#productnutritionlabelwidget) | **GET** /food/products/{id}/nutritionLabel | Product Nutrition Label Widget | +| *ProductsApi* | [**searchGroceryProducts**](docs/ProductsApi.md#searchgroceryproducts) | **GET** /food/products/search | Search Grocery Products | +| *ProductsApi* | [**searchGroceryProductsByUPC**](docs/ProductsApi.md#searchgroceryproductsbyupc) | **GET** /food/products/upc/{upc} | Search Grocery Products by UPC | +| *ProductsApi* | [**visualizeProductNutritionByID**](docs/ProductsApi.md#visualizeproductnutritionbyid) | **GET** /food/products/{id}/nutritionWidget | Product Nutrition by ID Widget | +| *RecipesApi* | [**analyzeARecipeSearchQuery**](docs/RecipesApi.md#analyzearecipesearchquery) | **GET** /recipes/queries/analyze | Analyze a Recipe Search Query | +| *RecipesApi* | [**analyzeRecipeInstructions**](docs/RecipesApi.md#analyzerecipeinstructions) | **POST** /recipes/analyzeInstructions | Analyze Recipe Instructions | +| *RecipesApi* | [**autocompleteRecipeSearch**](docs/RecipesApi.md#autocompleterecipesearch) | **GET** /recipes/autocomplete | Autocomplete Recipe Search | +| *RecipesApi* | [**classifyCuisine**](docs/RecipesApi.md#classifycuisine) | **POST** /recipes/cuisine | Classify Cuisine | +| *RecipesApi* | [**computeGlycemicLoad**](docs/RecipesApi.md#computeglycemicload) | **POST** /food/ingredients/glycemicLoad | Compute Glycemic Load | +| *RecipesApi* | [**convertAmounts**](docs/RecipesApi.md#convertamounts) | **GET** /recipes/convert | Convert Amounts | +| *RecipesApi* | [**createRecipeCard**](docs/RecipesApi.md#createrecipecard) | **POST** /recipes/visualizeRecipe | Create Recipe Card | +| *RecipesApi* | [**equipmentByIDImage**](docs/RecipesApi.md#equipmentbyidimage) | **GET** /recipes/{id}/equipmentWidget.png | Equipment by ID Image | +| *RecipesApi* | [**extractRecipeFromWebsite**](docs/RecipesApi.md#extractrecipefromwebsite) | **GET** /recipes/extract | Extract Recipe from Website | +| *RecipesApi* | [**getAnalyzedRecipeInstructions**](docs/RecipesApi.md#getanalyzedrecipeinstructions) | **GET** /recipes/{id}/analyzedInstructions | Get Analyzed Recipe Instructions | +| *RecipesApi* | [**getRandomRecipes**](docs/RecipesApi.md#getrandomrecipes) | **GET** /recipes/random | Get Random Recipes | +| *RecipesApi* | [**getRecipeEquipmentByID**](docs/RecipesApi.md#getrecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget.json | Equipment by ID | +| *RecipesApi* | [**getRecipeInformation**](docs/RecipesApi.md#getrecipeinformation) | **GET** /recipes/{id}/information | Get Recipe Information | +| *RecipesApi* | [**getRecipeInformationBulk**](docs/RecipesApi.md#getrecipeinformationbulk) | **GET** /recipes/informationBulk | Get Recipe Information Bulk | +| *RecipesApi* | [**getRecipeIngredientsByID**](docs/RecipesApi.md#getrecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget.json | Ingredients by ID | +| *RecipesApi* | [**getRecipeNutritionWidgetByID**](docs/RecipesApi.md#getrecipenutritionwidgetbyid) | **GET** /recipes/{id}/nutritionWidget.json | Nutrition by ID | +| *RecipesApi* | [**getRecipePriceBreakdownByID**](docs/RecipesApi.md#getrecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget.json | Price Breakdown by ID | +| *RecipesApi* | [**getRecipeTasteByID**](docs/RecipesApi.md#getrecipetastebyid) | **GET** /recipes/{id}/tasteWidget.json | Taste by ID | +| *RecipesApi* | [**getSimilarRecipes**](docs/RecipesApi.md#getsimilarrecipes) | **GET** /recipes/{id}/similar | Get Similar Recipes | +| *RecipesApi* | [**guessNutritionByDishName**](docs/RecipesApi.md#guessnutritionbydishname) | **GET** /recipes/guessNutrition | Guess Nutrition by Dish Name | +| *RecipesApi* | [**parseIngredients**](docs/RecipesApi.md#parseingredients) | **POST** /recipes/parseIngredients | Parse Ingredients | +| *RecipesApi* | [**priceBreakdownByIDImage**](docs/RecipesApi.md#pricebreakdownbyidimage) | **GET** /recipes/{id}/priceBreakdownWidget.png | Price Breakdown by ID Image | +| *RecipesApi* | [**quickAnswer**](docs/RecipesApi.md#quickanswer) | **GET** /recipes/quickAnswer | Quick Answer | +| *RecipesApi* | [**recipeNutritionByIDImage**](docs/RecipesApi.md#recipenutritionbyidimage) | **GET** /recipes/{id}/nutritionWidget.png | Recipe Nutrition by ID Image | +| *RecipesApi* | [**recipeNutritionLabelImage**](docs/RecipesApi.md#recipenutritionlabelimage) | **GET** /recipes/{id}/nutritionLabel.png | Recipe Nutrition Label Image | +| *RecipesApi* | [**recipeNutritionLabelWidget**](docs/RecipesApi.md#recipenutritionlabelwidget) | **GET** /recipes/{id}/nutritionLabel | Recipe Nutrition Label Widget | +| *RecipesApi* | [**recipeTasteByIDImage**](docs/RecipesApi.md#recipetastebyidimage) | **GET** /recipes/{id}/tasteWidget.png | Recipe Taste by ID Image | +| *RecipesApi* | [**searchRecipes**](docs/RecipesApi.md#searchrecipes) | **GET** /recipes/complexSearch | Search Recipes | +| *RecipesApi* | [**searchRecipesByIngredients**](docs/RecipesApi.md#searchrecipesbyingredients) | **GET** /recipes/findByIngredients | Search Recipes by Ingredients | +| *RecipesApi* | [**searchRecipesByNutrients**](docs/RecipesApi.md#searchrecipesbynutrients) | **GET** /recipes/findByNutrients | Search Recipes by Nutrients | +| *RecipesApi* | [**summarizeRecipe**](docs/RecipesApi.md#summarizerecipe) | **GET** /recipes/{id}/summary | Summarize Recipe | +| *RecipesApi* | [**visualizeEquipment**](docs/RecipesApi.md#visualizeequipment) | **POST** /recipes/visualizeEquipment | Equipment Widget | +| *RecipesApi* | [**visualizePriceBreakdown**](docs/RecipesApi.md#visualizepricebreakdown) | **POST** /recipes/visualizePriceEstimator | Price Breakdown Widget | +| *RecipesApi* | [**visualizeRecipeEquipmentByID**](docs/RecipesApi.md#visualizerecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget | Equipment by ID Widget | +| *RecipesApi* | [**visualizeRecipeIngredientsByID**](docs/RecipesApi.md#visualizerecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget | Ingredients by ID Widget | +| *RecipesApi* | [**visualizeRecipeNutrition**](docs/RecipesApi.md#visualizerecipenutrition) | **POST** /recipes/visualizeNutrition | Recipe Nutrition Widget | +| *RecipesApi* | [**visualizeRecipeNutritionByID**](docs/RecipesApi.md#visualizerecipenutritionbyid) | **GET** /recipes/{id}/nutritionWidget | Recipe Nutrition by ID Widget | +| *RecipesApi* | [**visualizeRecipePriceBreakdownByID**](docs/RecipesApi.md#visualizerecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget | Price Breakdown by ID Widget | +| *RecipesApi* | [**visualizeRecipeTaste**](docs/RecipesApi.md#visualizerecipetaste) | **POST** /recipes/visualizeTaste | Recipe Taste Widget | +| *RecipesApi* | [**visualizeRecipeTasteByID**](docs/RecipesApi.md#visualizerecipetastebyid) | **GET** /recipes/{id}/tasteWidget | Recipe Taste by ID Widget | +| *WineApi* | [**getDishPairingForWine**](docs/WineApi.md#getdishpairingforwine) | **GET** /food/wine/dishes | Dish Pairing for Wine | +| *WineApi* | [**getWineDescription**](docs/WineApi.md#getwinedescription) | **GET** /food/wine/description | Wine Description | +| *WineApi* | [**getWinePairing**](docs/WineApi.md#getwinepairing) | **GET** /food/wine/pairing | Wine Pairing | +| *WineApi* | [**getWineRecommendation**](docs/WineApi.md#getwinerecommendation) | **GET** /food/wine/recommendation | Wine Recommendation | diff --git a/kotlin/build.gradle b/kotlin/build.gradle index dbddc1f4f..ca1a51334 100644 --- a/kotlin/build.gradle +++ b/kotlin/build.gradle @@ -1,14 +1,14 @@ group 'com.spoonacular' -version '1.1.1' +version '1.1.2' wrapper { - gradleVersion = '7.5' + gradleVersion = '8.7' distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip" } buildscript { - ext.kotlin_version = '1.8.10' - ext.spotless_version = "6.13.0" + ext.kotlin_version = '1.9.23' + ext.spotless_version = "6.25.0" repositories { maven { url "https://repo1.maven.org/maven2" } @@ -55,8 +55,8 @@ test { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" - implementation "com.squareup.moshi:moshi-kotlin:1.14.0" - implementation "com.squareup.moshi:moshi-adapters:1.14.0" - implementation "com.squareup.okhttp3:okhttp:4.11.0" + implementation "com.squareup.moshi:moshi-kotlin:1.15.1" + implementation "com.squareup.moshi:moshi-adapters:1.15.1" + implementation "com.squareup.okhttp3:okhttp:4.12.0" testImplementation "io.kotlintest:kotlintest-runner-junit5:3.4.2" } diff --git a/kotlin/docs/AddMealPlanTemplate200Response.md b/kotlin/docs/AddMealPlanTemplate200Response.md index b0c01ef34..c3e875cd6 100644 --- a/kotlin/docs/AddMealPlanTemplate200Response.md +++ b/kotlin/docs/AddMealPlanTemplate200Response.md @@ -2,11 +2,11 @@ # AddMealPlanTemplate200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**items** | [**kotlin.collections.Set<AddMealPlanTemplate200ResponseItemsInner>**](AddMealPlanTemplate200ResponseItemsInner.md) | | -**publishAsPublic** | **kotlin.Boolean** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **items** | [**kotlin.collections.Set<AddMealPlanTemplate200ResponseItemsInner>**](AddMealPlanTemplate200ResponseItemsInner.md) | | | +| **publishAsPublic** | **kotlin.Boolean** | | | diff --git a/kotlin/docs/AddMealPlanTemplate200ResponseItemsInner.md b/kotlin/docs/AddMealPlanTemplate200ResponseItemsInner.md index ee03184b6..5b554f3c4 100644 --- a/kotlin/docs/AddMealPlanTemplate200ResponseItemsInner.md +++ b/kotlin/docs/AddMealPlanTemplate200ResponseItemsInner.md @@ -2,13 +2,13 @@ # AddMealPlanTemplate200ResponseItemsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**day** | **kotlin.Int** | | -**slot** | **kotlin.Int** | | -**position** | **kotlin.Int** | | -**type** | **kotlin.String** | | -**`value`** | [**AddMealPlanTemplate200ResponseItemsInnerValue**](AddMealPlanTemplate200ResponseItemsInnerValue.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **day** | **kotlin.Int** | | | +| **slot** | **kotlin.Int** | | | +| **position** | **kotlin.Int** | | | +| **type** | **kotlin.String** | | | +| **`value`** | [**AddMealPlanTemplate200ResponseItemsInnerValue**](AddMealPlanTemplate200ResponseItemsInnerValue.md) | | [optional] | diff --git a/kotlin/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md b/kotlin/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md index fcc0d396f..453f46e16 100644 --- a/kotlin/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md +++ b/kotlin/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md @@ -2,12 +2,12 @@ # AddMealPlanTemplate200ResponseItemsInnerValue ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | [optional] -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**title** | **kotlin.String** | | [optional] -**imageType** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | [optional] | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **title** | **kotlin.String** | | [optional] | +| **imageType** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/AddToMealPlanRequest.md b/kotlin/docs/AddToMealPlanRequest.md index f42e08f50..044595aa8 100644 --- a/kotlin/docs/AddToMealPlanRequest.md +++ b/kotlin/docs/AddToMealPlanRequest.md @@ -2,13 +2,13 @@ # AddToMealPlanRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**slot** | **kotlin.Int** | | -**position** | **kotlin.Int** | | -**type** | **kotlin.String** | | -**`value`** | [**AddToMealPlanRequestValue**](AddToMealPlanRequestValue.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **date** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **slot** | **kotlin.Int** | | | +| **position** | **kotlin.Int** | | | +| **type** | **kotlin.String** | | | +| **`value`** | [**AddToMealPlanRequestValue**](AddToMealPlanRequestValue.md) | | | diff --git a/kotlin/docs/AddToMealPlanRequestValue.md b/kotlin/docs/AddToMealPlanRequestValue.md index 8ae80d4ba..34a43731b 100644 --- a/kotlin/docs/AddToMealPlanRequestValue.md +++ b/kotlin/docs/AddToMealPlanRequestValue.md @@ -2,9 +2,9 @@ # AddToMealPlanRequestValue ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | [**kotlin.collections.Set<AddToMealPlanRequestValueIngredientsInner>**](AddToMealPlanRequestValueIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **ingredients** | [**kotlin.collections.Set<AddToMealPlanRequestValueIngredientsInner>**](AddToMealPlanRequestValueIngredientsInner.md) | | | diff --git a/kotlin/docs/AddToMealPlanRequestValueIngredientsInner.md b/kotlin/docs/AddToMealPlanRequestValueIngredientsInner.md index 53b5e8381..d5faed86a 100644 --- a/kotlin/docs/AddToMealPlanRequestValueIngredientsInner.md +++ b/kotlin/docs/AddToMealPlanRequestValueIngredientsInner.md @@ -2,9 +2,9 @@ # AddToMealPlanRequestValueIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/AddToShoppingListRequest.md b/kotlin/docs/AddToShoppingListRequest.md index 2eb53bbc6..9e2bd5acf 100644 --- a/kotlin/docs/AddToShoppingListRequest.md +++ b/kotlin/docs/AddToShoppingListRequest.md @@ -2,11 +2,11 @@ # AddToShoppingListRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**item** | **kotlin.String** | | -**aisle** | **kotlin.String** | | -**parse** | **kotlin.Boolean** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **item** | **kotlin.String** | | | +| **aisle** | **kotlin.String** | | | +| **parse** | **kotlin.Boolean** | | | diff --git a/kotlin/docs/AnalyzeARecipeSearchQuery200Response.md b/kotlin/docs/AnalyzeARecipeSearchQuery200Response.md index 4a4b61544..e7b811bf7 100644 --- a/kotlin/docs/AnalyzeARecipeSearchQuery200Response.md +++ b/kotlin/docs/AnalyzeARecipeSearchQuery200Response.md @@ -2,12 +2,12 @@ # AnalyzeARecipeSearchQuery200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dishes** | [**kotlin.collections.Set<AnalyzeARecipeSearchQuery200ResponseDishesInner>**](AnalyzeARecipeSearchQuery200ResponseDishesInner.md) | | -**ingredients** | [**kotlin.collections.Set<AnalyzeARecipeSearchQuery200ResponseIngredientsInner>**](AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md) | | -**cuisines** | **kotlin.collections.List<kotlin.String>** | | -**modifiers** | **kotlin.collections.List<kotlin.String>** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **dishes** | [**kotlin.collections.Set<AnalyzeARecipeSearchQuery200ResponseDishesInner>**](AnalyzeARecipeSearchQuery200ResponseDishesInner.md) | | | +| **ingredients** | [**kotlin.collections.Set<AnalyzeARecipeSearchQuery200ResponseIngredientsInner>**](AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md) | | | +| **cuisines** | **kotlin.collections.List<kotlin.String>** | | | +| **modifiers** | **kotlin.collections.List<kotlin.String>** | | | diff --git a/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md b/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md index 92c03ab5b..13dba89f1 100644 --- a/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md +++ b/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md @@ -2,10 +2,10 @@ # AnalyzeARecipeSearchQuery200ResponseDishesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **kotlin.String** | | -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **image** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md b/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md index 3ae348443..607ecd9ae 100644 --- a/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md +++ b/kotlin/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md @@ -2,11 +2,11 @@ # AnalyzeARecipeSearchQuery200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **kotlin.String** | | -**include** | **kotlin.Boolean** | | -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **image** | **kotlin.String** | | | +| **include** | **kotlin.Boolean** | | | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/AnalyzeRecipeInstructions200Response.md b/kotlin/docs/AnalyzeRecipeInstructions200Response.md index a4cfa2657..abd88b244 100644 --- a/kotlin/docs/AnalyzeRecipeInstructions200Response.md +++ b/kotlin/docs/AnalyzeRecipeInstructions200Response.md @@ -2,11 +2,11 @@ # AnalyzeRecipeInstructions200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**parsedInstructions** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md) | | -**ingredients** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseIngredientsInner>**](AnalyzeRecipeInstructions200ResponseIngredientsInner.md) | | -**equipment** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseIngredientsInner>**](AnalyzeRecipeInstructions200ResponseIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **parsedInstructions** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md) | | | +| **ingredients** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseIngredientsInner>**](AnalyzeRecipeInstructions200ResponseIngredientsInner.md) | | | +| **equipment** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseIngredientsInner>**](AnalyzeRecipeInstructions200ResponseIngredientsInner.md) | | | diff --git a/kotlin/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md b/kotlin/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md index 6b860764b..de42c78d0 100644 --- a/kotlin/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md +++ b/kotlin/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md @@ -2,10 +2,10 @@ # AnalyzeRecipeInstructions200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md b/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md index 649142d3c..bc5f49d1c 100644 --- a/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md +++ b/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md @@ -2,10 +2,10 @@ # AnalyzeRecipeInstructions200ResponseParsedInstructionsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**steps** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **steps** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional] | diff --git a/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md index 371db2b9e..f10d759cb 100644 --- a/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ b/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md @@ -2,12 +2,12 @@ # AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**step** | **kotlin.String** | | -**ingredients** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] -**equipment** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **step** | **kotlin.String** | | | +| **ingredients** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] | +| **equipment** | [**kotlin.collections.Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] | diff --git a/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md index b68378d17..cd6d3913a 100644 --- a/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ b/kotlin/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md @@ -2,12 +2,12 @@ # AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**name** | **kotlin.String** | | -**localizedName** | **kotlin.String** | | -**image** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **name** | **kotlin.String** | | | +| **localizedName** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | diff --git a/kotlin/docs/AnalyzeRecipeRequest.md b/kotlin/docs/AnalyzeRecipeRequest.md index 6a671e68e..0a7f76ac7 100644 --- a/kotlin/docs/AnalyzeRecipeRequest.md +++ b/kotlin/docs/AnalyzeRecipeRequest.md @@ -2,12 +2,12 @@ # AnalyzeRecipeRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **kotlin.String** | | [optional] -**servings** | **kotlin.Int** | | [optional] -**ingredients** | **kotlin.collections.List<kotlin.String>** | | [optional] -**instructions** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **title** | **kotlin.String** | | [optional] | +| **servings** | **kotlin.Int** | | [optional] | +| **ingredients** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **instructions** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/AutocompleteIngredientSearch200ResponseInner.md b/kotlin/docs/AutocompleteIngredientSearch200ResponseInner.md index 77486d659..49b4ea4aa 100644 --- a/kotlin/docs/AutocompleteIngredientSearch200ResponseInner.md +++ b/kotlin/docs/AutocompleteIngredientSearch200ResponseInner.md @@ -2,13 +2,13 @@ # AutocompleteIngredientSearch200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**image** | **kotlin.String** | | -**id** | **kotlin.Int** | | [optional] -**aisle** | **kotlin.String** | | [optional] -**possibleUnits** | **kotlin.collections.List<kotlin.String>** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **id** | **kotlin.Int** | | [optional] | +| **aisle** | **kotlin.String** | | [optional] | +| **possibleUnits** | **kotlin.collections.List<kotlin.String>** | | [optional] | diff --git a/kotlin/docs/AutocompleteMenuItemSearch200Response.md b/kotlin/docs/AutocompleteMenuItemSearch200Response.md index d3664ed90..ce6b38bb9 100644 --- a/kotlin/docs/AutocompleteMenuItemSearch200Response.md +++ b/kotlin/docs/AutocompleteMenuItemSearch200Response.md @@ -2,9 +2,9 @@ # AutocompleteMenuItemSearch200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**results** | [**kotlin.collections.Set<AutocompleteProductSearch200ResponseResultsInner>**](AutocompleteProductSearch200ResponseResultsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **results** | [**kotlin.collections.Set<AutocompleteProductSearch200ResponseResultsInner>**](AutocompleteProductSearch200ResponseResultsInner.md) | | | diff --git a/kotlin/docs/AutocompleteProductSearch200Response.md b/kotlin/docs/AutocompleteProductSearch200Response.md index 6f08fb977..9c834f256 100644 --- a/kotlin/docs/AutocompleteProductSearch200Response.md +++ b/kotlin/docs/AutocompleteProductSearch200Response.md @@ -2,9 +2,9 @@ # AutocompleteProductSearch200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**results** | [**kotlin.collections.Set<AutocompleteProductSearch200ResponseResultsInner>**](AutocompleteProductSearch200ResponseResultsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **results** | [**kotlin.collections.Set<AutocompleteProductSearch200ResponseResultsInner>**](AutocompleteProductSearch200ResponseResultsInner.md) | | | diff --git a/kotlin/docs/AutocompleteProductSearch200ResponseResultsInner.md b/kotlin/docs/AutocompleteProductSearch200ResponseResultsInner.md index 5fd6cbe4e..3fc659553 100644 --- a/kotlin/docs/AutocompleteProductSearch200ResponseResultsInner.md +++ b/kotlin/docs/AutocompleteProductSearch200ResponseResultsInner.md @@ -2,10 +2,10 @@ # AutocompleteProductSearch200ResponseResultsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | diff --git a/kotlin/docs/AutocompleteRecipeSearch200ResponseInner.md b/kotlin/docs/AutocompleteRecipeSearch200ResponseInner.md index a873cfd07..f2717ecb2 100644 --- a/kotlin/docs/AutocompleteRecipeSearch200ResponseInner.md +++ b/kotlin/docs/AutocompleteRecipeSearch200ResponseInner.md @@ -2,11 +2,11 @@ # AutocompleteRecipeSearch200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**imageType** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | diff --git a/kotlin/docs/ClassifyCuisine200Response.md b/kotlin/docs/ClassifyCuisine200Response.md index 3ca04ece0..22faab05e 100644 --- a/kotlin/docs/ClassifyCuisine200Response.md +++ b/kotlin/docs/ClassifyCuisine200Response.md @@ -2,11 +2,11 @@ # ClassifyCuisine200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cuisine** | **kotlin.String** | | -**cuisines** | **kotlin.collections.List<kotlin.String>** | | -**confidence** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cuisine** | **kotlin.String** | | | +| **cuisines** | **kotlin.collections.List<kotlin.String>** | | | +| **confidence** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ClassifyGroceryProduct200Response.md b/kotlin/docs/ClassifyGroceryProduct200Response.md index 618173cba..3c5f72fa1 100644 --- a/kotlin/docs/ClassifyGroceryProduct200Response.md +++ b/kotlin/docs/ClassifyGroceryProduct200Response.md @@ -2,13 +2,13 @@ # ClassifyGroceryProduct200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cleanTitle** | **kotlin.String** | | -**image** | **kotlin.String** | | -**category** | **kotlin.String** | | -**breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | -**usdaCode** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cleanTitle** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **category** | **kotlin.String** | | | +| **breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | | +| **usdaCode** | **kotlin.Int** | | | diff --git a/kotlin/docs/ClassifyGroceryProductBulk200ResponseInner.md b/kotlin/docs/ClassifyGroceryProductBulk200ResponseInner.md index de3168c52..da88d467f 100644 --- a/kotlin/docs/ClassifyGroceryProductBulk200ResponseInner.md +++ b/kotlin/docs/ClassifyGroceryProductBulk200ResponseInner.md @@ -2,13 +2,13 @@ # ClassifyGroceryProductBulk200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cleanTitle** | **kotlin.String** | | -**image** | **kotlin.String** | | -**category** | **kotlin.String** | | -**breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | -**usdaCode** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cleanTitle** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **category** | **kotlin.String** | | | +| **breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | | +| **usdaCode** | **kotlin.Int** | | | diff --git a/kotlin/docs/ClassifyGroceryProductBulkRequestInner.md b/kotlin/docs/ClassifyGroceryProductBulkRequestInner.md index 0c9e8207b..dae0781b1 100644 --- a/kotlin/docs/ClassifyGroceryProductBulkRequestInner.md +++ b/kotlin/docs/ClassifyGroceryProductBulkRequestInner.md @@ -2,11 +2,11 @@ # ClassifyGroceryProductBulkRequestInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **kotlin.String** | | -**upc** | **kotlin.String** | | -**pluCode** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **title** | **kotlin.String** | | | +| **upc** | **kotlin.String** | | | +| **pluCode** | **kotlin.String** | | | diff --git a/kotlin/docs/ClassifyGroceryProductRequest.md b/kotlin/docs/ClassifyGroceryProductRequest.md index 5b3c16bed..1067d5962 100644 --- a/kotlin/docs/ClassifyGroceryProductRequest.md +++ b/kotlin/docs/ClassifyGroceryProductRequest.md @@ -2,11 +2,11 @@ # ClassifyGroceryProductRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **kotlin.String** | | -**upc** | **kotlin.String** | | -**pluCode** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **title** | **kotlin.String** | | | +| **upc** | **kotlin.String** | | | +| **pluCode** | **kotlin.String** | | | diff --git a/kotlin/docs/ComputeGlycemicLoad200Response.md b/kotlin/docs/ComputeGlycemicLoad200Response.md index 349d345e3..6eacdcbf4 100644 --- a/kotlin/docs/ComputeGlycemicLoad200Response.md +++ b/kotlin/docs/ComputeGlycemicLoad200Response.md @@ -2,10 +2,10 @@ # ComputeGlycemicLoad200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**totalGlycemicLoad** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**ingredients** | [**kotlin.collections.Set<ComputeGlycemicLoad200ResponseIngredientsInner>**](ComputeGlycemicLoad200ResponseIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **totalGlycemicLoad** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **ingredients** | [**kotlin.collections.Set<ComputeGlycemicLoad200ResponseIngredientsInner>**](ComputeGlycemicLoad200ResponseIngredientsInner.md) | | | diff --git a/kotlin/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md b/kotlin/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md index 0e7ee9357..991f0e51f 100644 --- a/kotlin/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md +++ b/kotlin/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md @@ -2,12 +2,12 @@ # ComputeGlycemicLoad200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**original** | **kotlin.String** | | -**glycemicIndex** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**glycemicLoad** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **original** | **kotlin.String** | | | +| **glycemicIndex** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **glycemicLoad** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ComputeGlycemicLoadRequest.md b/kotlin/docs/ComputeGlycemicLoadRequest.md index 4309f8e5b..aa1144113 100644 --- a/kotlin/docs/ComputeGlycemicLoadRequest.md +++ b/kotlin/docs/ComputeGlycemicLoadRequest.md @@ -2,9 +2,9 @@ # ComputeGlycemicLoadRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | **kotlin.collections.List<kotlin.String>** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **ingredients** | **kotlin.collections.List<kotlin.String>** | | | diff --git a/kotlin/docs/ComputeIngredientAmount200Response.md b/kotlin/docs/ComputeIngredientAmount200Response.md index f64aff061..ac60ea07a 100644 --- a/kotlin/docs/ComputeIngredientAmount200Response.md +++ b/kotlin/docs/ComputeIngredientAmount200Response.md @@ -2,10 +2,10 @@ # ComputeIngredientAmount200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | diff --git a/kotlin/docs/ConnectUser200Response.md b/kotlin/docs/ConnectUser200Response.md index 0a906dafd..fac9e6536 100644 --- a/kotlin/docs/ConnectUser200Response.md +++ b/kotlin/docs/ConnectUser200Response.md @@ -2,10 +2,10 @@ # ConnectUser200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **kotlin.String** | | -**hash** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **username** | **kotlin.String** | | | +| **hash** | **kotlin.String** | | | diff --git a/kotlin/docs/ConnectUserRequest.md b/kotlin/docs/ConnectUserRequest.md index 759629436..66619c905 100644 --- a/kotlin/docs/ConnectUserRequest.md +++ b/kotlin/docs/ConnectUserRequest.md @@ -2,12 +2,12 @@ # ConnectUserRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **kotlin.String** | | -**firstName** | **kotlin.String** | | -**lastName** | **kotlin.String** | | -**email** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **username** | **kotlin.String** | | | +| **firstName** | **kotlin.String** | | | +| **lastName** | **kotlin.String** | | | +| **email** | **kotlin.String** | | | diff --git a/kotlin/docs/ConvertAmounts200Response.md b/kotlin/docs/ConvertAmounts200Response.md index bf321820a..7446f41bf 100644 --- a/kotlin/docs/ConvertAmounts200Response.md +++ b/kotlin/docs/ConvertAmounts200Response.md @@ -2,13 +2,13 @@ # ConvertAmounts200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sourceAmount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**sourceUnit** | **kotlin.String** | | -**targetAmount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**targetUnit** | **kotlin.String** | | -**answer** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **sourceAmount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **sourceUnit** | **kotlin.String** | | | +| **targetAmount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **targetUnit** | **kotlin.String** | | | +| **answer** | **kotlin.String** | | | diff --git a/kotlin/docs/CreateRecipeCard200Response.md b/kotlin/docs/CreateRecipeCard200Response.md index e6c0a2f97..10454afde 100644 --- a/kotlin/docs/CreateRecipeCard200Response.md +++ b/kotlin/docs/CreateRecipeCard200Response.md @@ -2,9 +2,9 @@ # CreateRecipeCard200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **url** | **kotlin.String** | | | diff --git a/kotlin/docs/DefaultApi.md b/kotlin/docs/DefaultApi.md index 4206036ef..f50cf9c2e 100644 --- a/kotlin/docs/DefaultApi.md +++ b/kotlin/docs/DefaultApi.md @@ -2,11 +2,11 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**analyzeRecipe**](DefaultApi.md#analyzeRecipe) | **POST** /recipes/analyze | Analyze Recipe -[**createRecipeCardGet**](DefaultApi.md#createRecipeCardGet) | **GET** /recipes/{id}/card | Create Recipe Card -[**searchRestaurants**](DefaultApi.md#searchRestaurants) | **GET** /food/restaurants/search | Search Restaurants +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**analyzeRecipe**](DefaultApi.md#analyzeRecipe) | **POST** /recipes/analyze | Analyze Recipe | +| [**createRecipeCardGet**](DefaultApi.md#createRecipeCardGet) | **GET** /recipes/{id}/card | Create Recipe Card | +| [**searchRestaurants**](DefaultApi.md#searchRestaurants) | **GET** /food/restaurants/search | Search Restaurants | @@ -41,13 +41,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **analyzeRecipeRequest** | [**AnalyzeRecipeRequest**](AnalyzeRecipeRequest.md)| Example request body. | - **language** | **kotlin.String**| The input language, either \"en\" or \"de\". | [optional] - **includeNutrition** | **kotlin.Boolean**| Whether nutrition data should be added to correctly parsed ingredients. | [optional] - **includeTaste** | **kotlin.Boolean**| Whether taste data should be added to correctly parsed ingredients. | [optional] +| **analyzeRecipeRequest** | [**AnalyzeRecipeRequest**](AnalyzeRecipeRequest.md)| Example request body. | | +| **language** | **kotlin.String**| The input language, either \"en\" or \"de\". | [optional] | +| **includeNutrition** | **kotlin.Boolean**| Whether nutrition data should be added to correctly parsed ingredients. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **includeTaste** | **kotlin.Boolean**| Whether taste data should be added to correctly parsed ingredients. | [optional] | ### Return type @@ -98,14 +97,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | - **mask** | **kotlin.String**| The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). | [optional] - **backgroundImage** | **kotlin.String**| The background image (\"none\",\"background1\", or \"background2\"). | [optional] - **backgroundColor** | **kotlin.String**| The background color for the recipe card as a hex-string. | [optional] - **fontColor** | **kotlin.String**| The font color for the recipe card as a hex-string. | [optional] +| **id** | **java.math.BigDecimal**| The recipe id. | | +| **mask** | **kotlin.String**| The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). | [optional] | +| **backgroundImage** | **kotlin.String**| The background image (\"none\",\"background1\", or \"background2\"). | [optional] | +| **backgroundColor** | **kotlin.String**| The background color for the recipe card as a hex-string. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **fontColor** | **kotlin.String**| The font color for the recipe card as a hex-string. | [optional] | ### Return type @@ -161,19 +159,18 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The search query. | [optional] - **lat** | **java.math.BigDecimal**| The latitude of the user's location. | [optional] - **lng** | **java.math.BigDecimal**| The longitude of the user's location.\". | [optional] - **distance** | **java.math.BigDecimal**| The distance around the location in miles. | [optional] - **budget** | **java.math.BigDecimal**| The user's budget for a meal in USD. | [optional] - **cuisine** | **kotlin.String**| The cuisine of the restaurant. | [optional] - **minRating** | **java.math.BigDecimal**| The minimum rating of the restaurant between 0 and 5. | [optional] - **isOpen** | **kotlin.Boolean**| Whether the restaurant must be open at the time of search. | [optional] - **sort** | **kotlin.String**| How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. | [optional] - **page** | **java.math.BigDecimal**| The page number of results. | [optional] +| **query** | **kotlin.String**| The search query. | [optional] | +| **lat** | **java.math.BigDecimal**| The latitude of the user's location. | [optional] | +| **lng** | **java.math.BigDecimal**| The longitude of the user's location.\". | [optional] | +| **distance** | **java.math.BigDecimal**| The distance around the location in miles. | [optional] | +| **budget** | **java.math.BigDecimal**| The user's budget for a meal in USD. | [optional] | +| **cuisine** | **kotlin.String**| The cuisine of the restaurant. | [optional] | +| **minRating** | **java.math.BigDecimal**| The minimum rating of the restaurant between 0 and 5. | [optional] | +| **isOpen** | **kotlin.Boolean**| Whether the restaurant must be open at the time of search. | [optional] | +| **sort** | **kotlin.String**| How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **page** | **java.math.BigDecimal**| The page number of results. | [optional] | ### Return type diff --git a/kotlin/docs/DetectFoodInText200Response.md b/kotlin/docs/DetectFoodInText200Response.md index 481d27f91..7879ba8fa 100644 --- a/kotlin/docs/DetectFoodInText200Response.md +++ b/kotlin/docs/DetectFoodInText200Response.md @@ -2,9 +2,9 @@ # DetectFoodInText200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**annotations** | [**kotlin.collections.Set<DetectFoodInText200ResponseAnnotationsInner>**](DetectFoodInText200ResponseAnnotationsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **annotations** | [**kotlin.collections.Set<DetectFoodInText200ResponseAnnotationsInner>**](DetectFoodInText200ResponseAnnotationsInner.md) | | | diff --git a/kotlin/docs/DetectFoodInText200ResponseAnnotationsInner.md b/kotlin/docs/DetectFoodInText200ResponseAnnotationsInner.md index 1fed3a7a2..fec419347 100644 --- a/kotlin/docs/DetectFoodInText200ResponseAnnotationsInner.md +++ b/kotlin/docs/DetectFoodInText200ResponseAnnotationsInner.md @@ -2,11 +2,11 @@ # DetectFoodInText200ResponseAnnotationsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**`annotation`** | **kotlin.String** | | -**image** | **kotlin.String** | | -**tag** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`annotation`** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **tag** | **kotlin.String** | | | diff --git a/kotlin/docs/GenerateMealPlan200Response.md b/kotlin/docs/GenerateMealPlan200Response.md index 4dd17d2b9..03ae33b53 100644 --- a/kotlin/docs/GenerateMealPlan200Response.md +++ b/kotlin/docs/GenerateMealPlan200Response.md @@ -2,10 +2,10 @@ # GenerateMealPlan200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**meals** | [**kotlin.collections.Set<GetSimilarRecipes200ResponseInner>**](GetSimilarRecipes200ResponseInner.md) | | -**nutrients** | [**GenerateMealPlan200ResponseNutrients**](GenerateMealPlan200ResponseNutrients.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **meals** | [**kotlin.collections.Set<GetSimilarRecipes200ResponseInner>**](GetSimilarRecipes200ResponseInner.md) | | | +| **nutrients** | [**GenerateMealPlan200ResponseNutrients**](GenerateMealPlan200ResponseNutrients.md) | | | diff --git a/kotlin/docs/GenerateMealPlan200ResponseNutrients.md b/kotlin/docs/GenerateMealPlan200ResponseNutrients.md index 6be34b119..061ddad97 100644 --- a/kotlin/docs/GenerateMealPlan200ResponseNutrients.md +++ b/kotlin/docs/GenerateMealPlan200ResponseNutrients.md @@ -2,12 +2,12 @@ # GenerateMealPlan200ResponseNutrients ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**carbohydrates** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**fat** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**protein** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **calories** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **carbohydrates** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **fat** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **protein** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GenerateShoppingList200Response.md b/kotlin/docs/GenerateShoppingList200Response.md index 3b95dd8a7..e42748dc7 100644 --- a/kotlin/docs/GenerateShoppingList200Response.md +++ b/kotlin/docs/GenerateShoppingList200Response.md @@ -2,12 +2,12 @@ # GenerateShoppingList200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisles** | [**kotlin.collections.Set<GetShoppingList200ResponseAislesInner>**](GetShoppingList200ResponseAislesInner.md) | | -**cost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**startDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**endDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **aisles** | [**kotlin.collections.Set<GetShoppingList200ResponseAislesInner>**](GetShoppingList200ResponseAislesInner.md) | | | +| **cost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **startDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **endDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetARandomFoodJoke200Response.md b/kotlin/docs/GetARandomFoodJoke200Response.md index 174b9fa24..8632ba1a7 100644 --- a/kotlin/docs/GetARandomFoodJoke200Response.md +++ b/kotlin/docs/GetARandomFoodJoke200Response.md @@ -2,9 +2,9 @@ # GetARandomFoodJoke200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**text** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **text** | **kotlin.String** | | | diff --git a/kotlin/docs/GetAnalyzedRecipeInstructions200Response.md b/kotlin/docs/GetAnalyzedRecipeInstructions200Response.md index c47f28837..bbce20cbf 100644 --- a/kotlin/docs/GetAnalyzedRecipeInstructions200Response.md +++ b/kotlin/docs/GetAnalyzedRecipeInstructions200Response.md @@ -2,11 +2,11 @@ # GetAnalyzedRecipeInstructions200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**parsedInstructions** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md) | | -**ingredients** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | -**equipment** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **parsedInstructions** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md) | | | +| **ingredients** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | | +| **equipment** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | | diff --git a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md index ed2908887..9189ceb69 100644 --- a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md +++ b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md @@ -2,10 +2,10 @@ # GetAnalyzedRecipeInstructions200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md index a9830bc72..635289bb7 100644 --- a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md +++ b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md @@ -2,10 +2,10 @@ # GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**steps** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **steps** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional] | diff --git a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md index 1f351b41b..da96d73fb 100644 --- a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md @@ -2,12 +2,12 @@ # GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**step** | **kotlin.String** | | -**ingredients** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] -**equipment** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **step** | **kotlin.String** | | | +| **ingredients** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] | +| **equipment** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] | diff --git a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md index 724ca9eb1..1c17e3390 100644 --- a/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ b/kotlin/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md @@ -2,12 +2,12 @@ # GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**name** | **kotlin.String** | | -**localizedName** | **kotlin.String** | | -**image** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **name** | **kotlin.String** | | | +| **localizedName** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | diff --git a/kotlin/docs/GetComparableProducts200Response.md b/kotlin/docs/GetComparableProducts200Response.md index 134946f6b..b22f855bd 100644 --- a/kotlin/docs/GetComparableProducts200Response.md +++ b/kotlin/docs/GetComparableProducts200Response.md @@ -2,9 +2,9 @@ # GetComparableProducts200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comparableProducts** | [**GetComparableProducts200ResponseComparableProducts**](GetComparableProducts200ResponseComparableProducts.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **comparableProducts** | [**GetComparableProducts200ResponseComparableProducts**](GetComparableProducts200ResponseComparableProducts.md) | | | diff --git a/kotlin/docs/GetComparableProducts200ResponseComparableProducts.md b/kotlin/docs/GetComparableProducts200ResponseComparableProducts.md index 339e0550b..ab50e50e3 100644 --- a/kotlin/docs/GetComparableProducts200ResponseComparableProducts.md +++ b/kotlin/docs/GetComparableProducts200ResponseComparableProducts.md @@ -2,14 +2,14 @@ # GetComparableProducts200ResponseComparableProducts ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | -**likes** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | -**price** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | -**protein** | [**kotlin.collections.Set<GetComparableProducts200ResponseComparableProductsProteinInner>**](GetComparableProducts200ResponseComparableProductsProteinInner.md) | | -**spoonacularScore** | [**kotlin.collections.Set<GetComparableProducts200ResponseComparableProductsProteinInner>**](GetComparableProducts200ResponseComparableProductsProteinInner.md) | | -**sugar** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **calories** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | +| **likes** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | +| **price** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | +| **protein** | [**kotlin.collections.Set<GetComparableProducts200ResponseComparableProductsProteinInner>**](GetComparableProducts200ResponseComparableProductsProteinInner.md) | | | +| **spoonacularScore** | [**kotlin.collections.Set<GetComparableProducts200ResponseComparableProductsProteinInner>**](GetComparableProducts200ResponseComparableProductsProteinInner.md) | | | +| **sugar** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | diff --git a/kotlin/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md b/kotlin/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md index afd905f4b..ac15453fe 100644 --- a/kotlin/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md +++ b/kotlin/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md @@ -2,12 +2,12 @@ # GetComparableProducts200ResponseComparableProductsProteinInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**difference** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**id** | **kotlin.Int** | | -**image** | **kotlin.String** | | -**title** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **difference** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **id** | **kotlin.Int** | | | +| **image** | **kotlin.String** | | | +| **title** | **kotlin.String** | | | diff --git a/kotlin/docs/GetConversationSuggests200Response.md b/kotlin/docs/GetConversationSuggests200Response.md index 93fb38e25..e2f40c391 100644 --- a/kotlin/docs/GetConversationSuggests200Response.md +++ b/kotlin/docs/GetConversationSuggests200Response.md @@ -2,10 +2,10 @@ # GetConversationSuggests200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**suggests** | [**GetConversationSuggests200ResponseSuggests**](GetConversationSuggests200ResponseSuggests.md) | | -**words** | **kotlin.collections.List<kotlin.String>** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **suggests** | [**GetConversationSuggests200ResponseSuggests**](GetConversationSuggests200ResponseSuggests.md) | | | +| **words** | **kotlin.collections.List<kotlin.String>** | | | diff --git a/kotlin/docs/GetConversationSuggests200ResponseSuggests.md b/kotlin/docs/GetConversationSuggests200ResponseSuggests.md index 999611b04..f724f03ee 100644 --- a/kotlin/docs/GetConversationSuggests200ResponseSuggests.md +++ b/kotlin/docs/GetConversationSuggests200ResponseSuggests.md @@ -2,9 +2,9 @@ # GetConversationSuggests200ResponseSuggests ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**underscore** | [**kotlin.collections.Set<GetConversationSuggests200ResponseSuggestsInner>**](GetConversationSuggests200ResponseSuggestsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **underscore** | [**kotlin.collections.Set<GetConversationSuggests200ResponseSuggestsInner>**](GetConversationSuggests200ResponseSuggestsInner.md) | | | diff --git a/kotlin/docs/GetConversationSuggests200ResponseSuggestsInner.md b/kotlin/docs/GetConversationSuggests200ResponseSuggestsInner.md index a5828f7c0..b52035cad 100644 --- a/kotlin/docs/GetConversationSuggests200ResponseSuggestsInner.md +++ b/kotlin/docs/GetConversationSuggests200ResponseSuggestsInner.md @@ -2,9 +2,9 @@ # GetConversationSuggests200ResponseSuggestsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/GetDishPairingForWine200Response.md b/kotlin/docs/GetDishPairingForWine200Response.md index e332a236f..cb5b49adb 100644 --- a/kotlin/docs/GetDishPairingForWine200Response.md +++ b/kotlin/docs/GetDishPairingForWine200Response.md @@ -2,10 +2,10 @@ # GetDishPairingForWine200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pairings** | **kotlin.collections.List<kotlin.String>** | | -**text** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **pairings** | **kotlin.collections.List<kotlin.String>** | | | +| **text** | **kotlin.String** | | | diff --git a/kotlin/docs/GetIngredientInformation200Response.md b/kotlin/docs/GetIngredientInformation200Response.md index 606205fa7..edb93314d 100644 --- a/kotlin/docs/GetIngredientInformation200Response.md +++ b/kotlin/docs/GetIngredientInformation200Response.md @@ -2,26 +2,26 @@ # GetIngredientInformation200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**original** | **kotlin.String** | | -**originalName** | **kotlin.String** | | -**name** | **kotlin.String** | | -**nameClean** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | -**unitShort** | **kotlin.String** | | -**unitLong** | **kotlin.String** | | -**possibleUnits** | **kotlin.collections.List<kotlin.String>** | | -**estimatedCost** | [**ParseIngredients200ResponseInnerEstimatedCost**](ParseIngredients200ResponseInnerEstimatedCost.md) | | -**consistency** | **kotlin.String** | | -**shoppingListUnits** | **kotlin.collections.List<kotlin.String>** | | -**aisle** | **kotlin.String** | | -**image** | **kotlin.String** | | -**meta** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | -**nutrition** | [**GetIngredientInformation200ResponseNutrition**](GetIngredientInformation200ResponseNutrition.md) | | -**categoryPath** | **kotlin.collections.List<kotlin.String>** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **original** | **kotlin.String** | | | +| **originalName** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **nameClean** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | +| **unitShort** | **kotlin.String** | | | +| **unitLong** | **kotlin.String** | | | +| **possibleUnits** | **kotlin.collections.List<kotlin.String>** | | | +| **estimatedCost** | [**ParseIngredients200ResponseInnerEstimatedCost**](ParseIngredients200ResponseInnerEstimatedCost.md) | | | +| **consistency** | **kotlin.String** | | | +| **shoppingListUnits** | **kotlin.collections.List<kotlin.String>** | | | +| **aisle** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **meta** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | +| **nutrition** | [**GetIngredientInformation200ResponseNutrition**](GetIngredientInformation200ResponseNutrition.md) | | | +| **categoryPath** | **kotlin.collections.List<kotlin.String>** | | | diff --git a/kotlin/docs/GetIngredientInformation200ResponseNutrition.md b/kotlin/docs/GetIngredientInformation200ResponseNutrition.md index 075812cd8..7bb3c1678 100644 --- a/kotlin/docs/GetIngredientInformation200ResponseNutrition.md +++ b/kotlin/docs/GetIngredientInformation200ResponseNutrition.md @@ -2,12 +2,12 @@ # GetIngredientInformation200ResponseNutrition ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionNutrientsInner>**](ParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | -**properties** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionPropertiesInner>**](ParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | -**caloricBreakdown** | [**ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | -**weightPerServing** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **nutrients** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionNutrientsInner>**](ParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | | +| **properties** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionPropertiesInner>**](ParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | | +| **caloricBreakdown** | [**ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | | +| **weightPerServing** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | | diff --git a/kotlin/docs/GetIngredientSubstitutes200Response.md b/kotlin/docs/GetIngredientSubstitutes200Response.md index d968ce3b4..2597f16e3 100644 --- a/kotlin/docs/GetIngredientSubstitutes200Response.md +++ b/kotlin/docs/GetIngredientSubstitutes200Response.md @@ -2,11 +2,11 @@ # GetIngredientSubstitutes200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredient** | **kotlin.String** | | -**substitutes** | **kotlin.collections.List<kotlin.String>** | | -**message** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **ingredient** | **kotlin.String** | | | +| **substitutes** | **kotlin.collections.List<kotlin.String>** | | | +| **message** | **kotlin.String** | | | diff --git a/kotlin/docs/GetMealPlanTemplate200Response.md b/kotlin/docs/GetMealPlanTemplate200Response.md index 4483cc1e5..e3f928263 100644 --- a/kotlin/docs/GetMealPlanTemplate200Response.md +++ b/kotlin/docs/GetMealPlanTemplate200Response.md @@ -2,11 +2,11 @@ # GetMealPlanTemplate200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**name** | **kotlin.String** | | -**days** | [**kotlin.collections.Set<GetMealPlanTemplate200ResponseDaysInner>**](GetMealPlanTemplate200ResponseDaysInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **name** | **kotlin.String** | | | +| **days** | [**kotlin.collections.Set<GetMealPlanTemplate200ResponseDaysInner>**](GetMealPlanTemplate200ResponseDaysInner.md) | | | diff --git a/kotlin/docs/GetMealPlanTemplate200ResponseDaysInner.md b/kotlin/docs/GetMealPlanTemplate200ResponseDaysInner.md index 2887d7a17..c650d9ce1 100644 --- a/kotlin/docs/GetMealPlanTemplate200ResponseDaysInner.md +++ b/kotlin/docs/GetMealPlanTemplate200ResponseDaysInner.md @@ -2,14 +2,14 @@ # GetMealPlanTemplate200ResponseDaysInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**day** | **kotlin.String** | | -**nutritionSummary** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryBreakfast** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryLunch** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryDinner** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**items** | [**kotlin.collections.Set<GetMealPlanTemplate200ResponseDaysInnerItemsInner>**](GetMealPlanTemplate200ResponseDaysInnerItemsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **day** | **kotlin.String** | | | +| **nutritionSummary** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **nutritionSummaryBreakfast** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **nutritionSummaryLunch** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **nutritionSummaryDinner** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **items** | [**kotlin.collections.Set<GetMealPlanTemplate200ResponseDaysInnerItemsInner>**](GetMealPlanTemplate200ResponseDaysInnerItemsInner.md) | | [optional] | diff --git a/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md b/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md index 6b016576c..072724891 100644 --- a/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md +++ b/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md @@ -2,13 +2,13 @@ # GetMealPlanTemplate200ResponseDaysInnerItemsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**slot** | **kotlin.Int** | | -**position** | **kotlin.Int** | | -**type** | **kotlin.String** | | -**`value`** | [**GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue**](GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **slot** | **kotlin.Int** | | | +| **position** | **kotlin.Int** | | | +| **type** | **kotlin.String** | | | +| **`value`** | [**GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue**](GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md) | | [optional] | diff --git a/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md b/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md index 08f10c35c..90713e301 100644 --- a/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md +++ b/kotlin/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md @@ -2,11 +2,11 @@ # GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**title** | **kotlin.String** | | -**imageType** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **title** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | diff --git a/kotlin/docs/GetMealPlanTemplates200Response.md b/kotlin/docs/GetMealPlanTemplates200Response.md index 9337793fc..d8ee0da73 100644 --- a/kotlin/docs/GetMealPlanTemplates200Response.md +++ b/kotlin/docs/GetMealPlanTemplates200Response.md @@ -2,9 +2,9 @@ # GetMealPlanTemplates200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**templates** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **templates** | [**kotlin.collections.Set<GetAnalyzedRecipeInstructions200ResponseIngredientsInner>**](GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | | diff --git a/kotlin/docs/GetMealPlanWeek200Response.md b/kotlin/docs/GetMealPlanWeek200Response.md index a4df939e8..5256b7dac 100644 --- a/kotlin/docs/GetMealPlanWeek200Response.md +++ b/kotlin/docs/GetMealPlanWeek200Response.md @@ -2,9 +2,9 @@ # GetMealPlanWeek200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**days** | [**kotlin.collections.Set<GetMealPlanWeek200ResponseDaysInner>**](GetMealPlanWeek200ResponseDaysInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **days** | [**kotlin.collections.Set<GetMealPlanWeek200ResponseDaysInner>**](GetMealPlanWeek200ResponseDaysInner.md) | | | diff --git a/kotlin/docs/GetMealPlanWeek200ResponseDaysInner.md b/kotlin/docs/GetMealPlanWeek200ResponseDaysInner.md index 65408a430..94d20b3be 100644 --- a/kotlin/docs/GetMealPlanWeek200ResponseDaysInner.md +++ b/kotlin/docs/GetMealPlanWeek200ResponseDaysInner.md @@ -2,15 +2,15 @@ # GetMealPlanWeek200ResponseDaysInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**day** | **kotlin.String** | | -**nutritionSummary** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryBreakfast** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryLunch** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryDinner** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**items** | [**kotlin.collections.Set<GetMealPlanWeek200ResponseDaysInnerItemsInner>**](GetMealPlanWeek200ResponseDaysInnerItemsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **date** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **day** | **kotlin.String** | | | +| **nutritionSummary** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **nutritionSummaryBreakfast** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **nutritionSummaryLunch** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **nutritionSummaryDinner** | [**GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] | +| **items** | [**kotlin.collections.Set<GetMealPlanWeek200ResponseDaysInnerItemsInner>**](GetMealPlanWeek200ResponseDaysInnerItemsInner.md) | | [optional] | diff --git a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md index 5d6a0a65c..46c4f961f 100644 --- a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md +++ b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md @@ -2,13 +2,13 @@ # GetMealPlanWeek200ResponseDaysInnerItemsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**slot** | **kotlin.Int** | | -**position** | **kotlin.Int** | | -**type** | **kotlin.String** | | -**`value`** | [**GetMealPlanWeek200ResponseDaysInnerItemsInnerValue**](GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **slot** | **kotlin.Int** | | | +| **position** | **kotlin.Int** | | | +| **type** | **kotlin.String** | | | +| **`value`** | [**GetMealPlanWeek200ResponseDaysInnerItemsInnerValue**](GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md) | | [optional] | diff --git a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md index 2fec1fcb8..076392909 100644 --- a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md +++ b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md @@ -2,12 +2,12 @@ # GetMealPlanWeek200ResponseDaysInnerItemsInnerValue ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**title** | **kotlin.String** | | -**imageType** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **id** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **title** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | diff --git a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md index a843e6f7d..beecb5e5f 100644 --- a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md +++ b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md @@ -2,9 +2,9 @@ # GetMealPlanWeek200ResponseDaysInnerNutritionSummary ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**kotlin.collections.Set<GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner>**](GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **nutrients** | [**kotlin.collections.Set<GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner>**](GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md) | | | diff --git a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md index 6920be732..84579bf12 100644 --- a/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md +++ b/kotlin/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md @@ -2,12 +2,12 @@ # GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | -**percentDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | +| **percentDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetMenuItemInformation200Response.md b/kotlin/docs/GetMenuItemInformation200Response.md index 905305c99..887077acf 100644 --- a/kotlin/docs/GetMenuItemInformation200Response.md +++ b/kotlin/docs/GetMenuItemInformation200Response.md @@ -2,20 +2,20 @@ # GetMenuItemInformation200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**restaurantChain** | **kotlin.String** | | -**nutrition** | [**SearchGroceryProductsByUPC200ResponseNutrition**](SearchGroceryProductsByUPC200ResponseNutrition.md) | | -**badges** | **kotlin.collections.List<kotlin.String>** | | -**breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | -**imageType** | **kotlin.String** | | -**likes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | -**generatedText** | **kotlin.String** | | [optional] -**price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **restaurantChain** | **kotlin.String** | | | +| **nutrition** | [**SearchGroceryProductsByUPC200ResponseNutrition**](SearchGroceryProductsByUPC200ResponseNutrition.md) | | | +| **badges** | **kotlin.collections.List<kotlin.String>** | | | +| **breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | | +| **imageType** | **kotlin.String** | | | +| **likes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | | +| **generatedText** | **kotlin.String** | | [optional] | +| **price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | diff --git a/kotlin/docs/GetProductInformation200Response.md b/kotlin/docs/GetProductInformation200Response.md index 82a82adcc..b70df5bf2 100644 --- a/kotlin/docs/GetProductInformation200Response.md +++ b/kotlin/docs/GetProductInformation200Response.md @@ -2,24 +2,24 @@ # GetProductInformation200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | -**imageType** | **kotlin.String** | | -**badges** | **kotlin.collections.List<kotlin.String>** | | -**importantBadges** | **kotlin.collections.List<kotlin.String>** | | -**ingredientCount** | **kotlin.Int** | | -**ingredientList** | **kotlin.String** | | -**ingredients** | [**kotlin.collections.List<GetProductInformation200ResponseIngredientsInner>**](GetProductInformation200ResponseIngredientsInner.md) | | -**likes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**aisle** | **kotlin.String** | | -**nutrition** | [**SearchGroceryProductsByUPC200ResponseNutrition**](SearchGroceryProductsByUPC200ResponseNutrition.md) | | -**price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | -**spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**generatedText** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | | +| **imageType** | **kotlin.String** | | | +| **badges** | **kotlin.collections.List<kotlin.String>** | | | +| **importantBadges** | **kotlin.collections.List<kotlin.String>** | | | +| **ingredientCount** | **kotlin.Int** | | | +| **ingredientList** | **kotlin.String** | | | +| **ingredients** | [**kotlin.collections.List<GetProductInformation200ResponseIngredientsInner>**](GetProductInformation200ResponseIngredientsInner.md) | | | +| **likes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **aisle** | **kotlin.String** | | | +| **nutrition** | [**SearchGroceryProductsByUPC200ResponseNutrition**](SearchGroceryProductsByUPC200ResponseNutrition.md) | | | +| **price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | | +| **spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **generatedText** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/GetProductInformation200ResponseIngredientsInner.md b/kotlin/docs/GetProductInformation200ResponseIngredientsInner.md index 58298142e..76b81c933 100644 --- a/kotlin/docs/GetProductInformation200ResponseIngredientsInner.md +++ b/kotlin/docs/GetProductInformation200ResponseIngredientsInner.md @@ -2,11 +2,11 @@ # GetProductInformation200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**description** | **kotlin.String** | | [optional] -**safetyLevel** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **description** | **kotlin.String** | | [optional] | +| **safetyLevel** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/GetRandomFoodTrivia200Response.md b/kotlin/docs/GetRandomFoodTrivia200Response.md index 3c3eb8c7b..f3f6f574d 100644 --- a/kotlin/docs/GetRandomFoodTrivia200Response.md +++ b/kotlin/docs/GetRandomFoodTrivia200Response.md @@ -2,9 +2,9 @@ # GetRandomFoodTrivia200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**text** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **text** | **kotlin.String** | | | diff --git a/kotlin/docs/GetRandomRecipes200Response.md b/kotlin/docs/GetRandomRecipes200Response.md index b6c9ed120..719c1b4ef 100644 --- a/kotlin/docs/GetRandomRecipes200Response.md +++ b/kotlin/docs/GetRandomRecipes200Response.md @@ -2,9 +2,9 @@ # GetRandomRecipes200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recipes** | [**kotlin.collections.Set<GetRandomRecipes200ResponseRecipesInner>**](GetRandomRecipes200ResponseRecipesInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **recipes** | [**kotlin.collections.Set<GetRandomRecipes200ResponseRecipesInner>**](GetRandomRecipes200ResponseRecipesInner.md) | | | diff --git a/kotlin/docs/GetRandomRecipes200ResponseRecipesInner.md b/kotlin/docs/GetRandomRecipes200ResponseRecipesInner.md index 3c3010841..e9e23e131 100644 --- a/kotlin/docs/GetRandomRecipes200ResponseRecipesInner.md +++ b/kotlin/docs/GetRandomRecipes200ResponseRecipesInner.md @@ -2,45 +2,45 @@ # GetRandomRecipes200ResponseRecipesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**readyInMinutes** | **kotlin.Int** | | -**license** | **kotlin.String** | | -**sourceName** | **kotlin.String** | | -**sourceUrl** | **kotlin.String** | | -**spoonacularSourceUrl** | **kotlin.String** | | -**aggregateLikes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**healthScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**pricePerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**cheap** | **kotlin.Boolean** | | -**creditsText** | **kotlin.String** | | -**dairyFree** | **kotlin.Boolean** | | -**gaps** | **kotlin.String** | | -**glutenFree** | **kotlin.Boolean** | | -**instructions** | **kotlin.String** | | -**ketogenic** | **kotlin.Boolean** | | -**lowFodmap** | **kotlin.Boolean** | | -**sustainable** | **kotlin.Boolean** | | -**vegan** | **kotlin.Boolean** | | -**vegetarian** | **kotlin.Boolean** | | -**veryHealthy** | **kotlin.Boolean** | | -**veryPopular** | **kotlin.Boolean** | | -**whole30** | **kotlin.Boolean** | | -**weightWatcherSmartPoints** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**summary** | **kotlin.String** | | -**analyzedInstructions** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | [optional] -**cuisines** | **kotlin.collections.List<kotlin.String>** | | [optional] -**diets** | **kotlin.collections.List<kotlin.String>** | | [optional] -**occasions** | **kotlin.collections.List<kotlin.String>** | | [optional] -**dishTypes** | **kotlin.collections.List<kotlin.String>** | | [optional] -**extendedIngredients** | [**kotlin.collections.Set<GetRecipeInformation200ResponseExtendedIngredientsInner>**](GetRecipeInformation200ResponseExtendedIngredientsInner.md) | | [optional] -**winePairing** | [**GetRecipeInformation200ResponseWinePairing**](GetRecipeInformation200ResponseWinePairing.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **readyInMinutes** | **kotlin.Int** | | | +| **license** | **kotlin.String** | | | +| **sourceName** | **kotlin.String** | | | +| **sourceUrl** | **kotlin.String** | | | +| **spoonacularSourceUrl** | **kotlin.String** | | | +| **aggregateLikes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **healthScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **pricePerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **cheap** | **kotlin.Boolean** | | | +| **creditsText** | **kotlin.String** | | | +| **dairyFree** | **kotlin.Boolean** | | | +| **gaps** | **kotlin.String** | | | +| **glutenFree** | **kotlin.Boolean** | | | +| **instructions** | **kotlin.String** | | | +| **ketogenic** | **kotlin.Boolean** | | | +| **lowFodmap** | **kotlin.Boolean** | | | +| **sustainable** | **kotlin.Boolean** | | | +| **vegan** | **kotlin.Boolean** | | | +| **vegetarian** | **kotlin.Boolean** | | | +| **veryHealthy** | **kotlin.Boolean** | | | +| **veryPopular** | **kotlin.Boolean** | | | +| **whole30** | **kotlin.Boolean** | | | +| **weightWatcherSmartPoints** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **summary** | **kotlin.String** | | | +| **analyzedInstructions** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | [optional] | +| **cuisines** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **diets** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **occasions** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **dishTypes** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **extendedIngredients** | [**kotlin.collections.Set<GetRecipeInformation200ResponseExtendedIngredientsInner>**](GetRecipeInformation200ResponseExtendedIngredientsInner.md) | | [optional] | +| **winePairing** | [**GetRecipeInformation200ResponseWinePairing**](GetRecipeInformation200ResponseWinePairing.md) | | [optional] | diff --git a/kotlin/docs/GetRecipeEquipmentByID200Response.md b/kotlin/docs/GetRecipeEquipmentByID200Response.md index 11f8f4f18..d2275cb37 100644 --- a/kotlin/docs/GetRecipeEquipmentByID200Response.md +++ b/kotlin/docs/GetRecipeEquipmentByID200Response.md @@ -2,9 +2,9 @@ # GetRecipeEquipmentByID200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**equipment** | [**kotlin.collections.Set<GetRecipeEquipmentByID200ResponseEquipmentInner>**](GetRecipeEquipmentByID200ResponseEquipmentInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **equipment** | [**kotlin.collections.Set<GetRecipeEquipmentByID200ResponseEquipmentInner>**](GetRecipeEquipmentByID200ResponseEquipmentInner.md) | | | diff --git a/kotlin/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md b/kotlin/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md index b0170c69d..1d47c5a68 100644 --- a/kotlin/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md +++ b/kotlin/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md @@ -2,10 +2,10 @@ # GetRecipeEquipmentByID200ResponseEquipmentInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **kotlin.String** | | -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **image** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/GetRecipeInformation200Response.md b/kotlin/docs/GetRecipeInformation200Response.md index c875e3249..d1ed41f4e 100644 --- a/kotlin/docs/GetRecipeInformation200Response.md +++ b/kotlin/docs/GetRecipeInformation200Response.md @@ -2,45 +2,45 @@ # GetRecipeInformation200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**readyInMinutes** | **kotlin.Int** | | -**license** | **kotlin.String** | | -**sourceName** | **kotlin.String** | | -**sourceUrl** | **kotlin.String** | | -**spoonacularSourceUrl** | **kotlin.String** | | -**aggregateLikes** | **kotlin.Int** | | -**healthScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**pricePerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**analyzedInstructions** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | -**cheap** | **kotlin.Boolean** | | -**creditsText** | **kotlin.String** | | -**cuisines** | **kotlin.collections.List<kotlin.String>** | | -**dairyFree** | **kotlin.Boolean** | | -**diets** | **kotlin.collections.List<kotlin.String>** | | -**gaps** | **kotlin.String** | | -**glutenFree** | **kotlin.Boolean** | | -**instructions** | **kotlin.String** | | -**ketogenic** | **kotlin.Boolean** | | -**lowFodmap** | **kotlin.Boolean** | | -**occasions** | **kotlin.collections.List<kotlin.String>** | | -**sustainable** | **kotlin.Boolean** | | -**vegan** | **kotlin.Boolean** | | -**vegetarian** | **kotlin.Boolean** | | -**veryHealthy** | **kotlin.Boolean** | | -**veryPopular** | **kotlin.Boolean** | | -**whole30** | **kotlin.Boolean** | | -**weightWatcherSmartPoints** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**dishTypes** | **kotlin.collections.List<kotlin.String>** | | -**extendedIngredients** | [**kotlin.collections.Set<GetRecipeInformation200ResponseExtendedIngredientsInner>**](GetRecipeInformation200ResponseExtendedIngredientsInner.md) | | -**summary** | **kotlin.String** | | -**winePairing** | [**GetRecipeInformation200ResponseWinePairing**](GetRecipeInformation200ResponseWinePairing.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **readyInMinutes** | **kotlin.Int** | | | +| **license** | **kotlin.String** | | | +| **sourceName** | **kotlin.String** | | | +| **sourceUrl** | **kotlin.String** | | | +| **spoonacularSourceUrl** | **kotlin.String** | | | +| **aggregateLikes** | **kotlin.Int** | | | +| **healthScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **pricePerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **analyzedInstructions** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | +| **cheap** | **kotlin.Boolean** | | | +| **creditsText** | **kotlin.String** | | | +| **cuisines** | **kotlin.collections.List<kotlin.String>** | | | +| **dairyFree** | **kotlin.Boolean** | | | +| **diets** | **kotlin.collections.List<kotlin.String>** | | | +| **gaps** | **kotlin.String** | | | +| **glutenFree** | **kotlin.Boolean** | | | +| **instructions** | **kotlin.String** | | | +| **ketogenic** | **kotlin.Boolean** | | | +| **lowFodmap** | **kotlin.Boolean** | | | +| **occasions** | **kotlin.collections.List<kotlin.String>** | | | +| **sustainable** | **kotlin.Boolean** | | | +| **vegan** | **kotlin.Boolean** | | | +| **vegetarian** | **kotlin.Boolean** | | | +| **veryHealthy** | **kotlin.Boolean** | | | +| **veryPopular** | **kotlin.Boolean** | | | +| **whole30** | **kotlin.Boolean** | | | +| **weightWatcherSmartPoints** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **dishTypes** | **kotlin.collections.List<kotlin.String>** | | | +| **extendedIngredients** | [**kotlin.collections.Set<GetRecipeInformation200ResponseExtendedIngredientsInner>**](GetRecipeInformation200ResponseExtendedIngredientsInner.md) | | | +| **summary** | **kotlin.String** | | | +| **winePairing** | [**GetRecipeInformation200ResponseWinePairing**](GetRecipeInformation200ResponseWinePairing.md) | | | diff --git a/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md b/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md index e19a700db..487f198d6 100644 --- a/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md +++ b/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md @@ -2,19 +2,19 @@ # GetRecipeInformation200ResponseExtendedIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisle** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**consitency** | **kotlin.String** | | -**id** | **kotlin.Int** | | -**image** | **kotlin.String** | | -**name** | **kotlin.String** | | -**original** | **kotlin.String** | | -**originalName** | **kotlin.String** | | -**unit** | **kotlin.String** | | -**measures** | [**GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures**](GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md) | | [optional] -**meta** | **kotlin.collections.List<kotlin.String>** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **aisle** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **consitency** | **kotlin.String** | | | +| **id** | **kotlin.Int** | | | +| **image** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **original** | **kotlin.String** | | | +| **originalName** | **kotlin.String** | | | +| **unit** | **kotlin.String** | | | +| **measures** | [**GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures**](GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md) | | [optional] | +| **meta** | **kotlin.collections.List<kotlin.String>** | | [optional] | diff --git a/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md b/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md index ed24a4824..4ff7c8dd6 100644 --- a/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md +++ b/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md @@ -2,10 +2,10 @@ # GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metric** | [**GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) | | -**us** | [**GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **metric** | [**GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) | | | +| **us** | [**GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) | | | diff --git a/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md b/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md index a055b60c2..315d928c5 100644 --- a/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md +++ b/kotlin/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md @@ -2,11 +2,11 @@ # GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unitLong** | **kotlin.String** | | -**unitShort** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unitLong** | **kotlin.String** | | | +| **unitShort** | **kotlin.String** | | | diff --git a/kotlin/docs/GetRecipeInformation200ResponseWinePairing.md b/kotlin/docs/GetRecipeInformation200ResponseWinePairing.md index f858a7683..e15aaec76 100644 --- a/kotlin/docs/GetRecipeInformation200ResponseWinePairing.md +++ b/kotlin/docs/GetRecipeInformation200ResponseWinePairing.md @@ -2,11 +2,11 @@ # GetRecipeInformation200ResponseWinePairing ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pairedWines** | **kotlin.collections.List<kotlin.String>** | | -**pairingText** | **kotlin.String** | | -**productMatches** | [**kotlin.collections.Set<GetRecipeInformation200ResponseWinePairingProductMatchesInner>**](GetRecipeInformation200ResponseWinePairingProductMatchesInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **pairedWines** | **kotlin.collections.List<kotlin.String>** | | | +| **pairingText** | **kotlin.String** | | | +| **productMatches** | [**kotlin.collections.Set<GetRecipeInformation200ResponseWinePairingProductMatchesInner>**](GetRecipeInformation200ResponseWinePairingProductMatchesInner.md) | | | diff --git a/kotlin/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md b/kotlin/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md index 32404faab..e981894c0 100644 --- a/kotlin/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md +++ b/kotlin/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md @@ -2,17 +2,17 @@ # GetRecipeInformation200ResponseWinePairingProductMatchesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**description** | **kotlin.String** | | -**price** | **kotlin.String** | | -**imageUrl** | **kotlin.String** | | -**averageRating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**ratingCount** | **kotlin.Int** | | -**score** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**link** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **description** | **kotlin.String** | | | +| **price** | **kotlin.String** | | | +| **imageUrl** | **kotlin.String** | | | +| **averageRating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **ratingCount** | **kotlin.Int** | | | +| **score** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **link** | **kotlin.String** | | | diff --git a/kotlin/docs/GetRecipeInformationBulk200ResponseInner.md b/kotlin/docs/GetRecipeInformationBulk200ResponseInner.md index bb4f71664..24b9f4b1e 100644 --- a/kotlin/docs/GetRecipeInformationBulk200ResponseInner.md +++ b/kotlin/docs/GetRecipeInformationBulk200ResponseInner.md @@ -2,45 +2,45 @@ # GetRecipeInformationBulk200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**readyInMinutes** | **kotlin.Int** | | -**license** | **kotlin.String** | | -**sourceName** | **kotlin.String** | | -**sourceUrl** | **kotlin.String** | | -**spoonacularSourceUrl** | **kotlin.String** | | -**aggregateLikes** | **kotlin.Int** | | -**healthScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**pricePerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**analyzedInstructions** | **kotlin.collections.List<kotlin.String>** | | -**cheap** | **kotlin.Boolean** | | -**creditsText** | **kotlin.String** | | -**cuisines** | **kotlin.collections.List<kotlin.String>** | | -**dairyFree** | **kotlin.Boolean** | | -**diets** | **kotlin.collections.List<kotlin.String>** | | -**gaps** | **kotlin.String** | | -**glutenFree** | **kotlin.Boolean** | | -**instructions** | **kotlin.String** | | -**ketogenic** | **kotlin.Boolean** | | -**lowFodmap** | **kotlin.Boolean** | | -**occasions** | **kotlin.collections.List<kotlin.String>** | | -**sustainable** | **kotlin.Boolean** | | -**vegan** | **kotlin.Boolean** | | -**vegetarian** | **kotlin.Boolean** | | -**veryHealthy** | **kotlin.Boolean** | | -**veryPopular** | **kotlin.Boolean** | | -**whole30** | **kotlin.Boolean** | | -**weightWatcherSmartPoints** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**dishTypes** | **kotlin.collections.List<kotlin.String>** | | -**extendedIngredients** | [**kotlin.collections.Set<GetRecipeInformation200ResponseExtendedIngredientsInner>**](GetRecipeInformation200ResponseExtendedIngredientsInner.md) | | -**summary** | **kotlin.String** | | -**winePairing** | [**GetRecipeInformation200ResponseWinePairing**](GetRecipeInformation200ResponseWinePairing.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **readyInMinutes** | **kotlin.Int** | | | +| **license** | **kotlin.String** | | | +| **sourceName** | **kotlin.String** | | | +| **sourceUrl** | **kotlin.String** | | | +| **spoonacularSourceUrl** | **kotlin.String** | | | +| **aggregateLikes** | **kotlin.Int** | | | +| **healthScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **pricePerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **analyzedInstructions** | **kotlin.collections.List<kotlin.String>** | | | +| **cheap** | **kotlin.Boolean** | | | +| **creditsText** | **kotlin.String** | | | +| **cuisines** | **kotlin.collections.List<kotlin.String>** | | | +| **dairyFree** | **kotlin.Boolean** | | | +| **diets** | **kotlin.collections.List<kotlin.String>** | | | +| **gaps** | **kotlin.String** | | | +| **glutenFree** | **kotlin.Boolean** | | | +| **instructions** | **kotlin.String** | | | +| **ketogenic** | **kotlin.Boolean** | | | +| **lowFodmap** | **kotlin.Boolean** | | | +| **occasions** | **kotlin.collections.List<kotlin.String>** | | | +| **sustainable** | **kotlin.Boolean** | | | +| **vegan** | **kotlin.Boolean** | | | +| **vegetarian** | **kotlin.Boolean** | | | +| **veryHealthy** | **kotlin.Boolean** | | | +| **veryPopular** | **kotlin.Boolean** | | | +| **whole30** | **kotlin.Boolean** | | | +| **weightWatcherSmartPoints** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **dishTypes** | **kotlin.collections.List<kotlin.String>** | | | +| **extendedIngredients** | [**kotlin.collections.Set<GetRecipeInformation200ResponseExtendedIngredientsInner>**](GetRecipeInformation200ResponseExtendedIngredientsInner.md) | | | +| **summary** | **kotlin.String** | | | +| **winePairing** | [**GetRecipeInformation200ResponseWinePairing**](GetRecipeInformation200ResponseWinePairing.md) | | | diff --git a/kotlin/docs/GetRecipeIngredientsByID200Response.md b/kotlin/docs/GetRecipeIngredientsByID200Response.md index d3e5a2db3..d0d557697 100644 --- a/kotlin/docs/GetRecipeIngredientsByID200Response.md +++ b/kotlin/docs/GetRecipeIngredientsByID200Response.md @@ -2,9 +2,9 @@ # GetRecipeIngredientsByID200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | [**kotlin.collections.Set<GetRecipeIngredientsByID200ResponseIngredientsInner>**](GetRecipeIngredientsByID200ResponseIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **ingredients** | [**kotlin.collections.Set<GetRecipeIngredientsByID200ResponseIngredientsInner>**](GetRecipeIngredientsByID200ResponseIngredientsInner.md) | | | diff --git a/kotlin/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md b/kotlin/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md index a3cc311fc..3afea5c4c 100644 --- a/kotlin/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md +++ b/kotlin/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md @@ -2,11 +2,11 @@ # GetRecipeIngredientsByID200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **kotlin.String** | | -**name** | **kotlin.String** | | -**amount** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **image** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **amount** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) | | [optional] | diff --git a/kotlin/docs/GetRecipeNutritionWidgetByID200Response.md b/kotlin/docs/GetRecipeNutritionWidgetByID200Response.md index 8b61e77bb..452db0bff 100644 --- a/kotlin/docs/GetRecipeNutritionWidgetByID200Response.md +++ b/kotlin/docs/GetRecipeNutritionWidgetByID200Response.md @@ -2,14 +2,14 @@ # GetRecipeNutritionWidgetByID200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | **kotlin.String** | | -**carbs** | **kotlin.String** | | -**fat** | **kotlin.String** | | -**protein** | **kotlin.String** | | -**bad** | [**kotlin.collections.Set<GetRecipeNutritionWidgetByID200ResponseBadInner>**](GetRecipeNutritionWidgetByID200ResponseBadInner.md) | | -**good** | [**kotlin.collections.Set<GetRecipeNutritionWidgetByID200ResponseGoodInner>**](GetRecipeNutritionWidgetByID200ResponseGoodInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **calories** | **kotlin.String** | | | +| **carbs** | **kotlin.String** | | | +| **fat** | **kotlin.String** | | | +| **protein** | **kotlin.String** | | | +| **bad** | [**kotlin.collections.Set<GetRecipeNutritionWidgetByID200ResponseBadInner>**](GetRecipeNutritionWidgetByID200ResponseBadInner.md) | | | +| **good** | [**kotlin.collections.Set<GetRecipeNutritionWidgetByID200ResponseGoodInner>**](GetRecipeNutritionWidgetByID200ResponseGoodInner.md) | | | diff --git a/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md b/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md index f882d4a35..bca541f01 100644 --- a/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md +++ b/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md @@ -2,12 +2,12 @@ # GetRecipeNutritionWidgetByID200ResponseBadInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**amount** | **kotlin.String** | | -**indented** | **kotlin.Boolean** | | -**percentOfDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **amount** | **kotlin.String** | | | +| **indented** | **kotlin.Boolean** | | | +| **percentOfDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md b/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md index fdb958253..9a26b2398 100644 --- a/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md +++ b/kotlin/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md @@ -2,12 +2,12 @@ # GetRecipeNutritionWidgetByID200ResponseGoodInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | **kotlin.String** | | -**indented** | **kotlin.Boolean** | | -**percentOfDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**name** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **amount** | **kotlin.String** | | | +| **indented** | **kotlin.Boolean** | | | +| **percentOfDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **name** | **kotlin.String** | | | diff --git a/kotlin/docs/GetRecipePriceBreakdownByID200Response.md b/kotlin/docs/GetRecipePriceBreakdownByID200Response.md index 68b1811c7..ccd4cc877 100644 --- a/kotlin/docs/GetRecipePriceBreakdownByID200Response.md +++ b/kotlin/docs/GetRecipePriceBreakdownByID200Response.md @@ -2,11 +2,11 @@ # GetRecipePriceBreakdownByID200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | [**kotlin.collections.Set<GetRecipePriceBreakdownByID200ResponseIngredientsInner>**](GetRecipePriceBreakdownByID200ResponseIngredientsInner.md) | | -**totalCost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**totalCostPerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **ingredients** | [**kotlin.collections.Set<GetRecipePriceBreakdownByID200ResponseIngredientsInner>**](GetRecipePriceBreakdownByID200ResponseIngredientsInner.md) | | | +| **totalCost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **totalCostPerServing** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md b/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md index 3fd504505..83f8f3d12 100644 --- a/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md +++ b/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md @@ -2,12 +2,12 @@ # GetRecipePriceBreakdownByID200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **kotlin.String** | | -**name** | **kotlin.String** | | -**price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**amount** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **image** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **amount** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) | | [optional] | diff --git a/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md b/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md index 62ec7c517..3ed7df3a7 100644 --- a/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md +++ b/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md @@ -2,10 +2,10 @@ # GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metric** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) | | -**us** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **metric** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) | | | +| **us** | [**GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric**](GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) | | | diff --git a/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md b/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md index 93c250cd7..11bdfe886 100644 --- a/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md +++ b/kotlin/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md @@ -2,10 +2,10 @@ # GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**unit** | **kotlin.String** | | -**`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **unit** | **kotlin.String** | | | +| **`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetRecipeTasteByID200Response.md b/kotlin/docs/GetRecipeTasteByID200Response.md index f73310fff..472acd4c2 100644 --- a/kotlin/docs/GetRecipeTasteByID200Response.md +++ b/kotlin/docs/GetRecipeTasteByID200Response.md @@ -2,15 +2,15 @@ # GetRecipeTasteByID200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sweetness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**saltiness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**sourness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**bitterness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**savoriness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**fattiness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**spiciness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **sweetness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **saltiness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **sourness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **bitterness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **savoriness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **fattiness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **spiciness** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetShoppingList200Response.md b/kotlin/docs/GetShoppingList200Response.md index 4a5c41a43..9c8038685 100644 --- a/kotlin/docs/GetShoppingList200Response.md +++ b/kotlin/docs/GetShoppingList200Response.md @@ -2,12 +2,12 @@ # GetShoppingList200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisles** | [**kotlin.collections.Set<GetShoppingList200ResponseAislesInner>**](GetShoppingList200ResponseAislesInner.md) | | -**cost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**startDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**endDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **aisles** | [**kotlin.collections.Set<GetShoppingList200ResponseAislesInner>**](GetShoppingList200ResponseAislesInner.md) | | | +| **cost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **startDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **endDate** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GetShoppingList200ResponseAislesInner.md b/kotlin/docs/GetShoppingList200ResponseAislesInner.md index af592f9de..bbb39031a 100644 --- a/kotlin/docs/GetShoppingList200ResponseAislesInner.md +++ b/kotlin/docs/GetShoppingList200ResponseAislesInner.md @@ -2,10 +2,10 @@ # GetShoppingList200ResponseAislesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisle** | **kotlin.String** | | -**items** | [**kotlin.collections.Set<GetShoppingList200ResponseAislesInnerItemsInner>**](GetShoppingList200ResponseAislesInnerItemsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **aisle** | **kotlin.String** | | | +| **items** | [**kotlin.collections.Set<GetShoppingList200ResponseAislesInnerItemsInner>**](GetShoppingList200ResponseAislesInnerItemsInner.md) | | [optional] | diff --git a/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInner.md b/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInner.md index 891bd100c..52cff772c 100644 --- a/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInner.md +++ b/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInner.md @@ -2,15 +2,15 @@ # GetShoppingList200ResponseAislesInnerItemsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**name** | **kotlin.String** | | -**pantryItem** | **kotlin.Boolean** | | -**aisle** | **kotlin.String** | | -**cost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**ingredientId** | **kotlin.Int** | | -**measures** | [**GetShoppingList200ResponseAislesInnerItemsInnerMeasures**](GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **name** | **kotlin.String** | | | +| **pantryItem** | **kotlin.Boolean** | | | +| **aisle** | **kotlin.String** | | | +| **cost** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **ingredientId** | **kotlin.Int** | | | +| **measures** | [**GetShoppingList200ResponseAislesInnerItemsInnerMeasures**](GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md) | | [optional] | diff --git a/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md b/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md index 9806ee30e..862b95888 100644 --- a/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md +++ b/kotlin/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md @@ -2,11 +2,11 @@ # GetShoppingList200ResponseAislesInnerItemsInnerMeasures ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**original** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | -**metric** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | -**us** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **original** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | | +| **metric** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | | +| **us** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | | diff --git a/kotlin/docs/GetSimilarRecipes200ResponseInner.md b/kotlin/docs/GetSimilarRecipes200ResponseInner.md index b186934cc..0b639c6ad 100644 --- a/kotlin/docs/GetSimilarRecipes200ResponseInner.md +++ b/kotlin/docs/GetSimilarRecipes200ResponseInner.md @@ -2,14 +2,14 @@ # GetSimilarRecipes200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**readyInMinutes** | **kotlin.Int** | | -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**sourceUrl** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **readyInMinutes** | **kotlin.Int** | | | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **sourceUrl** | **kotlin.String** | | | diff --git a/kotlin/docs/GetWineDescription200Response.md b/kotlin/docs/GetWineDescription200Response.md index 277ba48ea..3b0990683 100644 --- a/kotlin/docs/GetWineDescription200Response.md +++ b/kotlin/docs/GetWineDescription200Response.md @@ -2,9 +2,9 @@ # GetWineDescription200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**wineDescription** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **wineDescription** | **kotlin.String** | | | diff --git a/kotlin/docs/GetWinePairing200Response.md b/kotlin/docs/GetWinePairing200Response.md index 0e9124ecb..a44a976fd 100644 --- a/kotlin/docs/GetWinePairing200Response.md +++ b/kotlin/docs/GetWinePairing200Response.md @@ -2,11 +2,11 @@ # GetWinePairing200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pairedWines** | **kotlin.collections.List<kotlin.String>** | | -**pairingText** | **kotlin.String** | | -**productMatches** | [**kotlin.collections.Set<GetWinePairing200ResponseProductMatchesInner>**](GetWinePairing200ResponseProductMatchesInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **pairedWines** | **kotlin.collections.List<kotlin.String>** | | | +| **pairingText** | **kotlin.String** | | | +| **productMatches** | [**kotlin.collections.Set<GetWinePairing200ResponseProductMatchesInner>**](GetWinePairing200ResponseProductMatchesInner.md) | | | diff --git a/kotlin/docs/GetWinePairing200ResponseProductMatchesInner.md b/kotlin/docs/GetWinePairing200ResponseProductMatchesInner.md index acfc68b1d..ada20ff09 100644 --- a/kotlin/docs/GetWinePairing200ResponseProductMatchesInner.md +++ b/kotlin/docs/GetWinePairing200ResponseProductMatchesInner.md @@ -2,17 +2,17 @@ # GetWinePairing200ResponseProductMatchesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**averageRating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**imageUrl** | **kotlin.String** | | -**link** | **kotlin.String** | | -**price** | **kotlin.String** | | -**ratingCount** | **kotlin.Int** | | -**score** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**description** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **averageRating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **imageUrl** | **kotlin.String** | | | +| **link** | **kotlin.String** | | | +| **price** | **kotlin.String** | | | +| **ratingCount** | **kotlin.Int** | | | +| **score** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **description** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/GetWineRecommendation200Response.md b/kotlin/docs/GetWineRecommendation200Response.md index 039f845ca..7533152ea 100644 --- a/kotlin/docs/GetWineRecommendation200Response.md +++ b/kotlin/docs/GetWineRecommendation200Response.md @@ -2,10 +2,10 @@ # GetWineRecommendation200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recommendedWines** | [**kotlin.collections.Set<GetWineRecommendation200ResponseRecommendedWinesInner>**](GetWineRecommendation200ResponseRecommendedWinesInner.md) | | -**totalFound** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **recommendedWines** | [**kotlin.collections.Set<GetWineRecommendation200ResponseRecommendedWinesInner>**](GetWineRecommendation200ResponseRecommendedWinesInner.md) | | | +| **totalFound** | **kotlin.Int** | | | diff --git a/kotlin/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md b/kotlin/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md index 57529e463..f5030843d 100644 --- a/kotlin/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md +++ b/kotlin/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md @@ -2,17 +2,17 @@ # GetWineRecommendation200ResponseRecommendedWinesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**averageRating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**description** | **kotlin.String** | | -**imageUrl** | **kotlin.String** | | -**link** | **kotlin.String** | | -**price** | **kotlin.String** | | -**ratingCount** | **kotlin.Int** | | -**score** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **averageRating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **description** | **kotlin.String** | | | +| **imageUrl** | **kotlin.String** | | | +| **link** | **kotlin.String** | | | +| **price** | **kotlin.String** | | | +| **ratingCount** | **kotlin.Int** | | | +| **score** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GuessNutritionByDishName200Response.md b/kotlin/docs/GuessNutritionByDishName200Response.md index 8759de91b..bdc0fe3d2 100644 --- a/kotlin/docs/GuessNutritionByDishName200Response.md +++ b/kotlin/docs/GuessNutritionByDishName200Response.md @@ -2,13 +2,13 @@ # GuessNutritionByDishName200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | -**carbs** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | -**fat** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | -**protein** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | -**recipesUsed** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **calories** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | | +| **carbs** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | | +| **fat** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | | +| **protein** | [**GuessNutritionByDishName200ResponseCalories**](GuessNutritionByDishName200ResponseCalories.md) | | | +| **recipesUsed** | **kotlin.Int** | | | diff --git a/kotlin/docs/GuessNutritionByDishName200ResponseCalories.md b/kotlin/docs/GuessNutritionByDishName200ResponseCalories.md index 7479cc063..d97163b5d 100644 --- a/kotlin/docs/GuessNutritionByDishName200ResponseCalories.md +++ b/kotlin/docs/GuessNutritionByDishName200ResponseCalories.md @@ -2,12 +2,12 @@ # GuessNutritionByDishName200ResponseCalories ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**confidenceRange95Percent** | [**GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent**](GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md) | | -**standardDeviation** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | -**`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **confidenceRange95Percent** | [**GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent**](GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md) | | | +| **standardDeviation** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | +| **`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md b/kotlin/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md index be5a1f056..a8b481c8a 100644 --- a/kotlin/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md +++ b/kotlin/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md @@ -2,10 +2,10 @@ # GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**max** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**min** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **max** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **min** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ImageAnalysisByURL200Response.md b/kotlin/docs/ImageAnalysisByURL200Response.md index e63b58263..82cb97871 100644 --- a/kotlin/docs/ImageAnalysisByURL200Response.md +++ b/kotlin/docs/ImageAnalysisByURL200Response.md @@ -2,11 +2,11 @@ # ImageAnalysisByURL200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrition** | [**ImageAnalysisByURL200ResponseNutrition**](ImageAnalysisByURL200ResponseNutrition.md) | | -**category** | [**ImageAnalysisByURL200ResponseCategory**](ImageAnalysisByURL200ResponseCategory.md) | | -**recipes** | [**kotlin.collections.Set<ImageAnalysisByURL200ResponseRecipesInner>**](ImageAnalysisByURL200ResponseRecipesInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **nutrition** | [**ImageAnalysisByURL200ResponseNutrition**](ImageAnalysisByURL200ResponseNutrition.md) | | | +| **category** | [**ImageAnalysisByURL200ResponseCategory**](ImageAnalysisByURL200ResponseCategory.md) | | | +| **recipes** | [**kotlin.collections.Set<ImageAnalysisByURL200ResponseRecipesInner>**](ImageAnalysisByURL200ResponseRecipesInner.md) | | | diff --git a/kotlin/docs/ImageAnalysisByURL200ResponseCategory.md b/kotlin/docs/ImageAnalysisByURL200ResponseCategory.md index 38f59e9b2..622480530 100644 --- a/kotlin/docs/ImageAnalysisByURL200ResponseCategory.md +++ b/kotlin/docs/ImageAnalysisByURL200ResponseCategory.md @@ -2,10 +2,10 @@ # ImageAnalysisByURL200ResponseCategory ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**probability** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **probability** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ImageAnalysisByURL200ResponseNutrition.md b/kotlin/docs/ImageAnalysisByURL200ResponseNutrition.md index e5e9b8315..66a655553 100644 --- a/kotlin/docs/ImageAnalysisByURL200ResponseNutrition.md +++ b/kotlin/docs/ImageAnalysisByURL200ResponseNutrition.md @@ -2,13 +2,13 @@ # ImageAnalysisByURL200ResponseNutrition ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recipesUsed** | **kotlin.Int** | | -**calories** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | -**fat** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | -**protein** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | -**carbs** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **recipesUsed** | **kotlin.Int** | | | +| **calories** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | | +| **fat** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | | +| **protein** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | | +| **carbs** | [**ImageAnalysisByURL200ResponseNutritionCalories**](ImageAnalysisByURL200ResponseNutritionCalories.md) | | | diff --git a/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCalories.md b/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCalories.md index 3bf0665fe..2b4daaf8a 100644 --- a/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCalories.md +++ b/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCalories.md @@ -2,12 +2,12 @@ # ImageAnalysisByURL200ResponseNutritionCalories ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | -**confidenceRange95Percent** | [**ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent**](ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md) | | -**standardDeviation** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | +| **confidenceRange95Percent** | [**ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent**](ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md) | | | +| **standardDeviation** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md b/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md index c026f9d24..15a2ebdd4 100644 --- a/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md +++ b/kotlin/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md @@ -2,10 +2,10 @@ # ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**max** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **min** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **max** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ImageAnalysisByURL200ResponseRecipesInner.md b/kotlin/docs/ImageAnalysisByURL200ResponseRecipesInner.md index 8194efbd3..6407998e0 100644 --- a/kotlin/docs/ImageAnalysisByURL200ResponseRecipesInner.md +++ b/kotlin/docs/ImageAnalysisByURL200ResponseRecipesInner.md @@ -2,12 +2,12 @@ # ImageAnalysisByURL200ResponseRecipesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**url** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **url** | **kotlin.String** | | | diff --git a/kotlin/docs/ImageClassificationByURL200Response.md b/kotlin/docs/ImageClassificationByURL200Response.md index 9b3d369e3..f6ebcc433 100644 --- a/kotlin/docs/ImageClassificationByURL200Response.md +++ b/kotlin/docs/ImageClassificationByURL200Response.md @@ -2,10 +2,10 @@ # ImageClassificationByURL200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**category** | **kotlin.String** | | -**probability** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **category** | **kotlin.String** | | | +| **probability** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/IngredientSearch200Response.md b/kotlin/docs/IngredientSearch200Response.md index 867a96ead..f93855389 100644 --- a/kotlin/docs/IngredientSearch200Response.md +++ b/kotlin/docs/IngredientSearch200Response.md @@ -2,12 +2,12 @@ # IngredientSearch200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**results** | [**kotlin.collections.Set<IngredientSearch200ResponseResultsInner>**](IngredientSearch200ResponseResultsInner.md) | | -**offset** | **kotlin.Int** | | -**number** | **kotlin.Int** | | -**totalResults** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **results** | [**kotlin.collections.Set<IngredientSearch200ResponseResultsInner>**](IngredientSearch200ResponseResultsInner.md) | | | +| **offset** | **kotlin.Int** | | | +| **number** | **kotlin.Int** | | | +| **totalResults** | **kotlin.Int** | | | diff --git a/kotlin/docs/IngredientSearch200ResponseResultsInner.md b/kotlin/docs/IngredientSearch200ResponseResultsInner.md index 52bb8f9ce..930676779 100644 --- a/kotlin/docs/IngredientSearch200ResponseResultsInner.md +++ b/kotlin/docs/IngredientSearch200ResponseResultsInner.md @@ -2,11 +2,11 @@ # IngredientSearch200ResponseResultsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**name** | **kotlin.String** | | -**image** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **name** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | diff --git a/kotlin/docs/IngredientsApi.md b/kotlin/docs/IngredientsApi.md index 527da4786..00835a68a 100644 --- a/kotlin/docs/IngredientsApi.md +++ b/kotlin/docs/IngredientsApi.md @@ -2,17 +2,17 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**autocompleteIngredientSearch**](IngredientsApi.md#autocompleteIngredientSearch) | **GET** /food/ingredients/autocomplete | Autocomplete Ingredient Search -[**computeIngredientAmount**](IngredientsApi.md#computeIngredientAmount) | **GET** /food/ingredients/{id}/amount | Compute Ingredient Amount -[**getIngredientInformation**](IngredientsApi.md#getIngredientInformation) | **GET** /food/ingredients/{id}/information | Get Ingredient Information -[**getIngredientSubstitutes**](IngredientsApi.md#getIngredientSubstitutes) | **GET** /food/ingredients/substitutes | Get Ingredient Substitutes -[**getIngredientSubstitutesByID**](IngredientsApi.md#getIngredientSubstitutesByID) | **GET** /food/ingredients/{id}/substitutes | Get Ingredient Substitutes by ID -[**ingredientSearch**](IngredientsApi.md#ingredientSearch) | **GET** /food/ingredients/search | Ingredient Search -[**ingredientsByIDImage**](IngredientsApi.md#ingredientsByIDImage) | **GET** /recipes/{id}/ingredientWidget.png | Ingredients by ID Image -[**mapIngredientsToGroceryProducts**](IngredientsApi.md#mapIngredientsToGroceryProducts) | **POST** /food/ingredients/map | Map Ingredients to Grocery Products -[**visualizeIngredients**](IngredientsApi.md#visualizeIngredients) | **POST** /recipes/visualizeIngredients | Ingredients Widget +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**autocompleteIngredientSearch**](IngredientsApi.md#autocompleteIngredientSearch) | **GET** /food/ingredients/autocomplete | Autocomplete Ingredient Search | +| [**computeIngredientAmount**](IngredientsApi.md#computeIngredientAmount) | **GET** /food/ingredients/{id}/amount | Compute Ingredient Amount | +| [**getIngredientInformation**](IngredientsApi.md#getIngredientInformation) | **GET** /food/ingredients/{id}/information | Get Ingredient Information | +| [**getIngredientSubstitutes**](IngredientsApi.md#getIngredientSubstitutes) | **GET** /food/ingredients/substitutes | Get Ingredient Substitutes | +| [**getIngredientSubstitutesByID**](IngredientsApi.md#getIngredientSubstitutesByID) | **GET** /food/ingredients/{id}/substitutes | Get Ingredient Substitutes by ID | +| [**ingredientSearch**](IngredientsApi.md#ingredientSearch) | **GET** /food/ingredients/search | Ingredient Search | +| [**ingredientsByIDImage**](IngredientsApi.md#ingredientsByIDImage) | **GET** /recipes/{id}/ingredientWidget.png | Ingredients by ID Image | +| [**mapIngredientsToGroceryProducts**](IngredientsApi.md#mapIngredientsToGroceryProducts) | **POST** /food/ingredients/map | Map Ingredients to Grocery Products | +| [**visualizeIngredients**](IngredientsApi.md#visualizeIngredients) | **POST** /recipes/visualizeIngredients | Ingredients Widget | @@ -48,14 +48,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] - **metaInformation** | **kotlin.Boolean**| Whether to return more meta information about the ingredients. | [optional] - **intolerances** | **kotlin.String**| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | +| **metaInformation** | **kotlin.Boolean**| Whether to return more meta information about the ingredients. | [optional] | +| **intolerances** | **kotlin.String**| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | ### Return type @@ -105,13 +104,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The id of the ingredient you want the amount for. | - **nutrient** | **kotlin.String**| The target nutrient. See a list of supported nutrients. | - **target** | **java.math.BigDecimal**| The target number of the given nutrient. | - **unit** | **kotlin.String**| The target unit. | [optional] +| **id** | **java.math.BigDecimal**| The id of the ingredient you want the amount for. | | +| **nutrient** | **kotlin.String**| The target nutrient. See a list of supported nutrients. | | +| **target** | **java.math.BigDecimal**| The target number of the given nutrient. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **unit** | **kotlin.String**| The target unit. | [optional] | ### Return type @@ -160,12 +158,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **amount** | **java.math.BigDecimal**| The amount of this ingredient. | [optional] - **unit** | **kotlin.String**| The unit for the given amount. | [optional] +| **id** | **kotlin.Int**| The item's id. | | +| **amount** | **java.math.BigDecimal**| The amount of this ingredient. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **unit** | **kotlin.String**| The unit for the given amount. | [optional] | ### Return type @@ -212,10 +209,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientName** | **kotlin.String**| The name of the ingredient you want to replace. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **ingredientName** | **kotlin.String**| The name of the ingredient you want to replace. | | ### Return type @@ -262,10 +258,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -326,24 +321,23 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **addChildren** | **kotlin.Boolean**| Whether to add children of found foods. | [optional] - **minProteinPercent** | **java.math.BigDecimal**| The minimum percentage of protein the food must have (between 0 and 100). | [optional] - **maxProteinPercent** | **java.math.BigDecimal**| The maximum percentage of protein the food can have (between 0 and 100). | [optional] - **minFatPercent** | **java.math.BigDecimal**| The minimum percentage of fat the food must have (between 0 and 100). | [optional] - **maxFatPercent** | **java.math.BigDecimal**| The maximum percentage of fat the food can have (between 0 and 100). | [optional] - **minCarbsPercent** | **java.math.BigDecimal**| The minimum percentage of carbs the food must have (between 0 and 100). | [optional] - **maxCarbsPercent** | **java.math.BigDecimal**| The maximum percentage of carbs the food can have (between 0 and 100). | [optional] - **metaInformation** | **kotlin.Boolean**| Whether to return more meta information about the ingredients. | [optional] - **intolerances** | **kotlin.String**| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] - **sort** | **kotlin.String**| The strategy to sort recipes by. See a full list of supported sorting options. | [optional] - **sortDirection** | **kotlin.String**| The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **addChildren** | **kotlin.Boolean**| Whether to add children of found foods. | [optional] | +| **minProteinPercent** | **java.math.BigDecimal**| The minimum percentage of protein the food must have (between 0 and 100). | [optional] | +| **maxProteinPercent** | **java.math.BigDecimal**| The maximum percentage of protein the food can have (between 0 and 100). | [optional] | +| **minFatPercent** | **java.math.BigDecimal**| The minimum percentage of fat the food must have (between 0 and 100). | [optional] | +| **maxFatPercent** | **java.math.BigDecimal**| The maximum percentage of fat the food can have (between 0 and 100). | [optional] | +| **minCarbsPercent** | **java.math.BigDecimal**| The minimum percentage of carbs the food must have (between 0 and 100). | [optional] | +| **maxCarbsPercent** | **java.math.BigDecimal**| The maximum percentage of carbs the food can have (between 0 and 100). | [optional] | +| **metaInformation** | **kotlin.Boolean**| Whether to return more meta information about the ingredients. | [optional] | +| **intolerances** | **kotlin.String**| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] | +| **sort** | **kotlin.String**| The strategy to sort recipes by. See a full list of supported sorting options. | [optional] | +| **sortDirection** | **kotlin.String**| The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | ### Return type @@ -391,11 +385,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | - **measure** | **kotlin.String**| Whether the the measures should be 'us' or 'metric'. | [optional] [enum: us, metric] +| **id** | **java.math.BigDecimal**| The recipe id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **measure** | **kotlin.String**| Whether the the measures should be 'us' or 'metric'. | [optional] [enum: us, metric] | ### Return type @@ -442,10 +435,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapIngredientsToGroceryProductsRequest** | [**MapIngredientsToGroceryProductsRequest**](MapIngredientsToGroceryProductsRequest.md)| | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **mapIngredientsToGroceryProductsRequest** | [**MapIngredientsToGroceryProductsRequest**](MapIngredientsToGroceryProductsRequest.md)| | | ### Return type @@ -498,16 +490,15 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | - **servings** | **java.math.BigDecimal**| The number of servings. | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] - **measure** | **kotlin.String**| The original system of measurement, either 'metric' or 'us'. | [optional] [enum: us, metric] - **view** | **kotlin.String**| How to visualize the ingredients, either 'grid' or 'list'. | [optional] [enum: grid, list] - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] +| **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | | +| **servings** | **java.math.BigDecimal**| The number of servings. | | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | +| **measure** | **kotlin.String**| The original system of measurement, either 'metric' or 'us'. | [optional] [enum: us, metric] | +| **view** | **kotlin.String**| How to visualize the ingredients, either 'grid' or 'list'. | [optional] [enum: grid, list] | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] | ### Return type diff --git a/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInner.md b/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInner.md index 3d6d01bf5..2a4a52429 100644 --- a/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInner.md +++ b/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInner.md @@ -2,13 +2,13 @@ # MapIngredientsToGroceryProducts200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**original** | **kotlin.String** | | -**originalName** | **kotlin.String** | | -**ingredientImage** | **kotlin.String** | | -**meta** | **kotlin.collections.List<kotlin.String>** | | -**products** | [**kotlin.collections.Set<MapIngredientsToGroceryProducts200ResponseInnerProductsInner>**](MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **original** | **kotlin.String** | | | +| **originalName** | **kotlin.String** | | | +| **ingredientImage** | **kotlin.String** | | | +| **meta** | **kotlin.collections.List<kotlin.String>** | | | +| **products** | [**kotlin.collections.Set<MapIngredientsToGroceryProducts200ResponseInnerProductsInner>**](MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md) | | | diff --git a/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md b/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md index eb95c65c6..1ad715dc3 100644 --- a/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md +++ b/kotlin/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md @@ -2,11 +2,11 @@ # MapIngredientsToGroceryProducts200ResponseInnerProductsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**upc** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **upc** | **kotlin.String** | | | diff --git a/kotlin/docs/MapIngredientsToGroceryProductsRequest.md b/kotlin/docs/MapIngredientsToGroceryProductsRequest.md index 8b94a6dcc..666baf877 100644 --- a/kotlin/docs/MapIngredientsToGroceryProductsRequest.md +++ b/kotlin/docs/MapIngredientsToGroceryProductsRequest.md @@ -2,10 +2,10 @@ # MapIngredientsToGroceryProductsRequest ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | **kotlin.collections.List<kotlin.String>** | | -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **ingredients** | **kotlin.collections.List<kotlin.String>** | | | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/MealPlanningApi.md b/kotlin/docs/MealPlanningApi.md index a75612c25..5c44e401b 100644 --- a/kotlin/docs/MealPlanningApi.md +++ b/kotlin/docs/MealPlanningApi.md @@ -2,22 +2,22 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**addMealPlanTemplate**](MealPlanningApi.md#addMealPlanTemplate) | **POST** /mealplanner/{username}/templates | Add Meal Plan Template -[**addToMealPlan**](MealPlanningApi.md#addToMealPlan) | **POST** /mealplanner/{username}/items | Add to Meal Plan -[**addToShoppingList**](MealPlanningApi.md#addToShoppingList) | **POST** /mealplanner/{username}/shopping-list/items | Add to Shopping List -[**clearMealPlanDay**](MealPlanningApi.md#clearMealPlanDay) | **DELETE** /mealplanner/{username}/day/{date} | Clear Meal Plan Day -[**connectUser**](MealPlanningApi.md#connectUser) | **POST** /users/connect | Connect User -[**deleteFromMealPlan**](MealPlanningApi.md#deleteFromMealPlan) | **DELETE** /mealplanner/{username}/items/{id} | Delete from Meal Plan -[**deleteFromShoppingList**](MealPlanningApi.md#deleteFromShoppingList) | **DELETE** /mealplanner/{username}/shopping-list/items/{id} | Delete from Shopping List -[**deleteMealPlanTemplate**](MealPlanningApi.md#deleteMealPlanTemplate) | **DELETE** /mealplanner/{username}/templates/{id} | Delete Meal Plan Template -[**generateMealPlan**](MealPlanningApi.md#generateMealPlan) | **GET** /mealplanner/generate | Generate Meal Plan -[**generateShoppingList**](MealPlanningApi.md#generateShoppingList) | **POST** /mealplanner/{username}/shopping-list/{start_date}/{end_date} | Generate Shopping List -[**getMealPlanTemplate**](MealPlanningApi.md#getMealPlanTemplate) | **GET** /mealplanner/{username}/templates/{id} | Get Meal Plan Template -[**getMealPlanTemplates**](MealPlanningApi.md#getMealPlanTemplates) | **GET** /mealplanner/{username}/templates | Get Meal Plan Templates -[**getMealPlanWeek**](MealPlanningApi.md#getMealPlanWeek) | **GET** /mealplanner/{username}/week/{start_date} | Get Meal Plan Week -[**getShoppingList**](MealPlanningApi.md#getShoppingList) | **GET** /mealplanner/{username}/shopping-list | Get Shopping List +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**addMealPlanTemplate**](MealPlanningApi.md#addMealPlanTemplate) | **POST** /mealplanner/{username}/templates | Add Meal Plan Template | +| [**addToMealPlan**](MealPlanningApi.md#addToMealPlan) | **POST** /mealplanner/{username}/items | Add to Meal Plan | +| [**addToShoppingList**](MealPlanningApi.md#addToShoppingList) | **POST** /mealplanner/{username}/shopping-list/items | Add to Shopping List | +| [**clearMealPlanDay**](MealPlanningApi.md#clearMealPlanDay) | **DELETE** /mealplanner/{username}/day/{date} | Clear Meal Plan Day | +| [**connectUser**](MealPlanningApi.md#connectUser) | **POST** /users/connect | Connect User | +| [**deleteFromMealPlan**](MealPlanningApi.md#deleteFromMealPlan) | **DELETE** /mealplanner/{username}/items/{id} | Delete from Meal Plan | +| [**deleteFromShoppingList**](MealPlanningApi.md#deleteFromShoppingList) | **DELETE** /mealplanner/{username}/shopping-list/items/{id} | Delete from Shopping List | +| [**deleteMealPlanTemplate**](MealPlanningApi.md#deleteMealPlanTemplate) | **DELETE** /mealplanner/{username}/templates/{id} | Delete Meal Plan Template | +| [**generateMealPlan**](MealPlanningApi.md#generateMealPlan) | **GET** /mealplanner/generate | Generate Meal Plan | +| [**generateShoppingList**](MealPlanningApi.md#generateShoppingList) | **POST** /mealplanner/{username}/shopping-list/{start_date}/{end_date} | Generate Shopping List | +| [**getMealPlanTemplate**](MealPlanningApi.md#getMealPlanTemplate) | **GET** /mealplanner/{username}/templates/{id} | Get Meal Plan Template | +| [**getMealPlanTemplates**](MealPlanningApi.md#getMealPlanTemplates) | **GET** /mealplanner/{username}/templates | Get Meal Plan Templates | +| [**getMealPlanWeek**](MealPlanningApi.md#getMealPlanWeek) | **GET** /mealplanner/{username}/week/{start_date} | Get Meal Plan Week | +| [**getShoppingList**](MealPlanningApi.md#getShoppingList) | **GET** /mealplanner/{username}/shopping-list | Get Shopping List | @@ -50,11 +50,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -103,12 +102,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **hash** | **kotlin.String**| The private hash for the username. | - **addToMealPlanRequest** | [**AddToMealPlanRequest**](AddToMealPlanRequest.md)| | +| **username** | **kotlin.String**| The username. | | +| **hash** | **kotlin.String**| The private hash for the username. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **addToMealPlanRequest** | [**AddToMealPlanRequest**](AddToMealPlanRequest.md)| | | ### Return type @@ -157,12 +155,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **hash** | **kotlin.String**| The private hash for the username. | - **addToShoppingListRequest** | [**AddToShoppingListRequest**](AddToShoppingListRequest.md)| | +| **username** | **kotlin.String**| The username. | | +| **hash** | **kotlin.String**| The private hash for the username. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **addToShoppingListRequest** | [**AddToShoppingListRequest**](AddToShoppingListRequest.md)| | | ### Return type @@ -211,12 +208,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **date** | **kotlin.String**| The date in the format yyyy-mm-dd. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **date** | **kotlin.String**| The date in the format yyyy-mm-dd. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -263,10 +259,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **connectUserRequest** | [**ConnectUserRequest**](ConnectUserRequest.md)| | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **connectUserRequest** | [**ConnectUserRequest**](ConnectUserRequest.md)| | | ### Return type @@ -315,12 +310,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **id** | **java.math.BigDecimal**| The shopping list item id. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **id** | **java.math.BigDecimal**| The shopping list item id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -369,12 +363,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **id** | **kotlin.Int**| The item's id. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -423,12 +416,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **id** | **kotlin.Int**| The item's id. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -478,13 +470,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **timeFrame** | **kotlin.String**| Either for one \"day\" or an entire \"week\". | [optional] - **targetCalories** | **java.math.BigDecimal**| What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. | [optional] - **diet** | **kotlin.String**| Enter a diet that the meal plan has to adhere to. See a full list of supported diets. | [optional] - **exclude** | **kotlin.String**| A comma-separated list of allergens or ingredients that must be excluded. | [optional] +| **timeFrame** | **kotlin.String**| Either for one \"day\" or an entire \"week\". | [optional] | +| **targetCalories** | **java.math.BigDecimal**| What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. | [optional] | +| **diet** | **kotlin.String**| Enter a diet that the meal plan has to adhere to. See a full list of supported diets. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **exclude** | **kotlin.String**| A comma-separated list of allergens or ingredients that must be excluded. | [optional] | ### Return type @@ -534,13 +525,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **startDate** | **kotlin.String**| The start date in the format yyyy-mm-dd. | - **endDate** | **kotlin.String**| The end date in the format yyyy-mm-dd. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **startDate** | **kotlin.String**| The start date in the format yyyy-mm-dd. | | +| **endDate** | **kotlin.String**| The end date in the format yyyy-mm-dd. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -589,12 +579,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **id** | **kotlin.Int**| The item's id. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -642,11 +631,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -695,12 +683,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **startDate** | **kotlin.String**| The start date of the meal planned week in the format yyyy-mm-dd. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| **startDate** | **kotlin.String**| The start date of the meal planned week in the format yyyy-mm-dd. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type @@ -748,11 +735,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **hash** | **kotlin.String**| The private hash for the username. | +| **username** | **kotlin.String**| The username. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **hash** | **kotlin.String**| The private hash for the username. | | ### Return type diff --git a/kotlin/docs/MenuItemsApi.md b/kotlin/docs/MenuItemsApi.md index 3a38c27bd..ecf9a93e3 100644 --- a/kotlin/docs/MenuItemsApi.md +++ b/kotlin/docs/MenuItemsApi.md @@ -2,15 +2,15 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**autocompleteMenuItemSearch**](MenuItemsApi.md#autocompleteMenuItemSearch) | **GET** /food/menuItems/suggest | Autocomplete Menu Item Search -[**getMenuItemInformation**](MenuItemsApi.md#getMenuItemInformation) | **GET** /food/menuItems/{id} | Get Menu Item Information -[**menuItemNutritionByIDImage**](MenuItemsApi.md#menuItemNutritionByIDImage) | **GET** /food/menuItems/{id}/nutritionWidget.png | Menu Item Nutrition by ID Image -[**menuItemNutritionLabelImage**](MenuItemsApi.md#menuItemNutritionLabelImage) | **GET** /food/menuItems/{id}/nutritionLabel.png | Menu Item Nutrition Label Image -[**menuItemNutritionLabelWidget**](MenuItemsApi.md#menuItemNutritionLabelWidget) | **GET** /food/menuItems/{id}/nutritionLabel | Menu Item Nutrition Label Widget -[**searchMenuItems**](MenuItemsApi.md#searchMenuItems) | **GET** /food/menuItems/search | Search Menu Items -[**visualizeMenuItemNutritionByID**](MenuItemsApi.md#visualizeMenuItemNutritionByID) | **GET** /food/menuItems/{id}/nutritionWidget | Menu Item Nutrition by ID Widget +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**autocompleteMenuItemSearch**](MenuItemsApi.md#autocompleteMenuItemSearch) | **GET** /food/menuItems/suggest | Autocomplete Menu Item Search | +| [**getMenuItemInformation**](MenuItemsApi.md#getMenuItemInformation) | **GET** /food/menuItems/{id} | Get Menu Item Information | +| [**menuItemNutritionByIDImage**](MenuItemsApi.md#menuItemNutritionByIDImage) | **GET** /food/menuItems/{id}/nutritionWidget.png | Menu Item Nutrition by ID Image | +| [**menuItemNutritionLabelImage**](MenuItemsApi.md#menuItemNutritionLabelImage) | **GET** /food/menuItems/{id}/nutritionLabel.png | Menu Item Nutrition Label Image | +| [**menuItemNutritionLabelWidget**](MenuItemsApi.md#menuItemNutritionLabelWidget) | **GET** /food/menuItems/{id}/nutritionLabel | Menu Item Nutrition Label Widget | +| [**searchMenuItems**](MenuItemsApi.md#searchMenuItems) | **GET** /food/menuItems/search | Search Menu Items | +| [**visualizeMenuItemNutritionByID**](MenuItemsApi.md#visualizeMenuItemNutritionByID) | **GET** /food/menuItems/{id}/nutritionWidget | Menu Item Nutrition by ID Widget | @@ -43,11 +43,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (partial) search query. | - **number** | **java.math.BigDecimal**| The number of results to return (between 1 and 25). | [optional] +| **query** | **kotlin.String**| The (partial) search query. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **java.math.BigDecimal**| The number of results to return (between 1 and 25). | [optional] | ### Return type @@ -94,10 +93,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -144,10 +142,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The menu item id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **java.math.BigDecimal**| The menu item id. | | ### Return type @@ -197,13 +194,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The menu item id. | - **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] - **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] - **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] +| **id** | **java.math.BigDecimal**| The menu item id. | | +| **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] | +| **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] | ### Return type @@ -254,14 +250,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The menu item id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] - **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] - **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] - **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] +| **id** | **java.math.BigDecimal**| The menu item id. | | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | +| **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] | +| **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] | ### Return type @@ -319,21 +314,20 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the menu item must have. | [optional] - **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the menu item can have. | [optional] - **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the menu item must have. | [optional] - **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the menu item can have. | [optional] - **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the menu item must have. | [optional] - **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the menu item can have. | [optional] - **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the menu item must have. | [optional] - **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the menu item can have. | [optional] - **addMenuItemInformation** | **kotlin.Boolean**| If set to true, you get more information about the menu items returned. | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the menu item must have. | [optional] | +| **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the menu item can have. | [optional] | +| **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the menu item must have. | [optional] | +| **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the menu item can have. | [optional] | +| **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the menu item must have. | [optional] | +| **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the menu item can have. | [optional] | +| **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the menu item must have. | [optional] | +| **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the menu item can have. | [optional] | +| **addMenuItemInformation** | **kotlin.Boolean**| If set to true, you get more information about the menu items returned. | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -381,11 +375,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | ### Return type diff --git a/kotlin/docs/MiscApi.md b/kotlin/docs/MiscApi.md index f3dcd45ca..df980c2eb 100644 --- a/kotlin/docs/MiscApi.md +++ b/kotlin/docs/MiscApi.md @@ -2,19 +2,19 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**detectFoodInText**](MiscApi.md#detectFoodInText) | **POST** /food/detect | Detect Food in Text -[**getARandomFoodJoke**](MiscApi.md#getARandomFoodJoke) | **GET** /food/jokes/random | Random Food Joke -[**getConversationSuggests**](MiscApi.md#getConversationSuggests) | **GET** /food/converse/suggest | Conversation Suggests -[**getRandomFoodTrivia**](MiscApi.md#getRandomFoodTrivia) | **GET** /food/trivia/random | Random Food Trivia -[**imageAnalysisByURL**](MiscApi.md#imageAnalysisByURL) | **GET** /food/images/analyze | Image Analysis by URL -[**imageClassificationByURL**](MiscApi.md#imageClassificationByURL) | **GET** /food/images/classify | Image Classification by URL -[**searchAllFood**](MiscApi.md#searchAllFood) | **GET** /food/search | Search All Food -[**searchCustomFoods**](MiscApi.md#searchCustomFoods) | **GET** /food/customFoods/search | Search Custom Foods -[**searchFoodVideos**](MiscApi.md#searchFoodVideos) | **GET** /food/videos/search | Search Food Videos -[**searchSiteContent**](MiscApi.md#searchSiteContent) | **GET** /food/site/search | Search Site Content -[**talkToChatbot**](MiscApi.md#talkToChatbot) | **GET** /food/converse | Talk to Chatbot +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**detectFoodInText**](MiscApi.md#detectFoodInText) | **POST** /food/detect | Detect Food in Text | +| [**getARandomFoodJoke**](MiscApi.md#getARandomFoodJoke) | **GET** /food/jokes/random | Random Food Joke | +| [**getConversationSuggests**](MiscApi.md#getConversationSuggests) | **GET** /food/converse/suggest | Conversation Suggests | +| [**getRandomFoodTrivia**](MiscApi.md#getRandomFoodTrivia) | **GET** /food/trivia/random | Random Food Trivia | +| [**imageAnalysisByURL**](MiscApi.md#imageAnalysisByURL) | **GET** /food/images/analyze | Image Analysis by URL | +| [**imageClassificationByURL**](MiscApi.md#imageClassificationByURL) | **GET** /food/images/classify | Image Classification by URL | +| [**searchAllFood**](MiscApi.md#searchAllFood) | **GET** /food/search | Search All Food | +| [**searchCustomFoods**](MiscApi.md#searchCustomFoods) | **GET** /food/customFoods/search | Search Custom Foods | +| [**searchFoodVideos**](MiscApi.md#searchFoodVideos) | **GET** /food/videos/search | Search Food Videos | +| [**searchSiteContent**](MiscApi.md#searchSiteContent) | **GET** /food/site/search | Search Site Content | +| [**talkToChatbot**](MiscApi.md#talkToChatbot) | **GET** /food/converse | Talk to Chatbot | @@ -46,10 +46,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **text** | **kotlin.String**| | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **text** | **kotlin.String**| | | ### Return type @@ -143,11 +142,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| A (partial) query from the user. The endpoint will return if it matches topics it can talk about. | - **number** | **java.math.BigDecimal**| The number of suggestions to return (between 1 and 25). | [optional] +| **query** | **kotlin.String**| A (partial) query from the user. The endpoint will return if it matches topics it can talk about. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **java.math.BigDecimal**| The number of suggestions to return (between 1 and 25). | [optional] | ### Return type @@ -240,10 +238,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **imageUrl** | **kotlin.String**| The URL of the image to be analyzed. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **imageUrl** | **kotlin.String**| The URL of the image to be analyzed. | | ### Return type @@ -290,10 +287,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **imageUrl** | **kotlin.String**| The URL of the image to be classified. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **imageUrl** | **kotlin.String**| The URL of the image to be classified. | | ### Return type @@ -342,12 +338,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The search query. | - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **query** | **kotlin.String**| The search query. | | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -398,14 +393,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **kotlin.String**| The username. | - **hash** | **kotlin.String**| The private hash for the username. | - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **username** | **kotlin.String**| The username. | | +| **hash** | **kotlin.String**| The private hash for the username. | | +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -461,19 +455,18 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **type** | **kotlin.String**| The type of the recipes. See a full list of supported meal types. | [optional] - **cuisine** | **kotlin.String**| The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. | [optional] - **diet** | **kotlin.String**| The diet for which the recipes must be suitable. See a full list of supported diets. | [optional] - **includeIngredients** | **kotlin.String**| A comma-separated list of ingredients that the recipes should contain. | [optional] - **excludeIngredients** | **kotlin.String**| A comma-separated list of ingredients or ingredient types that the recipes must not contain. | [optional] - **minLength** | **java.math.BigDecimal**| Minimum video length in seconds. | [optional] - **maxLength** | **java.math.BigDecimal**| Maximum video length in seconds. | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **type** | **kotlin.String**| The type of the recipes. See a full list of supported meal types. | [optional] | +| **cuisine** | **kotlin.String**| The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. | [optional] | +| **diet** | **kotlin.String**| The diet for which the recipes must be suitable. See a full list of supported diets. | [optional] | +| **includeIngredients** | **kotlin.String**| A comma-separated list of ingredients that the recipes should contain. | [optional] | +| **excludeIngredients** | **kotlin.String**| A comma-separated list of ingredients or ingredient types that the recipes must not contain. | [optional] | +| **minLength** | **java.math.BigDecimal**| Minimum video length in seconds. | [optional] | +| **maxLength** | **java.math.BigDecimal**| Maximum video length in seconds. | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -520,10 +513,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **query** | **kotlin.String**| The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. | | ### Return type @@ -571,11 +563,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **text** | **kotlin.String**| The request / question / answer from the user to the chatbot. | - **contextId** | **kotlin.String**| An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. | [optional] +| **text** | **kotlin.String**| The request / question / answer from the user to the chatbot. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **contextId** | **kotlin.String**| An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. | [optional] | ### Return type diff --git a/kotlin/docs/ParseIngredients200ResponseInner.md b/kotlin/docs/ParseIngredients200ResponseInner.md index 072fe09aa..971976ac0 100644 --- a/kotlin/docs/ParseIngredients200ResponseInner.md +++ b/kotlin/docs/ParseIngredients200ResponseInner.md @@ -2,24 +2,24 @@ # ParseIngredients200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**original** | **kotlin.String** | | -**originalName** | **kotlin.String** | | -**name** | **kotlin.String** | | -**nameClean** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | -**unitShort** | **kotlin.String** | | -**unitLong** | **kotlin.String** | | -**possibleUnits** | **kotlin.collections.List<kotlin.String>** | | -**estimatedCost** | [**ParseIngredients200ResponseInnerEstimatedCost**](ParseIngredients200ResponseInnerEstimatedCost.md) | | -**consistency** | **kotlin.String** | | -**aisle** | **kotlin.String** | | -**image** | **kotlin.String** | | -**meta** | **kotlin.collections.List<kotlin.String>** | | -**nutrition** | [**ParseIngredients200ResponseInnerNutrition**](ParseIngredients200ResponseInnerNutrition.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **original** | **kotlin.String** | | | +| **originalName** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **nameClean** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | +| **unitShort** | **kotlin.String** | | | +| **unitLong** | **kotlin.String** | | | +| **possibleUnits** | **kotlin.collections.List<kotlin.String>** | | | +| **estimatedCost** | [**ParseIngredients200ResponseInnerEstimatedCost**](ParseIngredients200ResponseInnerEstimatedCost.md) | | | +| **consistency** | **kotlin.String** | | | +| **aisle** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **meta** | **kotlin.collections.List<kotlin.String>** | | | +| **nutrition** | [**ParseIngredients200ResponseInnerNutrition**](ParseIngredients200ResponseInnerNutrition.md) | | | diff --git a/kotlin/docs/ParseIngredients200ResponseInnerEstimatedCost.md b/kotlin/docs/ParseIngredients200ResponseInnerEstimatedCost.md index 682f1d00e..55281535a 100644 --- a/kotlin/docs/ParseIngredients200ResponseInnerEstimatedCost.md +++ b/kotlin/docs/ParseIngredients200ResponseInnerEstimatedCost.md @@ -2,10 +2,10 @@ # ParseIngredients200ResponseInnerEstimatedCost ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`value`** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | diff --git a/kotlin/docs/ParseIngredients200ResponseInnerNutrition.md b/kotlin/docs/ParseIngredients200ResponseInnerNutrition.md index 0430cffe4..3293eb709 100644 --- a/kotlin/docs/ParseIngredients200ResponseInnerNutrition.md +++ b/kotlin/docs/ParseIngredients200ResponseInnerNutrition.md @@ -2,13 +2,13 @@ # ParseIngredients200ResponseInnerNutrition ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionNutrientsInner>**](ParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | -**properties** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionPropertiesInner>**](ParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | -**flavonoids** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionPropertiesInner>**](ParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | -**caloricBreakdown** | [**ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | -**weightPerServing** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **nutrients** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionNutrientsInner>**](ParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | | +| **properties** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionPropertiesInner>**](ParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | | +| **flavonoids** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionPropertiesInner>**](ParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | | +| **caloricBreakdown** | [**ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | | +| **weightPerServing** | [**ParseIngredients200ResponseInnerNutritionWeightPerServing**](ParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | | diff --git a/kotlin/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md b/kotlin/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md index 33f5f9465..67f91c160 100644 --- a/kotlin/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md +++ b/kotlin/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md @@ -2,11 +2,11 @@ # ParseIngredients200ResponseInnerNutritionCaloricBreakdown ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**percentProtein** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**percentFat** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**percentCarbs** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **percentProtein** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **percentFat** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **percentCarbs** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md b/kotlin/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md index 3fea299bb..a5c1dd127 100644 --- a/kotlin/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md +++ b/kotlin/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md @@ -2,12 +2,12 @@ # ParseIngredients200ResponseInnerNutritionNutrientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | -**percentOfDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | +| **percentOfDailyNeeds** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md b/kotlin/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md index e92c61445..e61d3dc7f 100644 --- a/kotlin/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md +++ b/kotlin/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md @@ -2,11 +2,11 @@ # ParseIngredients200ResponseInnerNutritionPropertiesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | diff --git a/kotlin/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md b/kotlin/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md index 4073a0530..5a8d9fc51 100644 --- a/kotlin/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md +++ b/kotlin/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md @@ -2,10 +2,10 @@ # ParseIngredients200ResponseInnerNutritionWeightPerServing ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | diff --git a/kotlin/docs/ProductsApi.md b/kotlin/docs/ProductsApi.md index f4d6e3be5..703d319ac 100644 --- a/kotlin/docs/ProductsApi.md +++ b/kotlin/docs/ProductsApi.md @@ -2,19 +2,19 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**autocompleteProductSearch**](ProductsApi.md#autocompleteProductSearch) | **GET** /food/products/suggest | Autocomplete Product Search -[**classifyGroceryProduct**](ProductsApi.md#classifyGroceryProduct) | **POST** /food/products/classify | Classify Grocery Product -[**classifyGroceryProductBulk**](ProductsApi.md#classifyGroceryProductBulk) | **POST** /food/products/classifyBatch | Classify Grocery Product Bulk -[**getComparableProducts**](ProductsApi.md#getComparableProducts) | **GET** /food/products/upc/{upc}/comparable | Get Comparable Products -[**getProductInformation**](ProductsApi.md#getProductInformation) | **GET** /food/products/{id} | Get Product Information -[**productNutritionByIDImage**](ProductsApi.md#productNutritionByIDImage) | **GET** /food/products/{id}/nutritionWidget.png | Product Nutrition by ID Image -[**productNutritionLabelImage**](ProductsApi.md#productNutritionLabelImage) | **GET** /food/products/{id}/nutritionLabel.png | Product Nutrition Label Image -[**productNutritionLabelWidget**](ProductsApi.md#productNutritionLabelWidget) | **GET** /food/products/{id}/nutritionLabel | Product Nutrition Label Widget -[**searchGroceryProducts**](ProductsApi.md#searchGroceryProducts) | **GET** /food/products/search | Search Grocery Products -[**searchGroceryProductsByUPC**](ProductsApi.md#searchGroceryProductsByUPC) | **GET** /food/products/upc/{upc} | Search Grocery Products by UPC -[**visualizeProductNutritionByID**](ProductsApi.md#visualizeProductNutritionByID) | **GET** /food/products/{id}/nutritionWidget | Product Nutrition by ID Widget +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**autocompleteProductSearch**](ProductsApi.md#autocompleteProductSearch) | **GET** /food/products/suggest | Autocomplete Product Search | +| [**classifyGroceryProduct**](ProductsApi.md#classifyGroceryProduct) | **POST** /food/products/classify | Classify Grocery Product | +| [**classifyGroceryProductBulk**](ProductsApi.md#classifyGroceryProductBulk) | **POST** /food/products/classifyBatch | Classify Grocery Product Bulk | +| [**getComparableProducts**](ProductsApi.md#getComparableProducts) | **GET** /food/products/upc/{upc}/comparable | Get Comparable Products | +| [**getProductInformation**](ProductsApi.md#getProductInformation) | **GET** /food/products/{id} | Get Product Information | +| [**productNutritionByIDImage**](ProductsApi.md#productNutritionByIDImage) | **GET** /food/products/{id}/nutritionWidget.png | Product Nutrition by ID Image | +| [**productNutritionLabelImage**](ProductsApi.md#productNutritionLabelImage) | **GET** /food/products/{id}/nutritionLabel.png | Product Nutrition Label Image | +| [**productNutritionLabelWidget**](ProductsApi.md#productNutritionLabelWidget) | **GET** /food/products/{id}/nutritionLabel | Product Nutrition Label Widget | +| [**searchGroceryProducts**](ProductsApi.md#searchGroceryProducts) | **GET** /food/products/search | Search Grocery Products | +| [**searchGroceryProductsByUPC**](ProductsApi.md#searchGroceryProductsByUPC) | **GET** /food/products/upc/{upc} | Search Grocery Products by UPC | +| [**visualizeProductNutritionByID**](ProductsApi.md#visualizeProductNutritionByID) | **GET** /food/products/{id}/nutritionWidget | Product Nutrition by ID Widget | @@ -47,11 +47,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (partial) search query. | - **number** | **kotlin.Int**| The number of results to return (between 1 and 25). | [optional] +| **query** | **kotlin.String**| The (partial) search query. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The number of results to return (between 1 and 25). | [optional] | ### Return type @@ -99,11 +98,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **classifyGroceryProductRequest** | [**ClassifyGroceryProductRequest**](ClassifyGroceryProductRequest.md)| | - **locale** | **kotlin.String**| The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | [optional] [enum: en_US, en_GB] +| **classifyGroceryProductRequest** | [**ClassifyGroceryProductRequest**](ClassifyGroceryProductRequest.md)| | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **locale** | **kotlin.String**| The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | [optional] [enum: en_US, en_GB] | ### Return type @@ -151,11 +149,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **classifyGroceryProductBulkRequestInner** | [**kotlin.collections.Set<ClassifyGroceryProductBulkRequestInner>**](ClassifyGroceryProductBulkRequestInner.md)| | - **locale** | **kotlin.String**| The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | [optional] +| **classifyGroceryProductBulkRequestInner** | [**kotlin.collections.Set<ClassifyGroceryProductBulkRequestInner>**](ClassifyGroceryProductBulkRequestInner.md)| | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **locale** | **kotlin.String**| The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | [optional] | ### Return type @@ -202,10 +199,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **upc** | **java.math.BigDecimal**| The UPC of the product for which you want to find comparable products. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **upc** | **java.math.BigDecimal**| The UPC of the product for which you want to find comparable products. | | ### Return type @@ -252,10 +248,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -302,10 +297,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The id of the product. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **java.math.BigDecimal**| The id of the product. | | ### Return type @@ -355,13 +349,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The product id. | - **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] - **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] - **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] +| **id** | **java.math.BigDecimal**| The product id. | | +| **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] | +| **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] | ### Return type @@ -412,14 +405,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The product id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] - **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] - **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] - **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] +| **id** | **java.math.BigDecimal**| The product id. | | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | +| **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] | +| **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] | ### Return type @@ -477,21 +469,20 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the product must have. | [optional] - **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the product can have. | [optional] - **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the product must have. | [optional] - **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the product can have. | [optional] - **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the product must have. | [optional] - **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the product can have. | [optional] - **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the product must have. | [optional] - **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the product can have. | [optional] - **addProductInformation** | **kotlin.Boolean**| If set to true, you get more information about the products returned. | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the product must have. | [optional] | +| **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the product can have. | [optional] | +| **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the product must have. | [optional] | +| **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the product can have. | [optional] | +| **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the product must have. | [optional] | +| **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the product can have. | [optional] | +| **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the product must have. | [optional] | +| **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the product can have. | [optional] | +| **addProductInformation** | **kotlin.Boolean**| If set to true, you get more information about the products returned. | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -538,10 +529,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **upc** | **java.math.BigDecimal**| The product's UPC. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **upc** | **java.math.BigDecimal**| The product's UPC. | | ### Return type @@ -589,11 +579,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | ### Return type diff --git a/kotlin/docs/QuickAnswer200Response.md b/kotlin/docs/QuickAnswer200Response.md index 471a95d60..1b7f2d622 100644 --- a/kotlin/docs/QuickAnswer200Response.md +++ b/kotlin/docs/QuickAnswer200Response.md @@ -2,10 +2,10 @@ # QuickAnswer200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**answer** | **kotlin.String** | | -**image** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **answer** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | diff --git a/kotlin/docs/RecipesApi.md b/kotlin/docs/RecipesApi.md index 7c2d120d3..edbd688bb 100644 --- a/kotlin/docs/RecipesApi.md +++ b/kotlin/docs/RecipesApi.md @@ -2,48 +2,48 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**analyzeARecipeSearchQuery**](RecipesApi.md#analyzeARecipeSearchQuery) | **GET** /recipes/queries/analyze | Analyze a Recipe Search Query -[**analyzeRecipeInstructions**](RecipesApi.md#analyzeRecipeInstructions) | **POST** /recipes/analyzeInstructions | Analyze Recipe Instructions -[**autocompleteRecipeSearch**](RecipesApi.md#autocompleteRecipeSearch) | **GET** /recipes/autocomplete | Autocomplete Recipe Search -[**classifyCuisine**](RecipesApi.md#classifyCuisine) | **POST** /recipes/cuisine | Classify Cuisine -[**computeGlycemicLoad**](RecipesApi.md#computeGlycemicLoad) | **POST** /food/ingredients/glycemicLoad | Compute Glycemic Load -[**convertAmounts**](RecipesApi.md#convertAmounts) | **GET** /recipes/convert | Convert Amounts -[**createRecipeCard**](RecipesApi.md#createRecipeCard) | **POST** /recipes/visualizeRecipe | Create Recipe Card -[**equipmentByIDImage**](RecipesApi.md#equipmentByIDImage) | **GET** /recipes/{id}/equipmentWidget.png | Equipment by ID Image -[**extractRecipeFromWebsite**](RecipesApi.md#extractRecipeFromWebsite) | **GET** /recipes/extract | Extract Recipe from Website -[**getAnalyzedRecipeInstructions**](RecipesApi.md#getAnalyzedRecipeInstructions) | **GET** /recipes/{id}/analyzedInstructions | Get Analyzed Recipe Instructions -[**getRandomRecipes**](RecipesApi.md#getRandomRecipes) | **GET** /recipes/random | Get Random Recipes -[**getRecipeEquipmentByID**](RecipesApi.md#getRecipeEquipmentByID) | **GET** /recipes/{id}/equipmentWidget.json | Equipment by ID -[**getRecipeInformation**](RecipesApi.md#getRecipeInformation) | **GET** /recipes/{id}/information | Get Recipe Information -[**getRecipeInformationBulk**](RecipesApi.md#getRecipeInformationBulk) | **GET** /recipes/informationBulk | Get Recipe Information Bulk -[**getRecipeIngredientsByID**](RecipesApi.md#getRecipeIngredientsByID) | **GET** /recipes/{id}/ingredientWidget.json | Ingredients by ID -[**getRecipeNutritionWidgetByID**](RecipesApi.md#getRecipeNutritionWidgetByID) | **GET** /recipes/{id}/nutritionWidget.json | Nutrition by ID -[**getRecipePriceBreakdownByID**](RecipesApi.md#getRecipePriceBreakdownByID) | **GET** /recipes/{id}/priceBreakdownWidget.json | Price Breakdown by ID -[**getRecipeTasteByID**](RecipesApi.md#getRecipeTasteByID) | **GET** /recipes/{id}/tasteWidget.json | Taste by ID -[**getSimilarRecipes**](RecipesApi.md#getSimilarRecipes) | **GET** /recipes/{id}/similar | Get Similar Recipes -[**guessNutritionByDishName**](RecipesApi.md#guessNutritionByDishName) | **GET** /recipes/guessNutrition | Guess Nutrition by Dish Name -[**parseIngredients**](RecipesApi.md#parseIngredients) | **POST** /recipes/parseIngredients | Parse Ingredients -[**priceBreakdownByIDImage**](RecipesApi.md#priceBreakdownByIDImage) | **GET** /recipes/{id}/priceBreakdownWidget.png | Price Breakdown by ID Image -[**quickAnswer**](RecipesApi.md#quickAnswer) | **GET** /recipes/quickAnswer | Quick Answer -[**recipeNutritionByIDImage**](RecipesApi.md#recipeNutritionByIDImage) | **GET** /recipes/{id}/nutritionWidget.png | Recipe Nutrition by ID Image -[**recipeNutritionLabelImage**](RecipesApi.md#recipeNutritionLabelImage) | **GET** /recipes/{id}/nutritionLabel.png | Recipe Nutrition Label Image -[**recipeNutritionLabelWidget**](RecipesApi.md#recipeNutritionLabelWidget) | **GET** /recipes/{id}/nutritionLabel | Recipe Nutrition Label Widget -[**recipeTasteByIDImage**](RecipesApi.md#recipeTasteByIDImage) | **GET** /recipes/{id}/tasteWidget.png | Recipe Taste by ID Image -[**searchRecipes**](RecipesApi.md#searchRecipes) | **GET** /recipes/complexSearch | Search Recipes -[**searchRecipesByIngredients**](RecipesApi.md#searchRecipesByIngredients) | **GET** /recipes/findByIngredients | Search Recipes by Ingredients -[**searchRecipesByNutrients**](RecipesApi.md#searchRecipesByNutrients) | **GET** /recipes/findByNutrients | Search Recipes by Nutrients -[**summarizeRecipe**](RecipesApi.md#summarizeRecipe) | **GET** /recipes/{id}/summary | Summarize Recipe -[**visualizeEquipment**](RecipesApi.md#visualizeEquipment) | **POST** /recipes/visualizeEquipment | Equipment Widget -[**visualizePriceBreakdown**](RecipesApi.md#visualizePriceBreakdown) | **POST** /recipes/visualizePriceEstimator | Price Breakdown Widget -[**visualizeRecipeEquipmentByID**](RecipesApi.md#visualizeRecipeEquipmentByID) | **GET** /recipes/{id}/equipmentWidget | Equipment by ID Widget -[**visualizeRecipeIngredientsByID**](RecipesApi.md#visualizeRecipeIngredientsByID) | **GET** /recipes/{id}/ingredientWidget | Ingredients by ID Widget -[**visualizeRecipeNutrition**](RecipesApi.md#visualizeRecipeNutrition) | **POST** /recipes/visualizeNutrition | Recipe Nutrition Widget -[**visualizeRecipeNutritionByID**](RecipesApi.md#visualizeRecipeNutritionByID) | **GET** /recipes/{id}/nutritionWidget | Recipe Nutrition by ID Widget -[**visualizeRecipePriceBreakdownByID**](RecipesApi.md#visualizeRecipePriceBreakdownByID) | **GET** /recipes/{id}/priceBreakdownWidget | Price Breakdown by ID Widget -[**visualizeRecipeTaste**](RecipesApi.md#visualizeRecipeTaste) | **POST** /recipes/visualizeTaste | Recipe Taste Widget -[**visualizeRecipeTasteByID**](RecipesApi.md#visualizeRecipeTasteByID) | **GET** /recipes/{id}/tasteWidget | Recipe Taste by ID Widget +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**analyzeARecipeSearchQuery**](RecipesApi.md#analyzeARecipeSearchQuery) | **GET** /recipes/queries/analyze | Analyze a Recipe Search Query | +| [**analyzeRecipeInstructions**](RecipesApi.md#analyzeRecipeInstructions) | **POST** /recipes/analyzeInstructions | Analyze Recipe Instructions | +| [**autocompleteRecipeSearch**](RecipesApi.md#autocompleteRecipeSearch) | **GET** /recipes/autocomplete | Autocomplete Recipe Search | +| [**classifyCuisine**](RecipesApi.md#classifyCuisine) | **POST** /recipes/cuisine | Classify Cuisine | +| [**computeGlycemicLoad**](RecipesApi.md#computeGlycemicLoad) | **POST** /food/ingredients/glycemicLoad | Compute Glycemic Load | +| [**convertAmounts**](RecipesApi.md#convertAmounts) | **GET** /recipes/convert | Convert Amounts | +| [**createRecipeCard**](RecipesApi.md#createRecipeCard) | **POST** /recipes/visualizeRecipe | Create Recipe Card | +| [**equipmentByIDImage**](RecipesApi.md#equipmentByIDImage) | **GET** /recipes/{id}/equipmentWidget.png | Equipment by ID Image | +| [**extractRecipeFromWebsite**](RecipesApi.md#extractRecipeFromWebsite) | **GET** /recipes/extract | Extract Recipe from Website | +| [**getAnalyzedRecipeInstructions**](RecipesApi.md#getAnalyzedRecipeInstructions) | **GET** /recipes/{id}/analyzedInstructions | Get Analyzed Recipe Instructions | +| [**getRandomRecipes**](RecipesApi.md#getRandomRecipes) | **GET** /recipes/random | Get Random Recipes | +| [**getRecipeEquipmentByID**](RecipesApi.md#getRecipeEquipmentByID) | **GET** /recipes/{id}/equipmentWidget.json | Equipment by ID | +| [**getRecipeInformation**](RecipesApi.md#getRecipeInformation) | **GET** /recipes/{id}/information | Get Recipe Information | +| [**getRecipeInformationBulk**](RecipesApi.md#getRecipeInformationBulk) | **GET** /recipes/informationBulk | Get Recipe Information Bulk | +| [**getRecipeIngredientsByID**](RecipesApi.md#getRecipeIngredientsByID) | **GET** /recipes/{id}/ingredientWidget.json | Ingredients by ID | +| [**getRecipeNutritionWidgetByID**](RecipesApi.md#getRecipeNutritionWidgetByID) | **GET** /recipes/{id}/nutritionWidget.json | Nutrition by ID | +| [**getRecipePriceBreakdownByID**](RecipesApi.md#getRecipePriceBreakdownByID) | **GET** /recipes/{id}/priceBreakdownWidget.json | Price Breakdown by ID | +| [**getRecipeTasteByID**](RecipesApi.md#getRecipeTasteByID) | **GET** /recipes/{id}/tasteWidget.json | Taste by ID | +| [**getSimilarRecipes**](RecipesApi.md#getSimilarRecipes) | **GET** /recipes/{id}/similar | Get Similar Recipes | +| [**guessNutritionByDishName**](RecipesApi.md#guessNutritionByDishName) | **GET** /recipes/guessNutrition | Guess Nutrition by Dish Name | +| [**parseIngredients**](RecipesApi.md#parseIngredients) | **POST** /recipes/parseIngredients | Parse Ingredients | +| [**priceBreakdownByIDImage**](RecipesApi.md#priceBreakdownByIDImage) | **GET** /recipes/{id}/priceBreakdownWidget.png | Price Breakdown by ID Image | +| [**quickAnswer**](RecipesApi.md#quickAnswer) | **GET** /recipes/quickAnswer | Quick Answer | +| [**recipeNutritionByIDImage**](RecipesApi.md#recipeNutritionByIDImage) | **GET** /recipes/{id}/nutritionWidget.png | Recipe Nutrition by ID Image | +| [**recipeNutritionLabelImage**](RecipesApi.md#recipeNutritionLabelImage) | **GET** /recipes/{id}/nutritionLabel.png | Recipe Nutrition Label Image | +| [**recipeNutritionLabelWidget**](RecipesApi.md#recipeNutritionLabelWidget) | **GET** /recipes/{id}/nutritionLabel | Recipe Nutrition Label Widget | +| [**recipeTasteByIDImage**](RecipesApi.md#recipeTasteByIDImage) | **GET** /recipes/{id}/tasteWidget.png | Recipe Taste by ID Image | +| [**searchRecipes**](RecipesApi.md#searchRecipes) | **GET** /recipes/complexSearch | Search Recipes | +| [**searchRecipesByIngredients**](RecipesApi.md#searchRecipesByIngredients) | **GET** /recipes/findByIngredients | Search Recipes by Ingredients | +| [**searchRecipesByNutrients**](RecipesApi.md#searchRecipesByNutrients) | **GET** /recipes/findByNutrients | Search Recipes by Nutrients | +| [**summarizeRecipe**](RecipesApi.md#summarizeRecipe) | **GET** /recipes/{id}/summary | Summarize Recipe | +| [**visualizeEquipment**](RecipesApi.md#visualizeEquipment) | **POST** /recipes/visualizeEquipment | Equipment Widget | +| [**visualizePriceBreakdown**](RecipesApi.md#visualizePriceBreakdown) | **POST** /recipes/visualizePriceEstimator | Price Breakdown Widget | +| [**visualizeRecipeEquipmentByID**](RecipesApi.md#visualizeRecipeEquipmentByID) | **GET** /recipes/{id}/equipmentWidget | Equipment by ID Widget | +| [**visualizeRecipeIngredientsByID**](RecipesApi.md#visualizeRecipeIngredientsByID) | **GET** /recipes/{id}/ingredientWidget | Ingredients by ID Widget | +| [**visualizeRecipeNutrition**](RecipesApi.md#visualizeRecipeNutrition) | **POST** /recipes/visualizeNutrition | Recipe Nutrition Widget | +| [**visualizeRecipeNutritionByID**](RecipesApi.md#visualizeRecipeNutritionByID) | **GET** /recipes/{id}/nutritionWidget | Recipe Nutrition by ID Widget | +| [**visualizeRecipePriceBreakdownByID**](RecipesApi.md#visualizeRecipePriceBreakdownByID) | **GET** /recipes/{id}/priceBreakdownWidget | Price Breakdown by ID Widget | +| [**visualizeRecipeTaste**](RecipesApi.md#visualizeRecipeTaste) | **POST** /recipes/visualizeTaste | Recipe Taste Widget | +| [**visualizeRecipeTasteByID**](RecipesApi.md#visualizeRecipeTasteByID) | **GET** /recipes/{id}/tasteWidget | Recipe Taste by ID Widget | @@ -75,10 +75,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **q** | **kotlin.String**| The recipe search query. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **q** | **kotlin.String**| The recipe search query. | | ### Return type @@ -125,10 +124,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **instructions** | **kotlin.String**| The recipe's instructions. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **instructions** | **kotlin.String**| The recipe's instructions. | | ### Return type @@ -176,11 +174,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -229,12 +226,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **title** | **kotlin.String**| The title of the recipe. | - **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] +| **title** | **kotlin.String**| The title of the recipe. | | +| **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | ### Return type @@ -282,11 +278,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **computeGlycemicLoadRequest** | [**ComputeGlycemicLoadRequest**](ComputeGlycemicLoadRequest.md)| | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] +| **computeGlycemicLoadRequest** | [**ComputeGlycemicLoadRequest**](ComputeGlycemicLoadRequest.md)| | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | ### Return type @@ -336,13 +331,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientName** | **kotlin.String**| The ingredient which you want to convert. | - **sourceAmount** | **java.math.BigDecimal**| The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". | - **sourceUnit** | **kotlin.String**| The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | - **targetUnit** | **kotlin.String**| The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | +| **ingredientName** | **kotlin.String**| The ingredient which you want to convert. | | +| **sourceAmount** | **java.math.BigDecimal**| The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". | | +| **sourceUnit** | **kotlin.String**| The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **targetUnit** | **kotlin.String**| The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | | ### Return type @@ -401,22 +395,21 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **title** | **kotlin.String**| The title of the recipe. | - **ingredients** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | - **instructions** | **kotlin.String**| The instructions to make the recipe. One step per line (separate lines with \\\\n). | - **readyInMinutes** | **java.math.BigDecimal**| The number of minutes it takes to get the recipe on the table. | - **servings** | **java.math.BigDecimal**| The number of servings the recipe makes. | - **mask** | **kotlin.String**| The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). | [enum: ellipseMask, diamondMask, starMask, heartMask, potMask, fishMask] - **backgroundImage** | **kotlin.String**| The background image ('none', 'background1', or 'background2'). | [enum: none, background1, background2] - **image** | **java.io.File**| The binary image of the recipe as jpg. | [optional] - **imageUrl** | **kotlin.String**| If you do not sent a binary image you can also pass the image URL. | [optional] - **author** | **kotlin.String**| The author of the recipe. | [optional] - **backgroundColor** | **kotlin.String**| The background color for the recipe card as a hex-string. | [optional] - **fontColor** | **kotlin.String**| The font color for the recipe card as a hex-string. | [optional] - **source** | **kotlin.String**| The source of the recipe. | [optional] +| **title** | **kotlin.String**| The title of the recipe. | | +| **ingredients** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | | +| **instructions** | **kotlin.String**| The instructions to make the recipe. One step per line (separate lines with \\\\n). | | +| **readyInMinutes** | **java.math.BigDecimal**| The number of minutes it takes to get the recipe on the table. | | +| **servings** | **java.math.BigDecimal**| The number of servings the recipe makes. | | +| **mask** | **kotlin.String**| The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). | [enum: ellipseMask, diamondMask, starMask, heartMask, potMask, fishMask] | +| **backgroundImage** | **kotlin.String**| The background image ('none', 'background1', or 'background2'). | [enum: none, background1, background2] | +| **image** | **java.io.File**| The binary image of the recipe as jpg. | [optional] | +| **imageUrl** | **kotlin.String**| If you do not sent a binary image you can also pass the image URL. | [optional] | +| **author** | **kotlin.String**| The author of the recipe. | [optional] | +| **backgroundColor** | **kotlin.String**| The background color for the recipe card as a hex-string. | [optional] | +| **fontColor** | **kotlin.String**| The font color for the recipe card as a hex-string. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **source** | **kotlin.String**| The source of the recipe. | [optional] | ### Return type @@ -463,10 +456,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **java.math.BigDecimal**| The recipe id. | | ### Return type @@ -517,14 +509,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **url** | **kotlin.String**| The URL of the recipe page. | - **forceExtraction** | **kotlin.Boolean**| If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. | [optional] - **analyze** | **kotlin.Boolean**| If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. | [optional] - **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] - **includeTaste** | **kotlin.Boolean**| Whether taste data should be added to correctly parsed ingredients. | [optional] [default to false] +| **url** | **kotlin.String**| The URL of the recipe page. | | +| **forceExtraction** | **kotlin.Boolean**| If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. | [optional] | +| **analyze** | **kotlin.Boolean**| If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. | [optional] | +| **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **includeTaste** | **kotlin.Boolean**| Whether taste data should be added to correctly parsed ingredients. | [optional] [default to false] | ### Return type @@ -572,11 +563,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **stepBreakdown** | **kotlin.Boolean**| Whether to break down the recipe steps even more. | [optional] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **stepBreakdown** | **kotlin.Boolean**| Whether to break down the recipe steps even more. | [optional] | ### Return type @@ -627,14 +617,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] - **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] - **includeTags** | **kotlin.String**| A comma-separated list of tags that the random recipe(s) must adhere to. | [optional] - **excludeTags** | **kotlin.String**| A comma-separated list of tags that the random recipe(s) must not adhere to. | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] +| **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] | +| **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] | +| **includeTags** | **kotlin.String**| A comma-separated list of tags that the random recipe(s) must adhere to. | [optional] | +| **excludeTags** | **kotlin.String**| A comma-separated list of tags that the random recipe(s) must not adhere to. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | ### Return type @@ -681,10 +670,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -732,11 +720,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] | ### Return type @@ -784,11 +771,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ids** | **kotlin.String**| A comma-separated list of recipe ids. | - **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] +| **ids** | **kotlin.String**| A comma-separated list of recipe ids. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **includeNutrition** | **kotlin.Boolean**| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to false] | ### Return type @@ -835,10 +821,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -885,10 +870,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -935,10 +919,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -986,11 +969,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **normalize** | **kotlin.Boolean**| Normalize to the strongest taste. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **normalize** | **kotlin.Boolean**| Normalize to the strongest taste. | [optional] [default to true] | ### Return type @@ -1039,12 +1021,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] - **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] | ### Return type @@ -1091,10 +1072,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **title** | **kotlin.String**| The title of the dish. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **title** | **kotlin.String**| The title of the dish. | | ### Return type @@ -1144,13 +1124,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | - **servings** | **java.math.BigDecimal**| The number of servings that you can make from the ingredients. | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] - **includeNutrition** | **kotlin.Boolean**| | [optional] +| **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | | +| **servings** | **java.math.BigDecimal**| The number of servings that you can make from the ingredients. | | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **includeNutrition** | **kotlin.Boolean**| | [optional] | ### Return type @@ -1197,10 +1176,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **java.math.BigDecimal**| The recipe id. | | ### Return type @@ -1247,10 +1225,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **q** | **kotlin.String**| The nutrition related question. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **q** | **kotlin.String**| The nutrition related question. | | ### Return type @@ -1297,10 +1274,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **java.math.BigDecimal**| The recipe id. | | ### Return type @@ -1350,13 +1326,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | - **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] - **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] - **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] +| **id** | **java.math.BigDecimal**| The recipe id. | | +| **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] | +| **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] | ### Return type @@ -1407,14 +1382,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] - **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] - **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] - **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] +| **id** | **java.math.BigDecimal**| The recipe id. | | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | +| **showOptionalNutrients** | **kotlin.Boolean**| Whether to show optional nutrients. | [optional] | +| **showZeroValues** | **kotlin.Boolean**| Whether to show zero values. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showIngredients** | **kotlin.Boolean**| Whether to show a list of ingredients. | [optional] | ### Return type @@ -1463,12 +1437,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **java.math.BigDecimal**| The recipe id. | - **normalize** | **kotlin.Boolean**| Normalize to the strongest taste. | [optional] - **rgb** | **kotlin.String**| Red, green, blue values for the chart color. | [optional] +| **id** | **java.math.BigDecimal**| The recipe id. | | +| **normalize** | **kotlin.Boolean**| Normalize to the strongest taste. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **rgb** | **kotlin.String**| Red, green, blue values for the chart color. | [optional] | ### Return type @@ -1612,107 +1585,106 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **kotlin.String**| The (natural language) search query. | [optional] - **cuisine** | **kotlin.String**| The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. | [optional] - **excludeCuisine** | **kotlin.String**| The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. | [optional] - **diet** | **kotlin.String**| The diet for which the recipes must be suitable. See a full list of supported diets. | [optional] - **intolerances** | **kotlin.String**| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] - **equipment** | **kotlin.String**| The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". | [optional] - **includeIngredients** | **kotlin.String**| A comma-separated list of ingredients that should/must be used in the recipes. | [optional] - **excludeIngredients** | **kotlin.String**| A comma-separated list of ingredients or ingredient types that the recipes must not contain. | [optional] - **type** | **kotlin.String**| The type of recipe. See a full list of supported meal types. | [optional] - **instructionsRequired** | **kotlin.Boolean**| Whether the recipes must have instructions. | [optional] - **fillIngredients** | **kotlin.Boolean**| Add information about the ingredients and whether they are used or missing in relation to the query. | [optional] - **addRecipeInformation** | **kotlin.Boolean**| If set to true, you get more information about the recipes returned. | [optional] - **addRecipeNutrition** | **kotlin.Boolean**| If set to true, you get nutritional information about each recipes returned. | [optional] - **author** | **kotlin.String**| The username of the recipe author. | [optional] - **tags** | **kotlin.String**| The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. | [optional] - **recipeBoxId** | **java.math.BigDecimal**| The id of the recipe box to which the search should be limited to. | [optional] - **titleMatch** | **kotlin.String**| Enter text that must be found in the title of the recipes. | [optional] - **maxReadyTime** | **java.math.BigDecimal**| The maximum time in minutes it should take to prepare and cook the recipe. | [optional] - **minServings** | **java.math.BigDecimal**| The minimum amount of servings the recipe is for. | [optional] - **maxServings** | **java.math.BigDecimal**| The maximum amount of servings the recipe is for. | [optional] - **ignorePantry** | **kotlin.Boolean**| Whether to ignore typical pantry items, such as water, salt, flour, etc. | [optional] [default to false] - **sort** | **kotlin.String**| The strategy to sort recipes by. See a full list of supported sorting options. | [optional] - **sortDirection** | **kotlin.String**| The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | [optional] - **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the recipe must have. | [optional] - **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the recipe can have. | [optional] - **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the recipe must have. | [optional] - **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the recipe can have. | [optional] - **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the recipe must have. | [optional] - **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the recipe can have. | [optional] - **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the recipe must have. | [optional] - **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the recipe can have. | [optional] - **minAlcohol** | **java.math.BigDecimal**| The minimum amount of alcohol in grams the recipe must have. | [optional] - **maxAlcohol** | **java.math.BigDecimal**| The maximum amount of alcohol in grams the recipe can have. | [optional] - **minCaffeine** | **java.math.BigDecimal**| The minimum amount of caffeine in milligrams the recipe must have. | [optional] - **maxCaffeine** | **java.math.BigDecimal**| The maximum amount of caffeine in milligrams the recipe can have. | [optional] - **minCopper** | **java.math.BigDecimal**| The minimum amount of copper in milligrams the recipe must have. | [optional] - **maxCopper** | **java.math.BigDecimal**| The maximum amount of copper in milligrams the recipe can have. | [optional] - **minCalcium** | **java.math.BigDecimal**| The minimum amount of calcium in milligrams the recipe must have. | [optional] - **maxCalcium** | **java.math.BigDecimal**| The maximum amount of calcium in milligrams the recipe can have. | [optional] - **minCholine** | **java.math.BigDecimal**| The minimum amount of choline in milligrams the recipe must have. | [optional] - **maxCholine** | **java.math.BigDecimal**| The maximum amount of choline in milligrams the recipe can have. | [optional] - **minCholesterol** | **java.math.BigDecimal**| The minimum amount of cholesterol in milligrams the recipe must have. | [optional] - **maxCholesterol** | **java.math.BigDecimal**| The maximum amount of cholesterol in milligrams the recipe can have. | [optional] - **minFluoride** | **java.math.BigDecimal**| The minimum amount of fluoride in milligrams the recipe must have. | [optional] - **maxFluoride** | **java.math.BigDecimal**| The maximum amount of fluoride in milligrams the recipe can have. | [optional] - **minSaturatedFat** | **java.math.BigDecimal**| The minimum amount of saturated fat in grams the recipe must have. | [optional] - **maxSaturatedFat** | **java.math.BigDecimal**| The maximum amount of saturated fat in grams the recipe can have. | [optional] - **minVitaminA** | **java.math.BigDecimal**| The minimum amount of Vitamin A in IU the recipe must have. | [optional] - **maxVitaminA** | **java.math.BigDecimal**| The maximum amount of Vitamin A in IU the recipe can have. | [optional] - **minVitaminC** | **java.math.BigDecimal**| The minimum amount of Vitamin C milligrams the recipe must have. | [optional] - **maxVitaminC** | **java.math.BigDecimal**| The maximum amount of Vitamin C in milligrams the recipe can have. | [optional] - **minVitaminD** | **java.math.BigDecimal**| The minimum amount of Vitamin D in micrograms the recipe must have. | [optional] - **maxVitaminD** | **java.math.BigDecimal**| The maximum amount of Vitamin D in micrograms the recipe can have. | [optional] - **minVitaminE** | **java.math.BigDecimal**| The minimum amount of Vitamin E in milligrams the recipe must have. | [optional] - **maxVitaminE** | **java.math.BigDecimal**| The maximum amount of Vitamin E in milligrams the recipe can have. | [optional] - **minVitaminK** | **java.math.BigDecimal**| The minimum amount of Vitamin K in micrograms the recipe must have. | [optional] - **maxVitaminK** | **java.math.BigDecimal**| The maximum amount of Vitamin K in micrograms the recipe can have. | [optional] - **minVitaminB1** | **java.math.BigDecimal**| The minimum amount of Vitamin B1 in milligrams the recipe must have. | [optional] - **maxVitaminB1** | **java.math.BigDecimal**| The maximum amount of Vitamin B1 in milligrams the recipe can have. | [optional] - **minVitaminB2** | **java.math.BigDecimal**| The minimum amount of Vitamin B2 in milligrams the recipe must have. | [optional] - **maxVitaminB2** | **java.math.BigDecimal**| The maximum amount of Vitamin B2 in milligrams the recipe can have. | [optional] - **minVitaminB5** | **java.math.BigDecimal**| The minimum amount of Vitamin B5 in milligrams the recipe must have. | [optional] - **maxVitaminB5** | **java.math.BigDecimal**| The maximum amount of Vitamin B5 in milligrams the recipe can have. | [optional] - **minVitaminB3** | **java.math.BigDecimal**| The minimum amount of Vitamin B3 in milligrams the recipe must have. | [optional] - **maxVitaminB3** | **java.math.BigDecimal**| The maximum amount of Vitamin B3 in milligrams the recipe can have. | [optional] - **minVitaminB6** | **java.math.BigDecimal**| The minimum amount of Vitamin B6 in milligrams the recipe must have. | [optional] - **maxVitaminB6** | **java.math.BigDecimal**| The maximum amount of Vitamin B6 in milligrams the recipe can have. | [optional] - **minVitaminB12** | **java.math.BigDecimal**| The minimum amount of Vitamin B12 in micrograms the recipe must have. | [optional] - **maxVitaminB12** | **java.math.BigDecimal**| The maximum amount of Vitamin B12 in micrograms the recipe can have. | [optional] - **minFiber** | **java.math.BigDecimal**| The minimum amount of fiber in grams the recipe must have. | [optional] - **maxFiber** | **java.math.BigDecimal**| The maximum amount of fiber in grams the recipe can have. | [optional] - **minFolate** | **java.math.BigDecimal**| The minimum amount of folate in micrograms the recipe must have. | [optional] - **maxFolate** | **java.math.BigDecimal**| The maximum amount of folate in micrograms the recipe can have. | [optional] - **minFolicAcid** | **java.math.BigDecimal**| The minimum amount of folic acid in micrograms the recipe must have. | [optional] - **maxFolicAcid** | **java.math.BigDecimal**| The maximum amount of folic acid in micrograms the recipe can have. | [optional] - **minIodine** | **java.math.BigDecimal**| The minimum amount of iodine in micrograms the recipe must have. | [optional] - **maxIodine** | **java.math.BigDecimal**| The maximum amount of iodine in micrograms the recipe can have. | [optional] - **minIron** | **java.math.BigDecimal**| The minimum amount of iron in milligrams the recipe must have. | [optional] - **maxIron** | **java.math.BigDecimal**| The maximum amount of iron in milligrams the recipe can have. | [optional] - **minMagnesium** | **java.math.BigDecimal**| The minimum amount of magnesium in milligrams the recipe must have. | [optional] - **maxMagnesium** | **java.math.BigDecimal**| The maximum amount of magnesium in milligrams the recipe can have. | [optional] - **minManganese** | **java.math.BigDecimal**| The minimum amount of manganese in milligrams the recipe must have. | [optional] - **maxManganese** | **java.math.BigDecimal**| The maximum amount of manganese in milligrams the recipe can have. | [optional] - **minPhosphorus** | **java.math.BigDecimal**| The minimum amount of phosphorus in milligrams the recipe must have. | [optional] - **maxPhosphorus** | **java.math.BigDecimal**| The maximum amount of phosphorus in milligrams the recipe can have. | [optional] - **minPotassium** | **java.math.BigDecimal**| The minimum amount of potassium in milligrams the recipe must have. | [optional] - **maxPotassium** | **java.math.BigDecimal**| The maximum amount of potassium in milligrams the recipe can have. | [optional] - **minSelenium** | **java.math.BigDecimal**| The minimum amount of selenium in micrograms the recipe must have. | [optional] - **maxSelenium** | **java.math.BigDecimal**| The maximum amount of selenium in micrograms the recipe can have. | [optional] - **minSodium** | **java.math.BigDecimal**| The minimum amount of sodium in milligrams the recipe must have. | [optional] - **maxSodium** | **java.math.BigDecimal**| The maximum amount of sodium in milligrams the recipe can have. | [optional] - **minSugar** | **java.math.BigDecimal**| The minimum amount of sugar in grams the recipe must have. | [optional] - **maxSugar** | **java.math.BigDecimal**| The maximum amount of sugar in grams the recipe can have. | [optional] - **minZinc** | **java.math.BigDecimal**| The minimum amount of zinc in milligrams the recipe must have. | [optional] - **maxZinc** | **java.math.BigDecimal**| The maximum amount of zinc in milligrams the recipe can have. | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] - **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] +| **query** | **kotlin.String**| The (natural language) search query. | [optional] | +| **cuisine** | **kotlin.String**| The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. | [optional] | +| **excludeCuisine** | **kotlin.String**| The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. | [optional] | +| **diet** | **kotlin.String**| The diet for which the recipes must be suitable. See a full list of supported diets. | [optional] | +| **intolerances** | **kotlin.String**| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] | +| **equipment** | **kotlin.String**| The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". | [optional] | +| **includeIngredients** | **kotlin.String**| A comma-separated list of ingredients that should/must be used in the recipes. | [optional] | +| **excludeIngredients** | **kotlin.String**| A comma-separated list of ingredients or ingredient types that the recipes must not contain. | [optional] | +| **type** | **kotlin.String**| The type of recipe. See a full list of supported meal types. | [optional] | +| **instructionsRequired** | **kotlin.Boolean**| Whether the recipes must have instructions. | [optional] | +| **fillIngredients** | **kotlin.Boolean**| Add information about the ingredients and whether they are used or missing in relation to the query. | [optional] | +| **addRecipeInformation** | **kotlin.Boolean**| If set to true, you get more information about the recipes returned. | [optional] | +| **addRecipeNutrition** | **kotlin.Boolean**| If set to true, you get nutritional information about each recipes returned. | [optional] | +| **author** | **kotlin.String**| The username of the recipe author. | [optional] | +| **tags** | **kotlin.String**| The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. | [optional] | +| **recipeBoxId** | **java.math.BigDecimal**| The id of the recipe box to which the search should be limited to. | [optional] | +| **titleMatch** | **kotlin.String**| Enter text that must be found in the title of the recipes. | [optional] | +| **maxReadyTime** | **java.math.BigDecimal**| The maximum time in minutes it should take to prepare and cook the recipe. | [optional] | +| **minServings** | **java.math.BigDecimal**| The minimum amount of servings the recipe is for. | [optional] | +| **maxServings** | **java.math.BigDecimal**| The maximum amount of servings the recipe is for. | [optional] | +| **ignorePantry** | **kotlin.Boolean**| Whether to ignore typical pantry items, such as water, salt, flour, etc. | [optional] [default to false] | +| **sort** | **kotlin.String**| The strategy to sort recipes by. See a full list of supported sorting options. | [optional] | +| **sortDirection** | **kotlin.String**| The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | [optional] | +| **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the recipe must have. | [optional] | +| **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the recipe can have. | [optional] | +| **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the recipe must have. | [optional] | +| **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the recipe can have. | [optional] | +| **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the recipe must have. | [optional] | +| **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the recipe can have. | [optional] | +| **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the recipe must have. | [optional] | +| **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the recipe can have. | [optional] | +| **minAlcohol** | **java.math.BigDecimal**| The minimum amount of alcohol in grams the recipe must have. | [optional] | +| **maxAlcohol** | **java.math.BigDecimal**| The maximum amount of alcohol in grams the recipe can have. | [optional] | +| **minCaffeine** | **java.math.BigDecimal**| The minimum amount of caffeine in milligrams the recipe must have. | [optional] | +| **maxCaffeine** | **java.math.BigDecimal**| The maximum amount of caffeine in milligrams the recipe can have. | [optional] | +| **minCopper** | **java.math.BigDecimal**| The minimum amount of copper in milligrams the recipe must have. | [optional] | +| **maxCopper** | **java.math.BigDecimal**| The maximum amount of copper in milligrams the recipe can have. | [optional] | +| **minCalcium** | **java.math.BigDecimal**| The minimum amount of calcium in milligrams the recipe must have. | [optional] | +| **maxCalcium** | **java.math.BigDecimal**| The maximum amount of calcium in milligrams the recipe can have. | [optional] | +| **minCholine** | **java.math.BigDecimal**| The minimum amount of choline in milligrams the recipe must have. | [optional] | +| **maxCholine** | **java.math.BigDecimal**| The maximum amount of choline in milligrams the recipe can have. | [optional] | +| **minCholesterol** | **java.math.BigDecimal**| The minimum amount of cholesterol in milligrams the recipe must have. | [optional] | +| **maxCholesterol** | **java.math.BigDecimal**| The maximum amount of cholesterol in milligrams the recipe can have. | [optional] | +| **minFluoride** | **java.math.BigDecimal**| The minimum amount of fluoride in milligrams the recipe must have. | [optional] | +| **maxFluoride** | **java.math.BigDecimal**| The maximum amount of fluoride in milligrams the recipe can have. | [optional] | +| **minSaturatedFat** | **java.math.BigDecimal**| The minimum amount of saturated fat in grams the recipe must have. | [optional] | +| **maxSaturatedFat** | **java.math.BigDecimal**| The maximum amount of saturated fat in grams the recipe can have. | [optional] | +| **minVitaminA** | **java.math.BigDecimal**| The minimum amount of Vitamin A in IU the recipe must have. | [optional] | +| **maxVitaminA** | **java.math.BigDecimal**| The maximum amount of Vitamin A in IU the recipe can have. | [optional] | +| **minVitaminC** | **java.math.BigDecimal**| The minimum amount of Vitamin C milligrams the recipe must have. | [optional] | +| **maxVitaminC** | **java.math.BigDecimal**| The maximum amount of Vitamin C in milligrams the recipe can have. | [optional] | +| **minVitaminD** | **java.math.BigDecimal**| The minimum amount of Vitamin D in micrograms the recipe must have. | [optional] | +| **maxVitaminD** | **java.math.BigDecimal**| The maximum amount of Vitamin D in micrograms the recipe can have. | [optional] | +| **minVitaminE** | **java.math.BigDecimal**| The minimum amount of Vitamin E in milligrams the recipe must have. | [optional] | +| **maxVitaminE** | **java.math.BigDecimal**| The maximum amount of Vitamin E in milligrams the recipe can have. | [optional] | +| **minVitaminK** | **java.math.BigDecimal**| The minimum amount of Vitamin K in micrograms the recipe must have. | [optional] | +| **maxVitaminK** | **java.math.BigDecimal**| The maximum amount of Vitamin K in micrograms the recipe can have. | [optional] | +| **minVitaminB1** | **java.math.BigDecimal**| The minimum amount of Vitamin B1 in milligrams the recipe must have. | [optional] | +| **maxVitaminB1** | **java.math.BigDecimal**| The maximum amount of Vitamin B1 in milligrams the recipe can have. | [optional] | +| **minVitaminB2** | **java.math.BigDecimal**| The minimum amount of Vitamin B2 in milligrams the recipe must have. | [optional] | +| **maxVitaminB2** | **java.math.BigDecimal**| The maximum amount of Vitamin B2 in milligrams the recipe can have. | [optional] | +| **minVitaminB5** | **java.math.BigDecimal**| The minimum amount of Vitamin B5 in milligrams the recipe must have. | [optional] | +| **maxVitaminB5** | **java.math.BigDecimal**| The maximum amount of Vitamin B5 in milligrams the recipe can have. | [optional] | +| **minVitaminB3** | **java.math.BigDecimal**| The minimum amount of Vitamin B3 in milligrams the recipe must have. | [optional] | +| **maxVitaminB3** | **java.math.BigDecimal**| The maximum amount of Vitamin B3 in milligrams the recipe can have. | [optional] | +| **minVitaminB6** | **java.math.BigDecimal**| The minimum amount of Vitamin B6 in milligrams the recipe must have. | [optional] | +| **maxVitaminB6** | **java.math.BigDecimal**| The maximum amount of Vitamin B6 in milligrams the recipe can have. | [optional] | +| **minVitaminB12** | **java.math.BigDecimal**| The minimum amount of Vitamin B12 in micrograms the recipe must have. | [optional] | +| **maxVitaminB12** | **java.math.BigDecimal**| The maximum amount of Vitamin B12 in micrograms the recipe can have. | [optional] | +| **minFiber** | **java.math.BigDecimal**| The minimum amount of fiber in grams the recipe must have. | [optional] | +| **maxFiber** | **java.math.BigDecimal**| The maximum amount of fiber in grams the recipe can have. | [optional] | +| **minFolate** | **java.math.BigDecimal**| The minimum amount of folate in micrograms the recipe must have. | [optional] | +| **maxFolate** | **java.math.BigDecimal**| The maximum amount of folate in micrograms the recipe can have. | [optional] | +| **minFolicAcid** | **java.math.BigDecimal**| The minimum amount of folic acid in micrograms the recipe must have. | [optional] | +| **maxFolicAcid** | **java.math.BigDecimal**| The maximum amount of folic acid in micrograms the recipe can have. | [optional] | +| **minIodine** | **java.math.BigDecimal**| The minimum amount of iodine in micrograms the recipe must have. | [optional] | +| **maxIodine** | **java.math.BigDecimal**| The maximum amount of iodine in micrograms the recipe can have. | [optional] | +| **minIron** | **java.math.BigDecimal**| The minimum amount of iron in milligrams the recipe must have. | [optional] | +| **maxIron** | **java.math.BigDecimal**| The maximum amount of iron in milligrams the recipe can have. | [optional] | +| **minMagnesium** | **java.math.BigDecimal**| The minimum amount of magnesium in milligrams the recipe must have. | [optional] | +| **maxMagnesium** | **java.math.BigDecimal**| The maximum amount of magnesium in milligrams the recipe can have. | [optional] | +| **minManganese** | **java.math.BigDecimal**| The minimum amount of manganese in milligrams the recipe must have. | [optional] | +| **maxManganese** | **java.math.BigDecimal**| The maximum amount of manganese in milligrams the recipe can have. | [optional] | +| **minPhosphorus** | **java.math.BigDecimal**| The minimum amount of phosphorus in milligrams the recipe must have. | [optional] | +| **maxPhosphorus** | **java.math.BigDecimal**| The maximum amount of phosphorus in milligrams the recipe can have. | [optional] | +| **minPotassium** | **java.math.BigDecimal**| The minimum amount of potassium in milligrams the recipe must have. | [optional] | +| **maxPotassium** | **java.math.BigDecimal**| The maximum amount of potassium in milligrams the recipe can have. | [optional] | +| **minSelenium** | **java.math.BigDecimal**| The minimum amount of selenium in micrograms the recipe must have. | [optional] | +| **maxSelenium** | **java.math.BigDecimal**| The maximum amount of selenium in micrograms the recipe can have. | [optional] | +| **minSodium** | **java.math.BigDecimal**| The minimum amount of sodium in milligrams the recipe must have. | [optional] | +| **maxSodium** | **java.math.BigDecimal**| The maximum amount of sodium in milligrams the recipe can have. | [optional] | +| **minSugar** | **java.math.BigDecimal**| The minimum amount of sugar in grams the recipe must have. | [optional] | +| **maxSugar** | **java.math.BigDecimal**| The maximum amount of sugar in grams the recipe can have. | [optional] | +| **minZinc** | **java.math.BigDecimal**| The minimum amount of zinc in milligrams the recipe must have. | [optional] | +| **maxZinc** | **java.math.BigDecimal**| The maximum amount of zinc in milligrams the recipe can have. | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] | ### Return type @@ -1763,14 +1735,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredients** | **kotlin.String**| A comma-separated list of ingredients that the recipes should contain. | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] - **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] - **ranking** | **java.math.BigDecimal**| Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. | [optional] - **ignorePantry** | **kotlin.Boolean**| Whether to ignore typical pantry items, such as water, salt, flour, etc. | [optional] [default to false] +| **ingredients** | **kotlin.String**| A comma-separated list of ingredients that the recipes should contain. | [optional] | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | +| **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] | +| **ranking** | **java.math.BigDecimal**| Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **ignorePantry** | **kotlin.Boolean**| Whether to ignore typical pantry items, such as water, salt, flour, etc. | [optional] [default to false] | ### Return type @@ -1892,85 +1863,84 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the recipe must have. | [optional] - **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the recipe can have. | [optional] - **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the recipe must have. | [optional] - **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the recipe can have. | [optional] - **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the recipe must have. | [optional] - **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the recipe can have. | [optional] - **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the recipe must have. | [optional] - **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the recipe can have. | [optional] - **minAlcohol** | **java.math.BigDecimal**| The minimum amount of alcohol in grams the recipe must have. | [optional] - **maxAlcohol** | **java.math.BigDecimal**| The maximum amount of alcohol in grams the recipe can have. | [optional] - **minCaffeine** | **java.math.BigDecimal**| The minimum amount of caffeine in milligrams the recipe must have. | [optional] - **maxCaffeine** | **java.math.BigDecimal**| The maximum amount of caffeine in milligrams the recipe can have. | [optional] - **minCopper** | **java.math.BigDecimal**| The minimum amount of copper in milligrams the recipe must have. | [optional] - **maxCopper** | **java.math.BigDecimal**| The maximum amount of copper in milligrams the recipe can have. | [optional] - **minCalcium** | **java.math.BigDecimal**| The minimum amount of calcium in milligrams the recipe must have. | [optional] - **maxCalcium** | **java.math.BigDecimal**| The maximum amount of calcium in milligrams the recipe can have. | [optional] - **minCholine** | **java.math.BigDecimal**| The minimum amount of choline in milligrams the recipe must have. | [optional] - **maxCholine** | **java.math.BigDecimal**| The maximum amount of choline in milligrams the recipe can have. | [optional] - **minCholesterol** | **java.math.BigDecimal**| The minimum amount of cholesterol in milligrams the recipe must have. | [optional] - **maxCholesterol** | **java.math.BigDecimal**| The maximum amount of cholesterol in milligrams the recipe can have. | [optional] - **minFluoride** | **java.math.BigDecimal**| The minimum amount of fluoride in milligrams the recipe must have. | [optional] - **maxFluoride** | **java.math.BigDecimal**| The maximum amount of fluoride in milligrams the recipe can have. | [optional] - **minSaturatedFat** | **java.math.BigDecimal**| The minimum amount of saturated fat in grams the recipe must have. | [optional] - **maxSaturatedFat** | **java.math.BigDecimal**| The maximum amount of saturated fat in grams the recipe can have. | [optional] - **minVitaminA** | **java.math.BigDecimal**| The minimum amount of Vitamin A in IU the recipe must have. | [optional] - **maxVitaminA** | **java.math.BigDecimal**| The maximum amount of Vitamin A in IU the recipe can have. | [optional] - **minVitaminC** | **java.math.BigDecimal**| The minimum amount of Vitamin C in milligrams the recipe must have. | [optional] - **maxVitaminC** | **java.math.BigDecimal**| The maximum amount of Vitamin C in milligrams the recipe can have. | [optional] - **minVitaminD** | **java.math.BigDecimal**| The minimum amount of Vitamin D in micrograms the recipe must have. | [optional] - **maxVitaminD** | **java.math.BigDecimal**| The maximum amount of Vitamin D in micrograms the recipe can have. | [optional] - **minVitaminE** | **java.math.BigDecimal**| The minimum amount of Vitamin E in milligrams the recipe must have. | [optional] - **maxVitaminE** | **java.math.BigDecimal**| The maximum amount of Vitamin E in milligrams the recipe can have. | [optional] - **minVitaminK** | **java.math.BigDecimal**| The minimum amount of Vitamin K in micrograms the recipe must have. | [optional] - **maxVitaminK** | **java.math.BigDecimal**| The maximum amount of Vitamin K in micrograms the recipe can have. | [optional] - **minVitaminB1** | **java.math.BigDecimal**| The minimum amount of Vitamin B1 in milligrams the recipe must have. | [optional] - **maxVitaminB1** | **java.math.BigDecimal**| The maximum amount of Vitamin B1 in milligrams the recipe can have. | [optional] - **minVitaminB2** | **java.math.BigDecimal**| The minimum amount of Vitamin B2 in milligrams the recipe must have. | [optional] - **maxVitaminB2** | **java.math.BigDecimal**| The maximum amount of Vitamin B2 in milligrams the recipe can have. | [optional] - **minVitaminB5** | **java.math.BigDecimal**| The minimum amount of Vitamin B5 in milligrams the recipe must have. | [optional] - **maxVitaminB5** | **java.math.BigDecimal**| The maximum amount of Vitamin B5 in milligrams the recipe can have. | [optional] - **minVitaminB3** | **java.math.BigDecimal**| The minimum amount of Vitamin B3 in milligrams the recipe must have. | [optional] - **maxVitaminB3** | **java.math.BigDecimal**| The maximum amount of Vitamin B3 in milligrams the recipe can have. | [optional] - **minVitaminB6** | **java.math.BigDecimal**| The minimum amount of Vitamin B6 in milligrams the recipe must have. | [optional] - **maxVitaminB6** | **java.math.BigDecimal**| The maximum amount of Vitamin B6 in milligrams the recipe can have. | [optional] - **minVitaminB12** | **java.math.BigDecimal**| The minimum amount of Vitamin B12 in micrograms the recipe must have. | [optional] - **maxVitaminB12** | **java.math.BigDecimal**| The maximum amount of Vitamin B12 in micrograms the recipe can have. | [optional] - **minFiber** | **java.math.BigDecimal**| The minimum amount of fiber in grams the recipe must have. | [optional] - **maxFiber** | **java.math.BigDecimal**| The maximum amount of fiber in grams the recipe can have. | [optional] - **minFolate** | **java.math.BigDecimal**| The minimum amount of folate in micrograms the recipe must have. | [optional] - **maxFolate** | **java.math.BigDecimal**| The maximum amount of folate in micrograms the recipe can have. | [optional] - **minFolicAcid** | **java.math.BigDecimal**| The minimum amount of folic acid in micrograms the recipe must have. | [optional] - **maxFolicAcid** | **java.math.BigDecimal**| The maximum amount of folic acid in micrograms the recipe can have. | [optional] - **minIodine** | **java.math.BigDecimal**| The minimum amount of iodine in micrograms the recipe must have. | [optional] - **maxIodine** | **java.math.BigDecimal**| The maximum amount of iodine in micrograms the recipe can have. | [optional] - **minIron** | **java.math.BigDecimal**| The minimum amount of iron in milligrams the recipe must have. | [optional] - **maxIron** | **java.math.BigDecimal**| The maximum amount of iron in milligrams the recipe can have. | [optional] - **minMagnesium** | **java.math.BigDecimal**| The minimum amount of magnesium in milligrams the recipe must have. | [optional] - **maxMagnesium** | **java.math.BigDecimal**| The maximum amount of magnesium in milligrams the recipe can have. | [optional] - **minManganese** | **java.math.BigDecimal**| The minimum amount of manganese in milligrams the recipe must have. | [optional] - **maxManganese** | **java.math.BigDecimal**| The maximum amount of manganese in milligrams the recipe can have. | [optional] - **minPhosphorus** | **java.math.BigDecimal**| The minimum amount of phosphorus in milligrams the recipe must have. | [optional] - **maxPhosphorus** | **java.math.BigDecimal**| The maximum amount of phosphorus in milligrams the recipe can have. | [optional] - **minPotassium** | **java.math.BigDecimal**| The minimum amount of potassium in milligrams the recipe must have. | [optional] - **maxPotassium** | **java.math.BigDecimal**| The maximum amount of potassium in milligrams the recipe can have. | [optional] - **minSelenium** | **java.math.BigDecimal**| The minimum amount of selenium in micrograms the recipe must have. | [optional] - **maxSelenium** | **java.math.BigDecimal**| The maximum amount of selenium in micrograms the recipe can have. | [optional] - **minSodium** | **java.math.BigDecimal**| The minimum amount of sodium in milligrams the recipe must have. | [optional] - **maxSodium** | **java.math.BigDecimal**| The maximum amount of sodium in milligrams the recipe can have. | [optional] - **minSugar** | **java.math.BigDecimal**| The minimum amount of sugar in grams the recipe must have. | [optional] - **maxSugar** | **java.math.BigDecimal**| The maximum amount of sugar in grams the recipe can have. | [optional] - **minZinc** | **java.math.BigDecimal**| The minimum amount of zinc in milligrams the recipe must have. | [optional] - **maxZinc** | **java.math.BigDecimal**| The maximum amount of zinc in milligrams the recipe can have. | [optional] - **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] - **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] - **random** | **kotlin.Boolean**| If true, every request will give you a random set of recipes within the requested limits. | [optional] - **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] +| **minCarbs** | **java.math.BigDecimal**| The minimum amount of carbohydrates in grams the recipe must have. | [optional] | +| **maxCarbs** | **java.math.BigDecimal**| The maximum amount of carbohydrates in grams the recipe can have. | [optional] | +| **minProtein** | **java.math.BigDecimal**| The minimum amount of protein in grams the recipe must have. | [optional] | +| **maxProtein** | **java.math.BigDecimal**| The maximum amount of protein in grams the recipe can have. | [optional] | +| **minCalories** | **java.math.BigDecimal**| The minimum amount of calories the recipe must have. | [optional] | +| **maxCalories** | **java.math.BigDecimal**| The maximum amount of calories the recipe can have. | [optional] | +| **minFat** | **java.math.BigDecimal**| The minimum amount of fat in grams the recipe must have. | [optional] | +| **maxFat** | **java.math.BigDecimal**| The maximum amount of fat in grams the recipe can have. | [optional] | +| **minAlcohol** | **java.math.BigDecimal**| The minimum amount of alcohol in grams the recipe must have. | [optional] | +| **maxAlcohol** | **java.math.BigDecimal**| The maximum amount of alcohol in grams the recipe can have. | [optional] | +| **minCaffeine** | **java.math.BigDecimal**| The minimum amount of caffeine in milligrams the recipe must have. | [optional] | +| **maxCaffeine** | **java.math.BigDecimal**| The maximum amount of caffeine in milligrams the recipe can have. | [optional] | +| **minCopper** | **java.math.BigDecimal**| The minimum amount of copper in milligrams the recipe must have. | [optional] | +| **maxCopper** | **java.math.BigDecimal**| The maximum amount of copper in milligrams the recipe can have. | [optional] | +| **minCalcium** | **java.math.BigDecimal**| The minimum amount of calcium in milligrams the recipe must have. | [optional] | +| **maxCalcium** | **java.math.BigDecimal**| The maximum amount of calcium in milligrams the recipe can have. | [optional] | +| **minCholine** | **java.math.BigDecimal**| The minimum amount of choline in milligrams the recipe must have. | [optional] | +| **maxCholine** | **java.math.BigDecimal**| The maximum amount of choline in milligrams the recipe can have. | [optional] | +| **minCholesterol** | **java.math.BigDecimal**| The minimum amount of cholesterol in milligrams the recipe must have. | [optional] | +| **maxCholesterol** | **java.math.BigDecimal**| The maximum amount of cholesterol in milligrams the recipe can have. | [optional] | +| **minFluoride** | **java.math.BigDecimal**| The minimum amount of fluoride in milligrams the recipe must have. | [optional] | +| **maxFluoride** | **java.math.BigDecimal**| The maximum amount of fluoride in milligrams the recipe can have. | [optional] | +| **minSaturatedFat** | **java.math.BigDecimal**| The minimum amount of saturated fat in grams the recipe must have. | [optional] | +| **maxSaturatedFat** | **java.math.BigDecimal**| The maximum amount of saturated fat in grams the recipe can have. | [optional] | +| **minVitaminA** | **java.math.BigDecimal**| The minimum amount of Vitamin A in IU the recipe must have. | [optional] | +| **maxVitaminA** | **java.math.BigDecimal**| The maximum amount of Vitamin A in IU the recipe can have. | [optional] | +| **minVitaminC** | **java.math.BigDecimal**| The minimum amount of Vitamin C in milligrams the recipe must have. | [optional] | +| **maxVitaminC** | **java.math.BigDecimal**| The maximum amount of Vitamin C in milligrams the recipe can have. | [optional] | +| **minVitaminD** | **java.math.BigDecimal**| The minimum amount of Vitamin D in micrograms the recipe must have. | [optional] | +| **maxVitaminD** | **java.math.BigDecimal**| The maximum amount of Vitamin D in micrograms the recipe can have. | [optional] | +| **minVitaminE** | **java.math.BigDecimal**| The minimum amount of Vitamin E in milligrams the recipe must have. | [optional] | +| **maxVitaminE** | **java.math.BigDecimal**| The maximum amount of Vitamin E in milligrams the recipe can have. | [optional] | +| **minVitaminK** | **java.math.BigDecimal**| The minimum amount of Vitamin K in micrograms the recipe must have. | [optional] | +| **maxVitaminK** | **java.math.BigDecimal**| The maximum amount of Vitamin K in micrograms the recipe can have. | [optional] | +| **minVitaminB1** | **java.math.BigDecimal**| The minimum amount of Vitamin B1 in milligrams the recipe must have. | [optional] | +| **maxVitaminB1** | **java.math.BigDecimal**| The maximum amount of Vitamin B1 in milligrams the recipe can have. | [optional] | +| **minVitaminB2** | **java.math.BigDecimal**| The minimum amount of Vitamin B2 in milligrams the recipe must have. | [optional] | +| **maxVitaminB2** | **java.math.BigDecimal**| The maximum amount of Vitamin B2 in milligrams the recipe can have. | [optional] | +| **minVitaminB5** | **java.math.BigDecimal**| The minimum amount of Vitamin B5 in milligrams the recipe must have. | [optional] | +| **maxVitaminB5** | **java.math.BigDecimal**| The maximum amount of Vitamin B5 in milligrams the recipe can have. | [optional] | +| **minVitaminB3** | **java.math.BigDecimal**| The minimum amount of Vitamin B3 in milligrams the recipe must have. | [optional] | +| **maxVitaminB3** | **java.math.BigDecimal**| The maximum amount of Vitamin B3 in milligrams the recipe can have. | [optional] | +| **minVitaminB6** | **java.math.BigDecimal**| The minimum amount of Vitamin B6 in milligrams the recipe must have. | [optional] | +| **maxVitaminB6** | **java.math.BigDecimal**| The maximum amount of Vitamin B6 in milligrams the recipe can have. | [optional] | +| **minVitaminB12** | **java.math.BigDecimal**| The minimum amount of Vitamin B12 in micrograms the recipe must have. | [optional] | +| **maxVitaminB12** | **java.math.BigDecimal**| The maximum amount of Vitamin B12 in micrograms the recipe can have. | [optional] | +| **minFiber** | **java.math.BigDecimal**| The minimum amount of fiber in grams the recipe must have. | [optional] | +| **maxFiber** | **java.math.BigDecimal**| The maximum amount of fiber in grams the recipe can have. | [optional] | +| **minFolate** | **java.math.BigDecimal**| The minimum amount of folate in micrograms the recipe must have. | [optional] | +| **maxFolate** | **java.math.BigDecimal**| The maximum amount of folate in micrograms the recipe can have. | [optional] | +| **minFolicAcid** | **java.math.BigDecimal**| The minimum amount of folic acid in micrograms the recipe must have. | [optional] | +| **maxFolicAcid** | **java.math.BigDecimal**| The maximum amount of folic acid in micrograms the recipe can have. | [optional] | +| **minIodine** | **java.math.BigDecimal**| The minimum amount of iodine in micrograms the recipe must have. | [optional] | +| **maxIodine** | **java.math.BigDecimal**| The maximum amount of iodine in micrograms the recipe can have. | [optional] | +| **minIron** | **java.math.BigDecimal**| The minimum amount of iron in milligrams the recipe must have. | [optional] | +| **maxIron** | **java.math.BigDecimal**| The maximum amount of iron in milligrams the recipe can have. | [optional] | +| **minMagnesium** | **java.math.BigDecimal**| The minimum amount of magnesium in milligrams the recipe must have. | [optional] | +| **maxMagnesium** | **java.math.BigDecimal**| The maximum amount of magnesium in milligrams the recipe can have. | [optional] | +| **minManganese** | **java.math.BigDecimal**| The minimum amount of manganese in milligrams the recipe must have. | [optional] | +| **maxManganese** | **java.math.BigDecimal**| The maximum amount of manganese in milligrams the recipe can have. | [optional] | +| **minPhosphorus** | **java.math.BigDecimal**| The minimum amount of phosphorus in milligrams the recipe must have. | [optional] | +| **maxPhosphorus** | **java.math.BigDecimal**| The maximum amount of phosphorus in milligrams the recipe can have. | [optional] | +| **minPotassium** | **java.math.BigDecimal**| The minimum amount of potassium in milligrams the recipe must have. | [optional] | +| **maxPotassium** | **java.math.BigDecimal**| The maximum amount of potassium in milligrams the recipe can have. | [optional] | +| **minSelenium** | **java.math.BigDecimal**| The minimum amount of selenium in micrograms the recipe must have. | [optional] | +| **maxSelenium** | **java.math.BigDecimal**| The maximum amount of selenium in micrograms the recipe can have. | [optional] | +| **minSodium** | **java.math.BigDecimal**| The minimum amount of sodium in milligrams the recipe must have. | [optional] | +| **maxSodium** | **java.math.BigDecimal**| The maximum amount of sodium in milligrams the recipe can have. | [optional] | +| **minSugar** | **java.math.BigDecimal**| The minimum amount of sugar in grams the recipe must have. | [optional] | +| **maxSugar** | **java.math.BigDecimal**| The maximum amount of sugar in grams the recipe can have. | [optional] | +| **minZinc** | **java.math.BigDecimal**| The minimum amount of zinc in milligrams the recipe must have. | [optional] | +| **maxZinc** | **java.math.BigDecimal**| The maximum amount of zinc in milligrams the recipe can have. | [optional] | +| **offset** | **kotlin.Int**| The number of results to skip (between 0 and 900). | [optional] | +| **number** | **kotlin.Int**| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to 10] | +| **random** | **kotlin.Boolean**| If true, every request will give you a random set of recipes within the requested limits. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **limitLicense** | **kotlin.Boolean**| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to true] | ### Return type @@ -2017,10 +1987,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int**| The item's id. | | ### Return type @@ -2070,13 +2039,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **instructions** | **kotlin.String**| The recipe's instructions. | - **view** | **kotlin.String**| How to visualize the ingredients, either 'grid' or 'list'. | [optional] [enum: grid, list] - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] +| **instructions** | **kotlin.String**| The recipe's instructions. | | +| **view** | **kotlin.String**| How to visualize the ingredients, either 'grid' or 'list'. | [optional] [enum: grid, list] | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] | ### Return type @@ -2128,15 +2096,14 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | - **servings** | **java.math.BigDecimal**| The number of servings. | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] - **mode** | **java.math.BigDecimal**| The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). | [optional] - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] +| **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | | +| **servings** | **java.math.BigDecimal**| The number of servings. | | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | +| **mode** | **java.math.BigDecimal**| The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). | [optional] | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] | ### Return type @@ -2184,11 +2151,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | ### Return type @@ -2237,12 +2203,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] - **measure** | **kotlin.String**| Whether the the measures should be 'us' or 'metric'. | [optional] [enum: us, metric] +| **id** | **kotlin.Int**| The item's id. | | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **measure** | **kotlin.String**| Whether the the measures should be 'us' or 'metric'. | [optional] [enum: us, metric] | ### Return type @@ -2293,14 +2258,13 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | - **servings** | **java.math.BigDecimal**| The number of servings. | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] +| **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | | +| **servings** | **java.math.BigDecimal**| The number of servings. | | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **showBacklink** | **kotlin.Boolean**| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] | ### Return type @@ -2348,11 +2312,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | ### Return type @@ -2400,11 +2363,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] +| **id** | **kotlin.Int**| The item's id. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **defaultCss** | **kotlin.Boolean**| Whether the default CSS should be added to the response. | [optional] [default to true] | ### Return type @@ -2454,13 +2416,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | - **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] - **normalize** | **kotlin.Boolean**| Normalize to the strongest taste. | [optional] - **rgb** | **kotlin.String**| Red, green, blue values for the chart color. | [optional] +| **ingredientList** | **kotlin.String**| The ingredient list of the recipe, one ingredient per line. | | +| **language** | **kotlin.String**| The language of the input. Either 'en' or 'de'. | [optional] [enum: en, de] | +| **normalize** | **kotlin.Boolean**| Normalize to the strongest taste. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **rgb** | **kotlin.String**| Red, green, blue values for the chart color. | [optional] | ### Return type @@ -2509,12 +2470,11 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **kotlin.Int**| The item's id. | - **normalize** | **kotlin.Boolean**| Whether to normalize to the strongest taste. | [optional] [default to true] - **rgb** | **kotlin.String**| Red, green, blue values for the chart color. | [optional] +| **id** | **kotlin.Int**| The item's id. | | +| **normalize** | **kotlin.Boolean**| Whether to normalize to the strongest taste. | [optional] [default to true] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **rgb** | **kotlin.String**| Red, green, blue values for the chart color. | [optional] | ### Return type diff --git a/kotlin/docs/SearchAllFood200Response.md b/kotlin/docs/SearchAllFood200Response.md index 167803523..6e4d73b53 100644 --- a/kotlin/docs/SearchAllFood200Response.md +++ b/kotlin/docs/SearchAllFood200Response.md @@ -2,13 +2,13 @@ # SearchAllFood200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**query** | **kotlin.String** | | -**totalResults** | **kotlin.Int** | | -**limit** | **kotlin.Int** | | -**offset** | **kotlin.Int** | | -**searchResults** | [**kotlin.collections.Set<SearchAllFood200ResponseSearchResultsInner>**](SearchAllFood200ResponseSearchResultsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **query** | **kotlin.String** | | | +| **totalResults** | **kotlin.Int** | | | +| **limit** | **kotlin.Int** | | | +| **offset** | **kotlin.Int** | | | +| **searchResults** | [**kotlin.collections.Set<SearchAllFood200ResponseSearchResultsInner>**](SearchAllFood200ResponseSearchResultsInner.md) | | | diff --git a/kotlin/docs/SearchAllFood200ResponseSearchResultsInner.md b/kotlin/docs/SearchAllFood200ResponseSearchResultsInner.md index f2adc80ce..36cbf190f 100644 --- a/kotlin/docs/SearchAllFood200ResponseSearchResultsInner.md +++ b/kotlin/docs/SearchAllFood200ResponseSearchResultsInner.md @@ -2,11 +2,11 @@ # SearchAllFood200ResponseSearchResultsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**totalResults** | **kotlin.Int** | | -**results** | [**kotlin.collections.Set<SearchAllFood200ResponseSearchResultsInnerResultsInner>**](SearchAllFood200ResponseSearchResultsInnerResultsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **totalResults** | **kotlin.Int** | | | +| **results** | [**kotlin.collections.Set<SearchAllFood200ResponseSearchResultsInnerResultsInner>**](SearchAllFood200ResponseSearchResultsInnerResultsInner.md) | | [optional] | diff --git a/kotlin/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md b/kotlin/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md index 4dc1694a5..19d74b3ad 100644 --- a/kotlin/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md +++ b/kotlin/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md @@ -2,15 +2,15 @@ # SearchAllFood200ResponseSearchResultsInnerResultsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.String** | | -**name** | **kotlin.String** | | -**image** | **kotlin.String** | | -**link** | **kotlin.String** | | -**type** | **kotlin.String** | | -**relevance** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**content** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **link** | **kotlin.String** | | | +| **type** | **kotlin.String** | | | +| **relevance** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **content** | **kotlin.String** | | | diff --git a/kotlin/docs/SearchCustomFoods200Response.md b/kotlin/docs/SearchCustomFoods200Response.md index afa9a4042..47738d4f4 100644 --- a/kotlin/docs/SearchCustomFoods200Response.md +++ b/kotlin/docs/SearchCustomFoods200Response.md @@ -2,12 +2,12 @@ # SearchCustomFoods200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customFoods** | [**kotlin.collections.Set<SearchCustomFoods200ResponseCustomFoodsInner>**](SearchCustomFoods200ResponseCustomFoodsInner.md) | | -**type** | **kotlin.String** | | -**offset** | **kotlin.Int** | | -**number** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **customFoods** | [**kotlin.collections.Set<SearchCustomFoods200ResponseCustomFoodsInner>**](SearchCustomFoods200ResponseCustomFoodsInner.md) | | | +| **type** | **kotlin.String** | | | +| **offset** | **kotlin.Int** | | | +| **number** | **kotlin.Int** | | | diff --git a/kotlin/docs/SearchCustomFoods200ResponseCustomFoodsInner.md b/kotlin/docs/SearchCustomFoods200ResponseCustomFoodsInner.md index a7393ccb4..b1a8da34d 100644 --- a/kotlin/docs/SearchCustomFoods200ResponseCustomFoodsInner.md +++ b/kotlin/docs/SearchCustomFoods200ResponseCustomFoodsInner.md @@ -2,13 +2,13 @@ # SearchCustomFoods200ResponseCustomFoodsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**imageUrl** | **kotlin.String** | | -**price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **servings** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **imageUrl** | **kotlin.String** | | | +| **price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | diff --git a/kotlin/docs/SearchFoodVideos200Response.md b/kotlin/docs/SearchFoodVideos200Response.md index 6db95063e..ca8e6658d 100644 --- a/kotlin/docs/SearchFoodVideos200Response.md +++ b/kotlin/docs/SearchFoodVideos200Response.md @@ -2,10 +2,10 @@ # SearchFoodVideos200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**videos** | [**kotlin.collections.Set<SearchFoodVideos200ResponseVideosInner>**](SearchFoodVideos200ResponseVideosInner.md) | | -**totalResults** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **videos** | [**kotlin.collections.Set<SearchFoodVideos200ResponseVideosInner>**](SearchFoodVideos200ResponseVideosInner.md) | | | +| **totalResults** | **kotlin.Int** | | | diff --git a/kotlin/docs/SearchFoodVideos200ResponseVideosInner.md b/kotlin/docs/SearchFoodVideos200ResponseVideosInner.md index ca5efb7b4..ac05e5be1 100644 --- a/kotlin/docs/SearchFoodVideos200ResponseVideosInner.md +++ b/kotlin/docs/SearchFoodVideos200ResponseVideosInner.md @@ -2,15 +2,15 @@ # SearchFoodVideos200ResponseVideosInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **kotlin.String** | | -**length** | **kotlin.Int** | | -**rating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**shortTitle** | **kotlin.String** | | -**thumbnail** | **kotlin.String** | | -**views** | **kotlin.Int** | | -**youTubeId** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **title** | **kotlin.String** | | | +| **length** | **kotlin.Int** | | | +| **rating** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **shortTitle** | **kotlin.String** | | | +| **thumbnail** | **kotlin.String** | | | +| **views** | **kotlin.Int** | | | +| **youTubeId** | **kotlin.String** | | | diff --git a/kotlin/docs/SearchGroceryProducts200Response.md b/kotlin/docs/SearchGroceryProducts200Response.md index 6589e9bd7..e06475122 100644 --- a/kotlin/docs/SearchGroceryProducts200Response.md +++ b/kotlin/docs/SearchGroceryProducts200Response.md @@ -2,13 +2,13 @@ # SearchGroceryProducts200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**products** | [**kotlin.collections.Set<AutocompleteRecipeSearch200ResponseInner>**](AutocompleteRecipeSearch200ResponseInner.md) | | -**totalProducts** | **kotlin.Int** | | -**type** | **kotlin.String** | | -**offset** | **kotlin.Int** | | -**number** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **products** | [**kotlin.collections.Set<AutocompleteRecipeSearch200ResponseInner>**](AutocompleteRecipeSearch200ResponseInner.md) | | | +| **totalProducts** | **kotlin.Int** | | | +| **type** | **kotlin.String** | | | +| **offset** | **kotlin.Int** | | | +| **number** | **kotlin.Int** | | | diff --git a/kotlin/docs/SearchGroceryProductsByUPC200Response.md b/kotlin/docs/SearchGroceryProductsByUPC200Response.md index b04ba8532..bc48d9093 100644 --- a/kotlin/docs/SearchGroceryProductsByUPC200Response.md +++ b/kotlin/docs/SearchGroceryProductsByUPC200Response.md @@ -2,23 +2,23 @@ # SearchGroceryProductsByUPC200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**badges** | **kotlin.collections.List<kotlin.String>** | | -**importantBadges** | **kotlin.collections.List<kotlin.String>** | | -**breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | -**generatedText** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**ingredientList** | **kotlin.String** | | -**ingredients** | [**kotlin.collections.Set<SearchGroceryProductsByUPC200ResponseIngredientsInner>**](SearchGroceryProductsByUPC200ResponseIngredientsInner.md) | | -**likes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**nutrition** | [**SearchGroceryProductsByUPC200ResponseNutrition**](SearchGroceryProductsByUPC200ResponseNutrition.md) | | -**price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | -**spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**ingredientCount** | **kotlin.Int** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **badges** | **kotlin.collections.List<kotlin.String>** | | | +| **importantBadges** | **kotlin.collections.List<kotlin.String>** | | | +| **breadcrumbs** | **kotlin.collections.List<kotlin.String>** | | | +| **generatedText** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **ingredientList** | **kotlin.String** | | | +| **ingredients** | [**kotlin.collections.Set<SearchGroceryProductsByUPC200ResponseIngredientsInner>**](SearchGroceryProductsByUPC200ResponseIngredientsInner.md) | | | +| **likes** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **nutrition** | [**SearchGroceryProductsByUPC200ResponseNutrition**](SearchGroceryProductsByUPC200ResponseNutrition.md) | | | +| **price** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | | +| **spoonacularScore** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **ingredientCount** | **kotlin.Int** | | [optional] | diff --git a/kotlin/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md b/kotlin/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md index 68f6344aa..dfad4cc8c 100644 --- a/kotlin/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md +++ b/kotlin/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md @@ -2,11 +2,11 @@ # SearchGroceryProductsByUPC200ResponseIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **kotlin.String** | | -**description** | **kotlin.String** | | [optional] -**safetyLevel** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | | | +| **description** | **kotlin.String** | | [optional] | +| **safetyLevel** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/SearchGroceryProductsByUPC200ResponseNutrition.md b/kotlin/docs/SearchGroceryProductsByUPC200ResponseNutrition.md index ea9f2f4db..870372da9 100644 --- a/kotlin/docs/SearchGroceryProductsByUPC200ResponseNutrition.md +++ b/kotlin/docs/SearchGroceryProductsByUPC200ResponseNutrition.md @@ -2,10 +2,10 @@ # SearchGroceryProductsByUPC200ResponseNutrition ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionNutrientsInner>**](ParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | -**caloricBreakdown** | [**ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **nutrients** | [**kotlin.collections.Set<ParseIngredients200ResponseInnerNutritionNutrientsInner>**](ParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | | +| **caloricBreakdown** | [**ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | | diff --git a/kotlin/docs/SearchGroceryProductsByUPC200ResponseServings.md b/kotlin/docs/SearchGroceryProductsByUPC200ResponseServings.md index 4c7a931fc..f2ef80edf 100644 --- a/kotlin/docs/SearchGroceryProductsByUPC200ResponseServings.md +++ b/kotlin/docs/SearchGroceryProductsByUPC200ResponseServings.md @@ -2,11 +2,11 @@ # SearchGroceryProductsByUPC200ResponseServings ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**propertySize** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**unit** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **number** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **propertySize** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **unit** | **kotlin.String** | | | diff --git a/kotlin/docs/SearchMenuItems200Response.md b/kotlin/docs/SearchMenuItems200Response.md index e087802d4..4d65d4b55 100644 --- a/kotlin/docs/SearchMenuItems200Response.md +++ b/kotlin/docs/SearchMenuItems200Response.md @@ -2,13 +2,13 @@ # SearchMenuItems200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**menuItems** | [**kotlin.collections.Set<SearchMenuItems200ResponseMenuItemsInner>**](SearchMenuItems200ResponseMenuItemsInner.md) | | -**totalMenuItems** | **kotlin.Int** | | -**type** | **kotlin.String** | | -**offset** | **kotlin.Int** | | -**number** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **menuItems** | [**kotlin.collections.Set<SearchMenuItems200ResponseMenuItemsInner>**](SearchMenuItems200ResponseMenuItemsInner.md) | | | +| **totalMenuItems** | **kotlin.Int** | | | +| **type** | **kotlin.String** | | | +| **offset** | **kotlin.Int** | | | +| **number** | **kotlin.Int** | | | diff --git a/kotlin/docs/SearchMenuItems200ResponseMenuItemsInner.md b/kotlin/docs/SearchMenuItems200ResponseMenuItemsInner.md index 71251dab6..89801f832 100644 --- a/kotlin/docs/SearchMenuItems200ResponseMenuItemsInner.md +++ b/kotlin/docs/SearchMenuItems200ResponseMenuItemsInner.md @@ -2,14 +2,14 @@ # SearchMenuItems200ResponseMenuItemsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**restaurantChain** | **kotlin.String** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **restaurantChain** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **servings** | [**SearchGroceryProductsByUPC200ResponseServings**](SearchGroceryProductsByUPC200ResponseServings.md) | | [optional] | diff --git a/kotlin/docs/SearchRecipes200Response.md b/kotlin/docs/SearchRecipes200Response.md index 44ae4121d..1cf645920 100644 --- a/kotlin/docs/SearchRecipes200Response.md +++ b/kotlin/docs/SearchRecipes200Response.md @@ -2,12 +2,12 @@ # SearchRecipes200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**offset** | **kotlin.Int** | | -**number** | **kotlin.Int** | | -**results** | [**kotlin.collections.Set<SearchRecipes200ResponseResultsInner>**](SearchRecipes200ResponseResultsInner.md) | | -**totalResults** | **kotlin.Int** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **offset** | **kotlin.Int** | | | +| **number** | **kotlin.Int** | | | +| **results** | [**kotlin.collections.Set<SearchRecipes200ResponseResultsInner>**](SearchRecipes200ResponseResultsInner.md) | | | +| **totalResults** | **kotlin.Int** | | | diff --git a/kotlin/docs/SearchRecipes200ResponseResultsInner.md b/kotlin/docs/SearchRecipes200ResponseResultsInner.md index ecbc599d5..52e871f8c 100644 --- a/kotlin/docs/SearchRecipes200ResponseResultsInner.md +++ b/kotlin/docs/SearchRecipes200ResponseResultsInner.md @@ -2,12 +2,12 @@ # SearchRecipes200ResponseResultsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**title** | **kotlin.String** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **title** | **kotlin.String** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | diff --git a/kotlin/docs/SearchRecipesByIngredients200ResponseInner.md b/kotlin/docs/SearchRecipesByIngredients200ResponseInner.md index 5686925b1..bf3847c93 100644 --- a/kotlin/docs/SearchRecipesByIngredients200ResponseInner.md +++ b/kotlin/docs/SearchRecipesByIngredients200ResponseInner.md @@ -2,18 +2,18 @@ # SearchRecipesByIngredients200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**likes** | **kotlin.Int** | | -**missedIngredientCount** | **kotlin.Int** | | -**missedIngredients** | [**kotlin.collections.Set<SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner>**](SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) | | -**title** | **kotlin.String** | | -**unusedIngredients** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | -**usedIngredientCount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**usedIngredients** | [**kotlin.collections.Set<SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner>**](SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **likes** | **kotlin.Int** | | | +| **missedIngredientCount** | **kotlin.Int** | | | +| **missedIngredients** | [**kotlin.collections.Set<SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner>**](SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) | | | +| **title** | **kotlin.String** | | | +| **unusedIngredients** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | | | +| **usedIngredientCount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **usedIngredients** | [**kotlin.collections.Set<SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner>**](SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) | | | diff --git a/kotlin/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md b/kotlin/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md index 830d1a0c7..b033a43d3 100644 --- a/kotlin/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md +++ b/kotlin/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md @@ -2,20 +2,20 @@ # SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisle** | **kotlin.String** | | -**amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**id** | **kotlin.Int** | | -**image** | **kotlin.String** | | -**name** | **kotlin.String** | | -**original** | **kotlin.String** | | -**originalName** | **kotlin.String** | | -**unit** | **kotlin.String** | | -**unitLong** | **kotlin.String** | | -**unitShort** | **kotlin.String** | | -**meta** | **kotlin.collections.List<kotlin.String>** | | [optional] -**extendedName** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **aisle** | **kotlin.String** | | | +| **amount** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **id** | **kotlin.Int** | | | +| **image** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **original** | **kotlin.String** | | | +| **originalName** | **kotlin.String** | | | +| **unit** | **kotlin.String** | | | +| **unitLong** | **kotlin.String** | | | +| **unitShort** | **kotlin.String** | | | +| **meta** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **extendedName** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/SearchRecipesByNutrients200ResponseInner.md b/kotlin/docs/SearchRecipesByNutrients200ResponseInner.md index 75b2cc1c5..b39bc2621 100644 --- a/kotlin/docs/SearchRecipesByNutrients200ResponseInner.md +++ b/kotlin/docs/SearchRecipesByNutrients200ResponseInner.md @@ -2,16 +2,16 @@ # SearchRecipesByNutrients200ResponseInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | -**carbs** | **kotlin.String** | | -**fat** | **kotlin.String** | | -**id** | **kotlin.Int** | | -**image** | **kotlin.String** | | -**imageType** | **kotlin.String** | | -**protein** | **kotlin.String** | | -**title** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **calories** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | | +| **carbs** | **kotlin.String** | | | +| **fat** | **kotlin.String** | | | +| **id** | **kotlin.Int** | | | +| **image** | **kotlin.String** | | | +| **imageType** | **kotlin.String** | | | +| **protein** | **kotlin.String** | | | +| **title** | **kotlin.String** | | | diff --git a/kotlin/docs/SearchRestaurants200Response.md b/kotlin/docs/SearchRestaurants200Response.md index b36aaf3ea..e44872572 100644 --- a/kotlin/docs/SearchRestaurants200Response.md +++ b/kotlin/docs/SearchRestaurants200Response.md @@ -2,9 +2,9 @@ # SearchRestaurants200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**restaurants** | [**kotlin.collections.List<SearchRestaurants200ResponseRestaurantsInner>**](SearchRestaurants200ResponseRestaurantsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **restaurants** | [**kotlin.collections.List<SearchRestaurants200ResponseRestaurantsInner>**](SearchRestaurants200ResponseRestaurantsInner.md) | | [optional] | diff --git a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInner.md b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInner.md index ea907a96e..330ffb87f 100644 --- a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInner.md +++ b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInner.md @@ -2,28 +2,28 @@ # SearchRestaurants200ResponseRestaurantsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.String** | | [optional] -**name** | **kotlin.String** | | [optional] -**phoneNumber** | **kotlin.Int** | | [optional] -**address** | [**SearchRestaurants200ResponseRestaurantsInnerAddress**](SearchRestaurants200ResponseRestaurantsInnerAddress.md) | | [optional] -**type** | **kotlin.String** | | [optional] -**description** | **kotlin.String** | | [optional] -**localHours** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHours**](SearchRestaurants200ResponseRestaurantsInnerLocalHours.md) | | [optional] -**cuisines** | **kotlin.collections.List<kotlin.String>** | | [optional] -**foodPhotos** | **kotlin.collections.List<kotlin.String>** | | [optional] -**logoPhotos** | **kotlin.collections.List<kotlin.String>** | | [optional] -**storePhotos** | **kotlin.collections.List<kotlin.String>** | | [optional] -**dollarSigns** | **kotlin.Int** | | [optional] -**pickupEnabled** | **kotlin.Boolean** | | [optional] -**deliveryEnabled** | **kotlin.Boolean** | | [optional] -**isOpen** | **kotlin.Boolean** | | [optional] -**offersFirstPartyDelivery** | **kotlin.Boolean** | | [optional] -**offersThirdPartyDelivery** | **kotlin.Boolean** | | [optional] -**miles** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**weightedRatingValue** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**aggregatedRatingCount** | **kotlin.Int** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | | [optional] | +| **name** | **kotlin.String** | | [optional] | +| **phoneNumber** | **kotlin.Int** | | [optional] | +| **address** | [**SearchRestaurants200ResponseRestaurantsInnerAddress**](SearchRestaurants200ResponseRestaurantsInnerAddress.md) | | [optional] | +| **type** | **kotlin.String** | | [optional] | +| **description** | **kotlin.String** | | [optional] | +| **localHours** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHours**](SearchRestaurants200ResponseRestaurantsInnerLocalHours.md) | | [optional] | +| **cuisines** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **foodPhotos** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **logoPhotos** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **storePhotos** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **dollarSigns** | **kotlin.Int** | | [optional] | +| **pickupEnabled** | **kotlin.Boolean** | | [optional] | +| **deliveryEnabled** | **kotlin.Boolean** | | [optional] | +| **isOpen** | **kotlin.Boolean** | | [optional] | +| **offersFirstPartyDelivery** | **kotlin.Boolean** | | [optional] | +| **offersThirdPartyDelivery** | **kotlin.Boolean** | | [optional] | +| **miles** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **weightedRatingValue** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **aggregatedRatingCount** | **kotlin.Int** | | [optional] | diff --git a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md index 7ef38ba3b..2153b02a8 100644 --- a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md +++ b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md @@ -2,18 +2,18 @@ # SearchRestaurants200ResponseRestaurantsInnerAddress ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**streetAddr** | **kotlin.String** | | [optional] -**city** | **kotlin.String** | | [optional] -**state** | **kotlin.String** | | [optional] -**zipcode** | **kotlin.String** | | [optional] -**country** | **kotlin.String** | | [optional] -**lat** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**lon** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**streetAddr2** | **kotlin.String** | | [optional] -**latitude** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] -**longitude** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **streetAddr** | **kotlin.String** | | [optional] | +| **city** | **kotlin.String** | | [optional] | +| **state** | **kotlin.String** | | [optional] | +| **zipcode** | **kotlin.String** | | [optional] | +| **country** | **kotlin.String** | | [optional] | +| **lat** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **lon** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **streetAddr2** | **kotlin.String** | | [optional] | +| **latitude** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | +| **longitude** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional] | diff --git a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md index 75cf3a866..3a1ac058b 100644 --- a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md +++ b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md @@ -2,12 +2,12 @@ # SearchRestaurants200ResponseRestaurantsInnerLocalHours ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**operational** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] -**delivery** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] -**pickup** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] -**dineIn** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **operational** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] | +| **delivery** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] | +| **pickup** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] | +| **dineIn** | [**SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] | diff --git a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md index 30ac29d62..03051492a 100644 --- a/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md +++ b/kotlin/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md @@ -2,15 +2,15 @@ # SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**monday** | **kotlin.String** | | [optional] -**tuesday** | **kotlin.String** | | [optional] -**wednesday** | **kotlin.String** | | [optional] -**thursday** | **kotlin.String** | | [optional] -**friday** | **kotlin.String** | | [optional] -**saturday** | **kotlin.String** | | [optional] -**sunday** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **monday** | **kotlin.String** | | [optional] | +| **tuesday** | **kotlin.String** | | [optional] | +| **wednesday** | **kotlin.String** | | [optional] | +| **thursday** | **kotlin.String** | | [optional] | +| **friday** | **kotlin.String** | | [optional] | +| **saturday** | **kotlin.String** | | [optional] | +| **sunday** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/SearchSiteContent200Response.md b/kotlin/docs/SearchSiteContent200Response.md index 0eb0c0598..72c6c1691 100644 --- a/kotlin/docs/SearchSiteContent200Response.md +++ b/kotlin/docs/SearchSiteContent200Response.md @@ -2,12 +2,12 @@ # SearchSiteContent200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**articles** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | -**groceryProducts** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | -**menuItems** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | -**recipes** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **articles** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | | +| **groceryProducts** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | | +| **menuItems** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | | +| **recipes** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInner>**](SearchSiteContent200ResponseArticlesInner.md) | | | diff --git a/kotlin/docs/SearchSiteContent200ResponseArticlesInner.md b/kotlin/docs/SearchSiteContent200ResponseArticlesInner.md index 6e5a99bad..8cddc5e8f 100644 --- a/kotlin/docs/SearchSiteContent200ResponseArticlesInner.md +++ b/kotlin/docs/SearchSiteContent200ResponseArticlesInner.md @@ -2,12 +2,12 @@ # SearchSiteContent200ResponseArticlesInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **kotlin.String** | | -**link** | **kotlin.String** | | -**name** | **kotlin.String** | | -**dataPoints** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInnerDataPointsInner>**](SearchSiteContent200ResponseArticlesInnerDataPointsInner.md) | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **image** | **kotlin.String** | | | +| **link** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **dataPoints** | [**kotlin.collections.Set<SearchSiteContent200ResponseArticlesInnerDataPointsInner>**](SearchSiteContent200ResponseArticlesInnerDataPointsInner.md) | | [optional] | diff --git a/kotlin/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md b/kotlin/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md index 9d389b1af..14305820a 100644 --- a/kotlin/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md +++ b/kotlin/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md @@ -2,10 +2,10 @@ # SearchSiteContent200ResponseArticlesInnerDataPointsInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **kotlin.String** | | -**`value`** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **key** | **kotlin.String** | | | +| **`value`** | **kotlin.String** | | | diff --git a/kotlin/docs/SummarizeRecipe200Response.md b/kotlin/docs/SummarizeRecipe200Response.md index c9ad7685b..9e13d8147 100644 --- a/kotlin/docs/SummarizeRecipe200Response.md +++ b/kotlin/docs/SummarizeRecipe200Response.md @@ -2,11 +2,11 @@ # SummarizeRecipe200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **kotlin.Int** | | -**summary** | **kotlin.String** | | -**title** | **kotlin.String** | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Int** | | | +| **summary** | **kotlin.String** | | | +| **title** | **kotlin.String** | | | diff --git a/kotlin/docs/TalkToChatbot200Response.md b/kotlin/docs/TalkToChatbot200Response.md index 08cb9b3b7..150617619 100644 --- a/kotlin/docs/TalkToChatbot200Response.md +++ b/kotlin/docs/TalkToChatbot200Response.md @@ -2,10 +2,10 @@ # TalkToChatbot200Response ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**answerText** | **kotlin.String** | | -**media** | [**kotlin.collections.List<TalkToChatbot200ResponseMediaInner>**](TalkToChatbot200ResponseMediaInner.md) | | +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **answerText** | **kotlin.String** | | | +| **media** | [**kotlin.collections.List<TalkToChatbot200ResponseMediaInner>**](TalkToChatbot200ResponseMediaInner.md) | | | diff --git a/kotlin/docs/TalkToChatbot200ResponseMediaInner.md b/kotlin/docs/TalkToChatbot200ResponseMediaInner.md index af8197271..bb7258c13 100644 --- a/kotlin/docs/TalkToChatbot200ResponseMediaInner.md +++ b/kotlin/docs/TalkToChatbot200ResponseMediaInner.md @@ -2,11 +2,11 @@ # TalkToChatbot200ResponseMediaInner ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **kotlin.String** | | [optional] -**image** | **kotlin.String** | | [optional] -**link** | **kotlin.String** | | [optional] +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **title** | **kotlin.String** | | [optional] | +| **image** | **kotlin.String** | | [optional] | +| **link** | **kotlin.String** | | [optional] | diff --git a/kotlin/docs/WineApi.md b/kotlin/docs/WineApi.md index 8a6a459f4..1d7465b84 100644 --- a/kotlin/docs/WineApi.md +++ b/kotlin/docs/WineApi.md @@ -2,12 +2,12 @@ All URIs are relative to *https://api.spoonacular.com* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getDishPairingForWine**](WineApi.md#getDishPairingForWine) | **GET** /food/wine/dishes | Dish Pairing for Wine -[**getWineDescription**](WineApi.md#getWineDescription) | **GET** /food/wine/description | Wine Description -[**getWinePairing**](WineApi.md#getWinePairing) | **GET** /food/wine/pairing | Wine Pairing -[**getWineRecommendation**](WineApi.md#getWineRecommendation) | **GET** /food/wine/recommendation | Wine Recommendation +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**getDishPairingForWine**](WineApi.md#getDishPairingForWine) | **GET** /food/wine/dishes | Dish Pairing for Wine | +| [**getWineDescription**](WineApi.md#getWineDescription) | **GET** /food/wine/description | Wine Description | +| [**getWinePairing**](WineApi.md#getWinePairing) | **GET** /food/wine/pairing | Wine Pairing | +| [**getWineRecommendation**](WineApi.md#getWineRecommendation) | **GET** /food/wine/recommendation | Wine Recommendation | @@ -39,10 +39,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **wine** | **kotlin.String**| The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **wine** | **kotlin.String**| The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". | | ### Return type @@ -89,10 +88,9 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **wine** | **kotlin.String**| The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **wine** | **kotlin.String**| The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". | | ### Return type @@ -140,11 +138,10 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **food** | **kotlin.String**| The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). | - **maxPrice** | **java.math.BigDecimal**| The maximum price for the specific wine recommendation in USD. | [optional] +| **food** | **kotlin.String**| The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **maxPrice** | **java.math.BigDecimal**| The maximum price for the specific wine recommendation in USD. | [optional] | ### Return type @@ -194,13 +191,12 @@ try { ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **wine** | **kotlin.String**| The type of wine to get a specific product recommendation for. | - **maxPrice** | **java.math.BigDecimal**| The maximum price for the specific wine recommendation in USD. | [optional] - **minRating** | **java.math.BigDecimal**| The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. | [optional] - **number** | **java.math.BigDecimal**| The number of wine recommendations expected (between 1 and 100). | [optional] [default to 10] +| **wine** | **kotlin.String**| The type of wine to get a specific product recommendation for. | | +| **maxPrice** | **java.math.BigDecimal**| The maximum price for the specific wine recommendation in USD. | [optional] | +| **minRating** | **java.math.BigDecimal**| The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **number** | **java.math.BigDecimal**| The number of wine recommendations expected (between 1 and 100). | [optional] [default to 10] | ### Return type diff --git a/kotlin/gradle/wrapper/gradle-wrapper.jar b/kotlin/gradle/wrapper/gradle-wrapper.jar index c4d9ad934..0aad2f667 100644 --- a/kotlin/gradle/wrapper/gradle-wrapper.jar +++ b/kotlin/gradle/wrapper/gradle-wrapper.jar @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ed2c26eba7cfb93cc2b7785d05e534f07b5b48b5e7fc941921cd098628abca58 -size 62076 +oid sha256:d3b261c2820e9e3d8d639ed084900f11f4a86050a8f83342ade7b6bc9b0d2bdd +size 43462 diff --git a/kotlin/gradle/wrapper/gradle-wrapper.properties b/kotlin/gradle/wrapper/gradle-wrapper.properties index 8707e8b50..e7646dead 100644 --- a/kotlin/gradle/wrapper/gradle-wrapper.properties +++ b/kotlin/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/kotlin/gradlew b/kotlin/gradlew index aeb74cbb4..9d0ce634c 100644 --- a/kotlin/gradlew +++ b/kotlin/gradlew @@ -69,34 +69,35 @@ app_path=$0 # Need this for daisy-chained symlinks. while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] +APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path +[ -h "$app_path" ] do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac +ls=$( ls -ld "$app_path" ) +link=${ls#*' -> '} +case $link in #( +/*) app_path=$link ;; #( +*) app_path=$APP_HOME$link ;; +esac done # This is normally unused # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum warn () { - echo "$*" +echo "$*" } >&2 die () { - echo - echo "$*" - echo - exit 1 +echo +echo "$*" +echo +exit 1 } >&2 # OS specific support (must be 'true' or 'false'). @@ -105,10 +106,10 @@ msys=false darwin=false nonstop=false case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; +CYGWIN* ) cygwin=true ;; #( +Darwin* ) darwin=true ;; #( +MSYS* | MINGW* ) msys=true ;; #( +NONSTOP* ) nonstop=true ;; esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar @@ -116,43 +117,46 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME +if [ -x "$JAVA_HOME/jre/sh/java" ] ; then +# IBM's JDK on AIX uses strange locations for the executables +JAVACMD=$JAVA_HOME/jre/sh/java +else +JAVACMD=$JAVA_HOME/bin/java +fi +if [ ! -x "$JAVACMD" ] ; then +die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME Please set the JAVA_HOME variable in your environment to match the location of your Java installation." - fi +fi else - JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +JAVACMD=java +if ! command -v java >/dev/null 2>&1 +then +die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi +fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC3045 - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC3045 - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac +case $MAX_FD in #( +max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +MAX_FD=$( ulimit -H -n ) || +warn "Could not query maximum file descriptor limit" +esac +case $MAX_FD in #( +'' | soft) :;; #( +*) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +ulimit -n "$MAX_FD" || +warn "Could not set maximum file descriptor limit to $MAX_FD" +esac fi # Collect all arguments for the java command, stacking in reverse order: @@ -165,55 +169,55 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done +APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) +CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + +JAVACMD=$( cygpath --unix "$JAVACMD" ) + +# Now convert the arguments - kludge to limit ourselves to /bin/sh +for arg do +if +case $arg in #( +-*) false ;; # don't mess with options #( +/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath +[ -e "$t" ] ;; #( +*) false ;; +esac +then +arg=$( cygpath --path --ignore --mixed "$arg" ) +fi +# Roll the args list around exactly as many times as the number of +# args, so each arg winds up back in the position where it started, but +# possibly modified. +# +# NB: a `for` loop captures its iteration list before it begins, so +# changing the positional parameters here affects neither the number of +# iterations, nor the values presented in `arg`. +shift # remove old arg +set -- "$@" "$arg" # push replacement arg +done fi # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" +"-Dorg.gradle.appname=$APP_BASE_NAME" \ +-classpath "$CLASSPATH" \ +org.gradle.wrapper.GradleWrapperMain \ +"$@" # Stop when "xargs" is not available. if ! command -v xargs >/dev/null 2>&1 then - die "xargs is not available" +die "xargs is not available" fi # Use "xargs" to parse quoted args. @@ -236,10 +240,10 @@ fi # eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' +printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | +xargs -n1 | +sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | +tr '\n' ' ' +)" '"$@"' exec "$JAVACMD" "$@" diff --git a/kotlin/gradlew.bat b/kotlin/gradlew.bat index 93e3f59f1..9d0ce634c 100644 --- a/kotlin/gradlew.bat +++ b/kotlin/gradlew.bat @@ -1,92 +1,249 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while +APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path +[ -h "$app_path" ] +do +ls=$( ls -ld "$app_path" ) +link=${ls#*' -> '} +case $link in #( +/*) app_path=$link ;; #( +*) app_path=$APP_HOME$link ;; +esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { +echo "$*" +} >&2 + +die () { +echo +echo "$*" +echo +exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( +CYGWIN* ) cygwin=true ;; #( +Darwin* ) darwin=true ;; #( +MSYS* | MINGW* ) msys=true ;; #( +NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then +if [ -x "$JAVA_HOME/jre/sh/java" ] ; then +# IBM's JDK on AIX uses strange locations for the executables +JAVACMD=$JAVA_HOME/jre/sh/java +else +JAVACMD=$JAVA_HOME/bin/java +fi +if [ ! -x "$JAVACMD" ] ; then +die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi +else +JAVACMD=java +if ! command -v java >/dev/null 2>&1 +then +die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then +case $MAX_FD in #( +max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +MAX_FD=$( ulimit -H -n ) || +warn "Could not query maximum file descriptor limit" +esac +case $MAX_FD in #( +'' | soft) :;; #( +*) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +ulimit -n "$MAX_FD" || +warn "Could not set maximum file descriptor limit to $MAX_FD" +esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then +APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) +CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + +JAVACMD=$( cygpath --unix "$JAVACMD" ) + +# Now convert the arguments - kludge to limit ourselves to /bin/sh +for arg do +if +case $arg in #( +-*) false ;; # don't mess with options #( +/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath +[ -e "$t" ] ;; #( +*) false ;; +esac +then +arg=$( cygpath --path --ignore --mixed "$arg" ) +fi +# Roll the args list around exactly as many times as the number of +# args, so each arg winds up back in the position where it started, but +# possibly modified. +# +# NB: a `for` loop captures its iteration list before it begins, so +# changing the positional parameters here affects neither the number of +# iterations, nor the values presented in `arg`. +shift # remove old arg +set -- "$@" "$arg" # push replacement arg +done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ +"-Dorg.gradle.appname=$APP_BASE_NAME" \ +-classpath "$CLASSPATH" \ +org.gradle.wrapper.GradleWrapperMain \ +"$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then +die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( +printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | +xargs -n1 | +sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | +tr '\n' ' ' +)" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/kotlin/settings.gradle b/kotlin/settings.gradle index 854d039d4..431927491 100644 --- a/kotlin/settings.gradle +++ b/kotlin/settings.gradle @@ -1,2 +1 @@ - rootProject.name = 'kotlin-client' diff --git a/kotlin/src/main/kotlin/com/spoonacular/ProductsApi.kt b/kotlin/src/main/kotlin/com/spoonacular/ProductsApi.kt index e5eb58a39..22cac35d1 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/ProductsApi.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/ProductsApi.kt @@ -137,8 +137,8 @@ class ProductsApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClien * enum for parameter locale */ enum class LocaleClassifyGroceryProduct(val value: kotlin.String) { - @Json(name = "en_US") uS("en_US"), - @Json(name = "en_GB") gB("en_GB") + @Json(name = "en_US") US("en_US"), + @Json(name = "en_GB") GB("en_GB") } /** diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200Response.kt index ee92f8fec..7204ddd37 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200Response.kt @@ -40,5 +40,8 @@ data class AddMealPlanTemplate200Response ( @Json(name = "publishAsPublic") val publishAsPublic: kotlin.Boolean -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.kt index 94e84b577..2d93be585 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInner.kt @@ -48,5 +48,8 @@ data class AddMealPlanTemplate200ResponseItemsInner ( @Json(name = "value") val `value`: AddMealPlanTemplate200ResponseItemsInnerValue? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.kt index 1537b2c3d..2fa6fcb16 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValue.kt @@ -43,5 +43,8 @@ data class AddMealPlanTemplate200ResponseItemsInnerValue ( @Json(name = "imageType") val imageType: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequest.kt index c29abb404..5d1b1d55c 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequest.kt @@ -48,5 +48,8 @@ data class AddToMealPlanRequest ( @Json(name = "value") val `value`: AddToMealPlanRequestValue -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValue.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValue.kt index f113d4429..e8823e3d9 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValue.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValue.kt @@ -32,5 +32,8 @@ data class AddToMealPlanRequestValue ( @Json(name = "ingredients") val ingredients: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.kt index 835a038f1..b5d75e994 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInner.kt @@ -31,5 +31,8 @@ data class AddToMealPlanRequestValueIngredientsInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToShoppingListRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToShoppingListRequest.kt index 9a9c27c17..cb8689ee0 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToShoppingListRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AddToShoppingListRequest.kt @@ -39,5 +39,8 @@ data class AddToShoppingListRequest ( @Json(name = "parse") val parse: kotlin.Boolean -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.kt index 37d651bf1..65ef704bf 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200Response.kt @@ -45,5 +45,8 @@ data class AnalyzeARecipeSearchQuery200Response ( @Json(name = "modifiers") val modifiers: kotlin.collections.List -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.kt index 6300af62a..be8602a25 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInner.kt @@ -35,5 +35,8 @@ data class AnalyzeARecipeSearchQuery200ResponseDishesInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.kt index 36be68b10..118ae6a31 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.kt @@ -39,5 +39,8 @@ data class AnalyzeARecipeSearchQuery200ResponseIngredientsInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.kt index e140ddf8f..852bf896a 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200Response.kt @@ -41,5 +41,8 @@ data class AnalyzeRecipeInstructions200Response ( @Json(name = "equipment") val equipment: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.kt index 5846d515a..30cfeddc0 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInner.kt @@ -35,5 +35,8 @@ data class AnalyzeRecipeInstructions200ResponseIngredientsInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.kt index 479c4d0f7..12d4f33d1 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.kt @@ -36,5 +36,8 @@ data class AnalyzeRecipeInstructions200ResponseParsedInstructionsInner ( @Json(name = "steps") val steps: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt index 0a4131473..a92406475 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt @@ -44,5 +44,8 @@ data class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner @Json(name = "equipment") val equipment: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt index 7f97ec617..de00c3ab2 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt @@ -43,5 +43,8 @@ data class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner @Json(name = "image") val image: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequest.kt index 8a806512a..e2b2c8f99 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequest.kt @@ -43,5 +43,8 @@ data class AnalyzeRecipeRequest ( @Json(name = "instructions") val instructions: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.kt index 82c287dde..c259f36ae 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInner.kt @@ -47,5 +47,8 @@ data class AutocompleteIngredientSearch200ResponseInner ( @Json(name = "possibleUnits") val possibleUnits: kotlin.collections.List? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.kt index 3c16cb1fd..ff5169777 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200Response.kt @@ -32,5 +32,8 @@ data class AutocompleteMenuItemSearch200Response ( @Json(name = "results") val results: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200Response.kt index 2febb962c..cfe58c96d 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200Response.kt @@ -32,5 +32,8 @@ data class AutocompleteProductSearch200Response ( @Json(name = "results") val results: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.kt index 322c7cdfb..195fc631b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInner.kt @@ -35,5 +35,8 @@ data class AutocompleteProductSearch200ResponseResultsInner ( @Json(name = "title") val title: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.kt index 5a130417a..7bad7f536 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInner.kt @@ -39,5 +39,8 @@ data class AutocompleteRecipeSearch200ResponseInner ( @Json(name = "imageType") val imageType: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyCuisine200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyCuisine200Response.kt index 65ee81f5d..e89e3a1c8 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyCuisine200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyCuisine200Response.kt @@ -39,5 +39,8 @@ data class ClassifyCuisine200Response ( @Json(name = "confidence") val confidence: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200Response.kt index e8246ecf2..d4aa703c5 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200Response.kt @@ -47,5 +47,8 @@ data class ClassifyGroceryProduct200Response ( @Json(name = "usdaCode") val usdaCode: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.kt index 4a8fb5c28..0475dc263 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInner.kt @@ -47,5 +47,8 @@ data class ClassifyGroceryProductBulk200ResponseInner ( @Json(name = "usdaCode") val usdaCode: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.kt index 3374e15ef..2dded09c0 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInner.kt @@ -39,5 +39,8 @@ data class ClassifyGroceryProductBulkRequestInner ( @Json(name = "plu_code") val pluCode: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequest.kt index 13afa7331..023e66278 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequest.kt @@ -39,5 +39,8 @@ data class ClassifyGroceryProductRequest ( @Json(name = "plu_code") val pluCode: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200Response.kt index 4cf1e9642..81f55a503 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200Response.kt @@ -36,5 +36,8 @@ data class ComputeGlycemicLoad200Response ( @Json(name = "ingredients") val ingredients: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.kt index a8af0c454..e511685f3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInner.kt @@ -43,5 +43,8 @@ data class ComputeGlycemicLoad200ResponseIngredientsInner ( @Json(name = "glycemicLoad") val glycemicLoad: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequest.kt index caf8da9b4..28cea6d21 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequest.kt @@ -31,5 +31,8 @@ data class ComputeGlycemicLoadRequest ( @Json(name = "ingredients") val ingredients: kotlin.collections.List -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200Response.kt index e1637a3f2..46271a838 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200Response.kt @@ -35,5 +35,8 @@ data class ComputeIngredientAmount200Response ( @Json(name = "unit") val unit: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUser200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUser200Response.kt index b0c4be17a..29012e1de 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUser200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUser200Response.kt @@ -35,5 +35,8 @@ data class ConnectUser200Response ( @Json(name = "hash") val hash: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUserRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUserRequest.kt index c98f1c68f..b34cf43ff 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUserRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ConnectUserRequest.kt @@ -43,5 +43,8 @@ data class ConnectUserRequest ( @Json(name = "email") val email: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ConvertAmounts200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ConvertAmounts200Response.kt index 5637ac7c5..e26ef5759 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ConvertAmounts200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ConvertAmounts200Response.kt @@ -47,5 +47,8 @@ data class ConvertAmounts200Response ( @Json(name = "answer") val answer: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/CreateRecipeCard200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/CreateRecipeCard200Response.kt index efbc8465d..a0a04b5be 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/CreateRecipeCard200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/CreateRecipeCard200Response.kt @@ -31,5 +31,8 @@ data class CreateRecipeCard200Response ( @Json(name = "url") val url: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200Response.kt index 6d60eb6b4..b85e3b098 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200Response.kt @@ -32,5 +32,8 @@ data class DetectFoodInText200Response ( @Json(name = "annotations") val annotations: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.kt index ba1be703e..8ac904735 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInner.kt @@ -39,5 +39,8 @@ data class DetectFoodInText200ResponseAnnotationsInner ( @Json(name = "tag") val tag: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200Response.kt index bcbf0a7df..61b79852c 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200Response.kt @@ -37,5 +37,8 @@ data class GenerateMealPlan200Response ( @Json(name = "nutrients") val nutrients: GenerateMealPlan200ResponseNutrients -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.kt index b6042ac41..051fafe1b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrients.kt @@ -43,5 +43,8 @@ data class GenerateMealPlan200ResponseNutrients ( @Json(name = "protein") val protein: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateShoppingList200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateShoppingList200Response.kt index 966a2aa05..37ea0782f 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateShoppingList200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GenerateShoppingList200Response.kt @@ -44,5 +44,8 @@ data class GenerateShoppingList200Response ( @Json(name = "endDate") val endDate: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200Response.kt index a3049a92b..0229c8548 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200Response.kt @@ -31,5 +31,8 @@ data class GetARandomFoodJoke200Response ( @Json(name = "text") val text: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.kt index b9b043864..ba6a9994e 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200Response.kt @@ -41,5 +41,8 @@ data class GetAnalyzedRecipeInstructions200Response ( @Json(name = "equipment") val equipment: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.kt index 049cc41e5..73ea24ec3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.kt @@ -35,5 +35,8 @@ data class GetAnalyzedRecipeInstructions200ResponseIngredientsInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.kt index 2c2d3156d..2b356be2b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.kt @@ -36,5 +36,8 @@ data class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner ( @Json(name = "steps") val steps: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt index 1ceb2dfb6..ce6731c7e 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.kt @@ -44,5 +44,8 @@ data class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsI @Json(name = "equipment") val equipment: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt index e76081d83..f14022a00 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.kt @@ -43,5 +43,8 @@ data class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsI @Json(name = "image") val image: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200Response.kt index 13ac4954a..d09794401 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200Response.kt @@ -32,5 +32,8 @@ data class GetComparableProducts200Response ( @Json(name = "comparableProducts") val comparableProducts: GetComparableProducts200ResponseComparableProducts -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.kt index fd63feccc..66e495ac2 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProducts.kt @@ -52,5 +52,8 @@ data class GetComparableProducts200ResponseComparableProducts ( @Json(name = "sugar") val sugar: kotlin.collections.List -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.kt index 18edecb7c..eac0b8bf2 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInner.kt @@ -43,5 +43,8 @@ data class GetComparableProducts200ResponseComparableProductsProteinInner ( @Json(name = "title") val title: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200Response.kt index 295eef1e7..ad27ea850 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200Response.kt @@ -36,5 +36,8 @@ data class GetConversationSuggests200Response ( @Json(name = "words") val words: kotlin.collections.List -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.kt index 8a5af37d4..10776e799 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggests.kt @@ -32,5 +32,8 @@ data class GetConversationSuggests200ResponseSuggests ( @Json(name = "_") val underscore: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.kt index c4fef7aac..3d5700c97 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInner.kt @@ -31,5 +31,8 @@ data class GetConversationSuggests200ResponseSuggestsInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetDishPairingForWine200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetDishPairingForWine200Response.kt index 87587e5c8..84ca18fd9 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetDishPairingForWine200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetDishPairingForWine200Response.kt @@ -35,5 +35,8 @@ data class GetDishPairingForWine200Response ( @Json(name = "text") val text: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200Response.kt index 0eb2f4b0f..45de2a162 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200Response.kt @@ -101,5 +101,8 @@ data class GetIngredientInformation200Response ( @Json(name = "categoryPath") val categoryPath: kotlin.collections.List -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.kt index 608ec31b2..939511ac8 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutrition.kt @@ -47,5 +47,8 @@ data class GetIngredientInformation200ResponseNutrition ( @Json(name = "weightPerServing") val weightPerServing: ParseIngredients200ResponseInnerNutritionWeightPerServing -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200Response.kt index 28d244c7b..56a15ea90 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200Response.kt @@ -39,5 +39,8 @@ data class GetIngredientSubstitutes200Response ( @Json(name = "message") val message: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200Response.kt index 73128b812..5e7093ada 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200Response.kt @@ -40,5 +40,8 @@ data class GetMealPlanTemplate200Response ( @Json(name = "days") val days: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.kt index 255b670f4..d201322e4 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInner.kt @@ -53,5 +53,8 @@ data class GetMealPlanTemplate200ResponseDaysInner ( @Json(name = "items") val items: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.kt index 7db8ee626..2905c083d 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.kt @@ -48,5 +48,8 @@ data class GetMealPlanTemplate200ResponseDaysInnerItemsInner ( @Json(name = "value") val `value`: GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.kt index 1a99f7fc2..92075bf9a 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.kt @@ -39,5 +39,8 @@ data class GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue ( @Json(name = "imageType") val imageType: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200Response.kt index ee5d78a82..d9ebb1747 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200Response.kt @@ -32,5 +32,8 @@ data class GetMealPlanTemplates200Response ( @Json(name = "templates") val templates: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200Response.kt index 2ed95cf07..13e0d98ec 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200Response.kt @@ -32,5 +32,8 @@ data class GetMealPlanWeek200Response ( @Json(name = "days") val days: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.kt index dc836a73a..0e2eac58a 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInner.kt @@ -57,5 +57,8 @@ data class GetMealPlanWeek200ResponseDaysInner ( @Json(name = "items") val items: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.kt index fc7e7577a..ee275a299 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInner.kt @@ -48,5 +48,8 @@ data class GetMealPlanWeek200ResponseDaysInnerItemsInner ( @Json(name = "value") val `value`: GetMealPlanWeek200ResponseDaysInnerItemsInnerValue? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.kt index 7930a806d..2a9ecb13e 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.kt @@ -43,5 +43,8 @@ data class GetMealPlanWeek200ResponseDaysInnerItemsInnerValue ( @Json(name = "imageType") val imageType: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.kt index 83bd4f985..4d75feba5 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.kt @@ -32,5 +32,8 @@ data class GetMealPlanWeek200ResponseDaysInnerNutritionSummary ( @Json(name = "nutrients") val nutrients: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.kt index 4f2416597..709bdaa86 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.kt @@ -43,5 +43,8 @@ data class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner ( @Json(name = "percentDailyNeeds") val percentDailyNeeds: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMenuItemInformation200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMenuItemInformation200Response.kt index e6bef7aa3..a4cce37f1 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMenuItemInformation200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetMenuItemInformation200Response.kt @@ -77,5 +77,8 @@ data class GetMenuItemInformation200Response ( @Json(name = "spoonacularScore") val spoonacularScore: java.math.BigDecimal? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200Response.kt index 596f3ad7e..0e53e61c6 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200Response.kt @@ -94,5 +94,8 @@ data class GetProductInformation200Response ( @Json(name = "generatedText") val generatedText: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.kt index ba27eacff..eee9dface 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInner.kt @@ -39,5 +39,8 @@ data class GetProductInformation200ResponseIngredientsInner ( @Json(name = "safety_level") val safetyLevel: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200Response.kt index 0801238b4..bd2ddffe9 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200Response.kt @@ -31,5 +31,8 @@ data class GetRandomFoodTrivia200Response ( @Json(name = "text") val text: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200Response.kt index 4bf2dc6f6..12bc365f4 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200Response.kt @@ -32,5 +32,8 @@ data class GetRandomRecipes200Response ( @Json(name = "recipes") val recipes: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.kt index ad581a966..ed575b913 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInner.kt @@ -177,5 +177,8 @@ data class GetRandomRecipes200ResponseRecipesInner ( @Json(name = "winePairing") val winePairing: GetRecipeInformation200ResponseWinePairing? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.kt index 569d81697..589180435 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200Response.kt @@ -32,5 +32,8 @@ data class GetRecipeEquipmentByID200Response ( @Json(name = "equipment") val equipment: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.kt index e5543c5e6..8694d386e 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInner.kt @@ -35,5 +35,8 @@ data class GetRecipeEquipmentByID200ResponseEquipmentInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200Response.kt index f698206bc..3c49716af 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200Response.kt @@ -177,5 +177,8 @@ data class GetRecipeInformation200Response ( @Json(name = "winePairing") val winePairing: GetRecipeInformation200ResponseWinePairing -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.kt index 6507358ea..7b3ee2a35 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInner.kt @@ -72,5 +72,8 @@ data class GetRecipeInformation200ResponseExtendedIngredientsInner ( @Json(name = "meta") val meta: kotlin.collections.List? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.kt index 74d9d3280..863231c0f 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.kt @@ -36,5 +36,8 @@ data class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures ( @Json(name = "us") val us: GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.kt index effeef8ea..d0cb7c912 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.kt @@ -39,5 +39,8 @@ data class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric @Json(name = "unitShort") val unitShort: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.kt index f134f6952..c6820970f 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairing.kt @@ -40,5 +40,8 @@ data class GetRecipeInformation200ResponseWinePairing ( @Json(name = "productMatches") val productMatches: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.kt index bbe1a6d37..89962d94d 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.kt @@ -63,5 +63,8 @@ data class GetRecipeInformation200ResponseWinePairingProductMatchesInner ( @Json(name = "link") val link: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.kt index d58b79388..193f4f89c 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInner.kt @@ -177,5 +177,8 @@ data class GetRecipeInformationBulk200ResponseInner ( @Json(name = "winePairing") val winePairing: GetRecipeInformation200ResponseWinePairing -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.kt index c7b3722a1..76c6b6568 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200Response.kt @@ -32,5 +32,8 @@ data class GetRecipeIngredientsByID200Response ( @Json(name = "ingredients") val ingredients: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.kt index d35fd77ce..f8d4b7a29 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInner.kt @@ -40,5 +40,8 @@ data class GetRecipeIngredientsByID200ResponseIngredientsInner ( @Json(name = "amount") val amount: GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.kt index 3555264be..b4d1a9052 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200Response.kt @@ -53,5 +53,8 @@ data class GetRecipeNutritionWidgetByID200Response ( @Json(name = "good") val good: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.kt index a96000c70..22491a0a3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInner.kt @@ -43,5 +43,8 @@ data class GetRecipeNutritionWidgetByID200ResponseBadInner ( @Json(name = "percentOfDailyNeeds") val percentOfDailyNeeds: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.kt index 7bc310dd4..c4c820320 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInner.kt @@ -43,5 +43,8 @@ data class GetRecipeNutritionWidgetByID200ResponseGoodInner ( @Json(name = "name") val name: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.kt index d6fe1dd66..33408e6e3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200Response.kt @@ -40,5 +40,8 @@ data class GetRecipePriceBreakdownByID200Response ( @Json(name = "totalCostPerServing") val totalCostPerServing: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.kt index c3f323653..7252631fd 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.kt @@ -44,5 +44,8 @@ data class GetRecipePriceBreakdownByID200ResponseIngredientsInner ( @Json(name = "amount") val amount: GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.kt index 1c1bbabb2..ea9e7d3a0 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.kt @@ -36,5 +36,8 @@ data class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount ( @Json(name = "us") val us: GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.kt index 8b5d403a8..9532f4460 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.kt @@ -35,5 +35,8 @@ data class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric ( @Json(name = "value") val `value`: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200Response.kt index 60d725ad8..fe6576254 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200Response.kt @@ -55,5 +55,8 @@ data class GetRecipeTasteByID200Response ( @Json(name = "spiciness") val spiciness: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200Response.kt index 67c854331..d855cb410 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200Response.kt @@ -44,5 +44,8 @@ data class GetShoppingList200Response ( @Json(name = "endDate") val endDate: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.kt index 571630433..b8aad877d 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInner.kt @@ -36,5 +36,8 @@ data class GetShoppingList200ResponseAislesInner ( @Json(name = "items") val items: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.kt index 0704aed58..631b00ee3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInner.kt @@ -56,5 +56,8 @@ data class GetShoppingList200ResponseAislesInnerItemsInner ( @Json(name = "measures") val measures: GetShoppingList200ResponseAislesInnerItemsInnerMeasures? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.kt index 8a09be90b..dbfcdb239 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.kt @@ -40,5 +40,8 @@ data class GetShoppingList200ResponseAislesInnerItemsInnerMeasures ( @Json(name = "us") val us: ParseIngredients200ResponseInnerNutritionWeightPerServing -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.kt index d3ed3a871..33b612712 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInner.kt @@ -51,5 +51,8 @@ data class GetSimilarRecipes200ResponseInner ( @Json(name = "sourceUrl") val sourceUrl: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineDescription200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineDescription200Response.kt index 3c3dd1ee5..1703baa19 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineDescription200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineDescription200Response.kt @@ -31,5 +31,8 @@ data class GetWineDescription200Response ( @Json(name = "wineDescription") val wineDescription: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200Response.kt index cf9da80f0..052592bf8 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200Response.kt @@ -40,5 +40,8 @@ data class GetWinePairing200Response ( @Json(name = "productMatches") val productMatches: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.kt index 45de92f8e..6858b77e7 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInner.kt @@ -63,5 +63,8 @@ data class GetWinePairing200ResponseProductMatchesInner ( @Json(name = "description") val description: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200Response.kt index e22fdd2d1..46292d1c3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200Response.kt @@ -36,5 +36,8 @@ data class GetWineRecommendation200Response ( @Json(name = "totalFound") val totalFound: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.kt index 7db6aa556..6604db2cc 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInner.kt @@ -63,5 +63,8 @@ data class GetWineRecommendation200ResponseRecommendedWinesInner ( @Json(name = "score") val score: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200Response.kt index c4d21fe6c..9fb596abc 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200Response.kt @@ -48,5 +48,8 @@ data class GuessNutritionByDishName200Response ( @Json(name = "recipesUsed") val recipesUsed: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.kt index 07d0033d3..c8ff17840 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCalories.kt @@ -44,5 +44,8 @@ data class GuessNutritionByDishName200ResponseCalories ( @Json(name = "value") val `value`: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.kt index d48d8bccd..5c7426eff 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.kt @@ -35,5 +35,8 @@ data class GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent ( @Json(name = "min") val min: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200Response.kt index eeef69e39..75d7768c3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200Response.kt @@ -42,5 +42,8 @@ data class ImageAnalysisByURL200Response ( @Json(name = "recipes") val recipes: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.kt index d6ad96baa..5628a4e9b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategory.kt @@ -35,5 +35,8 @@ data class ImageAnalysisByURL200ResponseCategory ( @Json(name = "probability") val probability: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.kt index bbccfe338..af06231f3 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutrition.kt @@ -48,5 +48,8 @@ data class ImageAnalysisByURL200ResponseNutrition ( @Json(name = "carbs") val carbs: ImageAnalysisByURL200ResponseNutritionCalories -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.kt index 8118ee4ba..7541ba60b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCalories.kt @@ -44,5 +44,8 @@ data class ImageAnalysisByURL200ResponseNutritionCalories ( @Json(name = "standardDeviation") val standardDeviation: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.kt index d465e7921..0f39d4d01 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.kt @@ -35,5 +35,8 @@ data class ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percen @Json(name = "max") val max: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.kt index 92d339f2c..e353d7bbc 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInner.kt @@ -43,5 +43,8 @@ data class ImageAnalysisByURL200ResponseRecipesInner ( @Json(name = "url") val url: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageClassificationByURL200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageClassificationByURL200Response.kt index 67e6731d7..1a9038934 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageClassificationByURL200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ImageClassificationByURL200Response.kt @@ -35,5 +35,8 @@ data class ImageClassificationByURL200Response ( @Json(name = "probability") val probability: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200Response.kt index 0c7d57eda..3901d3c2a 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200Response.kt @@ -44,5 +44,8 @@ data class IngredientSearch200Response ( @Json(name = "totalResults") val totalResults: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.kt index 3cf3d4c96..addeaeca1 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInner.kt @@ -39,5 +39,8 @@ data class IngredientSearch200ResponseResultsInner ( @Json(name = "image") val image: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.kt index b4fb4df10..21d23dc6b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInner.kt @@ -48,5 +48,8 @@ data class MapIngredientsToGroceryProducts200ResponseInner ( @Json(name = "products") val products: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.kt index 0183f7128..ba9ff08c7 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.kt @@ -39,5 +39,8 @@ data class MapIngredientsToGroceryProducts200ResponseInnerProductsInner ( @Json(name = "upc") val upc: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.kt index ca37bff3e..e75b73444 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequest.kt @@ -35,5 +35,8 @@ data class MapIngredientsToGroceryProductsRequest ( @Json(name = "servings") val servings: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInner.kt index 16e4fc1d8..4654a52f4 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInner.kt @@ -93,5 +93,8 @@ data class ParseIngredients200ResponseInner ( @Json(name = "nutrition") val nutrition: ParseIngredients200ResponseInnerNutrition -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.kt index e71122e71..dbe6c20bb 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCost.kt @@ -35,5 +35,8 @@ data class ParseIngredients200ResponseInnerEstimatedCost ( @Json(name = "unit") val unit: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.kt index 937b93b27..1da728ff1 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutrition.kt @@ -51,5 +51,8 @@ data class ParseIngredients200ResponseInnerNutrition ( @Json(name = "weightPerServing") val weightPerServing: ParseIngredients200ResponseInnerNutritionWeightPerServing -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.kt index 30d7e8d64..1453fbe05 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.kt @@ -39,5 +39,8 @@ data class ParseIngredients200ResponseInnerNutritionCaloricBreakdown ( @Json(name = "percentCarbs") val percentCarbs: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.kt index dcb1d865e..ea99bc262 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInner.kt @@ -43,5 +43,8 @@ data class ParseIngredients200ResponseInnerNutritionNutrientsInner ( @Json(name = "percentOfDailyNeeds") val percentOfDailyNeeds: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.kt index 96d221f11..cdcb486a1 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInner.kt @@ -39,5 +39,8 @@ data class ParseIngredients200ResponseInnerNutritionPropertiesInner ( @Json(name = "unit") val unit: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.kt index 47da45f69..1edcbfdc0 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServing.kt @@ -35,5 +35,8 @@ data class ParseIngredients200ResponseInnerNutritionWeightPerServing ( @Json(name = "unit") val unit: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/QuickAnswer200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/QuickAnswer200Response.kt index 649dbb504..fb7b6a65a 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/QuickAnswer200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/QuickAnswer200Response.kt @@ -35,5 +35,8 @@ data class QuickAnswer200Response ( @Json(name = "image") val image: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200Response.kt index f2c1a786c..a84c67075 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200Response.kt @@ -48,5 +48,8 @@ data class SearchAllFood200Response ( @Json(name = "searchResults") val searchResults: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.kt index 2cba838cd..0ae65c182 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInner.kt @@ -40,5 +40,8 @@ data class SearchAllFood200ResponseSearchResultsInner ( @Json(name = "results") val results: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.kt index c58ee94b7..6d024cd80 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInner.kt @@ -55,5 +55,8 @@ data class SearchAllFood200ResponseSearchResultsInnerResultsInner ( @Json(name = "content") val content: kotlin.String? -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200Response.kt index 41be6d876..dc560bfd6 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200Response.kt @@ -44,5 +44,8 @@ data class SearchCustomFoods200Response ( @Json(name = "number") val number: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.kt index 3ecb9acae..29b170f27 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInner.kt @@ -47,5 +47,8 @@ data class SearchCustomFoods200ResponseCustomFoodsInner ( @Json(name = "price") val price: java.math.BigDecimal -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200Response.kt index f8b7348f9..c712f9fb6 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200Response.kt @@ -36,5 +36,8 @@ data class SearchFoodVideos200Response ( @Json(name = "totalResults") val totalResults: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.kt index d0c01bfc6..b8a695d15 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInner.kt @@ -55,5 +55,8 @@ data class SearchFoodVideos200ResponseVideosInner ( @Json(name = "youTubeId") val youTubeId: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProducts200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProducts200Response.kt index ead685ab8..177f0f78a 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProducts200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProducts200Response.kt @@ -48,5 +48,8 @@ data class SearchGroceryProducts200Response ( @Json(name = "number") val number: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.kt index bcc71d685..fa46a266d 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200Response.kt @@ -90,5 +90,8 @@ data class SearchGroceryProductsByUPC200Response ( @Json(name = "ingredientCount") val ingredientCount: kotlin.Int? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.kt index 3be199686..d58e3969f 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInner.kt @@ -39,5 +39,8 @@ data class SearchGroceryProductsByUPC200ResponseIngredientsInner ( @Json(name = "safety_level") val safetyLevel: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.kt index 4eac66a93..b8db247ed 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutrition.kt @@ -37,5 +37,8 @@ data class SearchGroceryProductsByUPC200ResponseNutrition ( @Json(name = "caloricBreakdown") val caloricBreakdown: ParseIngredients200ResponseInnerNutritionCaloricBreakdown -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.kt index 180932b20..829807d21 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServings.kt @@ -39,5 +39,8 @@ data class SearchGroceryProductsByUPC200ResponseServings ( @Json(name = "unit") val unit: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200Response.kt index 60e460833..52baf0883 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200Response.kt @@ -48,5 +48,8 @@ data class SearchMenuItems200Response ( @Json(name = "number") val number: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.kt index 8d0909ce1..120e9f2a8 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInner.kt @@ -52,5 +52,8 @@ data class SearchMenuItems200ResponseMenuItemsInner ( @Json(name = "servings") val servings: SearchGroceryProductsByUPC200ResponseServings? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200Response.kt index 9e7846760..cb9ff7ec6 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200Response.kt @@ -44,5 +44,8 @@ data class SearchRecipes200Response ( @Json(name = "totalResults") val totalResults: kotlin.Int -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.kt index 8f50871d3..86934d66f 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInner.kt @@ -43,5 +43,8 @@ data class SearchRecipes200ResponseResultsInner ( @Json(name = "imageType") val imageType: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.kt index bd24fc00b..7720f9ca9 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInner.kt @@ -68,5 +68,8 @@ data class SearchRecipesByIngredients200ResponseInner ( @Json(name = "usedIngredients") val usedIngredients: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.kt index 39a0d481c..dbb05a01b 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.kt @@ -75,5 +75,8 @@ data class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner ( @Json(name = "extendedName") val extendedName: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.kt index 29200954b..b5cdb3d87 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInner.kt @@ -59,5 +59,8 @@ data class SearchRecipesByNutrients200ResponseInner ( @Json(name = "title") val title: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200Response.kt index 0c20cdacf..2e02e87f2 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200Response.kt @@ -32,5 +32,8 @@ data class SearchRestaurants200Response ( @Json(name = "restaurants") val restaurants: kotlin.collections.List? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.kt index c4a602d57..20827cc57 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInner.kt @@ -109,5 +109,8 @@ data class SearchRestaurants200ResponseRestaurantsInner ( @Json(name = "aggregated_rating_count") val aggregatedRatingCount: kotlin.Int? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.kt index e6941b854..2f76f1f58 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddress.kt @@ -67,5 +67,8 @@ data class SearchRestaurants200ResponseRestaurantsInnerAddress ( @Json(name = "longitude") val longitude: java.math.BigDecimal? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.kt index adff36af5..3c9fcde50 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.kt @@ -44,5 +44,8 @@ data class SearchRestaurants200ResponseRestaurantsInnerLocalHours ( @Json(name = "dine_in") val dineIn: SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.kt index 681bcf46c..9c6393f0c 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.kt @@ -55,5 +55,8 @@ data class SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational ( @Json(name = "Sunday") val sunday: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200Response.kt index 01f1b24c6..b20492046 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200Response.kt @@ -44,5 +44,8 @@ data class SearchSiteContent200Response ( @Json(name = "Recipes") val recipes: kotlin.collections.Set -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.kt index 2d93b0fe6..73a13e826 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInner.kt @@ -44,5 +44,8 @@ data class SearchSiteContent200ResponseArticlesInner ( @Json(name = "dataPoints") val dataPoints: kotlin.collections.Set? = null -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.kt index 58a48fbd8..887ee8d02 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.kt @@ -35,5 +35,8 @@ data class SearchSiteContent200ResponseArticlesInnerDataPointsInner ( @Json(name = "value") val `value`: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/SummarizeRecipe200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/SummarizeRecipe200Response.kt index 0266b7317..fec9f2c63 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/SummarizeRecipe200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/SummarizeRecipe200Response.kt @@ -39,5 +39,8 @@ data class SummarizeRecipe200Response ( @Json(name = "title") val title: kotlin.String -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200Response.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200Response.kt index 5f6473025..008ffe129 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200Response.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200Response.kt @@ -36,5 +36,8 @@ data class TalkToChatbot200Response ( @Json(name = "media") val media: kotlin.collections.List -) +) { + + +} diff --git a/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.kt b/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.kt index a1a730c5b..882b62f13 100644 --- a/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.kt +++ b/kotlin/src/main/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInner.kt @@ -39,5 +39,8 @@ data class TalkToChatbot200ResponseMediaInner ( @Json(name = "link") val link: kotlin.String? = null -) +) { + + +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/DefaultApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/DefaultApiTest.kt new file mode 100644 index 000000000..f5b9938e7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/DefaultApiTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.DefaultApi +import com.spoonacular.client.model.AnalyzeRecipeRequest +import com.spoonacular.client.model.SearchRestaurants200Response + +class DefaultApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of DefaultApi + //val apiInstance = DefaultApi() + + // to test analyzeRecipe + should("test analyzeRecipe") { + // uncomment below to test analyzeRecipe + //val analyzeRecipeRequest : AnalyzeRecipeRequest = {"title":"Spaghetti Carbonara","servings":2,"ingredients":["1 lb spaghetti","3.5 oz pancetta","2 Tbsps olive oil","1 egg","0.5 cup parmesan cheese"],"instructions":"Bring a large pot of water to a boil and season generously with salt. Add the pasta to the water once boiling and cook until al dente. Reserve 2 cups of cooking water and drain the pasta. "} // AnalyzeRecipeRequest | Example request body. + //val language : kotlin.String = en // kotlin.String | The input language, either \"en\" or \"de\". + //val includeNutrition : kotlin.Boolean = false // kotlin.Boolean | Whether nutrition data should be added to correctly parsed ingredients. + //val includeTaste : kotlin.Boolean = false // kotlin.Boolean | Whether taste data should be added to correctly parsed ingredients. + //val result : kotlin.Any = apiInstance.analyzeRecipe(analyzeRecipeRequest, language, includeNutrition, includeTaste) + //result shouldBe ("TODO") + } + + // to test createRecipeCardGet + should("test createRecipeCardGet") { + // uncomment below to test createRecipeCardGet + //val id : java.math.BigDecimal = 4632 // java.math.BigDecimal | The recipe id. + //val mask : kotlin.String = ellipseMask // kotlin.String | The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). + //val backgroundImage : kotlin.String = background1 // kotlin.String | The background image (\"none\",\"background1\", or \"background2\"). + //val backgroundColor : kotlin.String = ffffff // kotlin.String | The background color for the recipe card as a hex-string. + //val fontColor : kotlin.String = 333333 // kotlin.String | The font color for the recipe card as a hex-string. + //val result : kotlin.Any = apiInstance.createRecipeCardGet(id, mask, backgroundImage, backgroundColor, fontColor) + //result shouldBe ("TODO") + } + + // to test searchRestaurants + should("test searchRestaurants") { + // uncomment below to test searchRestaurants + //val query : kotlin.String = beach cafe // kotlin.String | The search query. + //val lat : java.math.BigDecimal = 37.7786357 // java.math.BigDecimal | The latitude of the user's location. + //val lng : java.math.BigDecimal = -122.3918135 // java.math.BigDecimal | The longitude of the user's location.\". + //val distance : java.math.BigDecimal = 2 // java.math.BigDecimal | The distance around the location in miles. + //val budget : java.math.BigDecimal = 20 // java.math.BigDecimal | The user's budget for a meal in USD. + //val cuisine : kotlin.String = italian // kotlin.String | The cuisine of the restaurant. + //val minRating : java.math.BigDecimal = 4.4 // java.math.BigDecimal | The minimum rating of the restaurant between 0 and 5. + //val isOpen : kotlin.Boolean = true // kotlin.Boolean | Whether the restaurant must be open at the time of search. + //val sort : kotlin.String = distance // kotlin.String | How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. + //val page : java.math.BigDecimal = 0 // java.math.BigDecimal | The page number of results. + //val result : SearchRestaurants200Response = apiInstance.searchRestaurants(query, lat, lng, distance, budget, cuisine, minRating, isOpen, sort, page) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/IngredientsApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/IngredientsApiTest.kt new file mode 100644 index 000000000..2c8b46140 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/IngredientsApiTest.kt @@ -0,0 +1,138 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.IngredientsApi +import com.spoonacular.client.model.AutocompleteIngredientSearch200ResponseInner +import com.spoonacular.client.model.ComputeIngredientAmount200Response +import com.spoonacular.client.model.GetIngredientInformation200Response +import com.spoonacular.client.model.GetIngredientSubstitutes200Response +import com.spoonacular.client.model.IngredientSearch200Response +import com.spoonacular.client.model.MapIngredientsToGroceryProducts200ResponseInner +import com.spoonacular.client.model.MapIngredientsToGroceryProductsRequest + +class IngredientsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of IngredientsApi + //val apiInstance = IngredientsApi() + + // to test autocompleteIngredientSearch + should("test autocompleteIngredientSearch") { + // uncomment below to test autocompleteIngredientSearch + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val metaInformation : kotlin.Boolean = false // kotlin.Boolean | Whether to return more meta information about the ingredients. + //val intolerances : kotlin.String = egg // kotlin.String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val result : kotlin.collections.Set = apiInstance.autocompleteIngredientSearch(query, number, metaInformation, intolerances, language) + //result shouldBe ("TODO") + } + + // to test computeIngredientAmount + should("test computeIngredientAmount") { + // uncomment below to test computeIngredientAmount + //val id : java.math.BigDecimal = 9266 // java.math.BigDecimal | The id of the ingredient you want the amount for. + //val nutrient : kotlin.String = protein // kotlin.String | The target nutrient. See a list of supported nutrients. + //val target : java.math.BigDecimal = 2 // java.math.BigDecimal | The target number of the given nutrient. + //val unit : kotlin.String = oz // kotlin.String | The target unit. + //val result : ComputeIngredientAmount200Response = apiInstance.computeIngredientAmount(id, nutrient, target, unit) + //result shouldBe ("TODO") + } + + // to test getIngredientInformation + should("test getIngredientInformation") { + // uncomment below to test getIngredientInformation + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val amount : java.math.BigDecimal = 150 // java.math.BigDecimal | The amount of this ingredient. + //val unit : kotlin.String = grams // kotlin.String | The unit for the given amount. + //val result : GetIngredientInformation200Response = apiInstance.getIngredientInformation(id, amount, unit) + //result shouldBe ("TODO") + } + + // to test getIngredientSubstitutes + should("test getIngredientSubstitutes") { + // uncomment below to test getIngredientSubstitutes + //val ingredientName : kotlin.String = butter // kotlin.String | The name of the ingredient you want to replace. + //val result : GetIngredientSubstitutes200Response = apiInstance.getIngredientSubstitutes(ingredientName) + //result shouldBe ("TODO") + } + + // to test getIngredientSubstitutesByID + should("test getIngredientSubstitutesByID") { + // uncomment below to test getIngredientSubstitutesByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetIngredientSubstitutes200Response = apiInstance.getIngredientSubstitutesByID(id) + //result shouldBe ("TODO") + } + + // to test ingredientSearch + should("test ingredientSearch") { + // uncomment below to test ingredientSearch + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val addChildren : kotlin.Boolean = true // kotlin.Boolean | Whether to add children of found foods. + //val minProteinPercent : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum percentage of protein the food must have (between 0 and 100). + //val maxProteinPercent : java.math.BigDecimal = 90 // java.math.BigDecimal | The maximum percentage of protein the food can have (between 0 and 100). + //val minFatPercent : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum percentage of fat the food must have (between 0 and 100). + //val maxFatPercent : java.math.BigDecimal = 90 // java.math.BigDecimal | The maximum percentage of fat the food can have (between 0 and 100). + //val minCarbsPercent : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum percentage of carbs the food must have (between 0 and 100). + //val maxCarbsPercent : java.math.BigDecimal = 90 // java.math.BigDecimal | The maximum percentage of carbs the food can have (between 0 and 100). + //val metaInformation : kotlin.Boolean = false // kotlin.Boolean | Whether to return more meta information about the ingredients. + //val intolerances : kotlin.String = egg // kotlin.String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. + //val sort : kotlin.String = calories // kotlin.String | The strategy to sort recipes by. See a full list of supported sorting options. + //val sortDirection : kotlin.String = asc // kotlin.String | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val result : IngredientSearch200Response = apiInstance.ingredientSearch(query, addChildren, minProteinPercent, maxProteinPercent, minFatPercent, maxFatPercent, minCarbsPercent, maxCarbsPercent, metaInformation, intolerances, sort, sortDirection, offset, number, language) + //result shouldBe ("TODO") + } + + // to test ingredientsByIDImage + should("test ingredientsByIDImage") { + // uncomment below to test ingredientsByIDImage + //val id : java.math.BigDecimal = 1082038 // java.math.BigDecimal | The recipe id. + //val measure : kotlin.String = metric // kotlin.String | Whether the the measures should be 'us' or 'metric'. + //val result : java.io.File = apiInstance.ingredientsByIDImage(id, measure) + //result shouldBe ("TODO") + } + + // to test mapIngredientsToGroceryProducts + should("test mapIngredientsToGroceryProducts") { + // uncomment below to test mapIngredientsToGroceryProducts + //val mapIngredientsToGroceryProductsRequest : MapIngredientsToGroceryProductsRequest = {"ingredients":["eggs","bacon"],"servings":2} // MapIngredientsToGroceryProductsRequest | + //val result : kotlin.collections.Set = apiInstance.mapIngredientsToGroceryProducts(mapIngredientsToGroceryProductsRequest) + //result shouldBe ("TODO") + } + + // to test visualizeIngredients + should("test visualizeIngredients") { + // uncomment below to test visualizeIngredients + //val ingredientList : kotlin.String = ingredientList_example // kotlin.String | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). + //val servings : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The number of servings. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val measure : kotlin.String = measure_example // kotlin.String | The original system of measurement, either 'metric' or 'us'. + //val view : kotlin.String = view_example // kotlin.String | How to visualize the ingredients, either 'grid' or 'list'. + //val defaultCss : kotlin.Boolean = true // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showBacklink : kotlin.Boolean = true // kotlin.Boolean | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. + //val result : kotlin.String = apiInstance.visualizeIngredients(ingredientList, servings, language, measure, view, defaultCss, showBacklink) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/MealPlanningApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/MealPlanningApiTest.kt new file mode 100644 index 000000000..7a8cf9682 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/MealPlanningApiTest.kt @@ -0,0 +1,177 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.MealPlanningApi +import com.spoonacular.client.model.AddMealPlanTemplate200Response +import com.spoonacular.client.model.AddToMealPlanRequest +import com.spoonacular.client.model.AddToShoppingListRequest +import com.spoonacular.client.model.ConnectUser200Response +import com.spoonacular.client.model.ConnectUserRequest +import com.spoonacular.client.model.GenerateMealPlan200Response +import com.spoonacular.client.model.GenerateShoppingList200Response +import com.spoonacular.client.model.GetMealPlanTemplate200Response +import com.spoonacular.client.model.GetMealPlanTemplates200Response +import com.spoonacular.client.model.GetMealPlanWeek200Response +import com.spoonacular.client.model.GetShoppingList200Response + +class MealPlanningApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of MealPlanningApi + //val apiInstance = MealPlanningApi() + + // to test addMealPlanTemplate + should("test addMealPlanTemplate") { + // uncomment below to test addMealPlanTemplate + //val username : kotlin.String = dsky // kotlin.String | The username. + //val hash : kotlin.String = 4b5v4398573406 // kotlin.String | The private hash for the username. + //val result : AddMealPlanTemplate200Response = apiInstance.addMealPlanTemplate(username, hash) + //result shouldBe ("TODO") + } + + // to test addToMealPlan + should("test addToMealPlan") { + // uncomment below to test addToMealPlan + //val username : kotlin.String = dsky // kotlin.String | The username. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val addToMealPlanRequest : AddToMealPlanRequest = {"date":1589500800,"slot":1,"position":0,"type":"INGREDIENTS","value":{"ingredients":[{"name":"1 banana"}]}} // AddToMealPlanRequest | + //val result : kotlin.Any = apiInstance.addToMealPlan(username, hash, addToMealPlanRequest) + //result shouldBe ("TODO") + } + + // to test addToShoppingList + should("test addToShoppingList") { + // uncomment below to test addToShoppingList + //val username : kotlin.String = dsky // kotlin.String | The username. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val addToShoppingListRequest : AddToShoppingListRequest = {"item":"1 package baking powder","aisle":"Baking","parse":true} // AddToShoppingListRequest | + //val result : GenerateShoppingList200Response = apiInstance.addToShoppingList(username, hash, addToShoppingListRequest) + //result shouldBe ("TODO") + } + + // to test clearMealPlanDay + should("test clearMealPlanDay") { + // uncomment below to test clearMealPlanDay + //val username : kotlin.String = dsky // kotlin.String | The username. + //val date : kotlin.String = 2020-06-01 // kotlin.String | The date in the format yyyy-mm-dd. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : kotlin.Any = apiInstance.clearMealPlanDay(username, date, hash) + //result shouldBe ("TODO") + } + + // to test connectUser + should("test connectUser") { + // uncomment below to test connectUser + //val connectUserRequest : ConnectUserRequest = {"username":"your user's name","firstName":"your user's first name","lastName":"your user's last name","email":"your user's email"} // ConnectUserRequest | + //val result : ConnectUser200Response = apiInstance.connectUser(connectUserRequest) + //result shouldBe ("TODO") + } + + // to test deleteFromMealPlan + should("test deleteFromMealPlan") { + // uncomment below to test deleteFromMealPlan + //val username : kotlin.String = dsky // kotlin.String | The username. + //val id : java.math.BigDecimal = 15678 // java.math.BigDecimal | The shopping list item id. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : kotlin.Any = apiInstance.deleteFromMealPlan(username, id, hash) + //result shouldBe ("TODO") + } + + // to test deleteFromShoppingList + should("test deleteFromShoppingList") { + // uncomment below to test deleteFromShoppingList + //val username : kotlin.String = dsky // kotlin.String | The username. + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : kotlin.Any = apiInstance.deleteFromShoppingList(username, id, hash) + //result shouldBe ("TODO") + } + + // to test deleteMealPlanTemplate + should("test deleteMealPlanTemplate") { + // uncomment below to test deleteMealPlanTemplate + //val username : kotlin.String = dsky // kotlin.String | The username. + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val hash : kotlin.String = 4b5v4398573406 // kotlin.String | The private hash for the username. + //val result : kotlin.Any = apiInstance.deleteMealPlanTemplate(username, id, hash) + //result shouldBe ("TODO") + } + + // to test generateMealPlan + should("test generateMealPlan") { + // uncomment below to test generateMealPlan + //val timeFrame : kotlin.String = day // kotlin.String | Either for one \"day\" or an entire \"week\". + //val targetCalories : java.math.BigDecimal = 2000 // java.math.BigDecimal | What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. + //val diet : kotlin.String = vegetarian // kotlin.String | Enter a diet that the meal plan has to adhere to. See a full list of supported diets. + //val exclude : kotlin.String = shellfish, olives // kotlin.String | A comma-separated list of allergens or ingredients that must be excluded. + //val result : GenerateMealPlan200Response = apiInstance.generateMealPlan(timeFrame, targetCalories, diet, exclude) + //result shouldBe ("TODO") + } + + // to test generateShoppingList + should("test generateShoppingList") { + // uncomment below to test generateShoppingList + //val username : kotlin.String = dsky // kotlin.String | The username. + //val startDate : kotlin.String = 2020-06-01 // kotlin.String | The start date in the format yyyy-mm-dd. + //val endDate : kotlin.String = 2020-06-07 // kotlin.String | The end date in the format yyyy-mm-dd. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : GenerateShoppingList200Response = apiInstance.generateShoppingList(username, startDate, endDate, hash) + //result shouldBe ("TODO") + } + + // to test getMealPlanTemplate + should("test getMealPlanTemplate") { + // uncomment below to test getMealPlanTemplate + //val username : kotlin.String = dsky // kotlin.String | The username. + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : GetMealPlanTemplate200Response = apiInstance.getMealPlanTemplate(username, id, hash) + //result shouldBe ("TODO") + } + + // to test getMealPlanTemplates + should("test getMealPlanTemplates") { + // uncomment below to test getMealPlanTemplates + //val username : kotlin.String = dsky // kotlin.String | The username. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : GetMealPlanTemplates200Response = apiInstance.getMealPlanTemplates(username, hash) + //result shouldBe ("TODO") + } + + // to test getMealPlanWeek + should("test getMealPlanWeek") { + // uncomment below to test getMealPlanWeek + //val username : kotlin.String = dsky // kotlin.String | The username. + //val startDate : kotlin.String = 2020-06-01 // kotlin.String | The start date of the meal planned week in the format yyyy-mm-dd. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : GetMealPlanWeek200Response = apiInstance.getMealPlanWeek(username, startDate, hash) + //result shouldBe ("TODO") + } + + // to test getShoppingList + should("test getShoppingList") { + // uncomment below to test getShoppingList + //val username : kotlin.String = dsky // kotlin.String | The username. + //val hash : kotlin.String = hash_example // kotlin.String | The private hash for the username. + //val result : GetShoppingList200Response = apiInstance.getShoppingList(username, hash) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/MenuItemsApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/MenuItemsApiTest.kt new file mode 100644 index 000000000..db2980a15 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/MenuItemsApiTest.kt @@ -0,0 +1,108 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.MenuItemsApi +import com.spoonacular.client.model.AutocompleteMenuItemSearch200Response +import com.spoonacular.client.model.GetMenuItemInformation200Response +import com.spoonacular.client.model.SearchMenuItems200Response + +class MenuItemsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of MenuItemsApi + //val apiInstance = MenuItemsApi() + + // to test autocompleteMenuItemSearch + should("test autocompleteMenuItemSearch") { + // uncomment below to test autocompleteMenuItemSearch + //val query : kotlin.String = chicke // kotlin.String | The (partial) search query. + //val number : java.math.BigDecimal = 10 // java.math.BigDecimal | The number of results to return (between 1 and 25). + //val result : AutocompleteMenuItemSearch200Response = apiInstance.autocompleteMenuItemSearch(query, number) + //result shouldBe ("TODO") + } + + // to test getMenuItemInformation + should("test getMenuItemInformation") { + // uncomment below to test getMenuItemInformation + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetMenuItemInformation200Response = apiInstance.getMenuItemInformation(id) + //result shouldBe ("TODO") + } + + // to test menuItemNutritionByIDImage + should("test menuItemNutritionByIDImage") { + // uncomment below to test menuItemNutritionByIDImage + //val id : java.math.BigDecimal = 424571 // java.math.BigDecimal | The menu item id. + //val result : java.io.File = apiInstance.menuItemNutritionByIDImage(id) + //result shouldBe ("TODO") + } + + // to test menuItemNutritionLabelImage + should("test menuItemNutritionLabelImage") { + // uncomment below to test menuItemNutritionLabelImage + //val id : java.math.BigDecimal = 342313 // java.math.BigDecimal | The menu item id. + //val showOptionalNutrients : kotlin.Boolean = false // kotlin.Boolean | Whether to show optional nutrients. + //val showZeroValues : kotlin.Boolean = false // kotlin.Boolean | Whether to show zero values. + //val showIngredients : kotlin.Boolean = false // kotlin.Boolean | Whether to show a list of ingredients. + //val result : java.io.File = apiInstance.menuItemNutritionLabelImage(id, showOptionalNutrients, showZeroValues, showIngredients) + //result shouldBe ("TODO") + } + + // to test menuItemNutritionLabelWidget + should("test menuItemNutritionLabelWidget") { + // uncomment below to test menuItemNutritionLabelWidget + //val id : java.math.BigDecimal = 342313 // java.math.BigDecimal | The menu item id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showOptionalNutrients : kotlin.Boolean = false // kotlin.Boolean | Whether to show optional nutrients. + //val showZeroValues : kotlin.Boolean = false // kotlin.Boolean | Whether to show zero values. + //val showIngredients : kotlin.Boolean = false // kotlin.Boolean | Whether to show a list of ingredients. + //val result : kotlin.String = apiInstance.menuItemNutritionLabelWidget(id, defaultCss, showOptionalNutrients, showZeroValues, showIngredients) + //result shouldBe ("TODO") + } + + // to test searchMenuItems + should("test searchMenuItems") { + // uncomment below to test searchMenuItems + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val minCalories : java.math.BigDecimal = 50 // java.math.BigDecimal | The minimum amount of calories the menu item must have. + //val maxCalories : java.math.BigDecimal = 800 // java.math.BigDecimal | The maximum amount of calories the menu item can have. + //val minCarbs : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of carbohydrates in grams the menu item must have. + //val maxCarbs : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of carbohydrates in grams the menu item can have. + //val minProtein : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of protein in grams the menu item must have. + //val maxProtein : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of protein in grams the menu item can have. + //val minFat : java.math.BigDecimal = 1 // java.math.BigDecimal | The minimum amount of fat in grams the menu item must have. + //val maxFat : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fat in grams the menu item can have. + //val addMenuItemInformation : kotlin.Boolean = true // kotlin.Boolean | If set to true, you get more information about the menu items returned. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : SearchMenuItems200Response = apiInstance.searchMenuItems(query, minCalories, maxCalories, minCarbs, maxCarbs, minProtein, maxProtein, minFat, maxFat, addMenuItemInformation, offset, number) + //result shouldBe ("TODO") + } + + // to test visualizeMenuItemNutritionByID + should("test visualizeMenuItemNutritionByID") { + // uncomment below to test visualizeMenuItemNutritionByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val result : kotlin.String = apiInstance.visualizeMenuItemNutritionByID(id, defaultCss) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/MiscApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/MiscApiTest.kt new file mode 100644 index 000000000..2c5fa19f8 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/MiscApiTest.kt @@ -0,0 +1,143 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.MiscApi +import com.spoonacular.client.model.DetectFoodInText200Response +import com.spoonacular.client.model.GetARandomFoodJoke200Response +import com.spoonacular.client.model.GetConversationSuggests200Response +import com.spoonacular.client.model.GetRandomFoodTrivia200Response +import com.spoonacular.client.model.ImageAnalysisByURL200Response +import com.spoonacular.client.model.ImageClassificationByURL200Response +import com.spoonacular.client.model.SearchAllFood200Response +import com.spoonacular.client.model.SearchCustomFoods200Response +import com.spoonacular.client.model.SearchFoodVideos200Response +import com.spoonacular.client.model.SearchSiteContent200Response +import com.spoonacular.client.model.TalkToChatbot200Response + +class MiscApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of MiscApi + //val apiInstance = MiscApi() + + // to test detectFoodInText + should("test detectFoodInText") { + // uncomment below to test detectFoodInText + //val text : kotlin.String = text_example // kotlin.String | + //val result : DetectFoodInText200Response = apiInstance.detectFoodInText(text) + //result shouldBe ("TODO") + } + + // to test getARandomFoodJoke + should("test getARandomFoodJoke") { + // uncomment below to test getARandomFoodJoke + //val result : GetARandomFoodJoke200Response = apiInstance.getARandomFoodJoke() + //result shouldBe ("TODO") + } + + // to test getConversationSuggests + should("test getConversationSuggests") { + // uncomment below to test getConversationSuggests + //val query : kotlin.String = tell // kotlin.String | A (partial) query from the user. The endpoint will return if it matches topics it can talk about. + //val number : java.math.BigDecimal = 5 // java.math.BigDecimal | The number of suggestions to return (between 1 and 25). + //val result : GetConversationSuggests200Response = apiInstance.getConversationSuggests(query, number) + //result shouldBe ("TODO") + } + + // to test getRandomFoodTrivia + should("test getRandomFoodTrivia") { + // uncomment below to test getRandomFoodTrivia + //val result : GetRandomFoodTrivia200Response = apiInstance.getRandomFoodTrivia() + //result shouldBe ("TODO") + } + + // to test imageAnalysisByURL + should("test imageAnalysisByURL") { + // uncomment below to test imageAnalysisByURL + //val imageUrl : kotlin.String = https://spoonacular.com/recipeImages/635350-240x150.jpg // kotlin.String | The URL of the image to be analyzed. + //val result : ImageAnalysisByURL200Response = apiInstance.imageAnalysisByURL(imageUrl) + //result shouldBe ("TODO") + } + + // to test imageClassificationByURL + should("test imageClassificationByURL") { + // uncomment below to test imageClassificationByURL + //val imageUrl : kotlin.String = https://spoonacular.com/recipeImages/635350-240x150.jpg // kotlin.String | The URL of the image to be classified. + //val result : ImageClassificationByURL200Response = apiInstance.imageClassificationByURL(imageUrl) + //result shouldBe ("TODO") + } + + // to test searchAllFood + should("test searchAllFood") { + // uncomment below to test searchAllFood + //val query : kotlin.String = apple // kotlin.String | The search query. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : SearchAllFood200Response = apiInstance.searchAllFood(query, offset, number) + //result shouldBe ("TODO") + } + + // to test searchCustomFoods + should("test searchCustomFoods") { + // uncomment below to test searchCustomFoods + //val username : kotlin.String = dsky // kotlin.String | The username. + //val hash : kotlin.String = 4b5v4398573406 // kotlin.String | The private hash for the username. + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : SearchCustomFoods200Response = apiInstance.searchCustomFoods(username, hash, query, offset, number) + //result shouldBe ("TODO") + } + + // to test searchFoodVideos + should("test searchFoodVideos") { + // uncomment below to test searchFoodVideos + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val type : kotlin.String = main course // kotlin.String | The type of the recipes. See a full list of supported meal types. + //val cuisine : kotlin.String = italian // kotlin.String | The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. + //val diet : kotlin.String = vegetarian // kotlin.String | The diet for which the recipes must be suitable. See a full list of supported diets. + //val includeIngredients : kotlin.String = tomato,cheese // kotlin.String | A comma-separated list of ingredients that the recipes should contain. + //val excludeIngredients : kotlin.String = eggs // kotlin.String | A comma-separated list of ingredients or ingredient types that the recipes must not contain. + //val minLength : java.math.BigDecimal = 0 // java.math.BigDecimal | Minimum video length in seconds. + //val maxLength : java.math.BigDecimal = 999 // java.math.BigDecimal | Maximum video length in seconds. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : SearchFoodVideos200Response = apiInstance.searchFoodVideos(query, type, cuisine, diet, includeIngredients, excludeIngredients, minLength, maxLength, offset, number) + //result shouldBe ("TODO") + } + + // to test searchSiteContent + should("test searchSiteContent") { + // uncomment below to test searchSiteContent + //val query : kotlin.String = past // kotlin.String | The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. + //val result : SearchSiteContent200Response = apiInstance.searchSiteContent(query) + //result shouldBe ("TODO") + } + + // to test talkToChatbot + should("test talkToChatbot") { + // uncomment below to test talkToChatbot + //val text : kotlin.String = donut recipes // kotlin.String | The request / question / answer from the user to the chatbot. + //val contextId : kotlin.String = 342938 // kotlin.String | An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. + //val result : TalkToChatbot200Response = apiInstance.talkToChatbot(text, contextId) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/ProductsApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/ProductsApiTest.kt new file mode 100644 index 000000000..3e4a759e9 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/ProductsApiTest.kt @@ -0,0 +1,148 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.ProductsApi +import com.spoonacular.client.model.AutocompleteProductSearch200Response +import com.spoonacular.client.model.ClassifyGroceryProduct200Response +import com.spoonacular.client.model.ClassifyGroceryProductBulk200ResponseInner +import com.spoonacular.client.model.ClassifyGroceryProductBulkRequestInner +import com.spoonacular.client.model.ClassifyGroceryProductRequest +import com.spoonacular.client.model.GetComparableProducts200Response +import com.spoonacular.client.model.GetProductInformation200Response +import com.spoonacular.client.model.SearchGroceryProducts200Response +import com.spoonacular.client.model.SearchGroceryProductsByUPC200Response + +class ProductsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProductsApi + //val apiInstance = ProductsApi() + + // to test autocompleteProductSearch + should("test autocompleteProductSearch") { + // uncomment below to test autocompleteProductSearch + //val query : kotlin.String = chicke // kotlin.String | The (partial) search query. + //val number : kotlin.Int = 10 // kotlin.Int | The number of results to return (between 1 and 25). + //val result : AutocompleteProductSearch200Response = apiInstance.autocompleteProductSearch(query, number) + //result shouldBe ("TODO") + } + + // to test classifyGroceryProduct + should("test classifyGroceryProduct") { + // uncomment below to test classifyGroceryProduct + //val classifyGroceryProductRequest : ClassifyGroceryProductRequest = {"title":"Kroger Vitamin A & D Reduced Fat 2% Milk","upc":"","plu_code":""} // ClassifyGroceryProductRequest | + //val locale : kotlin.String = en_US // kotlin.String | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). + //val result : ClassifyGroceryProduct200Response = apiInstance.classifyGroceryProduct(classifyGroceryProductRequest, locale) + //result shouldBe ("TODO") + } + + // to test classifyGroceryProductBulk + should("test classifyGroceryProductBulk") { + // uncomment below to test classifyGroceryProductBulk + //val classifyGroceryProductBulkRequestInner : kotlin.collections.Set = [{"title":"Kroger Vitamin A & D Reduced Fat 2% Milk","upc":"","plu_code":""}] // kotlin.collections.Set | + //val locale : kotlin.String = en_US // kotlin.String | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). + //val result : kotlin.collections.Set = apiInstance.classifyGroceryProductBulk(classifyGroceryProductBulkRequestInner, locale) + //result shouldBe ("TODO") + } + + // to test getComparableProducts + should("test getComparableProducts") { + // uncomment below to test getComparableProducts + //val upc : java.math.BigDecimal = 33698816271 // java.math.BigDecimal | The UPC of the product for which you want to find comparable products. + //val result : GetComparableProducts200Response = apiInstance.getComparableProducts(upc) + //result shouldBe ("TODO") + } + + // to test getProductInformation + should("test getProductInformation") { + // uncomment below to test getProductInformation + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetProductInformation200Response = apiInstance.getProductInformation(id) + //result shouldBe ("TODO") + } + + // to test productNutritionByIDImage + should("test productNutritionByIDImage") { + // uncomment below to test productNutritionByIDImage + //val id : java.math.BigDecimal = 7657 // java.math.BigDecimal | The id of the product. + //val result : java.io.File = apiInstance.productNutritionByIDImage(id) + //result shouldBe ("TODO") + } + + // to test productNutritionLabelImage + should("test productNutritionLabelImage") { + // uncomment below to test productNutritionLabelImage + //val id : java.math.BigDecimal = 22347 // java.math.BigDecimal | The product id. + //val showOptionalNutrients : kotlin.Boolean = false // kotlin.Boolean | Whether to show optional nutrients. + //val showZeroValues : kotlin.Boolean = false // kotlin.Boolean | Whether to show zero values. + //val showIngredients : kotlin.Boolean = false // kotlin.Boolean | Whether to show a list of ingredients. + //val result : java.io.File = apiInstance.productNutritionLabelImage(id, showOptionalNutrients, showZeroValues, showIngredients) + //result shouldBe ("TODO") + } + + // to test productNutritionLabelWidget + should("test productNutritionLabelWidget") { + // uncomment below to test productNutritionLabelWidget + //val id : java.math.BigDecimal = 22347 // java.math.BigDecimal | The product id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showOptionalNutrients : kotlin.Boolean = false // kotlin.Boolean | Whether to show optional nutrients. + //val showZeroValues : kotlin.Boolean = false // kotlin.Boolean | Whether to show zero values. + //val showIngredients : kotlin.Boolean = false // kotlin.Boolean | Whether to show a list of ingredients. + //val result : kotlin.String = apiInstance.productNutritionLabelWidget(id, defaultCss, showOptionalNutrients, showZeroValues, showIngredients) + //result shouldBe ("TODO") + } + + // to test searchGroceryProducts + should("test searchGroceryProducts") { + // uncomment below to test searchGroceryProducts + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val minCalories : java.math.BigDecimal = 50 // java.math.BigDecimal | The minimum amount of calories the product must have. + //val maxCalories : java.math.BigDecimal = 800 // java.math.BigDecimal | The maximum amount of calories the product can have. + //val minCarbs : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of carbohydrates in grams the product must have. + //val maxCarbs : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of carbohydrates in grams the product can have. + //val minProtein : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of protein in grams the product must have. + //val maxProtein : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of protein in grams the product can have. + //val minFat : java.math.BigDecimal = 1 // java.math.BigDecimal | The minimum amount of fat in grams the product must have. + //val maxFat : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fat in grams the product can have. + //val addProductInformation : kotlin.Boolean = true // kotlin.Boolean | If set to true, you get more information about the products returned. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : SearchGroceryProducts200Response = apiInstance.searchGroceryProducts(query, minCalories, maxCalories, minCarbs, maxCarbs, minProtein, maxProtein, minFat, maxFat, addProductInformation, offset, number) + //result shouldBe ("TODO") + } + + // to test searchGroceryProductsByUPC + should("test searchGroceryProductsByUPC") { + // uncomment below to test searchGroceryProductsByUPC + //val upc : java.math.BigDecimal = 41631000564 // java.math.BigDecimal | The product's UPC. + //val result : SearchGroceryProductsByUPC200Response = apiInstance.searchGroceryProductsByUPC(upc) + //result shouldBe ("TODO") + } + + // to test visualizeProductNutritionByID + should("test visualizeProductNutritionByID") { + // uncomment below to test visualizeProductNutritionByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val result : kotlin.String = apiInstance.visualizeProductNutritionByID(id, defaultCss) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/RecipesApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/RecipesApiTest.kt new file mode 100644 index 000000000..5a3cd3557 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/RecipesApiTest.kt @@ -0,0 +1,617 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.RecipesApi +import com.spoonacular.client.model.AnalyzeARecipeSearchQuery200Response +import com.spoonacular.client.model.AnalyzeRecipeInstructions200Response +import com.spoonacular.client.model.AutocompleteRecipeSearch200ResponseInner +import com.spoonacular.client.model.ClassifyCuisine200Response +import com.spoonacular.client.model.ComputeGlycemicLoad200Response +import com.spoonacular.client.model.ComputeGlycemicLoadRequest +import com.spoonacular.client.model.ConvertAmounts200Response +import com.spoonacular.client.model.CreateRecipeCard200Response +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200Response +import com.spoonacular.client.model.GetRandomRecipes200Response +import com.spoonacular.client.model.GetRecipeEquipmentByID200Response +import com.spoonacular.client.model.GetRecipeInformation200Response +import com.spoonacular.client.model.GetRecipeInformationBulk200ResponseInner +import com.spoonacular.client.model.GetRecipeIngredientsByID200Response +import com.spoonacular.client.model.GetRecipeNutritionWidgetByID200Response +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200Response +import com.spoonacular.client.model.GetRecipeTasteByID200Response +import com.spoonacular.client.model.GetSimilarRecipes200ResponseInner +import com.spoonacular.client.model.GuessNutritionByDishName200Response +import com.spoonacular.client.model.ParseIngredients200ResponseInner +import com.spoonacular.client.model.QuickAnswer200Response +import com.spoonacular.client.model.SearchRecipes200Response +import com.spoonacular.client.model.SearchRecipesByIngredients200ResponseInner +import com.spoonacular.client.model.SearchRecipesByNutrients200ResponseInner +import com.spoonacular.client.model.SummarizeRecipe200Response + +class RecipesApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of RecipesApi + //val apiInstance = RecipesApi() + + // to test analyzeARecipeSearchQuery + should("test analyzeARecipeSearchQuery") { + // uncomment below to test analyzeARecipeSearchQuery + //val q : kotlin.String = salmon with fusilli and no nuts // kotlin.String | The recipe search query. + //val result : AnalyzeARecipeSearchQuery200Response = apiInstance.analyzeARecipeSearchQuery(q) + //result shouldBe ("TODO") + } + + // to test analyzeRecipeInstructions + should("test analyzeRecipeInstructions") { + // uncomment below to test analyzeRecipeInstructions + //val instructions : kotlin.String = instructions_example // kotlin.String | The recipe's instructions. + //val result : AnalyzeRecipeInstructions200Response = apiInstance.analyzeRecipeInstructions(instructions) + //result shouldBe ("TODO") + } + + // to test autocompleteRecipeSearch + should("test autocompleteRecipeSearch") { + // uncomment below to test autocompleteRecipeSearch + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : kotlin.collections.Set = apiInstance.autocompleteRecipeSearch(query, number) + //result shouldBe ("TODO") + } + + // to test classifyCuisine + should("test classifyCuisine") { + // uncomment below to test classifyCuisine + //val title : kotlin.String = title_example // kotlin.String | The title of the recipe. + //val ingredientList : kotlin.String = ingredientList_example // kotlin.String | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val result : ClassifyCuisine200Response = apiInstance.classifyCuisine(title, ingredientList, language) + //result shouldBe ("TODO") + } + + // to test computeGlycemicLoad + should("test computeGlycemicLoad") { + // uncomment below to test computeGlycemicLoad + //val computeGlycemicLoadRequest : ComputeGlycemicLoadRequest = {"ingredients":["1 kiwi","2 cups rice","2 glasses of water"]} // ComputeGlycemicLoadRequest | + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val result : ComputeGlycemicLoad200Response = apiInstance.computeGlycemicLoad(computeGlycemicLoadRequest, language) + //result shouldBe ("TODO") + } + + // to test convertAmounts + should("test convertAmounts") { + // uncomment below to test convertAmounts + //val ingredientName : kotlin.String = flour // kotlin.String | The ingredient which you want to convert. + //val sourceAmount : java.math.BigDecimal = 2.5 // java.math.BigDecimal | The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". + //val sourceUnit : kotlin.String = cups // kotlin.String | The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" + //val targetUnit : kotlin.String = grams // kotlin.String | The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" + //val result : ConvertAmounts200Response = apiInstance.convertAmounts(ingredientName, sourceAmount, sourceUnit, targetUnit) + //result shouldBe ("TODO") + } + + // to test createRecipeCard + should("test createRecipeCard") { + // uncomment below to test createRecipeCard + //val title : kotlin.String = title_example // kotlin.String | The title of the recipe. + //val ingredients : kotlin.String = ingredients_example // kotlin.String | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). + //val instructions : kotlin.String = instructions_example // kotlin.String | The instructions to make the recipe. One step per line (separate lines with \\\\n). + //val readyInMinutes : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The number of minutes it takes to get the recipe on the table. + //val servings : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The number of servings the recipe makes. + //val mask : kotlin.String = mask_example // kotlin.String | The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). + //val backgroundImage : kotlin.String = backgroundImage_example // kotlin.String | The background image ('none', 'background1', or 'background2'). + //val image : java.io.File = BINARY_DATA_HERE // java.io.File | The binary image of the recipe as jpg. + //val imageUrl : kotlin.String = imageUrl_example // kotlin.String | If you do not sent a binary image you can also pass the image URL. + //val author : kotlin.String = author_example // kotlin.String | The author of the recipe. + //val backgroundColor : kotlin.String = backgroundColor_example // kotlin.String | The background color for the recipe card as a hex-string. + //val fontColor : kotlin.String = fontColor_example // kotlin.String | The font color for the recipe card as a hex-string. + //val source : kotlin.String = source_example // kotlin.String | The source of the recipe. + //val result : CreateRecipeCard200Response = apiInstance.createRecipeCard(title, ingredients, instructions, readyInMinutes, servings, mask, backgroundImage, image, imageUrl, author, backgroundColor, fontColor, source) + //result shouldBe ("TODO") + } + + // to test equipmentByIDImage + should("test equipmentByIDImage") { + // uncomment below to test equipmentByIDImage + //val id : java.math.BigDecimal = 44860 // java.math.BigDecimal | The recipe id. + //val result : java.io.File = apiInstance.equipmentByIDImage(id) + //result shouldBe ("TODO") + } + + // to test extractRecipeFromWebsite + should("test extractRecipeFromWebsite") { + // uncomment below to test extractRecipeFromWebsite + //val url : kotlin.String = https://foodista.com/recipe/ZHK4KPB6/chocolate-crinkle-cookies // kotlin.String | The URL of the recipe page. + //val forceExtraction : kotlin.Boolean = true // kotlin.Boolean | If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. + //val analyze : kotlin.Boolean = false // kotlin.Boolean | If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. + //val includeNutrition : kotlin.Boolean = true // kotlin.Boolean | Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. + //val includeTaste : kotlin.Boolean = false // kotlin.Boolean | Whether taste data should be added to correctly parsed ingredients. + //val result : GetRecipeInformation200Response = apiInstance.extractRecipeFromWebsite(url, forceExtraction, analyze, includeNutrition, includeTaste) + //result shouldBe ("TODO") + } + + // to test getAnalyzedRecipeInstructions + should("test getAnalyzedRecipeInstructions") { + // uncomment below to test getAnalyzedRecipeInstructions + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val stepBreakdown : kotlin.Boolean = true // kotlin.Boolean | Whether to break down the recipe steps even more. + //val result : GetAnalyzedRecipeInstructions200Response = apiInstance.getAnalyzedRecipeInstructions(id, stepBreakdown) + //result shouldBe ("TODO") + } + + // to test getRandomRecipes + should("test getRandomRecipes") { + // uncomment below to test getRandomRecipes + //val limitLicense : kotlin.Boolean = true // kotlin.Boolean | Whether the recipes should have an open license that allows display with proper attribution. + //val includeNutrition : kotlin.Boolean = true // kotlin.Boolean | Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. + //val includeTags : kotlin.String = vegetarian,gluten // kotlin.String | A comma-separated list of tags that the random recipe(s) must adhere to. + //val excludeTags : kotlin.String = meat,dairy // kotlin.String | A comma-separated list of tags that the random recipe(s) must not adhere to. + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val result : GetRandomRecipes200Response = apiInstance.getRandomRecipes(limitLicense, includeNutrition, includeTags, excludeTags, number) + //result shouldBe ("TODO") + } + + // to test getRecipeEquipmentByID + should("test getRecipeEquipmentByID") { + // uncomment below to test getRecipeEquipmentByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetRecipeEquipmentByID200Response = apiInstance.getRecipeEquipmentByID(id) + //result shouldBe ("TODO") + } + + // to test getRecipeInformation + should("test getRecipeInformation") { + // uncomment below to test getRecipeInformation + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val includeNutrition : kotlin.Boolean = true // kotlin.Boolean | Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. + //val result : GetRecipeInformation200Response = apiInstance.getRecipeInformation(id, includeNutrition) + //result shouldBe ("TODO") + } + + // to test getRecipeInformationBulk + should("test getRecipeInformationBulk") { + // uncomment below to test getRecipeInformationBulk + //val ids : kotlin.String = 715538,716429 // kotlin.String | A comma-separated list of recipe ids. + //val includeNutrition : kotlin.Boolean = true // kotlin.Boolean | Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. + //val result : kotlin.collections.Set = apiInstance.getRecipeInformationBulk(ids, includeNutrition) + //result shouldBe ("TODO") + } + + // to test getRecipeIngredientsByID + should("test getRecipeIngredientsByID") { + // uncomment below to test getRecipeIngredientsByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetRecipeIngredientsByID200Response = apiInstance.getRecipeIngredientsByID(id) + //result shouldBe ("TODO") + } + + // to test getRecipeNutritionWidgetByID + should("test getRecipeNutritionWidgetByID") { + // uncomment below to test getRecipeNutritionWidgetByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetRecipeNutritionWidgetByID200Response = apiInstance.getRecipeNutritionWidgetByID(id) + //result shouldBe ("TODO") + } + + // to test getRecipePriceBreakdownByID + should("test getRecipePriceBreakdownByID") { + // uncomment below to test getRecipePriceBreakdownByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : GetRecipePriceBreakdownByID200Response = apiInstance.getRecipePriceBreakdownByID(id) + //result shouldBe ("TODO") + } + + // to test getRecipeTasteByID + should("test getRecipeTasteByID") { + // uncomment below to test getRecipeTasteByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val normalize : kotlin.Boolean = true // kotlin.Boolean | Normalize to the strongest taste. + //val result : GetRecipeTasteByID200Response = apiInstance.getRecipeTasteByID(id, normalize) + //result shouldBe ("TODO") + } + + // to test getSimilarRecipes + should("test getSimilarRecipes") { + // uncomment below to test getSimilarRecipes + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val limitLicense : kotlin.Boolean = true // kotlin.Boolean | Whether the recipes should have an open license that allows display with proper attribution. + //val result : kotlin.collections.Set = apiInstance.getSimilarRecipes(id, number, limitLicense) + //result shouldBe ("TODO") + } + + // to test guessNutritionByDishName + should("test guessNutritionByDishName") { + // uncomment below to test guessNutritionByDishName + //val title : kotlin.String = Spaghetti Aglio et Olio // kotlin.String | The title of the dish. + //val result : GuessNutritionByDishName200Response = apiInstance.guessNutritionByDishName(title) + //result shouldBe ("TODO") + } + + // to test parseIngredients + should("test parseIngredients") { + // uncomment below to test parseIngredients + //val ingredientList : kotlin.String = ingredientList_example // kotlin.String | The ingredient list of the recipe, one ingredient per line. + //val servings : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The number of servings that you can make from the ingredients. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val includeNutrition : kotlin.Boolean = true // kotlin.Boolean | + //val result : kotlin.collections.Set = apiInstance.parseIngredients(ingredientList, servings, language, includeNutrition) + //result shouldBe ("TODO") + } + + // to test priceBreakdownByIDImage + should("test priceBreakdownByIDImage") { + // uncomment below to test priceBreakdownByIDImage + //val id : java.math.BigDecimal = 1082038 // java.math.BigDecimal | The recipe id. + //val result : java.io.File = apiInstance.priceBreakdownByIDImage(id) + //result shouldBe ("TODO") + } + + // to test quickAnswer + should("test quickAnswer") { + // uncomment below to test quickAnswer + //val q : kotlin.String = How much vitamin c is in 2 apples? // kotlin.String | The nutrition related question. + //val result : QuickAnswer200Response = apiInstance.quickAnswer(q) + //result shouldBe ("TODO") + } + + // to test recipeNutritionByIDImage + should("test recipeNutritionByIDImage") { + // uncomment below to test recipeNutritionByIDImage + //val id : java.math.BigDecimal = 1082038 // java.math.BigDecimal | The recipe id. + //val result : java.io.File = apiInstance.recipeNutritionByIDImage(id) + //result shouldBe ("TODO") + } + + // to test recipeNutritionLabelImage + should("test recipeNutritionLabelImage") { + // uncomment below to test recipeNutritionLabelImage + //val id : java.math.BigDecimal = 641166 // java.math.BigDecimal | The recipe id. + //val showOptionalNutrients : kotlin.Boolean = false // kotlin.Boolean | Whether to show optional nutrients. + //val showZeroValues : kotlin.Boolean = false // kotlin.Boolean | Whether to show zero values. + //val showIngredients : kotlin.Boolean = false // kotlin.Boolean | Whether to show a list of ingredients. + //val result : java.io.File = apiInstance.recipeNutritionLabelImage(id, showOptionalNutrients, showZeroValues, showIngredients) + //result shouldBe ("TODO") + } + + // to test recipeNutritionLabelWidget + should("test recipeNutritionLabelWidget") { + // uncomment below to test recipeNutritionLabelWidget + //val id : java.math.BigDecimal = 641166 // java.math.BigDecimal | The recipe id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showOptionalNutrients : kotlin.Boolean = false // kotlin.Boolean | Whether to show optional nutrients. + //val showZeroValues : kotlin.Boolean = false // kotlin.Boolean | Whether to show zero values. + //val showIngredients : kotlin.Boolean = false // kotlin.Boolean | Whether to show a list of ingredients. + //val result : kotlin.String = apiInstance.recipeNutritionLabelWidget(id, defaultCss, showOptionalNutrients, showZeroValues, showIngredients) + //result shouldBe ("TODO") + } + + // to test recipeTasteByIDImage + should("test recipeTasteByIDImage") { + // uncomment below to test recipeTasteByIDImage + //val id : java.math.BigDecimal = 69095 // java.math.BigDecimal | The recipe id. + //val normalize : kotlin.Boolean = false // kotlin.Boolean | Normalize to the strongest taste. + //val rgb : kotlin.String = 75,192,192 // kotlin.String | Red, green, blue values for the chart color. + //val result : java.io.File = apiInstance.recipeTasteByIDImage(id, normalize, rgb) + //result shouldBe ("TODO") + } + + // to test searchRecipes + should("test searchRecipes") { + // uncomment below to test searchRecipes + //val query : kotlin.String = burger // kotlin.String | The (natural language) search query. + //val cuisine : kotlin.String = italian // kotlin.String | The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. + //val excludeCuisine : kotlin.String = greek // kotlin.String | The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. + //val diet : kotlin.String = vegetarian // kotlin.String | The diet for which the recipes must be suitable. See a full list of supported diets. + //val intolerances : kotlin.String = gluten // kotlin.String | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. + //val equipment : kotlin.String = pan // kotlin.String | The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". + //val includeIngredients : kotlin.String = tomato,cheese // kotlin.String | A comma-separated list of ingredients that should/must be used in the recipes. + //val excludeIngredients : kotlin.String = eggs // kotlin.String | A comma-separated list of ingredients or ingredient types that the recipes must not contain. + //val type : kotlin.String = main course // kotlin.String | The type of recipe. See a full list of supported meal types. + //val instructionsRequired : kotlin.Boolean = true // kotlin.Boolean | Whether the recipes must have instructions. + //val fillIngredients : kotlin.Boolean = false // kotlin.Boolean | Add information about the ingredients and whether they are used or missing in relation to the query. + //val addRecipeInformation : kotlin.Boolean = false // kotlin.Boolean | If set to true, you get more information about the recipes returned. + //val addRecipeNutrition : kotlin.Boolean = false // kotlin.Boolean | If set to true, you get nutritional information about each recipes returned. + //val author : kotlin.String = coffeebean // kotlin.String | The username of the recipe author. + //val tags : kotlin.String = tags_example // kotlin.String | The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. + //val recipeBoxId : java.math.BigDecimal = 2468 // java.math.BigDecimal | The id of the recipe box to which the search should be limited to. + //val titleMatch : kotlin.String = Crock Pot // kotlin.String | Enter text that must be found in the title of the recipes. + //val maxReadyTime : java.math.BigDecimal = 20 // java.math.BigDecimal | The maximum time in minutes it should take to prepare and cook the recipe. + //val minServings : java.math.BigDecimal = 1 // java.math.BigDecimal | The minimum amount of servings the recipe is for. + //val maxServings : java.math.BigDecimal = 8 // java.math.BigDecimal | The maximum amount of servings the recipe is for. + //val ignorePantry : kotlin.Boolean = false // kotlin.Boolean | Whether to ignore typical pantry items, such as water, salt, flour, etc. + //val sort : kotlin.String = calories // kotlin.String | The strategy to sort recipes by. See a full list of supported sorting options. + //val sortDirection : kotlin.String = asc // kotlin.String | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). + //val minCarbs : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of carbohydrates in grams the recipe must have. + //val maxCarbs : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of carbohydrates in grams the recipe can have. + //val minProtein : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of protein in grams the recipe must have. + //val maxProtein : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of protein in grams the recipe can have. + //val minCalories : java.math.BigDecimal = 50 // java.math.BigDecimal | The minimum amount of calories the recipe must have. + //val maxCalories : java.math.BigDecimal = 800 // java.math.BigDecimal | The maximum amount of calories the recipe can have. + //val minFat : java.math.BigDecimal = 1 // java.math.BigDecimal | The minimum amount of fat in grams the recipe must have. + //val maxFat : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fat in grams the recipe can have. + //val minAlcohol : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of alcohol in grams the recipe must have. + //val maxAlcohol : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of alcohol in grams the recipe can have. + //val minCaffeine : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of caffeine in milligrams the recipe must have. + //val maxCaffeine : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of caffeine in milligrams the recipe can have. + //val minCopper : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of copper in milligrams the recipe must have. + //val maxCopper : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of copper in milligrams the recipe can have. + //val minCalcium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of calcium in milligrams the recipe must have. + //val maxCalcium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of calcium in milligrams the recipe can have. + //val minCholine : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of choline in milligrams the recipe must have. + //val maxCholine : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of choline in milligrams the recipe can have. + //val minCholesterol : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of cholesterol in milligrams the recipe must have. + //val maxCholesterol : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of cholesterol in milligrams the recipe can have. + //val minFluoride : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of fluoride in milligrams the recipe must have. + //val maxFluoride : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fluoride in milligrams the recipe can have. + //val minSaturatedFat : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of saturated fat in grams the recipe must have. + //val maxSaturatedFat : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of saturated fat in grams the recipe can have. + //val minVitaminA : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin A in IU the recipe must have. + //val maxVitaminA : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin A in IU the recipe can have. + //val minVitaminC : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin C milligrams the recipe must have. + //val maxVitaminC : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin C in milligrams the recipe can have. + //val minVitaminD : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin D in micrograms the recipe must have. + //val maxVitaminD : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin D in micrograms the recipe can have. + //val minVitaminE : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin E in milligrams the recipe must have. + //val maxVitaminE : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin E in milligrams the recipe can have. + //val minVitaminK : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin K in micrograms the recipe must have. + //val maxVitaminK : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin K in micrograms the recipe can have. + //val minVitaminB1 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B1 in milligrams the recipe must have. + //val maxVitaminB1 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B1 in milligrams the recipe can have. + //val minVitaminB2 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B2 in milligrams the recipe must have. + //val maxVitaminB2 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B2 in milligrams the recipe can have. + //val minVitaminB5 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B5 in milligrams the recipe must have. + //val maxVitaminB5 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B5 in milligrams the recipe can have. + //val minVitaminB3 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B3 in milligrams the recipe must have. + //val maxVitaminB3 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B3 in milligrams the recipe can have. + //val minVitaminB6 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B6 in milligrams the recipe must have. + //val maxVitaminB6 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B6 in milligrams the recipe can have. + //val minVitaminB12 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B12 in micrograms the recipe must have. + //val maxVitaminB12 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B12 in micrograms the recipe can have. + //val minFiber : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of fiber in grams the recipe must have. + //val maxFiber : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fiber in grams the recipe can have. + //val minFolate : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of folate in micrograms the recipe must have. + //val maxFolate : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of folate in micrograms the recipe can have. + //val minFolicAcid : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of folic acid in micrograms the recipe must have. + //val maxFolicAcid : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of folic acid in micrograms the recipe can have. + //val minIodine : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of iodine in micrograms the recipe must have. + //val maxIodine : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of iodine in micrograms the recipe can have. + //val minIron : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of iron in milligrams the recipe must have. + //val maxIron : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of iron in milligrams the recipe can have. + //val minMagnesium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of magnesium in milligrams the recipe must have. + //val maxMagnesium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of magnesium in milligrams the recipe can have. + //val minManganese : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of manganese in milligrams the recipe must have. + //val maxManganese : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of manganese in milligrams the recipe can have. + //val minPhosphorus : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of phosphorus in milligrams the recipe must have. + //val maxPhosphorus : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of phosphorus in milligrams the recipe can have. + //val minPotassium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of potassium in milligrams the recipe must have. + //val maxPotassium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of potassium in milligrams the recipe can have. + //val minSelenium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of selenium in micrograms the recipe must have. + //val maxSelenium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of selenium in micrograms the recipe can have. + //val minSodium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of sodium in milligrams the recipe must have. + //val maxSodium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of sodium in milligrams the recipe can have. + //val minSugar : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of sugar in grams the recipe must have. + //val maxSugar : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of sugar in grams the recipe can have. + //val minZinc : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of zinc in milligrams the recipe must have. + //val maxZinc : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of zinc in milligrams the recipe can have. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val limitLicense : kotlin.Boolean = true // kotlin.Boolean | Whether the recipes should have an open license that allows display with proper attribution. + //val result : SearchRecipes200Response = apiInstance.searchRecipes(query, cuisine, excludeCuisine, diet, intolerances, equipment, includeIngredients, excludeIngredients, type, instructionsRequired, fillIngredients, addRecipeInformation, addRecipeNutrition, author, tags, recipeBoxId, titleMatch, maxReadyTime, minServings, maxServings, ignorePantry, sort, sortDirection, minCarbs, maxCarbs, minProtein, maxProtein, minCalories, maxCalories, minFat, maxFat, minAlcohol, maxAlcohol, minCaffeine, maxCaffeine, minCopper, maxCopper, minCalcium, maxCalcium, minCholine, maxCholine, minCholesterol, maxCholesterol, minFluoride, maxFluoride, minSaturatedFat, maxSaturatedFat, minVitaminA, maxVitaminA, minVitaminC, maxVitaminC, minVitaminD, maxVitaminD, minVitaminE, maxVitaminE, minVitaminK, maxVitaminK, minVitaminB1, maxVitaminB1, minVitaminB2, maxVitaminB2, minVitaminB5, maxVitaminB5, minVitaminB3, maxVitaminB3, minVitaminB6, maxVitaminB6, minVitaminB12, maxVitaminB12, minFiber, maxFiber, minFolate, maxFolate, minFolicAcid, maxFolicAcid, minIodine, maxIodine, minIron, maxIron, minMagnesium, maxMagnesium, minManganese, maxManganese, minPhosphorus, maxPhosphorus, minPotassium, maxPotassium, minSelenium, maxSelenium, minSodium, maxSodium, minSugar, maxSugar, minZinc, maxZinc, offset, number, limitLicense) + //result shouldBe ("TODO") + } + + // to test searchRecipesByIngredients + should("test searchRecipesByIngredients") { + // uncomment below to test searchRecipesByIngredients + //val ingredients : kotlin.String = carrots,tomatoes // kotlin.String | A comma-separated list of ingredients that the recipes should contain. + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val limitLicense : kotlin.Boolean = true // kotlin.Boolean | Whether the recipes should have an open license that allows display with proper attribution. + //val ranking : java.math.BigDecimal = 1 // java.math.BigDecimal | Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. + //val ignorePantry : kotlin.Boolean = false // kotlin.Boolean | Whether to ignore typical pantry items, such as water, salt, flour, etc. + //val result : kotlin.collections.Set = apiInstance.searchRecipesByIngredients(ingredients, number, limitLicense, ranking, ignorePantry) + //result shouldBe ("TODO") + } + + // to test searchRecipesByNutrients + should("test searchRecipesByNutrients") { + // uncomment below to test searchRecipesByNutrients + //val minCarbs : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of carbohydrates in grams the recipe must have. + //val maxCarbs : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of carbohydrates in grams the recipe can have. + //val minProtein : java.math.BigDecimal = 10 // java.math.BigDecimal | The minimum amount of protein in grams the recipe must have. + //val maxProtein : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of protein in grams the recipe can have. + //val minCalories : java.math.BigDecimal = 50 // java.math.BigDecimal | The minimum amount of calories the recipe must have. + //val maxCalories : java.math.BigDecimal = 800 // java.math.BigDecimal | The maximum amount of calories the recipe can have. + //val minFat : java.math.BigDecimal = 1 // java.math.BigDecimal | The minimum amount of fat in grams the recipe must have. + //val maxFat : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fat in grams the recipe can have. + //val minAlcohol : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of alcohol in grams the recipe must have. + //val maxAlcohol : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of alcohol in grams the recipe can have. + //val minCaffeine : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of caffeine in milligrams the recipe must have. + //val maxCaffeine : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of caffeine in milligrams the recipe can have. + //val minCopper : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of copper in milligrams the recipe must have. + //val maxCopper : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of copper in milligrams the recipe can have. + //val minCalcium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of calcium in milligrams the recipe must have. + //val maxCalcium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of calcium in milligrams the recipe can have. + //val minCholine : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of choline in milligrams the recipe must have. + //val maxCholine : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of choline in milligrams the recipe can have. + //val minCholesterol : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of cholesterol in milligrams the recipe must have. + //val maxCholesterol : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of cholesterol in milligrams the recipe can have. + //val minFluoride : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of fluoride in milligrams the recipe must have. + //val maxFluoride : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fluoride in milligrams the recipe can have. + //val minSaturatedFat : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of saturated fat in grams the recipe must have. + //val maxSaturatedFat : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of saturated fat in grams the recipe can have. + //val minVitaminA : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin A in IU the recipe must have. + //val maxVitaminA : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin A in IU the recipe can have. + //val minVitaminC : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin C in milligrams the recipe must have. + //val maxVitaminC : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin C in milligrams the recipe can have. + //val minVitaminD : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin D in micrograms the recipe must have. + //val maxVitaminD : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin D in micrograms the recipe can have. + //val minVitaminE : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin E in milligrams the recipe must have. + //val maxVitaminE : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin E in milligrams the recipe can have. + //val minVitaminK : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin K in micrograms the recipe must have. + //val maxVitaminK : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin K in micrograms the recipe can have. + //val minVitaminB1 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B1 in milligrams the recipe must have. + //val maxVitaminB1 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B1 in milligrams the recipe can have. + //val minVitaminB2 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B2 in milligrams the recipe must have. + //val maxVitaminB2 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B2 in milligrams the recipe can have. + //val minVitaminB5 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B5 in milligrams the recipe must have. + //val maxVitaminB5 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B5 in milligrams the recipe can have. + //val minVitaminB3 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B3 in milligrams the recipe must have. + //val maxVitaminB3 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B3 in milligrams the recipe can have. + //val minVitaminB6 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B6 in milligrams the recipe must have. + //val maxVitaminB6 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B6 in milligrams the recipe can have. + //val minVitaminB12 : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of Vitamin B12 in micrograms the recipe must have. + //val maxVitaminB12 : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of Vitamin B12 in micrograms the recipe can have. + //val minFiber : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of fiber in grams the recipe must have. + //val maxFiber : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of fiber in grams the recipe can have. + //val minFolate : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of folate in micrograms the recipe must have. + //val maxFolate : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of folate in micrograms the recipe can have. + //val minFolicAcid : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of folic acid in micrograms the recipe must have. + //val maxFolicAcid : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of folic acid in micrograms the recipe can have. + //val minIodine : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of iodine in micrograms the recipe must have. + //val maxIodine : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of iodine in micrograms the recipe can have. + //val minIron : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of iron in milligrams the recipe must have. + //val maxIron : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of iron in milligrams the recipe can have. + //val minMagnesium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of magnesium in milligrams the recipe must have. + //val maxMagnesium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of magnesium in milligrams the recipe can have. + //val minManganese : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of manganese in milligrams the recipe must have. + //val maxManganese : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of manganese in milligrams the recipe can have. + //val minPhosphorus : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of phosphorus in milligrams the recipe must have. + //val maxPhosphorus : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of phosphorus in milligrams the recipe can have. + //val minPotassium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of potassium in milligrams the recipe must have. + //val maxPotassium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of potassium in milligrams the recipe can have. + //val minSelenium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of selenium in micrograms the recipe must have. + //val maxSelenium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of selenium in micrograms the recipe can have. + //val minSodium : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of sodium in milligrams the recipe must have. + //val maxSodium : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of sodium in milligrams the recipe can have. + //val minSugar : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of sugar in grams the recipe must have. + //val maxSugar : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of sugar in grams the recipe can have. + //val minZinc : java.math.BigDecimal = 0 // java.math.BigDecimal | The minimum amount of zinc in milligrams the recipe must have. + //val maxZinc : java.math.BigDecimal = 100 // java.math.BigDecimal | The maximum amount of zinc in milligrams the recipe can have. + //val offset : kotlin.Int = 56 // kotlin.Int | The number of results to skip (between 0 and 900). + //val number : kotlin.Int = 10 // kotlin.Int | The maximum number of items to return (between 1 and 100). Defaults to 10. + //val random : kotlin.Boolean = false // kotlin.Boolean | If true, every request will give you a random set of recipes within the requested limits. + //val limitLicense : kotlin.Boolean = true // kotlin.Boolean | Whether the recipes should have an open license that allows display with proper attribution. + //val result : kotlin.collections.Set = apiInstance.searchRecipesByNutrients(minCarbs, maxCarbs, minProtein, maxProtein, minCalories, maxCalories, minFat, maxFat, minAlcohol, maxAlcohol, minCaffeine, maxCaffeine, minCopper, maxCopper, minCalcium, maxCalcium, minCholine, maxCholine, minCholesterol, maxCholesterol, minFluoride, maxFluoride, minSaturatedFat, maxSaturatedFat, minVitaminA, maxVitaminA, minVitaminC, maxVitaminC, minVitaminD, maxVitaminD, minVitaminE, maxVitaminE, minVitaminK, maxVitaminK, minVitaminB1, maxVitaminB1, minVitaminB2, maxVitaminB2, minVitaminB5, maxVitaminB5, minVitaminB3, maxVitaminB3, minVitaminB6, maxVitaminB6, minVitaminB12, maxVitaminB12, minFiber, maxFiber, minFolate, maxFolate, minFolicAcid, maxFolicAcid, minIodine, maxIodine, minIron, maxIron, minMagnesium, maxMagnesium, minManganese, maxManganese, minPhosphorus, maxPhosphorus, minPotassium, maxPotassium, minSelenium, maxSelenium, minSodium, maxSodium, minSugar, maxSugar, minZinc, maxZinc, offset, number, random, limitLicense) + //result shouldBe ("TODO") + } + + // to test summarizeRecipe + should("test summarizeRecipe") { + // uncomment below to test summarizeRecipe + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val result : SummarizeRecipe200Response = apiInstance.summarizeRecipe(id) + //result shouldBe ("TODO") + } + + // to test visualizeEquipment + should("test visualizeEquipment") { + // uncomment below to test visualizeEquipment + //val instructions : kotlin.String = instructions_example // kotlin.String | The recipe's instructions. + //val view : kotlin.String = view_example // kotlin.String | How to visualize the ingredients, either 'grid' or 'list'. + //val defaultCss : kotlin.Boolean = true // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showBacklink : kotlin.Boolean = true // kotlin.Boolean | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. + //val result : kotlin.String = apiInstance.visualizeEquipment(instructions, view, defaultCss, showBacklink) + //result shouldBe ("TODO") + } + + // to test visualizePriceBreakdown + should("test visualizePriceBreakdown") { + // uncomment below to test visualizePriceBreakdown + //val ingredientList : kotlin.String = ingredientList_example // kotlin.String | The ingredient list of the recipe, one ingredient per line. + //val servings : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The number of servings. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val mode : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). + //val defaultCss : kotlin.Boolean = true // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showBacklink : kotlin.Boolean = true // kotlin.Boolean | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. + //val result : kotlin.String = apiInstance.visualizePriceBreakdown(ingredientList, servings, language, mode, defaultCss, showBacklink) + //result shouldBe ("TODO") + } + + // to test visualizeRecipeEquipmentByID + should("test visualizeRecipeEquipmentByID") { + // uncomment below to test visualizeRecipeEquipmentByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val result : kotlin.String = apiInstance.visualizeRecipeEquipmentByID(id, defaultCss) + //result shouldBe ("TODO") + } + + // to test visualizeRecipeIngredientsByID + should("test visualizeRecipeIngredientsByID") { + // uncomment below to test visualizeRecipeIngredientsByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val measure : kotlin.String = metric // kotlin.String | Whether the the measures should be 'us' or 'metric'. + //val result : kotlin.String = apiInstance.visualizeRecipeIngredientsByID(id, defaultCss, measure) + //result shouldBe ("TODO") + } + + // to test visualizeRecipeNutrition + should("test visualizeRecipeNutrition") { + // uncomment below to test visualizeRecipeNutrition + //val ingredientList : kotlin.String = ingredientList_example // kotlin.String | The ingredient list of the recipe, one ingredient per line. + //val servings : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The number of servings. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val defaultCss : kotlin.Boolean = true // kotlin.Boolean | Whether the default CSS should be added to the response. + //val showBacklink : kotlin.Boolean = true // kotlin.Boolean | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. + //val result : kotlin.String = apiInstance.visualizeRecipeNutrition(ingredientList, servings, language, defaultCss, showBacklink) + //result shouldBe ("TODO") + } + + // to test visualizeRecipeNutritionByID + should("test visualizeRecipeNutritionByID") { + // uncomment below to test visualizeRecipeNutritionByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val result : kotlin.String = apiInstance.visualizeRecipeNutritionByID(id, defaultCss) + //result shouldBe ("TODO") + } + + // to test visualizeRecipePriceBreakdownByID + should("test visualizeRecipePriceBreakdownByID") { + // uncomment below to test visualizeRecipePriceBreakdownByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val defaultCss : kotlin.Boolean = false // kotlin.Boolean | Whether the default CSS should be added to the response. + //val result : kotlin.String = apiInstance.visualizeRecipePriceBreakdownByID(id, defaultCss) + //result shouldBe ("TODO") + } + + // to test visualizeRecipeTaste + should("test visualizeRecipeTaste") { + // uncomment below to test visualizeRecipeTaste + //val ingredientList : kotlin.String = ingredientList_example // kotlin.String | The ingredient list of the recipe, one ingredient per line. + //val language : kotlin.String = en // kotlin.String | The language of the input. Either 'en' or 'de'. + //val normalize : kotlin.Boolean = true // kotlin.Boolean | Normalize to the strongest taste. + //val rgb : kotlin.String = rgb_example // kotlin.String | Red, green, blue values for the chart color. + //val result : kotlin.String = apiInstance.visualizeRecipeTaste(ingredientList, language, normalize, rgb) + //result shouldBe ("TODO") + } + + // to test visualizeRecipeTasteByID + should("test visualizeRecipeTasteByID") { + // uncomment below to test visualizeRecipeTasteByID + //val id : kotlin.Int = 1 // kotlin.Int | The item's id. + //val normalize : kotlin.Boolean = true // kotlin.Boolean | Whether to normalize to the strongest taste. + //val rgb : kotlin.String = 75,192,192 // kotlin.String | Red, green, blue values for the chart color. + //val result : kotlin.String = apiInstance.visualizeRecipeTasteByID(id, normalize, rgb) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/WineApiTest.kt b/kotlin/src/test/kotlin/com/spoonacular/WineApiTest.kt new file mode 100644 index 000000000..d6d5fe954 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/WineApiTest.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.WineApi +import com.spoonacular.client.model.GetDishPairingForWine200Response +import com.spoonacular.client.model.GetWineDescription200Response +import com.spoonacular.client.model.GetWinePairing200Response +import com.spoonacular.client.model.GetWineRecommendation200Response + +class WineApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of WineApi + //val apiInstance = WineApi() + + // to test getDishPairingForWine + should("test getDishPairingForWine") { + // uncomment below to test getDishPairingForWine + //val wine : kotlin.String = malbec // kotlin.String | The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". + //val result : GetDishPairingForWine200Response = apiInstance.getDishPairingForWine(wine) + //result shouldBe ("TODO") + } + + // to test getWineDescription + should("test getWineDescription") { + // uncomment below to test getWineDescription + //val wine : kotlin.String = merlot // kotlin.String | The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". + //val result : GetWineDescription200Response = apiInstance.getWineDescription(wine) + //result shouldBe ("TODO") + } + + // to test getWinePairing + should("test getWinePairing") { + // uncomment below to test getWinePairing + //val food : kotlin.String = steak // kotlin.String | The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). + //val maxPrice : java.math.BigDecimal = 50 // java.math.BigDecimal | The maximum price for the specific wine recommendation in USD. + //val result : GetWinePairing200Response = apiInstance.getWinePairing(food, maxPrice) + //result shouldBe ("TODO") + } + + // to test getWineRecommendation + should("test getWineRecommendation") { + // uncomment below to test getWineRecommendation + //val wine : kotlin.String = merlot // kotlin.String | The type of wine to get a specific product recommendation for. + //val maxPrice : java.math.BigDecimal = 50 // java.math.BigDecimal | The maximum price for the specific wine recommendation in USD. + //val minRating : java.math.BigDecimal = 0.7 // java.math.BigDecimal | The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. + //val number : java.math.BigDecimal = 3 // java.math.BigDecimal | The number of wine recommendations expected (between 1 and 100). + //val result : GetWineRecommendation200Response = apiInstance.getWineRecommendation(wine, maxPrice, minRating, number) + //result shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerTest.kt new file mode 100644 index 000000000..e8f95c0e8 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddMealPlanTemplate200ResponseItemsInner +import com.spoonacular.client.model.AddMealPlanTemplate200ResponseItemsInnerValue + +class AddMealPlanTemplate200ResponseItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddMealPlanTemplate200ResponseItemsInner + //val modelInstance = AddMealPlanTemplate200ResponseItemsInner() + + // to test the property `day` + should("test day") { + // uncomment below to test the property + //modelInstance.day shouldBe ("TODO") + } + + // to test the property `slot` + should("test slot") { + // uncomment below to test the property + //modelInstance.slot shouldBe ("TODO") + } + + // to test the property `position` + should("test position") { + // uncomment below to test the property + //modelInstance.position shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValueTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValueTest.kt new file mode 100644 index 000000000..a0abc5181 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseItemsInnerValueTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddMealPlanTemplate200ResponseItemsInnerValue + +class AddMealPlanTemplate200ResponseItemsInnerValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddMealPlanTemplate200ResponseItemsInnerValue + //val modelInstance = AddMealPlanTemplate200ResponseItemsInnerValue() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseTest.kt new file mode 100644 index 000000000..42df28279 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddMealPlanTemplate200ResponseTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddMealPlanTemplate200Response +import com.spoonacular.client.model.AddMealPlanTemplate200ResponseItemsInner + +class AddMealPlanTemplate200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddMealPlanTemplate200Response + //val modelInstance = AddMealPlanTemplate200Response() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `publishAsPublic` + should("test publishAsPublic") { + // uncomment below to test the property + //modelInstance.publishAsPublic shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestTest.kt new file mode 100644 index 000000000..13d50dadb --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddToMealPlanRequest +import com.spoonacular.client.model.AddToMealPlanRequestValue + +class AddToMealPlanRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddToMealPlanRequest + //val modelInstance = AddToMealPlanRequest() + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `slot` + should("test slot") { + // uncomment below to test the property + //modelInstance.slot shouldBe ("TODO") + } + + // to test the property `position` + should("test position") { + // uncomment below to test the property + //modelInstance.position shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInnerTest.kt new file mode 100644 index 000000000..74742a238 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueIngredientsInnerTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddToMealPlanRequestValueIngredientsInner + +class AddToMealPlanRequestValueIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddToMealPlanRequestValueIngredientsInner + //val modelInstance = AddToMealPlanRequestValueIngredientsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueTest.kt new file mode 100644 index 000000000..67b91795f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToMealPlanRequestValueTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddToMealPlanRequestValue +import com.spoonacular.client.model.AddToMealPlanRequestValueIngredientsInner + +class AddToMealPlanRequestValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddToMealPlanRequestValue + //val modelInstance = AddToMealPlanRequestValue() + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToShoppingListRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToShoppingListRequestTest.kt new file mode 100644 index 000000000..537f8d5a7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AddToShoppingListRequestTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AddToShoppingListRequest + +class AddToShoppingListRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddToShoppingListRequest + //val modelInstance = AddToShoppingListRequest() + + // to test the property `item` + should("test item") { + // uncomment below to test the property + //modelInstance.item shouldBe ("TODO") + } + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `parse` + should("test parse") { + // uncomment below to test the property + //modelInstance.parse shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.kt new file mode 100644 index 000000000..67ce8a2b3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeARecipeSearchQuery200ResponseDishesInner + +class AnalyzeARecipeSearchQuery200ResponseDishesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeARecipeSearchQuery200ResponseDishesInner + //val modelInstance = AnalyzeARecipeSearchQuery200ResponseDishesInner() + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..c3a8fa088 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeARecipeSearchQuery200ResponseIngredientsInner + +class AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeARecipeSearchQuery200ResponseIngredientsInner + //val modelInstance = AnalyzeARecipeSearchQuery200ResponseIngredientsInner() + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `include` + should("test include") { + // uncomment below to test the property + //modelInstance.include shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseTest.kt new file mode 100644 index 000000000..8ef814095 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeARecipeSearchQuery200ResponseTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeARecipeSearchQuery200Response +import com.spoonacular.client.model.AnalyzeARecipeSearchQuery200ResponseDishesInner +import com.spoonacular.client.model.AnalyzeARecipeSearchQuery200ResponseIngredientsInner + +class AnalyzeARecipeSearchQuery200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeARecipeSearchQuery200Response + //val modelInstance = AnalyzeARecipeSearchQuery200Response() + + // to test the property `dishes` + should("test dishes") { + // uncomment below to test the property + //modelInstance.dishes shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `cuisines` + should("test cuisines") { + // uncomment below to test the property + //modelInstance.cuisines shouldBe ("TODO") + } + + // to test the property `modifiers` + should("test modifiers") { + // uncomment below to test the property + //modelInstance.modifiers shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..9affe4710 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseIngredientsInner + +class AnalyzeRecipeInstructions200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeRecipeInstructions200ResponseIngredientsInner + //val modelInstance = AnalyzeRecipeInstructions200ResponseIngredientsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt new file mode 100644 index 000000000..4f3cbd8c3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner + +class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner + //val modelInstance = AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `localizedName` + should("test localizedName") { + // uncomment below to test the property + //modelInstance.localizedName shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt new file mode 100644 index 000000000..570502e73 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner + +class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner + //val modelInstance = AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner() + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + // to test the property `step` + should("test step") { + // uncomment below to test the property + //modelInstance.step shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `equipment` + should("test equipment") { + // uncomment below to test the property + //modelInstance.equipment shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.kt new file mode 100644 index 000000000..98376cb82 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInner +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner + +class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInner + //val modelInstance = AnalyzeRecipeInstructions200ResponseParsedInstructionsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `steps` + should("test steps") { + // uncomment below to test the property + //modelInstance.steps shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseTest.kt new file mode 100644 index 000000000..9f57dafca --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeRecipeInstructions200Response +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseIngredientsInner +import com.spoonacular.client.model.AnalyzeRecipeInstructions200ResponseParsedInstructionsInner + +class AnalyzeRecipeInstructions200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeRecipeInstructions200Response + //val modelInstance = AnalyzeRecipeInstructions200Response() + + // to test the property `parsedInstructions` + should("test parsedInstructions") { + // uncomment below to test the property + //modelInstance.parsedInstructions shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `equipment` + should("test equipment") { + // uncomment below to test the property + //modelInstance.equipment shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequestTest.kt new file mode 100644 index 000000000..59cd969e2 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeRequestTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AnalyzeRecipeRequest + +class AnalyzeRecipeRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of AnalyzeRecipeRequest + //val modelInstance = AnalyzeRecipeRequest() + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `instructions` + should("test instructions") { + // uncomment below to test the property + //modelInstance.instructions shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInnerTest.kt new file mode 100644 index 000000000..174d815da --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteIngredientSearch200ResponseInnerTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AutocompleteIngredientSearch200ResponseInner + +class AutocompleteIngredientSearch200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AutocompleteIngredientSearch200ResponseInner + //val modelInstance = AutocompleteIngredientSearch200ResponseInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `possibleUnits` + should("test possibleUnits") { + // uncomment below to test the property + //modelInstance.possibleUnits shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200ResponseTest.kt new file mode 100644 index 000000000..96572affc --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteMenuItemSearch200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AutocompleteMenuItemSearch200Response +import com.spoonacular.client.model.AutocompleteProductSearch200ResponseResultsInner + +class AutocompleteMenuItemSearch200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of AutocompleteMenuItemSearch200Response + //val modelInstance = AutocompleteMenuItemSearch200Response() + + // to test the property `results` + should("test results") { + // uncomment below to test the property + //modelInstance.results shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInnerTest.kt new file mode 100644 index 000000000..da8a61227 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseResultsInnerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AutocompleteProductSearch200ResponseResultsInner + +class AutocompleteProductSearch200ResponseResultsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AutocompleteProductSearch200ResponseResultsInner + //val modelInstance = AutocompleteProductSearch200ResponseResultsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseTest.kt new file mode 100644 index 000000000..75076d7c1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteProductSearch200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AutocompleteProductSearch200Response +import com.spoonacular.client.model.AutocompleteProductSearch200ResponseResultsInner + +class AutocompleteProductSearch200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of AutocompleteProductSearch200Response + //val modelInstance = AutocompleteProductSearch200Response() + + // to test the property `results` + should("test results") { + // uncomment below to test the property + //modelInstance.results shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInnerTest.kt new file mode 100644 index 000000000..5716621ac --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/AutocompleteRecipeSearch200ResponseInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.AutocompleteRecipeSearch200ResponseInner + +class AutocompleteRecipeSearch200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of AutocompleteRecipeSearch200ResponseInner + //val modelInstance = AutocompleteRecipeSearch200ResponseInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyCuisine200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyCuisine200ResponseTest.kt new file mode 100644 index 000000000..3bb2f27be --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyCuisine200ResponseTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ClassifyCuisine200Response + +class ClassifyCuisine200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ClassifyCuisine200Response + //val modelInstance = ClassifyCuisine200Response() + + // to test the property `cuisine` + should("test cuisine") { + // uncomment below to test the property + //modelInstance.cuisine shouldBe ("TODO") + } + + // to test the property `cuisines` + should("test cuisines") { + // uncomment below to test the property + //modelInstance.cuisines shouldBe ("TODO") + } + + // to test the property `confidence` + should("test confidence") { + // uncomment below to test the property + //modelInstance.confidence shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200ResponseTest.kt new file mode 100644 index 000000000..44ef99d26 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProduct200ResponseTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ClassifyGroceryProduct200Response + +class ClassifyGroceryProduct200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ClassifyGroceryProduct200Response + //val modelInstance = ClassifyGroceryProduct200Response() + + // to test the property `cleanTitle` + should("test cleanTitle") { + // uncomment below to test the property + //modelInstance.cleanTitle shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `category` + should("test category") { + // uncomment below to test the property + //modelInstance.category shouldBe ("TODO") + } + + // to test the property `breadcrumbs` + should("test breadcrumbs") { + // uncomment below to test the property + //modelInstance.breadcrumbs shouldBe ("TODO") + } + + // to test the property `usdaCode` + should("test usdaCode") { + // uncomment below to test the property + //modelInstance.usdaCode shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInnerTest.kt new file mode 100644 index 000000000..79838b104 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulk200ResponseInnerTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ClassifyGroceryProductBulk200ResponseInner + +class ClassifyGroceryProductBulk200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ClassifyGroceryProductBulk200ResponseInner + //val modelInstance = ClassifyGroceryProductBulk200ResponseInner() + + // to test the property `cleanTitle` + should("test cleanTitle") { + // uncomment below to test the property + //modelInstance.cleanTitle shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `category` + should("test category") { + // uncomment below to test the property + //modelInstance.category shouldBe ("TODO") + } + + // to test the property `breadcrumbs` + should("test breadcrumbs") { + // uncomment below to test the property + //modelInstance.breadcrumbs shouldBe ("TODO") + } + + // to test the property `usdaCode` + should("test usdaCode") { + // uncomment below to test the property + //modelInstance.usdaCode shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInnerTest.kt new file mode 100644 index 000000000..059cbbe4c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductBulkRequestInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ClassifyGroceryProductBulkRequestInner + +class ClassifyGroceryProductBulkRequestInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ClassifyGroceryProductBulkRequestInner + //val modelInstance = ClassifyGroceryProductBulkRequestInner() + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `upc` + should("test upc") { + // uncomment below to test the property + //modelInstance.upc shouldBe ("TODO") + } + + // to test the property `pluCode` + should("test pluCode") { + // uncomment below to test the property + //modelInstance.pluCode shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequestTest.kt new file mode 100644 index 000000000..4a67c11cd --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ClassifyGroceryProductRequestTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ClassifyGroceryProductRequest + +class ClassifyGroceryProductRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of ClassifyGroceryProductRequest + //val modelInstance = ClassifyGroceryProductRequest() + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `upc` + should("test upc") { + // uncomment below to test the property + //modelInstance.upc shouldBe ("TODO") + } + + // to test the property `pluCode` + should("test pluCode") { + // uncomment below to test the property + //modelInstance.pluCode shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..483b87733 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ComputeGlycemicLoad200ResponseIngredientsInner + +class ComputeGlycemicLoad200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ComputeGlycemicLoad200ResponseIngredientsInner + //val modelInstance = ComputeGlycemicLoad200ResponseIngredientsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `glycemicIndex` + should("test glycemicIndex") { + // uncomment below to test the property + //modelInstance.glycemicIndex shouldBe ("TODO") + } + + // to test the property `glycemicLoad` + should("test glycemicLoad") { + // uncomment below to test the property + //modelInstance.glycemicLoad shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseTest.kt new file mode 100644 index 000000000..9a3e658e3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoad200ResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ComputeGlycemicLoad200Response +import com.spoonacular.client.model.ComputeGlycemicLoad200ResponseIngredientsInner + +class ComputeGlycemicLoad200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ComputeGlycemicLoad200Response + //val modelInstance = ComputeGlycemicLoad200Response() + + // to test the property `totalGlycemicLoad` + should("test totalGlycemicLoad") { + // uncomment below to test the property + //modelInstance.totalGlycemicLoad shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequestTest.kt new file mode 100644 index 000000000..27a27e712 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeGlycemicLoadRequestTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ComputeGlycemicLoadRequest + +class ComputeGlycemicLoadRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of ComputeGlycemicLoadRequest + //val modelInstance = ComputeGlycemicLoadRequest() + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200ResponseTest.kt new file mode 100644 index 000000000..ff6b4023c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ComputeIngredientAmount200ResponseTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ComputeIngredientAmount200Response + +class ComputeIngredientAmount200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ComputeIngredientAmount200Response + //val modelInstance = ComputeIngredientAmount200Response() + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ConnectUser200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ConnectUser200ResponseTest.kt new file mode 100644 index 000000000..6feafe6e8 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ConnectUser200ResponseTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ConnectUser200Response + +class ConnectUser200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ConnectUser200Response + //val modelInstance = ConnectUser200Response() + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + // to test the property `hash` + should("test hash") { + // uncomment below to test the property + //modelInstance.hash shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ConnectUserRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ConnectUserRequestTest.kt new file mode 100644 index 000000000..4b6381920 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ConnectUserRequestTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ConnectUserRequest + +class ConnectUserRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of ConnectUserRequest + //val modelInstance = ConnectUserRequest() + + // to test the property `username` + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + // to test the property `firstName` + should("test firstName") { + // uncomment below to test the property + //modelInstance.firstName shouldBe ("TODO") + } + + // to test the property `lastName` + should("test lastName") { + // uncomment below to test the property + //modelInstance.lastName shouldBe ("TODO") + } + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ConvertAmounts200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ConvertAmounts200ResponseTest.kt new file mode 100644 index 000000000..a82c477bb --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ConvertAmounts200ResponseTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ConvertAmounts200Response + +class ConvertAmounts200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ConvertAmounts200Response + //val modelInstance = ConvertAmounts200Response() + + // to test the property `sourceAmount` + should("test sourceAmount") { + // uncomment below to test the property + //modelInstance.sourceAmount shouldBe ("TODO") + } + + // to test the property `sourceUnit` + should("test sourceUnit") { + // uncomment below to test the property + //modelInstance.sourceUnit shouldBe ("TODO") + } + + // to test the property `targetAmount` + should("test targetAmount") { + // uncomment below to test the property + //modelInstance.targetAmount shouldBe ("TODO") + } + + // to test the property `targetUnit` + should("test targetUnit") { + // uncomment below to test the property + //modelInstance.targetUnit shouldBe ("TODO") + } + + // to test the property `answer` + should("test answer") { + // uncomment below to test the property + //modelInstance.answer shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/CreateRecipeCard200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/CreateRecipeCard200ResponseTest.kt new file mode 100644 index 000000000..179877f6f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/CreateRecipeCard200ResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.CreateRecipeCard200Response + +class CreateRecipeCard200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateRecipeCard200Response + //val modelInstance = CreateRecipeCard200Response() + + // to test the property `url` + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInnerTest.kt new file mode 100644 index 000000000..e7e455e48 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseAnnotationsInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.DetectFoodInText200ResponseAnnotationsInner + +class DetectFoodInText200ResponseAnnotationsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of DetectFoodInText200ResponseAnnotationsInner + //val modelInstance = DetectFoodInText200ResponseAnnotationsInner() + + // to test the property ``annotation`` + should("test `annotation`") { + // uncomment below to test the property + //modelInstance.`annotation` shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `tag` + should("test tag") { + // uncomment below to test the property + //modelInstance.tag shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseTest.kt new file mode 100644 index 000000000..3daab712d --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/DetectFoodInText200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.DetectFoodInText200Response +import com.spoonacular.client.model.DetectFoodInText200ResponseAnnotationsInner + +class DetectFoodInText200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of DetectFoodInText200Response + //val modelInstance = DetectFoodInText200Response() + + // to test the property `annotations` + should("test annotations") { + // uncomment below to test the property + //modelInstance.annotations shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrientsTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrientsTest.kt new file mode 100644 index 000000000..0ffbc032a --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseNutrientsTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GenerateMealPlan200ResponseNutrients + +class GenerateMealPlan200ResponseNutrientsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GenerateMealPlan200ResponseNutrients + //val modelInstance = GenerateMealPlan200ResponseNutrients() + + // to test the property `calories` + should("test calories") { + // uncomment below to test the property + //modelInstance.calories shouldBe ("TODO") + } + + // to test the property `carbohydrates` + should("test carbohydrates") { + // uncomment below to test the property + //modelInstance.carbohydrates shouldBe ("TODO") + } + + // to test the property `fat` + should("test fat") { + // uncomment below to test the property + //modelInstance.fat shouldBe ("TODO") + } + + // to test the property `protein` + should("test protein") { + // uncomment below to test the property + //modelInstance.protein shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseTest.kt new file mode 100644 index 000000000..70fdf62d4 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateMealPlan200ResponseTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GenerateMealPlan200Response +import com.spoonacular.client.model.GenerateMealPlan200ResponseNutrients +import com.spoonacular.client.model.GetSimilarRecipes200ResponseInner + +class GenerateMealPlan200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GenerateMealPlan200Response + //val modelInstance = GenerateMealPlan200Response() + + // to test the property `meals` + should("test meals") { + // uncomment below to test the property + //modelInstance.meals shouldBe ("TODO") + } + + // to test the property `nutrients` + should("test nutrients") { + // uncomment below to test the property + //modelInstance.nutrients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateShoppingList200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateShoppingList200ResponseTest.kt new file mode 100644 index 000000000..0b8138ea5 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GenerateShoppingList200ResponseTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GenerateShoppingList200Response +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInner + +class GenerateShoppingList200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GenerateShoppingList200Response + //val modelInstance = GenerateShoppingList200Response() + + // to test the property `aisles` + should("test aisles") { + // uncomment below to test the property + //modelInstance.aisles shouldBe ("TODO") + } + + // to test the property `cost` + should("test cost") { + // uncomment below to test the property + //modelInstance.cost shouldBe ("TODO") + } + + // to test the property `startDate` + should("test startDate") { + // uncomment below to test the property + //modelInstance.startDate shouldBe ("TODO") + } + + // to test the property `endDate` + should("test endDate") { + // uncomment below to test the property + //modelInstance.endDate shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200ResponseTest.kt new file mode 100644 index 000000000..81ac18c78 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetARandomFoodJoke200ResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetARandomFoodJoke200Response + +class GetARandomFoodJoke200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetARandomFoodJoke200Response + //val modelInstance = GetARandomFoodJoke200Response() + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..50a544820 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseIngredientsInner + +class GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAnalyzedRecipeInstructions200ResponseIngredientsInner + //val modelInstance = GetAnalyzedRecipeInstructions200ResponseIngredientsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt new file mode 100644 index 000000000..7cab36e38 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner + +class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner + //val modelInstance = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `localizedName` + should("test localizedName") { + // uncomment below to test the property + //modelInstance.localizedName shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt new file mode 100644 index 000000000..23fa1fac1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner + +class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner + //val modelInstance = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner() + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + // to test the property `step` + should("test step") { + // uncomment below to test the property + //modelInstance.step shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `equipment` + should("test equipment") { + // uncomment below to test the property + //modelInstance.equipment shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.kt new file mode 100644 index 000000000..1e2730e9c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner + +class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner + //val modelInstance = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `steps` + should("test steps") { + // uncomment below to test the property + //modelInstance.steps shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseTest.kt new file mode 100644 index 000000000..4d71c95a6 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetAnalyzedRecipeInstructions200ResponseTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200Response +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseIngredientsInner +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner + +class GetAnalyzedRecipeInstructions200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAnalyzedRecipeInstructions200Response + //val modelInstance = GetAnalyzedRecipeInstructions200Response() + + // to test the property `parsedInstructions` + should("test parsedInstructions") { + // uncomment below to test the property + //modelInstance.parsedInstructions shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `equipment` + should("test equipment") { + // uncomment below to test the property + //modelInstance.equipment shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.kt new file mode 100644 index 000000000..6caf76ba1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetComparableProducts200ResponseComparableProductsProteinInner + +class GetComparableProducts200ResponseComparableProductsProteinInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetComparableProducts200ResponseComparableProductsProteinInner + //val modelInstance = GetComparableProducts200ResponseComparableProductsProteinInner() + + // to test the property `difference` + should("test difference") { + // uncomment below to test the property + //modelInstance.difference shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsTest.kt new file mode 100644 index 000000000..a1aad1ce7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseComparableProductsTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetComparableProducts200ResponseComparableProducts +import com.spoonacular.client.model.GetComparableProducts200ResponseComparableProductsProteinInner + +class GetComparableProducts200ResponseComparableProductsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetComparableProducts200ResponseComparableProducts + //val modelInstance = GetComparableProducts200ResponseComparableProducts() + + // to test the property `calories` + should("test calories") { + // uncomment below to test the property + //modelInstance.calories shouldBe ("TODO") + } + + // to test the property `likes` + should("test likes") { + // uncomment below to test the property + //modelInstance.likes shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `protein` + should("test protein") { + // uncomment below to test the property + //modelInstance.protein shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + // to test the property `sugar` + should("test sugar") { + // uncomment below to test the property + //modelInstance.sugar shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseTest.kt new file mode 100644 index 000000000..9334119a4 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetComparableProducts200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetComparableProducts200Response +import com.spoonacular.client.model.GetComparableProducts200ResponseComparableProducts + +class GetComparableProducts200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetComparableProducts200Response + //val modelInstance = GetComparableProducts200Response() + + // to test the property `comparableProducts` + should("test comparableProducts") { + // uncomment below to test the property + //modelInstance.comparableProducts shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInnerTest.kt new file mode 100644 index 000000000..d0babf874 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsInnerTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetConversationSuggests200ResponseSuggestsInner + +class GetConversationSuggests200ResponseSuggestsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetConversationSuggests200ResponseSuggestsInner + //val modelInstance = GetConversationSuggests200ResponseSuggestsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsTest.kt new file mode 100644 index 000000000..47b7041e7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseSuggestsTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetConversationSuggests200ResponseSuggests +import com.spoonacular.client.model.GetConversationSuggests200ResponseSuggestsInner + +class GetConversationSuggests200ResponseSuggestsTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetConversationSuggests200ResponseSuggests + //val modelInstance = GetConversationSuggests200ResponseSuggests() + + // to test the property `underscore` + should("test underscore") { + // uncomment below to test the property + //modelInstance.underscore shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseTest.kt new file mode 100644 index 000000000..30c5b8c94 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetConversationSuggests200ResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetConversationSuggests200Response +import com.spoonacular.client.model.GetConversationSuggests200ResponseSuggests + +class GetConversationSuggests200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetConversationSuggests200Response + //val modelInstance = GetConversationSuggests200Response() + + // to test the property `suggests` + should("test suggests") { + // uncomment below to test the property + //modelInstance.suggests shouldBe ("TODO") + } + + // to test the property `words` + should("test words") { + // uncomment below to test the property + //modelInstance.words shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetDishPairingForWine200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetDishPairingForWine200ResponseTest.kt new file mode 100644 index 000000000..d929a6549 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetDishPairingForWine200ResponseTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetDishPairingForWine200Response + +class GetDishPairingForWine200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetDishPairingForWine200Response + //val modelInstance = GetDishPairingForWine200Response() + + // to test the property `pairings` + should("test pairings") { + // uncomment below to test the property + //modelInstance.pairings shouldBe ("TODO") + } + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutritionTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutritionTest.kt new file mode 100644 index 000000000..e3dc1f01f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseNutritionTest.kt @@ -0,0 +1,57 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetIngredientInformation200ResponseNutrition +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionNutrientsInner +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionPropertiesInner +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionWeightPerServing + +class GetIngredientInformation200ResponseNutritionTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetIngredientInformation200ResponseNutrition + //val modelInstance = GetIngredientInformation200ResponseNutrition() + + // to test the property `nutrients` + should("test nutrients") { + // uncomment below to test the property + //modelInstance.nutrients shouldBe ("TODO") + } + + // to test the property `properties` + should("test properties") { + // uncomment below to test the property + //modelInstance.properties shouldBe ("TODO") + } + + // to test the property `caloricBreakdown` + should("test caloricBreakdown") { + // uncomment below to test the property + //modelInstance.caloricBreakdown shouldBe ("TODO") + } + + // to test the property `weightPerServing` + should("test weightPerServing") { + // uncomment below to test the property + //modelInstance.weightPerServing shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseTest.kt new file mode 100644 index 000000000..1b2ecde57 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientInformation200ResponseTest.kt @@ -0,0 +1,139 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetIngredientInformation200Response +import com.spoonacular.client.model.GetIngredientInformation200ResponseNutrition +import com.spoonacular.client.model.ParseIngredients200ResponseInnerEstimatedCost + +class GetIngredientInformation200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetIngredientInformation200Response + //val modelInstance = GetIngredientInformation200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `originalName` + should("test originalName") { + // uncomment below to test the property + //modelInstance.originalName shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nameClean` + should("test nameClean") { + // uncomment below to test the property + //modelInstance.nameClean shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `unitShort` + should("test unitShort") { + // uncomment below to test the property + //modelInstance.unitShort shouldBe ("TODO") + } + + // to test the property `unitLong` + should("test unitLong") { + // uncomment below to test the property + //modelInstance.unitLong shouldBe ("TODO") + } + + // to test the property `possibleUnits` + should("test possibleUnits") { + // uncomment below to test the property + //modelInstance.possibleUnits shouldBe ("TODO") + } + + // to test the property `estimatedCost` + should("test estimatedCost") { + // uncomment below to test the property + //modelInstance.estimatedCost shouldBe ("TODO") + } + + // to test the property `consistency` + should("test consistency") { + // uncomment below to test the property + //modelInstance.consistency shouldBe ("TODO") + } + + // to test the property `shoppingListUnits` + should("test shoppingListUnits") { + // uncomment below to test the property + //modelInstance.shoppingListUnits shouldBe ("TODO") + } + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `meta` + should("test meta") { + // uncomment below to test the property + //modelInstance.meta shouldBe ("TODO") + } + + // to test the property `nutrition` + should("test nutrition") { + // uncomment below to test the property + //modelInstance.nutrition shouldBe ("TODO") + } + + // to test the property `categoryPath` + should("test categoryPath") { + // uncomment below to test the property + //modelInstance.categoryPath shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200ResponseTest.kt new file mode 100644 index 000000000..aaf0bdd98 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetIngredientSubstitutes200ResponseTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetIngredientSubstitutes200Response + +class GetIngredientSubstitutes200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetIngredientSubstitutes200Response + //val modelInstance = GetIngredientSubstitutes200Response() + + // to test the property `ingredient` + should("test ingredient") { + // uncomment below to test the property + //modelInstance.ingredient shouldBe ("TODO") + } + + // to test the property `substitutes` + should("test substitutes") { + // uncomment below to test the property + //modelInstance.substitutes shouldBe ("TODO") + } + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.kt new file mode 100644 index 000000000..bb7e38e8a --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanTemplate200ResponseDaysInnerItemsInner +import com.spoonacular.client.model.GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue + +class GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanTemplate200ResponseDaysInnerItemsInner + //val modelInstance = GetMealPlanTemplate200ResponseDaysInnerItemsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `slot` + should("test slot") { + // uncomment below to test the property + //modelInstance.slot shouldBe ("TODO") + } + + // to test the property `position` + should("test position") { + // uncomment below to test the property + //modelInstance.position shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.kt new file mode 100644 index 000000000..25c4f7b7f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue + +class GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue + //val modelInstance = GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerTest.kt new file mode 100644 index 000000000..d1a6a2141 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseDaysInnerTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanTemplate200ResponseDaysInner +import com.spoonacular.client.model.GetMealPlanTemplate200ResponseDaysInnerItemsInner +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummary + +class GetMealPlanTemplate200ResponseDaysInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanTemplate200ResponseDaysInner + //val modelInstance = GetMealPlanTemplate200ResponseDaysInner() + + // to test the property `day` + should("test day") { + // uncomment below to test the property + //modelInstance.day shouldBe ("TODO") + } + + // to test the property `nutritionSummary` + should("test nutritionSummary") { + // uncomment below to test the property + //modelInstance.nutritionSummary shouldBe ("TODO") + } + + // to test the property `nutritionSummaryBreakfast` + should("test nutritionSummaryBreakfast") { + // uncomment below to test the property + //modelInstance.nutritionSummaryBreakfast shouldBe ("TODO") + } + + // to test the property `nutritionSummaryLunch` + should("test nutritionSummaryLunch") { + // uncomment below to test the property + //modelInstance.nutritionSummaryLunch shouldBe ("TODO") + } + + // to test the property `nutritionSummaryDinner` + should("test nutritionSummaryDinner") { + // uncomment below to test the property + //modelInstance.nutritionSummaryDinner shouldBe ("TODO") + } + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseTest.kt new file mode 100644 index 000000000..1bc0e6944 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplate200ResponseTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanTemplate200Response +import com.spoonacular.client.model.GetMealPlanTemplate200ResponseDaysInner + +class GetMealPlanTemplate200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanTemplate200Response + //val modelInstance = GetMealPlanTemplate200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `days` + should("test days") { + // uncomment below to test the property + //modelInstance.days shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200ResponseTest.kt new file mode 100644 index 000000000..a460e9f85 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanTemplates200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanTemplates200Response +import com.spoonacular.client.model.GetAnalyzedRecipeInstructions200ResponseIngredientsInner + +class GetMealPlanTemplates200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanTemplates200Response + //val modelInstance = GetMealPlanTemplates200Response() + + // to test the property `templates` + should("test templates") { + // uncomment below to test the property + //modelInstance.templates shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.kt new file mode 100644 index 000000000..88e80b9dc --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerItemsInner +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerItemsInnerValue + +class GetMealPlanWeek200ResponseDaysInnerItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanWeek200ResponseDaysInnerItemsInner + //val modelInstance = GetMealPlanWeek200ResponseDaysInnerItemsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `slot` + should("test slot") { + // uncomment below to test the property + //modelInstance.slot shouldBe ("TODO") + } + + // to test the property `position` + should("test position") { + // uncomment below to test the property + //modelInstance.position shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.kt new file mode 100644 index 000000000..dfe74429c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerItemsInnerValue + +class GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanWeek200ResponseDaysInnerItemsInnerValue + //val modelInstance = GetMealPlanWeek200ResponseDaysInnerItemsInnerValue() + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.kt new file mode 100644 index 000000000..c2b7cdee4 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner + +class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner + //val modelInstance = GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `percentDailyNeeds` + should("test percentDailyNeeds") { + // uncomment below to test the property + //modelInstance.percentDailyNeeds shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.kt new file mode 100644 index 000000000..0ca64d965 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummary +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner + +class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanWeek200ResponseDaysInnerNutritionSummary + //val modelInstance = GetMealPlanWeek200ResponseDaysInnerNutritionSummary() + + // to test the property `nutrients` + should("test nutrients") { + // uncomment below to test the property + //modelInstance.nutrients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerTest.kt new file mode 100644 index 000000000..5a1bb90c5 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseDaysInnerTest.kt @@ -0,0 +1,73 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInner +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerItemsInner +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInnerNutritionSummary + +class GetMealPlanWeek200ResponseDaysInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanWeek200ResponseDaysInner + //val modelInstance = GetMealPlanWeek200ResponseDaysInner() + + // to test the property `date` + should("test date") { + // uncomment below to test the property + //modelInstance.date shouldBe ("TODO") + } + + // to test the property `day` + should("test day") { + // uncomment below to test the property + //modelInstance.day shouldBe ("TODO") + } + + // to test the property `nutritionSummary` + should("test nutritionSummary") { + // uncomment below to test the property + //modelInstance.nutritionSummary shouldBe ("TODO") + } + + // to test the property `nutritionSummaryBreakfast` + should("test nutritionSummaryBreakfast") { + // uncomment below to test the property + //modelInstance.nutritionSummaryBreakfast shouldBe ("TODO") + } + + // to test the property `nutritionSummaryLunch` + should("test nutritionSummaryLunch") { + // uncomment below to test the property + //modelInstance.nutritionSummaryLunch shouldBe ("TODO") + } + + // to test the property `nutritionSummaryDinner` + should("test nutritionSummaryDinner") { + // uncomment below to test the property + //modelInstance.nutritionSummaryDinner shouldBe ("TODO") + } + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseTest.kt new file mode 100644 index 000000000..e99bb85ab --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMealPlanWeek200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMealPlanWeek200Response +import com.spoonacular.client.model.GetMealPlanWeek200ResponseDaysInner + +class GetMealPlanWeek200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMealPlanWeek200Response + //val modelInstance = GetMealPlanWeek200Response() + + // to test the property `days` + should("test days") { + // uncomment below to test the property + //modelInstance.days shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMenuItemInformation200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMenuItemInformation200ResponseTest.kt new file mode 100644 index 000000000..137153660 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetMenuItemInformation200ResponseTest.kt @@ -0,0 +1,103 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetMenuItemInformation200Response +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseNutrition +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseServings + +class GetMenuItemInformation200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMenuItemInformation200Response + //val modelInstance = GetMenuItemInformation200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `restaurantChain` + should("test restaurantChain") { + // uncomment below to test the property + //modelInstance.restaurantChain shouldBe ("TODO") + } + + // to test the property `nutrition` + should("test nutrition") { + // uncomment below to test the property + //modelInstance.nutrition shouldBe ("TODO") + } + + // to test the property `badges` + should("test badges") { + // uncomment below to test the property + //modelInstance.badges shouldBe ("TODO") + } + + // to test the property `breadcrumbs` + should("test breadcrumbs") { + // uncomment below to test the property + //modelInstance.breadcrumbs shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `likes` + should("test likes") { + // uncomment below to test the property + //modelInstance.likes shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `generatedText` + should("test generatedText") { + // uncomment below to test the property + //modelInstance.generatedText shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..f724f9ea1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseIngredientsInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetProductInformation200ResponseIngredientsInner + +class GetProductInformation200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetProductInformation200ResponseIngredientsInner + //val modelInstance = GetProductInformation200ResponseIngredientsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `safetyLevel` + should("test safetyLevel") { + // uncomment below to test the property + //modelInstance.safetyLevel shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseTest.kt new file mode 100644 index 000000000..9a807826f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetProductInformation200ResponseTest.kt @@ -0,0 +1,128 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetProductInformation200Response +import com.spoonacular.client.model.GetProductInformation200ResponseIngredientsInner +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseNutrition +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseServings + +class GetProductInformation200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetProductInformation200Response + //val modelInstance = GetProductInformation200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `breadcrumbs` + should("test breadcrumbs") { + // uncomment below to test the property + //modelInstance.breadcrumbs shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `badges` + should("test badges") { + // uncomment below to test the property + //modelInstance.badges shouldBe ("TODO") + } + + // to test the property `importantBadges` + should("test importantBadges") { + // uncomment below to test the property + //modelInstance.importantBadges shouldBe ("TODO") + } + + // to test the property `ingredientCount` + should("test ingredientCount") { + // uncomment below to test the property + //modelInstance.ingredientCount shouldBe ("TODO") + } + + // to test the property `ingredientList` + should("test ingredientList") { + // uncomment below to test the property + //modelInstance.ingredientList shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `likes` + should("test likes") { + // uncomment below to test the property + //modelInstance.likes shouldBe ("TODO") + } + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `nutrition` + should("test nutrition") { + // uncomment below to test the property + //modelInstance.nutrition shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + // to test the property `generatedText` + should("test generatedText") { + // uncomment below to test the property + //modelInstance.generatedText shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200ResponseTest.kt new file mode 100644 index 000000000..bea456e9d --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomFoodTrivia200ResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRandomFoodTrivia200Response + +class GetRandomFoodTrivia200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRandomFoodTrivia200Response + //val modelInstance = GetRandomFoodTrivia200Response() + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInnerTest.kt new file mode 100644 index 000000000..b64d38559 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseRecipesInnerTest.kt @@ -0,0 +1,253 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRandomRecipes200ResponseRecipesInner +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInner +import com.spoonacular.client.model.GetRecipeInformation200ResponseWinePairing + +class GetRandomRecipes200ResponseRecipesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRandomRecipes200ResponseRecipesInner + //val modelInstance = GetRandomRecipes200ResponseRecipesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `readyInMinutes` + should("test readyInMinutes") { + // uncomment below to test the property + //modelInstance.readyInMinutes shouldBe ("TODO") + } + + // to test the property `license` + should("test license") { + // uncomment below to test the property + //modelInstance.license shouldBe ("TODO") + } + + // to test the property `sourceName` + should("test sourceName") { + // uncomment below to test the property + //modelInstance.sourceName shouldBe ("TODO") + } + + // to test the property `sourceUrl` + should("test sourceUrl") { + // uncomment below to test the property + //modelInstance.sourceUrl shouldBe ("TODO") + } + + // to test the property `spoonacularSourceUrl` + should("test spoonacularSourceUrl") { + // uncomment below to test the property + //modelInstance.spoonacularSourceUrl shouldBe ("TODO") + } + + // to test the property `aggregateLikes` + should("test aggregateLikes") { + // uncomment below to test the property + //modelInstance.aggregateLikes shouldBe ("TODO") + } + + // to test the property `healthScore` + should("test healthScore") { + // uncomment below to test the property + //modelInstance.healthScore shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + // to test the property `pricePerServing` + should("test pricePerServing") { + // uncomment below to test the property + //modelInstance.pricePerServing shouldBe ("TODO") + } + + // to test the property `cheap` + should("test cheap") { + // uncomment below to test the property + //modelInstance.cheap shouldBe ("TODO") + } + + // to test the property `creditsText` + should("test creditsText") { + // uncomment below to test the property + //modelInstance.creditsText shouldBe ("TODO") + } + + // to test the property `dairyFree` + should("test dairyFree") { + // uncomment below to test the property + //modelInstance.dairyFree shouldBe ("TODO") + } + + // to test the property `gaps` + should("test gaps") { + // uncomment below to test the property + //modelInstance.gaps shouldBe ("TODO") + } + + // to test the property `glutenFree` + should("test glutenFree") { + // uncomment below to test the property + //modelInstance.glutenFree shouldBe ("TODO") + } + + // to test the property `instructions` + should("test instructions") { + // uncomment below to test the property + //modelInstance.instructions shouldBe ("TODO") + } + + // to test the property `ketogenic` + should("test ketogenic") { + // uncomment below to test the property + //modelInstance.ketogenic shouldBe ("TODO") + } + + // to test the property `lowFodmap` + should("test lowFodmap") { + // uncomment below to test the property + //modelInstance.lowFodmap shouldBe ("TODO") + } + + // to test the property `sustainable` + should("test sustainable") { + // uncomment below to test the property + //modelInstance.sustainable shouldBe ("TODO") + } + + // to test the property `vegan` + should("test vegan") { + // uncomment below to test the property + //modelInstance.vegan shouldBe ("TODO") + } + + // to test the property `vegetarian` + should("test vegetarian") { + // uncomment below to test the property + //modelInstance.vegetarian shouldBe ("TODO") + } + + // to test the property `veryHealthy` + should("test veryHealthy") { + // uncomment below to test the property + //modelInstance.veryHealthy shouldBe ("TODO") + } + + // to test the property `veryPopular` + should("test veryPopular") { + // uncomment below to test the property + //modelInstance.veryPopular shouldBe ("TODO") + } + + // to test the property `whole30` + should("test whole30") { + // uncomment below to test the property + //modelInstance.whole30 shouldBe ("TODO") + } + + // to test the property `weightWatcherSmartPoints` + should("test weightWatcherSmartPoints") { + // uncomment below to test the property + //modelInstance.weightWatcherSmartPoints shouldBe ("TODO") + } + + // to test the property `summary` + should("test summary") { + // uncomment below to test the property + //modelInstance.summary shouldBe ("TODO") + } + + // to test the property `analyzedInstructions` + should("test analyzedInstructions") { + // uncomment below to test the property + //modelInstance.analyzedInstructions shouldBe ("TODO") + } + + // to test the property `cuisines` + should("test cuisines") { + // uncomment below to test the property + //modelInstance.cuisines shouldBe ("TODO") + } + + // to test the property `diets` + should("test diets") { + // uncomment below to test the property + //modelInstance.diets shouldBe ("TODO") + } + + // to test the property `occasions` + should("test occasions") { + // uncomment below to test the property + //modelInstance.occasions shouldBe ("TODO") + } + + // to test the property `dishTypes` + should("test dishTypes") { + // uncomment below to test the property + //modelInstance.dishTypes shouldBe ("TODO") + } + + // to test the property `extendedIngredients` + should("test extendedIngredients") { + // uncomment below to test the property + //modelInstance.extendedIngredients shouldBe ("TODO") + } + + // to test the property `winePairing` + should("test winePairing") { + // uncomment below to test the property + //modelInstance.winePairing shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseTest.kt new file mode 100644 index 000000000..33b2bc3e6 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRandomRecipes200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRandomRecipes200Response +import com.spoonacular.client.model.GetRandomRecipes200ResponseRecipesInner + +class GetRandomRecipes200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRandomRecipes200Response + //val modelInstance = GetRandomRecipes200Response() + + // to test the property `recipes` + should("test recipes") { + // uncomment below to test the property + //modelInstance.recipes shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.kt new file mode 100644 index 000000000..e5b6be240 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeEquipmentByID200ResponseEquipmentInner + +class GetRecipeEquipmentByID200ResponseEquipmentInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeEquipmentByID200ResponseEquipmentInner + //val modelInstance = GetRecipeEquipmentByID200ResponseEquipmentInner() + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseTest.kt new file mode 100644 index 000000000..80ffc2fe7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeEquipmentByID200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeEquipmentByID200Response +import com.spoonacular.client.model.GetRecipeEquipmentByID200ResponseEquipmentInner + +class GetRecipeEquipmentByID200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeEquipmentByID200Response + //val modelInstance = GetRecipeEquipmentByID200Response() + + // to test the property `equipment` + should("test equipment") { + // uncomment below to test the property + //modelInstance.equipment shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.kt new file mode 100644 index 000000000..efbf389f2 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric + +class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric + //val modelInstance = GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric() + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unitLong` + should("test unitLong") { + // uncomment below to test the property + //modelInstance.unitLong shouldBe ("TODO") + } + + // to test the property `unitShort` + should("test unitShort") { + // uncomment below to test the property + //modelInstance.unitShort shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.kt new file mode 100644 index 000000000..10eb8691e --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric + +class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures + //val modelInstance = GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures() + + // to test the property `metric` + should("test metric") { + // uncomment below to test the property + //modelInstance.metric shouldBe ("TODO") + } + + // to test the property `us` + should("test us") { + // uncomment below to test the property + //modelInstance.us shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.kt new file mode 100644 index 000000000..bb943851c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.kt @@ -0,0 +1,96 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInner +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures + +class GetRecipeInformation200ResponseExtendedIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformation200ResponseExtendedIngredientsInner + //val modelInstance = GetRecipeInformation200ResponseExtendedIngredientsInner() + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `consitency` + should("test consitency") { + // uncomment below to test the property + //modelInstance.consitency shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `originalName` + should("test originalName") { + // uncomment below to test the property + //modelInstance.originalName shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `measures` + should("test measures") { + // uncomment below to test the property + //modelInstance.measures shouldBe ("TODO") + } + + // to test the property `meta` + should("test meta") { + // uncomment below to test the property + //modelInstance.meta shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseTest.kt new file mode 100644 index 000000000..7c5466cf3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseTest.kt @@ -0,0 +1,253 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformation200Response +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInner +import com.spoonacular.client.model.GetRecipeInformation200ResponseWinePairing + +class GetRecipeInformation200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformation200Response + //val modelInstance = GetRecipeInformation200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `readyInMinutes` + should("test readyInMinutes") { + // uncomment below to test the property + //modelInstance.readyInMinutes shouldBe ("TODO") + } + + // to test the property `license` + should("test license") { + // uncomment below to test the property + //modelInstance.license shouldBe ("TODO") + } + + // to test the property `sourceName` + should("test sourceName") { + // uncomment below to test the property + //modelInstance.sourceName shouldBe ("TODO") + } + + // to test the property `sourceUrl` + should("test sourceUrl") { + // uncomment below to test the property + //modelInstance.sourceUrl shouldBe ("TODO") + } + + // to test the property `spoonacularSourceUrl` + should("test spoonacularSourceUrl") { + // uncomment below to test the property + //modelInstance.spoonacularSourceUrl shouldBe ("TODO") + } + + // to test the property `aggregateLikes` + should("test aggregateLikes") { + // uncomment below to test the property + //modelInstance.aggregateLikes shouldBe ("TODO") + } + + // to test the property `healthScore` + should("test healthScore") { + // uncomment below to test the property + //modelInstance.healthScore shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + // to test the property `pricePerServing` + should("test pricePerServing") { + // uncomment below to test the property + //modelInstance.pricePerServing shouldBe ("TODO") + } + + // to test the property `analyzedInstructions` + should("test analyzedInstructions") { + // uncomment below to test the property + //modelInstance.analyzedInstructions shouldBe ("TODO") + } + + // to test the property `cheap` + should("test cheap") { + // uncomment below to test the property + //modelInstance.cheap shouldBe ("TODO") + } + + // to test the property `creditsText` + should("test creditsText") { + // uncomment below to test the property + //modelInstance.creditsText shouldBe ("TODO") + } + + // to test the property `cuisines` + should("test cuisines") { + // uncomment below to test the property + //modelInstance.cuisines shouldBe ("TODO") + } + + // to test the property `dairyFree` + should("test dairyFree") { + // uncomment below to test the property + //modelInstance.dairyFree shouldBe ("TODO") + } + + // to test the property `diets` + should("test diets") { + // uncomment below to test the property + //modelInstance.diets shouldBe ("TODO") + } + + // to test the property `gaps` + should("test gaps") { + // uncomment below to test the property + //modelInstance.gaps shouldBe ("TODO") + } + + // to test the property `glutenFree` + should("test glutenFree") { + // uncomment below to test the property + //modelInstance.glutenFree shouldBe ("TODO") + } + + // to test the property `instructions` + should("test instructions") { + // uncomment below to test the property + //modelInstance.instructions shouldBe ("TODO") + } + + // to test the property `ketogenic` + should("test ketogenic") { + // uncomment below to test the property + //modelInstance.ketogenic shouldBe ("TODO") + } + + // to test the property `lowFodmap` + should("test lowFodmap") { + // uncomment below to test the property + //modelInstance.lowFodmap shouldBe ("TODO") + } + + // to test the property `occasions` + should("test occasions") { + // uncomment below to test the property + //modelInstance.occasions shouldBe ("TODO") + } + + // to test the property `sustainable` + should("test sustainable") { + // uncomment below to test the property + //modelInstance.sustainable shouldBe ("TODO") + } + + // to test the property `vegan` + should("test vegan") { + // uncomment below to test the property + //modelInstance.vegan shouldBe ("TODO") + } + + // to test the property `vegetarian` + should("test vegetarian") { + // uncomment below to test the property + //modelInstance.vegetarian shouldBe ("TODO") + } + + // to test the property `veryHealthy` + should("test veryHealthy") { + // uncomment below to test the property + //modelInstance.veryHealthy shouldBe ("TODO") + } + + // to test the property `veryPopular` + should("test veryPopular") { + // uncomment below to test the property + //modelInstance.veryPopular shouldBe ("TODO") + } + + // to test the property `whole30` + should("test whole30") { + // uncomment below to test the property + //modelInstance.whole30 shouldBe ("TODO") + } + + // to test the property `weightWatcherSmartPoints` + should("test weightWatcherSmartPoints") { + // uncomment below to test the property + //modelInstance.weightWatcherSmartPoints shouldBe ("TODO") + } + + // to test the property `dishTypes` + should("test dishTypes") { + // uncomment below to test the property + //modelInstance.dishTypes shouldBe ("TODO") + } + + // to test the property `extendedIngredients` + should("test extendedIngredients") { + // uncomment below to test the property + //modelInstance.extendedIngredients shouldBe ("TODO") + } + + // to test the property `summary` + should("test summary") { + // uncomment below to test the property + //modelInstance.summary shouldBe ("TODO") + } + + // to test the property `winePairing` + should("test winePairing") { + // uncomment below to test the property + //modelInstance.winePairing shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.kt new file mode 100644 index 000000000..afec77c70 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformation200ResponseWinePairingProductMatchesInner + +class GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformation200ResponseWinePairingProductMatchesInner + //val modelInstance = GetRecipeInformation200ResponseWinePairingProductMatchesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `imageUrl` + should("test imageUrl") { + // uncomment below to test the property + //modelInstance.imageUrl shouldBe ("TODO") + } + + // to test the property `averageRating` + should("test averageRating") { + // uncomment below to test the property + //modelInstance.averageRating shouldBe ("TODO") + } + + // to test the property `ratingCount` + should("test ratingCount") { + // uncomment below to test the property + //modelInstance.ratingCount shouldBe ("TODO") + } + + // to test the property `score` + should("test score") { + // uncomment below to test the property + //modelInstance.score shouldBe ("TODO") + } + + // to test the property `link` + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingTest.kt new file mode 100644 index 000000000..eb50d2333 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformation200ResponseWinePairingTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformation200ResponseWinePairing +import com.spoonacular.client.model.GetRecipeInformation200ResponseWinePairingProductMatchesInner + +class GetRecipeInformation200ResponseWinePairingTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformation200ResponseWinePairing + //val modelInstance = GetRecipeInformation200ResponseWinePairing() + + // to test the property `pairedWines` + should("test pairedWines") { + // uncomment below to test the property + //modelInstance.pairedWines shouldBe ("TODO") + } + + // to test the property `pairingText` + should("test pairingText") { + // uncomment below to test the property + //modelInstance.pairingText shouldBe ("TODO") + } + + // to test the property `productMatches` + should("test productMatches") { + // uncomment below to test the property + //modelInstance.productMatches shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInnerTest.kt new file mode 100644 index 000000000..d98187da9 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeInformationBulk200ResponseInnerTest.kt @@ -0,0 +1,253 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeInformationBulk200ResponseInner +import com.spoonacular.client.model.GetRecipeInformation200ResponseExtendedIngredientsInner +import com.spoonacular.client.model.GetRecipeInformation200ResponseWinePairing + +class GetRecipeInformationBulk200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeInformationBulk200ResponseInner + //val modelInstance = GetRecipeInformationBulk200ResponseInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `readyInMinutes` + should("test readyInMinutes") { + // uncomment below to test the property + //modelInstance.readyInMinutes shouldBe ("TODO") + } + + // to test the property `license` + should("test license") { + // uncomment below to test the property + //modelInstance.license shouldBe ("TODO") + } + + // to test the property `sourceName` + should("test sourceName") { + // uncomment below to test the property + //modelInstance.sourceName shouldBe ("TODO") + } + + // to test the property `sourceUrl` + should("test sourceUrl") { + // uncomment below to test the property + //modelInstance.sourceUrl shouldBe ("TODO") + } + + // to test the property `spoonacularSourceUrl` + should("test spoonacularSourceUrl") { + // uncomment below to test the property + //modelInstance.spoonacularSourceUrl shouldBe ("TODO") + } + + // to test the property `aggregateLikes` + should("test aggregateLikes") { + // uncomment below to test the property + //modelInstance.aggregateLikes shouldBe ("TODO") + } + + // to test the property `healthScore` + should("test healthScore") { + // uncomment below to test the property + //modelInstance.healthScore shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + // to test the property `pricePerServing` + should("test pricePerServing") { + // uncomment below to test the property + //modelInstance.pricePerServing shouldBe ("TODO") + } + + // to test the property `analyzedInstructions` + should("test analyzedInstructions") { + // uncomment below to test the property + //modelInstance.analyzedInstructions shouldBe ("TODO") + } + + // to test the property `cheap` + should("test cheap") { + // uncomment below to test the property + //modelInstance.cheap shouldBe ("TODO") + } + + // to test the property `creditsText` + should("test creditsText") { + // uncomment below to test the property + //modelInstance.creditsText shouldBe ("TODO") + } + + // to test the property `cuisines` + should("test cuisines") { + // uncomment below to test the property + //modelInstance.cuisines shouldBe ("TODO") + } + + // to test the property `dairyFree` + should("test dairyFree") { + // uncomment below to test the property + //modelInstance.dairyFree shouldBe ("TODO") + } + + // to test the property `diets` + should("test diets") { + // uncomment below to test the property + //modelInstance.diets shouldBe ("TODO") + } + + // to test the property `gaps` + should("test gaps") { + // uncomment below to test the property + //modelInstance.gaps shouldBe ("TODO") + } + + // to test the property `glutenFree` + should("test glutenFree") { + // uncomment below to test the property + //modelInstance.glutenFree shouldBe ("TODO") + } + + // to test the property `instructions` + should("test instructions") { + // uncomment below to test the property + //modelInstance.instructions shouldBe ("TODO") + } + + // to test the property `ketogenic` + should("test ketogenic") { + // uncomment below to test the property + //modelInstance.ketogenic shouldBe ("TODO") + } + + // to test the property `lowFodmap` + should("test lowFodmap") { + // uncomment below to test the property + //modelInstance.lowFodmap shouldBe ("TODO") + } + + // to test the property `occasions` + should("test occasions") { + // uncomment below to test the property + //modelInstance.occasions shouldBe ("TODO") + } + + // to test the property `sustainable` + should("test sustainable") { + // uncomment below to test the property + //modelInstance.sustainable shouldBe ("TODO") + } + + // to test the property `vegan` + should("test vegan") { + // uncomment below to test the property + //modelInstance.vegan shouldBe ("TODO") + } + + // to test the property `vegetarian` + should("test vegetarian") { + // uncomment below to test the property + //modelInstance.vegetarian shouldBe ("TODO") + } + + // to test the property `veryHealthy` + should("test veryHealthy") { + // uncomment below to test the property + //modelInstance.veryHealthy shouldBe ("TODO") + } + + // to test the property `veryPopular` + should("test veryPopular") { + // uncomment below to test the property + //modelInstance.veryPopular shouldBe ("TODO") + } + + // to test the property `whole30` + should("test whole30") { + // uncomment below to test the property + //modelInstance.whole30 shouldBe ("TODO") + } + + // to test the property `weightWatcherSmartPoints` + should("test weightWatcherSmartPoints") { + // uncomment below to test the property + //modelInstance.weightWatcherSmartPoints shouldBe ("TODO") + } + + // to test the property `dishTypes` + should("test dishTypes") { + // uncomment below to test the property + //modelInstance.dishTypes shouldBe ("TODO") + } + + // to test the property `extendedIngredients` + should("test extendedIngredients") { + // uncomment below to test the property + //modelInstance.extendedIngredients shouldBe ("TODO") + } + + // to test the property `summary` + should("test summary") { + // uncomment below to test the property + //modelInstance.summary shouldBe ("TODO") + } + + // to test the property `winePairing` + should("test winePairing") { + // uncomment below to test the property + //modelInstance.winePairing shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..74cc0f3e3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeIngredientsByID200ResponseIngredientsInner +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount + +class GetRecipeIngredientsByID200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeIngredientsByID200ResponseIngredientsInner + //val modelInstance = GetRecipeIngredientsByID200ResponseIngredientsInner() + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseTest.kt new file mode 100644 index 000000000..8233a88a5 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeIngredientsByID200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeIngredientsByID200Response +import com.spoonacular.client.model.GetRecipeIngredientsByID200ResponseIngredientsInner + +class GetRecipeIngredientsByID200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeIngredientsByID200Response + //val modelInstance = GetRecipeIngredientsByID200Response() + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.kt new file mode 100644 index 000000000..2ec19906f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeNutritionWidgetByID200ResponseBadInner + +class GetRecipeNutritionWidgetByID200ResponseBadInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeNutritionWidgetByID200ResponseBadInner + //val modelInstance = GetRecipeNutritionWidgetByID200ResponseBadInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `indented` + should("test indented") { + // uncomment below to test the property + //modelInstance.indented shouldBe ("TODO") + } + + // to test the property `percentOfDailyNeeds` + should("test percentOfDailyNeeds") { + // uncomment below to test the property + //modelInstance.percentOfDailyNeeds shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.kt new file mode 100644 index 000000000..12c3be330 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeNutritionWidgetByID200ResponseGoodInner + +class GetRecipeNutritionWidgetByID200ResponseGoodInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeNutritionWidgetByID200ResponseGoodInner + //val modelInstance = GetRecipeNutritionWidgetByID200ResponseGoodInner() + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `indented` + should("test indented") { + // uncomment below to test the property + //modelInstance.indented shouldBe ("TODO") + } + + // to test the property `percentOfDailyNeeds` + should("test percentOfDailyNeeds") { + // uncomment below to test the property + //modelInstance.percentOfDailyNeeds shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseTest.kt new file mode 100644 index 000000000..86683f2fb --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeNutritionWidgetByID200ResponseTest.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeNutritionWidgetByID200Response +import com.spoonacular.client.model.GetRecipeNutritionWidgetByID200ResponseBadInner +import com.spoonacular.client.model.GetRecipeNutritionWidgetByID200ResponseGoodInner + +class GetRecipeNutritionWidgetByID200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeNutritionWidgetByID200Response + //val modelInstance = GetRecipeNutritionWidgetByID200Response() + + // to test the property `calories` + should("test calories") { + // uncomment below to test the property + //modelInstance.calories shouldBe ("TODO") + } + + // to test the property `carbs` + should("test carbs") { + // uncomment below to test the property + //modelInstance.carbs shouldBe ("TODO") + } + + // to test the property `fat` + should("test fat") { + // uncomment below to test the property + //modelInstance.fat shouldBe ("TODO") + } + + // to test the property `protein` + should("test protein") { + // uncomment below to test the property + //modelInstance.protein shouldBe ("TODO") + } + + // to test the property `bad` + should("test bad") { + // uncomment below to test the property + //modelInstance.bad shouldBe ("TODO") + } + + // to test the property `good` + should("test good") { + // uncomment below to test the property + //modelInstance.good shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.kt new file mode 100644 index 000000000..8fd34f9a7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric + +class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric + //val modelInstance = GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric() + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.kt new file mode 100644 index 000000000..bd2af4617 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric + +class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount + //val modelInstance = GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount() + + // to test the property `metric` + should("test metric") { + // uncomment below to test the property + //modelInstance.metric shouldBe ("TODO") + } + + // to test the property `us` + should("test us") { + // uncomment below to test the property + //modelInstance.us shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..fd8b45fa3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInner +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount + +class GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInner + //val modelInstance = GetRecipePriceBreakdownByID200ResponseIngredientsInner() + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseTest.kt new file mode 100644 index 000000000..dee80ccbc --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipePriceBreakdownByID200ResponseTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200Response +import com.spoonacular.client.model.GetRecipePriceBreakdownByID200ResponseIngredientsInner + +class GetRecipePriceBreakdownByID200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipePriceBreakdownByID200Response + //val modelInstance = GetRecipePriceBreakdownByID200Response() + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `totalCost` + should("test totalCost") { + // uncomment below to test the property + //modelInstance.totalCost shouldBe ("TODO") + } + + // to test the property `totalCostPerServing` + should("test totalCostPerServing") { + // uncomment below to test the property + //modelInstance.totalCostPerServing shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200ResponseTest.kt new file mode 100644 index 000000000..723ee5afb --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetRecipeTasteByID200ResponseTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetRecipeTasteByID200Response + +class GetRecipeTasteByID200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetRecipeTasteByID200Response + //val modelInstance = GetRecipeTasteByID200Response() + + // to test the property `sweetness` + should("test sweetness") { + // uncomment below to test the property + //modelInstance.sweetness shouldBe ("TODO") + } + + // to test the property `saltiness` + should("test saltiness") { + // uncomment below to test the property + //modelInstance.saltiness shouldBe ("TODO") + } + + // to test the property `sourness` + should("test sourness") { + // uncomment below to test the property + //modelInstance.sourness shouldBe ("TODO") + } + + // to test the property `bitterness` + should("test bitterness") { + // uncomment below to test the property + //modelInstance.bitterness shouldBe ("TODO") + } + + // to test the property `savoriness` + should("test savoriness") { + // uncomment below to test the property + //modelInstance.savoriness shouldBe ("TODO") + } + + // to test the property `fattiness` + should("test fattiness") { + // uncomment below to test the property + //modelInstance.fattiness shouldBe ("TODO") + } + + // to test the property `spiciness` + should("test spiciness") { + // uncomment below to test the property + //modelInstance.spiciness shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.kt new file mode 100644 index 000000000..e6ea9d1fe --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInnerItemsInnerMeasures +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionWeightPerServing + +class GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetShoppingList200ResponseAislesInnerItemsInnerMeasures + //val modelInstance = GetShoppingList200ResponseAislesInnerItemsInnerMeasures() + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `metric` + should("test metric") { + // uncomment below to test the property + //modelInstance.metric shouldBe ("TODO") + } + + // to test the property `us` + should("test us") { + // uncomment below to test the property + //modelInstance.us shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerTest.kt new file mode 100644 index 000000000..53b2592c9 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerItemsInnerTest.kt @@ -0,0 +1,72 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInnerItemsInner +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInnerItemsInnerMeasures + +class GetShoppingList200ResponseAislesInnerItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetShoppingList200ResponseAislesInnerItemsInner + //val modelInstance = GetShoppingList200ResponseAislesInnerItemsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `pantryItem` + should("test pantryItem") { + // uncomment below to test the property + //modelInstance.pantryItem shouldBe ("TODO") + } + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `cost` + should("test cost") { + // uncomment below to test the property + //modelInstance.cost shouldBe ("TODO") + } + + // to test the property `ingredientId` + should("test ingredientId") { + // uncomment below to test the property + //modelInstance.ingredientId shouldBe ("TODO") + } + + // to test the property `measures` + should("test measures") { + // uncomment below to test the property + //modelInstance.measures shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerTest.kt new file mode 100644 index 000000000..483cf4d37 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseAislesInnerTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInner +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInnerItemsInner + +class GetShoppingList200ResponseAislesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetShoppingList200ResponseAislesInner + //val modelInstance = GetShoppingList200ResponseAislesInner() + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `items` + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseTest.kt new file mode 100644 index 000000000..c6c78d00a --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetShoppingList200ResponseTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetShoppingList200Response +import com.spoonacular.client.model.GetShoppingList200ResponseAislesInner + +class GetShoppingList200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetShoppingList200Response + //val modelInstance = GetShoppingList200Response() + + // to test the property `aisles` + should("test aisles") { + // uncomment below to test the property + //modelInstance.aisles shouldBe ("TODO") + } + + // to test the property `cost` + should("test cost") { + // uncomment below to test the property + //modelInstance.cost shouldBe ("TODO") + } + + // to test the property `startDate` + should("test startDate") { + // uncomment below to test the property + //modelInstance.startDate shouldBe ("TODO") + } + + // to test the property `endDate` + should("test endDate") { + // uncomment below to test the property + //modelInstance.endDate shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInnerTest.kt new file mode 100644 index 000000000..e98c911ef --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetSimilarRecipes200ResponseInnerTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetSimilarRecipes200ResponseInner + +class GetSimilarRecipes200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetSimilarRecipes200ResponseInner + //val modelInstance = GetSimilarRecipes200ResponseInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `readyInMinutes` + should("test readyInMinutes") { + // uncomment below to test the property + //modelInstance.readyInMinutes shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `sourceUrl` + should("test sourceUrl") { + // uncomment below to test the property + //modelInstance.sourceUrl shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineDescription200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineDescription200ResponseTest.kt new file mode 100644 index 000000000..457f4456d --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineDescription200ResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetWineDescription200Response + +class GetWineDescription200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWineDescription200Response + //val modelInstance = GetWineDescription200Response() + + // to test the property `wineDescription` + should("test wineDescription") { + // uncomment below to test the property + //modelInstance.wineDescription shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInnerTest.kt new file mode 100644 index 000000000..a9bdd9435 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseProductMatchesInnerTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetWinePairing200ResponseProductMatchesInner + +class GetWinePairing200ResponseProductMatchesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWinePairing200ResponseProductMatchesInner + //val modelInstance = GetWinePairing200ResponseProductMatchesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `averageRating` + should("test averageRating") { + // uncomment below to test the property + //modelInstance.averageRating shouldBe ("TODO") + } + + // to test the property `imageUrl` + should("test imageUrl") { + // uncomment below to test the property + //modelInstance.imageUrl shouldBe ("TODO") + } + + // to test the property `link` + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `ratingCount` + should("test ratingCount") { + // uncomment below to test the property + //modelInstance.ratingCount shouldBe ("TODO") + } + + // to test the property `score` + should("test score") { + // uncomment below to test the property + //modelInstance.score shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseTest.kt new file mode 100644 index 000000000..0402bb794 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWinePairing200ResponseTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetWinePairing200Response +import com.spoonacular.client.model.GetWinePairing200ResponseProductMatchesInner + +class GetWinePairing200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWinePairing200Response + //val modelInstance = GetWinePairing200Response() + + // to test the property `pairedWines` + should("test pairedWines") { + // uncomment below to test the property + //modelInstance.pairedWines shouldBe ("TODO") + } + + // to test the property `pairingText` + should("test pairingText") { + // uncomment below to test the property + //modelInstance.pairingText shouldBe ("TODO") + } + + // to test the property `productMatches` + should("test productMatches") { + // uncomment below to test the property + //modelInstance.productMatches shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.kt new file mode 100644 index 000000000..10ddbb189 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetWineRecommendation200ResponseRecommendedWinesInner + +class GetWineRecommendation200ResponseRecommendedWinesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWineRecommendation200ResponseRecommendedWinesInner + //val modelInstance = GetWineRecommendation200ResponseRecommendedWinesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `averageRating` + should("test averageRating") { + // uncomment below to test the property + //modelInstance.averageRating shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `imageUrl` + should("test imageUrl") { + // uncomment below to test the property + //modelInstance.imageUrl shouldBe ("TODO") + } + + // to test the property `link` + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `ratingCount` + should("test ratingCount") { + // uncomment below to test the property + //modelInstance.ratingCount shouldBe ("TODO") + } + + // to test the property `score` + should("test score") { + // uncomment below to test the property + //modelInstance.score shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseTest.kt new file mode 100644 index 000000000..57218ae2c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GetWineRecommendation200ResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GetWineRecommendation200Response +import com.spoonacular.client.model.GetWineRecommendation200ResponseRecommendedWinesInner + +class GetWineRecommendation200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetWineRecommendation200Response + //val modelInstance = GetWineRecommendation200Response() + + // to test the property `recommendedWines` + should("test recommendedWines") { + // uncomment below to test the property + //modelInstance.recommendedWines shouldBe ("TODO") + } + + // to test the property `totalFound` + should("test totalFound") { + // uncomment below to test the property + //modelInstance.totalFound shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.kt new file mode 100644 index 000000000..f456b6eed --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent + +class GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest : ShouldSpec() { + init { + // uncomment below to create an instance of GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent + //val modelInstance = GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent() + + // to test the property `max` + should("test max") { + // uncomment below to test the property + //modelInstance.max shouldBe ("TODO") + } + + // to test the property `min` + should("test min") { + // uncomment below to test the property + //modelInstance.min shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesTest.kt new file mode 100644 index 000000000..575ddc923 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseCaloriesTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GuessNutritionByDishName200ResponseCalories +import com.spoonacular.client.model.GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent + +class GuessNutritionByDishName200ResponseCaloriesTest : ShouldSpec() { + init { + // uncomment below to create an instance of GuessNutritionByDishName200ResponseCalories + //val modelInstance = GuessNutritionByDishName200ResponseCalories() + + // to test the property `confidenceRange95Percent` + should("test confidenceRange95Percent") { + // uncomment below to test the property + //modelInstance.confidenceRange95Percent shouldBe ("TODO") + } + + // to test the property `standardDeviation` + should("test standardDeviation") { + // uncomment below to test the property + //modelInstance.standardDeviation shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseTest.kt new file mode 100644 index 000000000..996fe3d84 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/GuessNutritionByDishName200ResponseTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.GuessNutritionByDishName200Response +import com.spoonacular.client.model.GuessNutritionByDishName200ResponseCalories + +class GuessNutritionByDishName200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GuessNutritionByDishName200Response + //val modelInstance = GuessNutritionByDishName200Response() + + // to test the property `calories` + should("test calories") { + // uncomment below to test the property + //modelInstance.calories shouldBe ("TODO") + } + + // to test the property `carbs` + should("test carbs") { + // uncomment below to test the property + //modelInstance.carbs shouldBe ("TODO") + } + + // to test the property `fat` + should("test fat") { + // uncomment below to test the property + //modelInstance.fat shouldBe ("TODO") + } + + // to test the property `protein` + should("test protein") { + // uncomment below to test the property + //modelInstance.protein shouldBe ("TODO") + } + + // to test the property `recipesUsed` + should("test recipesUsed") { + // uncomment below to test the property + //modelInstance.recipesUsed shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategoryTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategoryTest.kt new file mode 100644 index 000000000..efbf8a7a3 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseCategoryTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseCategory + +class ImageAnalysisByURL200ResponseCategoryTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageAnalysisByURL200ResponseCategory + //val modelInstance = ImageAnalysisByURL200ResponseCategory() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `probability` + should("test probability") { + // uncomment below to test the property + //modelInstance.probability shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.kt new file mode 100644 index 000000000..1eb623ac7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent + +class ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent + //val modelInstance = ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent() + + // to test the property `min` + should("test min") { + // uncomment below to test the property + //modelInstance.min shouldBe ("TODO") + } + + // to test the property `max` + should("test max") { + // uncomment below to test the property + //modelInstance.max shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.kt new file mode 100644 index 000000000..a4d68adf8 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseNutritionCalories +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent + +class ImageAnalysisByURL200ResponseNutritionCaloriesTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageAnalysisByURL200ResponseNutritionCalories + //val modelInstance = ImageAnalysisByURL200ResponseNutritionCalories() + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `confidenceRange95Percent` + should("test confidenceRange95Percent") { + // uncomment below to test the property + //modelInstance.confidenceRange95Percent shouldBe ("TODO") + } + + // to test the property `standardDeviation` + should("test standardDeviation") { + // uncomment below to test the property + //modelInstance.standardDeviation shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionTest.kt new file mode 100644 index 000000000..1840bf9b5 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseNutritionTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseNutrition +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseNutritionCalories + +class ImageAnalysisByURL200ResponseNutritionTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageAnalysisByURL200ResponseNutrition + //val modelInstance = ImageAnalysisByURL200ResponseNutrition() + + // to test the property `recipesUsed` + should("test recipesUsed") { + // uncomment below to test the property + //modelInstance.recipesUsed shouldBe ("TODO") + } + + // to test the property `calories` + should("test calories") { + // uncomment below to test the property + //modelInstance.calories shouldBe ("TODO") + } + + // to test the property `fat` + should("test fat") { + // uncomment below to test the property + //modelInstance.fat shouldBe ("TODO") + } + + // to test the property `protein` + should("test protein") { + // uncomment below to test the property + //modelInstance.protein shouldBe ("TODO") + } + + // to test the property `carbs` + should("test carbs") { + // uncomment below to test the property + //modelInstance.carbs shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInnerTest.kt new file mode 100644 index 000000000..18be72f9d --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseRecipesInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseRecipesInner + +class ImageAnalysisByURL200ResponseRecipesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageAnalysisByURL200ResponseRecipesInner + //val modelInstance = ImageAnalysisByURL200ResponseRecipesInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `url` + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseTest.kt new file mode 100644 index 000000000..0d3bff736 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageAnalysisByURL200ResponseTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageAnalysisByURL200Response +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseCategory +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseNutrition +import com.spoonacular.client.model.ImageAnalysisByURL200ResponseRecipesInner + +class ImageAnalysisByURL200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageAnalysisByURL200Response + //val modelInstance = ImageAnalysisByURL200Response() + + // to test the property `nutrition` + should("test nutrition") { + // uncomment below to test the property + //modelInstance.nutrition shouldBe ("TODO") + } + + // to test the property `category` + should("test category") { + // uncomment below to test the property + //modelInstance.category shouldBe ("TODO") + } + + // to test the property `recipes` + should("test recipes") { + // uncomment below to test the property + //modelInstance.recipes shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageClassificationByURL200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageClassificationByURL200ResponseTest.kt new file mode 100644 index 000000000..398cc644a --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ImageClassificationByURL200ResponseTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ImageClassificationByURL200Response + +class ImageClassificationByURL200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ImageClassificationByURL200Response + //val modelInstance = ImageClassificationByURL200Response() + + // to test the property `category` + should("test category") { + // uncomment below to test the property + //modelInstance.category shouldBe ("TODO") + } + + // to test the property `probability` + should("test probability") { + // uncomment below to test the property + //modelInstance.probability shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInnerTest.kt new file mode 100644 index 000000000..b8ccdd8da --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseResultsInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.IngredientSearch200ResponseResultsInner + +class IngredientSearch200ResponseResultsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of IngredientSearch200ResponseResultsInner + //val modelInstance = IngredientSearch200ResponseResultsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseTest.kt new file mode 100644 index 000000000..b85a7bcab --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/IngredientSearch200ResponseTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.IngredientSearch200Response +import com.spoonacular.client.model.IngredientSearch200ResponseResultsInner + +class IngredientSearch200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of IngredientSearch200Response + //val modelInstance = IngredientSearch200Response() + + // to test the property `results` + should("test results") { + // uncomment below to test the property + //modelInstance.results shouldBe ("TODO") + } + + // to test the property `offset` + should("test offset") { + // uncomment below to test the property + //modelInstance.offset shouldBe ("TODO") + } + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + // to test the property `totalResults` + should("test totalResults") { + // uncomment below to test the property + //modelInstance.totalResults shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.kt new file mode 100644 index 000000000..16c55e607 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.MapIngredientsToGroceryProducts200ResponseInnerProductsInner + +class MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of MapIngredientsToGroceryProducts200ResponseInnerProductsInner + //val modelInstance = MapIngredientsToGroceryProducts200ResponseInnerProductsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `upc` + should("test upc") { + // uncomment below to test the property + //modelInstance.upc shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerTest.kt new file mode 100644 index 000000000..c7b0ed87f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProducts200ResponseInnerTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.MapIngredientsToGroceryProducts200ResponseInner +import com.spoonacular.client.model.MapIngredientsToGroceryProducts200ResponseInnerProductsInner + +class MapIngredientsToGroceryProducts200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of MapIngredientsToGroceryProducts200ResponseInner + //val modelInstance = MapIngredientsToGroceryProducts200ResponseInner() + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `originalName` + should("test originalName") { + // uncomment below to test the property + //modelInstance.originalName shouldBe ("TODO") + } + + // to test the property `ingredientImage` + should("test ingredientImage") { + // uncomment below to test the property + //modelInstance.ingredientImage shouldBe ("TODO") + } + + // to test the property `meta` + should("test meta") { + // uncomment below to test the property + //modelInstance.meta shouldBe ("TODO") + } + + // to test the property `products` + should("test products") { + // uncomment below to test the property + //modelInstance.products shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequestTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequestTest.kt new file mode 100644 index 000000000..0452a76cb --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/MapIngredientsToGroceryProductsRequestTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.MapIngredientsToGroceryProductsRequest + +class MapIngredientsToGroceryProductsRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of MapIngredientsToGroceryProductsRequest + //val modelInstance = MapIngredientsToGroceryProductsRequest() + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCostTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCostTest.kt new file mode 100644 index 000000000..e9eb4f9fa --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerEstimatedCostTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInnerEstimatedCost + +class ParseIngredients200ResponseInnerEstimatedCostTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInnerEstimatedCost + //val modelInstance = ParseIngredients200ResponseInnerEstimatedCost() + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.kt new file mode 100644 index 000000000..5e892edce --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown + +class ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInnerNutritionCaloricBreakdown + //val modelInstance = ParseIngredients200ResponseInnerNutritionCaloricBreakdown() + + // to test the property `percentProtein` + should("test percentProtein") { + // uncomment below to test the property + //modelInstance.percentProtein shouldBe ("TODO") + } + + // to test the property `percentFat` + should("test percentFat") { + // uncomment below to test the property + //modelInstance.percentFat shouldBe ("TODO") + } + + // to test the property `percentCarbs` + should("test percentCarbs") { + // uncomment below to test the property + //modelInstance.percentCarbs shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.kt new file mode 100644 index 000000000..6621d2ee1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionNutrientsInner + +class ParseIngredients200ResponseInnerNutritionNutrientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInnerNutritionNutrientsInner + //val modelInstance = ParseIngredients200ResponseInnerNutritionNutrientsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `percentOfDailyNeeds` + should("test percentOfDailyNeeds") { + // uncomment below to test the property + //modelInstance.percentOfDailyNeeds shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.kt new file mode 100644 index 000000000..ba42a8de6 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionPropertiesInner + +class ParseIngredients200ResponseInnerNutritionPropertiesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInnerNutritionPropertiesInner + //val modelInstance = ParseIngredients200ResponseInnerNutritionPropertiesInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionTest.kt new file mode 100644 index 000000000..5d96a3354 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionTest.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutrition +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionNutrientsInner +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionPropertiesInner +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionWeightPerServing + +class ParseIngredients200ResponseInnerNutritionTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInnerNutrition + //val modelInstance = ParseIngredients200ResponseInnerNutrition() + + // to test the property `nutrients` + should("test nutrients") { + // uncomment below to test the property + //modelInstance.nutrients shouldBe ("TODO") + } + + // to test the property `properties` + should("test properties") { + // uncomment below to test the property + //modelInstance.properties shouldBe ("TODO") + } + + // to test the property `flavonoids` + should("test flavonoids") { + // uncomment below to test the property + //modelInstance.flavonoids shouldBe ("TODO") + } + + // to test the property `caloricBreakdown` + should("test caloricBreakdown") { + // uncomment below to test the property + //modelInstance.caloricBreakdown shouldBe ("TODO") + } + + // to test the property `weightPerServing` + should("test weightPerServing") { + // uncomment below to test the property + //modelInstance.weightPerServing shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.kt new file mode 100644 index 000000000..c7033ea04 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionWeightPerServing + +class ParseIngredients200ResponseInnerNutritionWeightPerServingTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInnerNutritionWeightPerServing + //val modelInstance = ParseIngredients200ResponseInnerNutritionWeightPerServing() + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerTest.kt new file mode 100644 index 000000000..c99f5204d --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/ParseIngredients200ResponseInnerTest.kt @@ -0,0 +1,127 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.ParseIngredients200ResponseInner +import com.spoonacular.client.model.ParseIngredients200ResponseInnerEstimatedCost +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutrition + +class ParseIngredients200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseIngredients200ResponseInner + //val modelInstance = ParseIngredients200ResponseInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `originalName` + should("test originalName") { + // uncomment below to test the property + //modelInstance.originalName shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nameClean` + should("test nameClean") { + // uncomment below to test the property + //modelInstance.nameClean shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `unitShort` + should("test unitShort") { + // uncomment below to test the property + //modelInstance.unitShort shouldBe ("TODO") + } + + // to test the property `unitLong` + should("test unitLong") { + // uncomment below to test the property + //modelInstance.unitLong shouldBe ("TODO") + } + + // to test the property `possibleUnits` + should("test possibleUnits") { + // uncomment below to test the property + //modelInstance.possibleUnits shouldBe ("TODO") + } + + // to test the property `estimatedCost` + should("test estimatedCost") { + // uncomment below to test the property + //modelInstance.estimatedCost shouldBe ("TODO") + } + + // to test the property `consistency` + should("test consistency") { + // uncomment below to test the property + //modelInstance.consistency shouldBe ("TODO") + } + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `meta` + should("test meta") { + // uncomment below to test the property + //modelInstance.meta shouldBe ("TODO") + } + + // to test the property `nutrition` + should("test nutrition") { + // uncomment below to test the property + //modelInstance.nutrition shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/QuickAnswer200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/QuickAnswer200ResponseTest.kt new file mode 100644 index 000000000..e7bc39891 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/QuickAnswer200ResponseTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.QuickAnswer200Response + +class QuickAnswer200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of QuickAnswer200Response + //val modelInstance = QuickAnswer200Response() + + // to test the property `answer` + should("test answer") { + // uncomment below to test the property + //modelInstance.answer shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.kt new file mode 100644 index 000000000..7a2dcc7f9 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchAllFood200ResponseSearchResultsInnerResultsInner + +class SearchAllFood200ResponseSearchResultsInnerResultsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchAllFood200ResponseSearchResultsInnerResultsInner + //val modelInstance = SearchAllFood200ResponseSearchResultsInnerResultsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `link` + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `relevance` + should("test relevance") { + // uncomment below to test the property + //modelInstance.relevance shouldBe ("TODO") + } + + // to test the property `content` + should("test content") { + // uncomment below to test the property + //modelInstance.content shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerTest.kt new file mode 100644 index 000000000..12e5fcae0 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseSearchResultsInnerTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchAllFood200ResponseSearchResultsInner +import com.spoonacular.client.model.SearchAllFood200ResponseSearchResultsInnerResultsInner + +class SearchAllFood200ResponseSearchResultsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchAllFood200ResponseSearchResultsInner + //val modelInstance = SearchAllFood200ResponseSearchResultsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `totalResults` + should("test totalResults") { + // uncomment below to test the property + //modelInstance.totalResults shouldBe ("TODO") + } + + // to test the property `results` + should("test results") { + // uncomment below to test the property + //modelInstance.results shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseTest.kt new file mode 100644 index 000000000..943f35e00 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchAllFood200ResponseTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchAllFood200Response +import com.spoonacular.client.model.SearchAllFood200ResponseSearchResultsInner + +class SearchAllFood200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchAllFood200Response + //val modelInstance = SearchAllFood200Response() + + // to test the property `query` + should("test query") { + // uncomment below to test the property + //modelInstance.query shouldBe ("TODO") + } + + // to test the property `totalResults` + should("test totalResults") { + // uncomment below to test the property + //modelInstance.totalResults shouldBe ("TODO") + } + + // to test the property `limit` + should("test limit") { + // uncomment below to test the property + //modelInstance.limit shouldBe ("TODO") + } + + // to test the property `offset` + should("test offset") { + // uncomment below to test the property + //modelInstance.offset shouldBe ("TODO") + } + + // to test the property `searchResults` + should("test searchResults") { + // uncomment below to test the property + //modelInstance.searchResults shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInnerTest.kt new file mode 100644 index 000000000..11fe90f28 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseCustomFoodsInnerTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchCustomFoods200ResponseCustomFoodsInner + +class SearchCustomFoods200ResponseCustomFoodsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchCustomFoods200ResponseCustomFoodsInner + //val modelInstance = SearchCustomFoods200ResponseCustomFoodsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `imageUrl` + should("test imageUrl") { + // uncomment below to test the property + //modelInstance.imageUrl shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseTest.kt new file mode 100644 index 000000000..e8f22563e --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchCustomFoods200ResponseTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchCustomFoods200Response +import com.spoonacular.client.model.SearchCustomFoods200ResponseCustomFoodsInner + +class SearchCustomFoods200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchCustomFoods200Response + //val modelInstance = SearchCustomFoods200Response() + + // to test the property `customFoods` + should("test customFoods") { + // uncomment below to test the property + //modelInstance.customFoods shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `offset` + should("test offset") { + // uncomment below to test the property + //modelInstance.offset shouldBe ("TODO") + } + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseTest.kt new file mode 100644 index 000000000..f145bc72a --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchFoodVideos200Response +import com.spoonacular.client.model.SearchFoodVideos200ResponseVideosInner + +class SearchFoodVideos200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchFoodVideos200Response + //val modelInstance = SearchFoodVideos200Response() + + // to test the property `videos` + should("test videos") { + // uncomment below to test the property + //modelInstance.videos shouldBe ("TODO") + } + + // to test the property `totalResults` + should("test totalResults") { + // uncomment below to test the property + //modelInstance.totalResults shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInnerTest.kt new file mode 100644 index 000000000..ab35acaf5 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchFoodVideos200ResponseVideosInnerTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchFoodVideos200ResponseVideosInner + +class SearchFoodVideos200ResponseVideosInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchFoodVideos200ResponseVideosInner + //val modelInstance = SearchFoodVideos200ResponseVideosInner() + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `length` + should("test length") { + // uncomment below to test the property + //modelInstance.length shouldBe ("TODO") + } + + // to test the property `rating` + should("test rating") { + // uncomment below to test the property + //modelInstance.rating shouldBe ("TODO") + } + + // to test the property `shortTitle` + should("test shortTitle") { + // uncomment below to test the property + //modelInstance.shortTitle shouldBe ("TODO") + } + + // to test the property `thumbnail` + should("test thumbnail") { + // uncomment below to test the property + //modelInstance.thumbnail shouldBe ("TODO") + } + + // to test the property `views` + should("test views") { + // uncomment below to test the property + //modelInstance.views shouldBe ("TODO") + } + + // to test the property `youTubeId` + should("test youTubeId") { + // uncomment below to test the property + //modelInstance.youTubeId shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProducts200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProducts200ResponseTest.kt new file mode 100644 index 000000000..f38f2ccb2 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProducts200ResponseTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchGroceryProducts200Response +import com.spoonacular.client.model.AutocompleteRecipeSearch200ResponseInner + +class SearchGroceryProducts200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchGroceryProducts200Response + //val modelInstance = SearchGroceryProducts200Response() + + // to test the property `products` + should("test products") { + // uncomment below to test the property + //modelInstance.products shouldBe ("TODO") + } + + // to test the property `totalProducts` + should("test totalProducts") { + // uncomment below to test the property + //modelInstance.totalProducts shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `offset` + should("test offset") { + // uncomment below to test the property + //modelInstance.offset shouldBe ("TODO") + } + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.kt new file mode 100644 index 000000000..13523dd63 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseIngredientsInner + +class SearchGroceryProductsByUPC200ResponseIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchGroceryProductsByUPC200ResponseIngredientsInner + //val modelInstance = SearchGroceryProductsByUPC200ResponseIngredientsInner() + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `safetyLevel` + should("test safetyLevel") { + // uncomment below to test the property + //modelInstance.safetyLevel shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutritionTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutritionTest.kt new file mode 100644 index 000000000..f1f91cb46 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseNutritionTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseNutrition +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionCaloricBreakdown +import com.spoonacular.client.model.ParseIngredients200ResponseInnerNutritionNutrientsInner + +class SearchGroceryProductsByUPC200ResponseNutritionTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchGroceryProductsByUPC200ResponseNutrition + //val modelInstance = SearchGroceryProductsByUPC200ResponseNutrition() + + // to test the property `nutrients` + should("test nutrients") { + // uncomment below to test the property + //modelInstance.nutrients shouldBe ("TODO") + } + + // to test the property `caloricBreakdown` + should("test caloricBreakdown") { + // uncomment below to test the property + //modelInstance.caloricBreakdown shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServingsTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServingsTest.kt new file mode 100644 index 000000000..8050fe7b4 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseServingsTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseServings + +class SearchGroceryProductsByUPC200ResponseServingsTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchGroceryProductsByUPC200ResponseServings + //val modelInstance = SearchGroceryProductsByUPC200ResponseServings() + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + // to test the property `propertySize` + should("test propertySize") { + // uncomment below to test the property + //modelInstance.propertySize shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseTest.kt new file mode 100644 index 000000000..6a8bcf590 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchGroceryProductsByUPC200ResponseTest.kt @@ -0,0 +1,122 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchGroceryProductsByUPC200Response +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseIngredientsInner +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseNutrition +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseServings + +class SearchGroceryProductsByUPC200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchGroceryProductsByUPC200Response + //val modelInstance = SearchGroceryProductsByUPC200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `badges` + should("test badges") { + // uncomment below to test the property + //modelInstance.badges shouldBe ("TODO") + } + + // to test the property `importantBadges` + should("test importantBadges") { + // uncomment below to test the property + //modelInstance.importantBadges shouldBe ("TODO") + } + + // to test the property `breadcrumbs` + should("test breadcrumbs") { + // uncomment below to test the property + //modelInstance.breadcrumbs shouldBe ("TODO") + } + + // to test the property `generatedText` + should("test generatedText") { + // uncomment below to test the property + //modelInstance.generatedText shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `ingredientList` + should("test ingredientList") { + // uncomment below to test the property + //modelInstance.ingredientList shouldBe ("TODO") + } + + // to test the property `ingredients` + should("test ingredients") { + // uncomment below to test the property + //modelInstance.ingredients shouldBe ("TODO") + } + + // to test the property `likes` + should("test likes") { + // uncomment below to test the property + //modelInstance.likes shouldBe ("TODO") + } + + // to test the property `nutrition` + should("test nutrition") { + // uncomment below to test the property + //modelInstance.nutrition shouldBe ("TODO") + } + + // to test the property `price` + should("test price") { + // uncomment below to test the property + //modelInstance.price shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + // to test the property `spoonacularScore` + should("test spoonacularScore") { + // uncomment below to test the property + //modelInstance.spoonacularScore shouldBe ("TODO") + } + + // to test the property `ingredientCount` + should("test ingredientCount") { + // uncomment below to test the property + //modelInstance.ingredientCount shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInnerTest.kt new file mode 100644 index 000000000..67be2e9f1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseMenuItemsInnerTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchMenuItems200ResponseMenuItemsInner +import com.spoonacular.client.model.SearchGroceryProductsByUPC200ResponseServings + +class SearchMenuItems200ResponseMenuItemsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchMenuItems200ResponseMenuItemsInner + //val modelInstance = SearchMenuItems200ResponseMenuItemsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `restaurantChain` + should("test restaurantChain") { + // uncomment below to test the property + //modelInstance.restaurantChain shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `servings` + should("test servings") { + // uncomment below to test the property + //modelInstance.servings shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseTest.kt new file mode 100644 index 000000000..e61ec3ec5 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchMenuItems200ResponseTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchMenuItems200Response +import com.spoonacular.client.model.SearchMenuItems200ResponseMenuItemsInner + +class SearchMenuItems200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchMenuItems200Response + //val modelInstance = SearchMenuItems200Response() + + // to test the property `menuItems` + should("test menuItems") { + // uncomment below to test the property + //modelInstance.menuItems shouldBe ("TODO") + } + + // to test the property `totalMenuItems` + should("test totalMenuItems") { + // uncomment below to test the property + //modelInstance.totalMenuItems shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `offset` + should("test offset") { + // uncomment below to test the property + //modelInstance.offset shouldBe ("TODO") + } + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInnerTest.kt new file mode 100644 index 000000000..798496591 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseResultsInnerTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRecipes200ResponseResultsInner + +class SearchRecipes200ResponseResultsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRecipes200ResponseResultsInner + //val modelInstance = SearchRecipes200ResponseResultsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseTest.kt new file mode 100644 index 000000000..2f93ff631 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipes200ResponseTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRecipes200Response +import com.spoonacular.client.model.SearchRecipes200ResponseResultsInner + +class SearchRecipes200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRecipes200Response + //val modelInstance = SearchRecipes200Response() + + // to test the property `offset` + should("test offset") { + // uncomment below to test the property + //modelInstance.offset shouldBe ("TODO") + } + + // to test the property `number` + should("test number") { + // uncomment below to test the property + //modelInstance.number shouldBe ("TODO") + } + + // to test the property `results` + should("test results") { + // uncomment below to test the property + //modelInstance.results shouldBe ("TODO") + } + + // to test the property `totalResults` + should("test totalResults") { + // uncomment below to test the property + //modelInstance.totalResults shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.kt new file mode 100644 index 000000000..e501704cf --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.kt @@ -0,0 +1,101 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner + +class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner + //val modelInstance = SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner() + + // to test the property `aisle` + should("test aisle") { + // uncomment below to test the property + //modelInstance.aisle shouldBe ("TODO") + } + + // to test the property `amount` + should("test amount") { + // uncomment below to test the property + //modelInstance.amount shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `original` + should("test original") { + // uncomment below to test the property + //modelInstance.original shouldBe ("TODO") + } + + // to test the property `originalName` + should("test originalName") { + // uncomment below to test the property + //modelInstance.originalName shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + // to test the property `unitLong` + should("test unitLong") { + // uncomment below to test the property + //modelInstance.unitLong shouldBe ("TODO") + } + + // to test the property `unitShort` + should("test unitShort") { + // uncomment below to test the property + //modelInstance.unitShort shouldBe ("TODO") + } + + // to test the property `meta` + should("test meta") { + // uncomment below to test the property + //modelInstance.meta shouldBe ("TODO") + } + + // to test the property `extendedName` + should("test extendedName") { + // uncomment below to test the property + //modelInstance.extendedName shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerTest.kt new file mode 100644 index 000000000..2e8a60f1f --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByIngredients200ResponseInnerTest.kt @@ -0,0 +1,90 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRecipesByIngredients200ResponseInner +import com.spoonacular.client.model.SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner + +class SearchRecipesByIngredients200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRecipesByIngredients200ResponseInner + //val modelInstance = SearchRecipesByIngredients200ResponseInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `likes` + should("test likes") { + // uncomment below to test the property + //modelInstance.likes shouldBe ("TODO") + } + + // to test the property `missedIngredientCount` + should("test missedIngredientCount") { + // uncomment below to test the property + //modelInstance.missedIngredientCount shouldBe ("TODO") + } + + // to test the property `missedIngredients` + should("test missedIngredients") { + // uncomment below to test the property + //modelInstance.missedIngredients shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `unusedIngredients` + should("test unusedIngredients") { + // uncomment below to test the property + //modelInstance.unusedIngredients shouldBe ("TODO") + } + + // to test the property `usedIngredientCount` + should("test usedIngredientCount") { + // uncomment below to test the property + //modelInstance.usedIngredientCount shouldBe ("TODO") + } + + // to test the property `usedIngredients` + should("test usedIngredients") { + // uncomment below to test the property + //modelInstance.usedIngredients shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInnerTest.kt new file mode 100644 index 000000000..1c76cbead --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRecipesByNutrients200ResponseInnerTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRecipesByNutrients200ResponseInner + +class SearchRecipesByNutrients200ResponseInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRecipesByNutrients200ResponseInner + //val modelInstance = SearchRecipesByNutrients200ResponseInner() + + // to test the property `calories` + should("test calories") { + // uncomment below to test the property + //modelInstance.calories shouldBe ("TODO") + } + + // to test the property `carbs` + should("test carbs") { + // uncomment below to test the property + //modelInstance.carbs shouldBe ("TODO") + } + + // to test the property `fat` + should("test fat") { + // uncomment below to test the property + //modelInstance.fat shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `imageType` + should("test imageType") { + // uncomment below to test the property + //modelInstance.imageType shouldBe ("TODO") + } + + // to test the property `protein` + should("test protein") { + // uncomment below to test the property + //modelInstance.protein shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.kt new file mode 100644 index 000000000..9599845d0 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.kt @@ -0,0 +1,89 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInnerAddress + +class SearchRestaurants200ResponseRestaurantsInnerAddressTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRestaurants200ResponseRestaurantsInnerAddress + //val modelInstance = SearchRestaurants200ResponseRestaurantsInnerAddress() + + // to test the property `streetAddr` + should("test streetAddr") { + // uncomment below to test the property + //modelInstance.streetAddr shouldBe ("TODO") + } + + // to test the property `city` + should("test city") { + // uncomment below to test the property + //modelInstance.city shouldBe ("TODO") + } + + // to test the property `state` + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `zipcode` + should("test zipcode") { + // uncomment below to test the property + //modelInstance.zipcode shouldBe ("TODO") + } + + // to test the property `country` + should("test country") { + // uncomment below to test the property + //modelInstance.country shouldBe ("TODO") + } + + // to test the property `lat` + should("test lat") { + // uncomment below to test the property + //modelInstance.lat shouldBe ("TODO") + } + + // to test the property `lon` + should("test lon") { + // uncomment below to test the property + //modelInstance.lon shouldBe ("TODO") + } + + // to test the property `streetAddr2` + should("test streetAddr2") { + // uncomment below to test the property + //modelInstance.streetAddr2 shouldBe ("TODO") + } + + // to test the property `latitude` + should("test latitude") { + // uncomment below to test the property + //modelInstance.latitude shouldBe ("TODO") + } + + // to test the property `longitude` + should("test longitude") { + // uncomment below to test the property + //modelInstance.longitude shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.kt new file mode 100644 index 000000000..a3c808ee7 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational + +class SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational + //val modelInstance = SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational() + + // to test the property `monday` + should("test monday") { + // uncomment below to test the property + //modelInstance.monday shouldBe ("TODO") + } + + // to test the property `tuesday` + should("test tuesday") { + // uncomment below to test the property + //modelInstance.tuesday shouldBe ("TODO") + } + + // to test the property `wednesday` + should("test wednesday") { + // uncomment below to test the property + //modelInstance.wednesday shouldBe ("TODO") + } + + // to test the property `thursday` + should("test thursday") { + // uncomment below to test the property + //modelInstance.thursday shouldBe ("TODO") + } + + // to test the property `friday` + should("test friday") { + // uncomment below to test the property + //modelInstance.friday shouldBe ("TODO") + } + + // to test the property `saturday` + should("test saturday") { + // uncomment below to test the property + //modelInstance.saturday shouldBe ("TODO") + } + + // to test the property `sunday` + should("test sunday") { + // uncomment below to test the property + //modelInstance.sunday shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.kt new file mode 100644 index 000000000..95028a655 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInnerLocalHours +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational + +class SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRestaurants200ResponseRestaurantsInnerLocalHours + //val modelInstance = SearchRestaurants200ResponseRestaurantsInnerLocalHours() + + // to test the property `operational` + should("test operational") { + // uncomment below to test the property + //modelInstance.operational shouldBe ("TODO") + } + + // to test the property `delivery` + should("test delivery") { + // uncomment below to test the property + //modelInstance.delivery shouldBe ("TODO") + } + + // to test the property `pickup` + should("test pickup") { + // uncomment below to test the property + //modelInstance.pickup shouldBe ("TODO") + } + + // to test the property `dineIn` + should("test dineIn") { + // uncomment below to test the property + //modelInstance.dineIn shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerTest.kt new file mode 100644 index 000000000..de02621aa --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseRestaurantsInnerTest.kt @@ -0,0 +1,151 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInner +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInnerAddress +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInnerLocalHours + +class SearchRestaurants200ResponseRestaurantsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRestaurants200ResponseRestaurantsInner + //val modelInstance = SearchRestaurants200ResponseRestaurantsInner() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `phoneNumber` + should("test phoneNumber") { + // uncomment below to test the property + //modelInstance.phoneNumber shouldBe ("TODO") + } + + // to test the property `address` + should("test address") { + // uncomment below to test the property + //modelInstance.address shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `localHours` + should("test localHours") { + // uncomment below to test the property + //modelInstance.localHours shouldBe ("TODO") + } + + // to test the property `cuisines` + should("test cuisines") { + // uncomment below to test the property + //modelInstance.cuisines shouldBe ("TODO") + } + + // to test the property `foodPhotos` + should("test foodPhotos") { + // uncomment below to test the property + //modelInstance.foodPhotos shouldBe ("TODO") + } + + // to test the property `logoPhotos` + should("test logoPhotos") { + // uncomment below to test the property + //modelInstance.logoPhotos shouldBe ("TODO") + } + + // to test the property `storePhotos` + should("test storePhotos") { + // uncomment below to test the property + //modelInstance.storePhotos shouldBe ("TODO") + } + + // to test the property `dollarSigns` + should("test dollarSigns") { + // uncomment below to test the property + //modelInstance.dollarSigns shouldBe ("TODO") + } + + // to test the property `pickupEnabled` + should("test pickupEnabled") { + // uncomment below to test the property + //modelInstance.pickupEnabled shouldBe ("TODO") + } + + // to test the property `deliveryEnabled` + should("test deliveryEnabled") { + // uncomment below to test the property + //modelInstance.deliveryEnabled shouldBe ("TODO") + } + + // to test the property `isOpen` + should("test isOpen") { + // uncomment below to test the property + //modelInstance.isOpen shouldBe ("TODO") + } + + // to test the property `offersFirstPartyDelivery` + should("test offersFirstPartyDelivery") { + // uncomment below to test the property + //modelInstance.offersFirstPartyDelivery shouldBe ("TODO") + } + + // to test the property `offersThirdPartyDelivery` + should("test offersThirdPartyDelivery") { + // uncomment below to test the property + //modelInstance.offersThirdPartyDelivery shouldBe ("TODO") + } + + // to test the property `miles` + should("test miles") { + // uncomment below to test the property + //modelInstance.miles shouldBe ("TODO") + } + + // to test the property `weightedRatingValue` + should("test weightedRatingValue") { + // uncomment below to test the property + //modelInstance.weightedRatingValue shouldBe ("TODO") + } + + // to test the property `aggregatedRatingCount` + should("test aggregatedRatingCount") { + // uncomment below to test the property + //modelInstance.aggregatedRatingCount shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseTest.kt new file mode 100644 index 000000000..482f967f4 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchRestaurants200ResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchRestaurants200Response +import com.spoonacular.client.model.SearchRestaurants200ResponseRestaurantsInner + +class SearchRestaurants200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchRestaurants200Response + //val modelInstance = SearchRestaurants200Response() + + // to test the property `restaurants` + should("test restaurants") { + // uncomment below to test the property + //modelInstance.restaurants shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.kt new file mode 100644 index 000000000..de34e529c --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchSiteContent200ResponseArticlesInnerDataPointsInner + +class SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchSiteContent200ResponseArticlesInnerDataPointsInner + //val modelInstance = SearchSiteContent200ResponseArticlesInnerDataPointsInner() + + // to test the property `key` + should("test key") { + // uncomment below to test the property + //modelInstance.key shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerTest.kt new file mode 100644 index 000000000..f8f4a74c6 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseArticlesInnerTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchSiteContent200ResponseArticlesInner +import com.spoonacular.client.model.SearchSiteContent200ResponseArticlesInnerDataPointsInner + +class SearchSiteContent200ResponseArticlesInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchSiteContent200ResponseArticlesInner + //val modelInstance = SearchSiteContent200ResponseArticlesInner() + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `link` + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `dataPoints` + should("test dataPoints") { + // uncomment below to test the property + //modelInstance.dataPoints shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseTest.kt new file mode 100644 index 000000000..d63a46af1 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SearchSiteContent200ResponseTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SearchSiteContent200Response +import com.spoonacular.client.model.SearchSiteContent200ResponseArticlesInner + +class SearchSiteContent200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SearchSiteContent200Response + //val modelInstance = SearchSiteContent200Response() + + // to test the property `articles` + should("test articles") { + // uncomment below to test the property + //modelInstance.articles shouldBe ("TODO") + } + + // to test the property `groceryProducts` + should("test groceryProducts") { + // uncomment below to test the property + //modelInstance.groceryProducts shouldBe ("TODO") + } + + // to test the property `menuItems` + should("test menuItems") { + // uncomment below to test the property + //modelInstance.menuItems shouldBe ("TODO") + } + + // to test the property `recipes` + should("test recipes") { + // uncomment below to test the property + //modelInstance.recipes shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/SummarizeRecipe200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/SummarizeRecipe200ResponseTest.kt new file mode 100644 index 000000000..bbac8a193 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/SummarizeRecipe200ResponseTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.SummarizeRecipe200Response + +class SummarizeRecipe200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SummarizeRecipe200Response + //val modelInstance = SummarizeRecipe200Response() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `summary` + should("test summary") { + // uncomment below to test the property + //modelInstance.summary shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInnerTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInnerTest.kt new file mode 100644 index 000000000..307c3b108 --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseMediaInnerTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.TalkToChatbot200ResponseMediaInner + +class TalkToChatbot200ResponseMediaInnerTest : ShouldSpec() { + init { + // uncomment below to create an instance of TalkToChatbot200ResponseMediaInner + //val modelInstance = TalkToChatbot200ResponseMediaInner() + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `image` + should("test image") { + // uncomment below to test the property + //modelInstance.image shouldBe ("TODO") + } + + // to test the property `link` + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + } +} diff --git a/kotlin/src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseTest.kt b/kotlin/src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseTest.kt new file mode 100644 index 000000000..9fe71795d --- /dev/null +++ b/kotlin/src/test/kotlin/com/spoonacular/client/model/TalkToChatbot200ResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package com.spoonacular.client.model + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import com.spoonacular.client.model.TalkToChatbot200Response +import com.spoonacular.client.model.TalkToChatbot200ResponseMediaInner + +class TalkToChatbot200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of TalkToChatbot200Response + //val modelInstance = TalkToChatbot200Response() + + // to test the property `answerText` + should("test answerText") { + // uncomment below to test the property + //modelInstance.answerText shouldBe ("TODO") + } + + // to test the property `media` + should("test media") { + // uncomment below to test the property + //modelInstance.media shouldBe ("TODO") + } + + } +} diff --git a/lua/.openapi-generator/FILES b/lua/.openapi-generator/FILES index d2fd7f520..603bdff04 100644 --- a/lua/.openapi-generator/FILES +++ b/lua/.openapi-generator/FILES @@ -163,7 +163,7 @@ spec/summarize_recipe_200_response_spec.lua spec/talk_to_chatbot_200_response_media_inner_spec.lua spec/talk_to_chatbot_200_response_spec.lua spec/wine_api_spec.lua -spoonacular-1.1.1-1.rockspec +spoonacular-1.1.2-1.rockspec spoonacular/api/default_api.lua spoonacular/api/ingredients_api.lua spoonacular/api/meal_planning_api.lua diff --git a/lua/.openapi-generator/VERSION b/lua/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/lua/.openapi-generator/VERSION +++ b/lua/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/lua/spoonacular-1.1.1-1.rockspec b/lua/spoonacular-1.1.2-1.rockspec similarity index 99% rename from lua/spoonacular-1.1.1-1.rockspec rename to lua/spoonacular-1.1.2-1.rockspec index 6bdff9cdc..c81cd7b72 100644 --- a/lua/spoonacular-1.1.1-1.rockspec +++ b/lua/spoonacular-1.1.2-1.rockspec @@ -1,5 +1,5 @@ package = "spoonacular" -version = "1.1.1-1" +version = "1.1.2-1" source = { url = "https://github.com/ddsky/spoonacular-api-clients/tree/master/lua/.git" } diff --git a/objc/.gitignore b/objc/.gitignore deleted file mode 100644 index 01103f6f5..000000000 --- a/objc/.gitignore +++ /dev/null @@ -1,53 +0,0 @@ -# Xcode -# -# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore - -## Build generated -build/ -DerivedData - -## Various settings -*.pbxuser -!default.pbxuser -*.mode1v3 -!default.mode1v3 -*.mode2v3 -!default.mode2v3 -*.perspectivev3 -!default.perspectivev3 -xcuserdata - -## Other -*.xccheckout -*.moved-aside -*.xcuserstate -*.xcscmblueprint - -## Obj-C/Swift specific -*.hmap -*.ipa - -# CocoaPods -# -# We recommend against adding the Pods directory to your .gitignore. However -# you should judge for yourself, the pros and cons are mentioned at: -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control -# -# Pods/ - -# Carthage -# -# Add this line if you want to avoid checking in source code from Carthage dependencies. -# Carthage/Checkouts - -Carthage/Build - -# fastlane -# -# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the -# screenshots whenever they are needed. -# For more information about the recommended setup visit: -# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md - -fastlane/report.xml -fastlane/screenshots diff --git a/objc/.openapi-generator-ignore b/objc/.openapi-generator-ignore deleted file mode 100644 index 7484ee590..000000000 --- a/objc/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/objc/.openapi-generator/FILES b/objc/.openapi-generator/FILES deleted file mode 100644 index d7306e35b..000000000 --- a/objc/.openapi-generator/FILES +++ /dev/null @@ -1,513 +0,0 @@ -.gitignore -.openapi-generator-ignore -OpenAPIClient.podspec -OpenAPIClient/Api/OAIDefaultApi.h -OpenAPIClient/Api/OAIDefaultApi.m -OpenAPIClient/Api/OAIIngredientsApi.h -OpenAPIClient/Api/OAIIngredientsApi.m -OpenAPIClient/Api/OAIMealPlanningApi.h -OpenAPIClient/Api/OAIMealPlanningApi.m -OpenAPIClient/Api/OAIMenuItemsApi.h -OpenAPIClient/Api/OAIMenuItemsApi.m -OpenAPIClient/Api/OAIMiscApi.h -OpenAPIClient/Api/OAIMiscApi.m -OpenAPIClient/Api/OAIProductsApi.h -OpenAPIClient/Api/OAIProductsApi.m -OpenAPIClient/Api/OAIRecipesApi.h -OpenAPIClient/Api/OAIRecipesApi.m -OpenAPIClient/Api/OAIWineApi.h -OpenAPIClient/Api/OAIWineApi.m -OpenAPIClient/Core/JSONValueTransformer+ISO8601.h -OpenAPIClient/Core/JSONValueTransformer+ISO8601.m -OpenAPIClient/Core/OAIApi.h -OpenAPIClient/Core/OAIApiClient.h -OpenAPIClient/Core/OAIApiClient.m -OpenAPIClient/Core/OAIBasicAuthTokenProvider.h -OpenAPIClient/Core/OAIBasicAuthTokenProvider.m -OpenAPIClient/Core/OAIConfiguration.h -OpenAPIClient/Core/OAIDefaultConfiguration.h -OpenAPIClient/Core/OAIDefaultConfiguration.m -OpenAPIClient/Core/OAIJSONRequestSerializer.h -OpenAPIClient/Core/OAIJSONRequestSerializer.m -OpenAPIClient/Core/OAILogger.h -OpenAPIClient/Core/OAILogger.m -OpenAPIClient/Core/OAIObject.h -OpenAPIClient/Core/OAIObject.m -OpenAPIClient/Core/OAIQueryParamCollection.h -OpenAPIClient/Core/OAIQueryParamCollection.m -OpenAPIClient/Core/OAIResponseDeserializer.h -OpenAPIClient/Core/OAIResponseDeserializer.m -OpenAPIClient/Core/OAISanitizer.h -OpenAPIClient/Core/OAISanitizer.m -OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.h -OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.m -OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.h -OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.m -OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.h -OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.m -OpenAPIClient/Model/OAIAddToMealPlanRequest.h -OpenAPIClient/Model/OAIAddToMealPlanRequest.m -OpenAPIClient/Model/OAIAddToMealPlanRequestValue.h -OpenAPIClient/Model/OAIAddToMealPlanRequestValue.m -OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.h -OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.m -OpenAPIClient/Model/OAIAddToShoppingListRequest.h -OpenAPIClient/Model/OAIAddToShoppingListRequest.m -OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.h -OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.m -OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.h -OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.m -OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.h -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.m -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.h -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.m -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h -OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m -OpenAPIClient/Model/OAIAnalyzeRecipeRequest.h -OpenAPIClient/Model/OAIAnalyzeRecipeRequest.m -OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.h -OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.m -OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.h -OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.m -OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.h -OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.m -OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.h -OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.m -OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.h -OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.m -OpenAPIClient/Model/OAIClassifyCuisine200Response.h -OpenAPIClient/Model/OAIClassifyCuisine200Response.m -OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.h -OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.m -OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.h -OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.m -OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.h -OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.m -OpenAPIClient/Model/OAIClassifyGroceryProductRequest.h -OpenAPIClient/Model/OAIClassifyGroceryProductRequest.m -OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.h -OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.m -OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.h -OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.m -OpenAPIClient/Model/OAIComputeIngredientAmount200Response.h -OpenAPIClient/Model/OAIComputeIngredientAmount200Response.m -OpenAPIClient/Model/OAIConnectUser200Response.h -OpenAPIClient/Model/OAIConnectUser200Response.m -OpenAPIClient/Model/OAIConnectUserRequest.h -OpenAPIClient/Model/OAIConnectUserRequest.m -OpenAPIClient/Model/OAIConvertAmounts200Response.h -OpenAPIClient/Model/OAIConvertAmounts200Response.m -OpenAPIClient/Model/OAICreateRecipeCard200Response.h -OpenAPIClient/Model/OAICreateRecipeCard200Response.m -OpenAPIClient/Model/OAIDetectFoodInText200Response.h -OpenAPIClient/Model/OAIDetectFoodInText200Response.m -OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.h -OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.m -OpenAPIClient/Model/OAIGenerateMealPlan200Response.h -OpenAPIClient/Model/OAIGenerateMealPlan200Response.m -OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.h -OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.m -OpenAPIClient/Model/OAIGenerateShoppingList200Response.h -OpenAPIClient/Model/OAIGenerateShoppingList200Response.m -OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.h -OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.m -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.h -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.m -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.h -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.m -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h -OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m -OpenAPIClient/Model/OAIGetComparableProducts200Response.h -OpenAPIClient/Model/OAIGetComparableProducts200Response.m -OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.h -OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.m -OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.h -OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.m -OpenAPIClient/Model/OAIGetConversationSuggests200Response.h -OpenAPIClient/Model/OAIGetConversationSuggests200Response.m -OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.h -OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.m -OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.h -OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.m -OpenAPIClient/Model/OAIGetDishPairingForWine200Response.h -OpenAPIClient/Model/OAIGetDishPairingForWine200Response.m -OpenAPIClient/Model/OAIGetIngredientInformation200Response.h -OpenAPIClient/Model/OAIGetIngredientInformation200Response.m -OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.h -OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.m -OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.h -OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.m -OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.h -OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.m -OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.h -OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.m -OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.h -OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.m -OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.h -OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.m -OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.h -OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.m -OpenAPIClient/Model/OAIGetMealPlanWeek200Response.h -OpenAPIClient/Model/OAIGetMealPlanWeek200Response.m -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.h -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.m -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.h -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.m -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.h -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.m -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.m -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.h -OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.m -OpenAPIClient/Model/OAIGetMenuItemInformation200Response.h -OpenAPIClient/Model/OAIGetMenuItemInformation200Response.m -OpenAPIClient/Model/OAIGetProductInformation200Response.h -OpenAPIClient/Model/OAIGetProductInformation200Response.m -OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.h -OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.m -OpenAPIClient/Model/OAIGetRandomRecipes200Response.h -OpenAPIClient/Model/OAIGetRandomRecipes200Response.m -OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.h -OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.m -OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.h -OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.m -OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.h -OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.m -OpenAPIClient/Model/OAIGetRecipeInformation200Response.h -OpenAPIClient/Model/OAIGetRecipeInformation200Response.m -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.m -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.h -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.m -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.h -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.m -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.h -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.m -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.h -OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.m -OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.h -OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.m -OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.h -OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.m -OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.h -OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.m -OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.h -OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.m -OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.h -OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.m -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.h -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.m -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.h -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.m -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.m -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.h -OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.m -OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.h -OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.m -OpenAPIClient/Model/OAIGetShoppingList200Response.h -OpenAPIClient/Model/OAIGetShoppingList200Response.m -OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.h -OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.m -OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.h -OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.m -OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.h -OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.m -OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.h -OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.m -OpenAPIClient/Model/OAIGetWineDescription200Response.h -OpenAPIClient/Model/OAIGetWineDescription200Response.m -OpenAPIClient/Model/OAIGetWinePairing200Response.h -OpenAPIClient/Model/OAIGetWinePairing200Response.m -OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.h -OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.m -OpenAPIClient/Model/OAIGetWineRecommendation200Response.h -OpenAPIClient/Model/OAIGetWineRecommendation200Response.m -OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.h -OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.m -OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.h -OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.m -OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.h -OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.m -OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.h -OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.m -OpenAPIClient/Model/OAIImageAnalysisByURL200Response.h -OpenAPIClient/Model/OAIImageAnalysisByURL200Response.m -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.h -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.m -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.h -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.m -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.h -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.m -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.h -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.m -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.h -OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.m -OpenAPIClient/Model/OAIImageClassificationByURL200Response.h -OpenAPIClient/Model/OAIImageClassificationByURL200Response.m -OpenAPIClient/Model/OAIIngredientSearch200Response.h -OpenAPIClient/Model/OAIIngredientSearch200Response.m -OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.h -OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.m -OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.h -OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.m -OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.h -OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.m -OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.h -OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInner.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInner.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.m -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h -OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.m -OpenAPIClient/Model/OAIQuickAnswer200Response.h -OpenAPIClient/Model/OAIQuickAnswer200Response.m -OpenAPIClient/Model/OAISearchAllFood200Response.h -OpenAPIClient/Model/OAISearchAllFood200Response.m -OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.h -OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.m -OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.h -OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.m -OpenAPIClient/Model/OAISearchCustomFoods200Response.h -OpenAPIClient/Model/OAISearchCustomFoods200Response.m -OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.h -OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.m -OpenAPIClient/Model/OAISearchFoodVideos200Response.h -OpenAPIClient/Model/OAISearchFoodVideos200Response.m -OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.h -OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.m -OpenAPIClient/Model/OAISearchGroceryProducts200Response.h -OpenAPIClient/Model/OAISearchGroceryProducts200Response.m -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.h -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.m -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.h -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.m -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.h -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.m -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.h -OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.m -OpenAPIClient/Model/OAISearchMenuItems200Response.h -OpenAPIClient/Model/OAISearchMenuItems200Response.m -OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.h -OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.m -OpenAPIClient/Model/OAISearchRecipes200Response.h -OpenAPIClient/Model/OAISearchRecipes200Response.m -OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.h -OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.m -OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.h -OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.m -OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.h -OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.m -OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.h -OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.m -OpenAPIClient/Model/OAISearchRestaurants200Response.h -OpenAPIClient/Model/OAISearchRestaurants200Response.m -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.h -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.m -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.h -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.m -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.h -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.m -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.h -OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.m -OpenAPIClient/Model/OAISearchSiteContent200Response.h -OpenAPIClient/Model/OAISearchSiteContent200Response.m -OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.h -OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.m -OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.h -OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.m -OpenAPIClient/Model/OAISummarizeRecipe200Response.h -OpenAPIClient/Model/OAISummarizeRecipe200Response.m -OpenAPIClient/Model/OAITalkToChatbot200Response.h -OpenAPIClient/Model/OAITalkToChatbot200Response.m -OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.h -OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.m -README.md -docs/OAIAddMealPlanTemplate200Response.md -docs/OAIAddMealPlanTemplate200ResponseItemsInner.md -docs/OAIAddMealPlanTemplate200ResponseItemsInnerValue.md -docs/OAIAddToMealPlanRequest.md -docs/OAIAddToMealPlanRequestValue.md -docs/OAIAddToMealPlanRequestValueIngredientsInner.md -docs/OAIAddToShoppingListRequest.md -docs/OAIAnalyzeARecipeSearchQuery200Response.md -docs/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.md -docs/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.md -docs/OAIAnalyzeRecipeInstructions200Response.md -docs/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md -docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md -docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md -docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md -docs/OAIAnalyzeRecipeRequest.md -docs/OAIAutocompleteIngredientSearch200ResponseInner.md -docs/OAIAutocompleteMenuItemSearch200Response.md -docs/OAIAutocompleteProductSearch200Response.md -docs/OAIAutocompleteProductSearch200ResponseResultsInner.md -docs/OAIAutocompleteRecipeSearch200ResponseInner.md -docs/OAIClassifyCuisine200Response.md -docs/OAIClassifyGroceryProduct200Response.md -docs/OAIClassifyGroceryProductBulk200ResponseInner.md -docs/OAIClassifyGroceryProductBulkRequestInner.md -docs/OAIClassifyGroceryProductRequest.md -docs/OAIComputeGlycemicLoad200Response.md -docs/OAIComputeGlycemicLoad200ResponseIngredientsInner.md -docs/OAIComputeGlycemicLoadRequest.md -docs/OAIComputeIngredientAmount200Response.md -docs/OAIConnectUser200Response.md -docs/OAIConnectUserRequest.md -docs/OAIConvertAmounts200Response.md -docs/OAICreateRecipeCard200Response.md -docs/OAIDefaultApi.md -docs/OAIDetectFoodInText200Response.md -docs/OAIDetectFoodInText200ResponseAnnotationsInner.md -docs/OAIGenerateMealPlan200Response.md -docs/OAIGenerateMealPlan200ResponseNutrients.md -docs/OAIGenerateShoppingList200Response.md -docs/OAIGetARandomFoodJoke200Response.md -docs/OAIGetAnalyzedRecipeInstructions200Response.md -docs/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md -docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md -docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md -docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md -docs/OAIGetComparableProducts200Response.md -docs/OAIGetComparableProducts200ResponseComparableProducts.md -docs/OAIGetComparableProducts200ResponseComparableProductsProteinInner.md -docs/OAIGetConversationSuggests200Response.md -docs/OAIGetConversationSuggests200ResponseSuggests.md -docs/OAIGetConversationSuggests200ResponseSuggestsInner.md -docs/OAIGetDishPairingForWine200Response.md -docs/OAIGetIngredientInformation200Response.md -docs/OAIGetIngredientInformation200ResponseNutrition.md -docs/OAIGetIngredientSubstitutes200Response.md -docs/OAIGetMealPlanTemplate200Response.md -docs/OAIGetMealPlanTemplate200ResponseDaysInner.md -docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.md -docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md -docs/OAIGetMealPlanTemplates200Response.md -docs/OAIGetMealPlanWeek200Response.md -docs/OAIGetMealPlanWeek200ResponseDaysInner.md -docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.md -docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md -docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md -docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md -docs/OAIGetMenuItemInformation200Response.md -docs/OAIGetProductInformation200Response.md -docs/OAIGetProductInformation200ResponseIngredientsInner.md -docs/OAIGetRandomFoodTrivia200Response.md -docs/OAIGetRandomRecipes200Response.md -docs/OAIGetRandomRecipes200ResponseRecipesInner.md -docs/OAIGetRecipeEquipmentByID200Response.md -docs/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.md -docs/OAIGetRecipeInformation200Response.md -docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md -docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md -docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md -docs/OAIGetRecipeInformation200ResponseWinePairing.md -docs/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.md -docs/OAIGetRecipeInformationBulk200ResponseInner.md -docs/OAIGetRecipeIngredientsByID200Response.md -docs/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.md -docs/OAIGetRecipeNutritionWidgetByID200Response.md -docs/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.md -docs/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.md -docs/OAIGetRecipePriceBreakdownByID200Response.md -docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.md -docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md -docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md -docs/OAIGetRecipeTasteByID200Response.md -docs/OAIGetShoppingList200Response.md -docs/OAIGetShoppingList200ResponseAislesInner.md -docs/OAIGetShoppingList200ResponseAislesInnerItemsInner.md -docs/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.md -docs/OAIGetSimilarRecipes200ResponseInner.md -docs/OAIGetWineDescription200Response.md -docs/OAIGetWinePairing200Response.md -docs/OAIGetWinePairing200ResponseProductMatchesInner.md -docs/OAIGetWineRecommendation200Response.md -docs/OAIGetWineRecommendation200ResponseRecommendedWinesInner.md -docs/OAIGuessNutritionByDishName200Response.md -docs/OAIGuessNutritionByDishName200ResponseCalories.md -docs/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md -docs/OAIImageAnalysisByURL200Response.md -docs/OAIImageAnalysisByURL200ResponseCategory.md -docs/OAIImageAnalysisByURL200ResponseNutrition.md -docs/OAIImageAnalysisByURL200ResponseNutritionCalories.md -docs/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md -docs/OAIImageAnalysisByURL200ResponseRecipesInner.md -docs/OAIImageClassificationByURL200Response.md -docs/OAIIngredientSearch200Response.md -docs/OAIIngredientSearch200ResponseResultsInner.md -docs/OAIIngredientsApi.md -docs/OAIMapIngredientsToGroceryProducts200ResponseInner.md -docs/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.md -docs/OAIMapIngredientsToGroceryProductsRequest.md -docs/OAIMealPlanningApi.md -docs/OAIMenuItemsApi.md -docs/OAIMiscApi.md -docs/OAIParseIngredients200ResponseInner.md -docs/OAIParseIngredients200ResponseInnerEstimatedCost.md -docs/OAIParseIngredients200ResponseInnerNutrition.md -docs/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md -docs/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md -docs/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md -docs/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md -docs/OAIProductsApi.md -docs/OAIQuickAnswer200Response.md -docs/OAIRecipesApi.md -docs/OAISearchAllFood200Response.md -docs/OAISearchAllFood200ResponseSearchResultsInner.md -docs/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.md -docs/OAISearchCustomFoods200Response.md -docs/OAISearchCustomFoods200ResponseCustomFoodsInner.md -docs/OAISearchFoodVideos200Response.md -docs/OAISearchFoodVideos200ResponseVideosInner.md -docs/OAISearchGroceryProducts200Response.md -docs/OAISearchGroceryProductsByUPC200Response.md -docs/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.md -docs/OAISearchGroceryProductsByUPC200ResponseNutrition.md -docs/OAISearchGroceryProductsByUPC200ResponseServings.md -docs/OAISearchMenuItems200Response.md -docs/OAISearchMenuItems200ResponseMenuItemsInner.md -docs/OAISearchRecipes200Response.md -docs/OAISearchRecipes200ResponseResultsInner.md -docs/OAISearchRecipesByIngredients200ResponseInner.md -docs/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md -docs/OAISearchRecipesByNutrients200ResponseInner.md -docs/OAISearchRestaurants200Response.md -docs/OAISearchRestaurants200ResponseRestaurantsInner.md -docs/OAISearchRestaurants200ResponseRestaurantsInnerAddress.md -docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.md -docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md -docs/OAISearchSiteContent200Response.md -docs/OAISearchSiteContent200ResponseArticlesInner.md -docs/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.md -docs/OAISummarizeRecipe200Response.md -docs/OAITalkToChatbot200Response.md -docs/OAITalkToChatbot200ResponseMediaInner.md -docs/OAIWineApi.md -git_push.sh diff --git a/objc/.openapi-generator/VERSION b/objc/.openapi-generator/VERSION deleted file mode 100644 index 8b23b8d47..000000000 --- a/objc/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.3.0 \ No newline at end of file diff --git a/objc/OpenAPIClient.podspec b/objc/OpenAPIClient.podspec deleted file mode 100644 index 7790260b0..000000000 --- a/objc/OpenAPIClient.podspec +++ /dev/null @@ -1,36 +0,0 @@ -# -# Be sure to run `pod lib lint OpenAPIClient.podspec' to ensure this is a -# valid spec and remove all comments before submitting the spec. -# -# Any lines starting with a # are optional, but encouraged -# -# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html -# - -Pod::Spec.new do |s| - s.name = "OpenAPIClient" - s.version = "1.0.0" - - s.summary = "spoonacular API" - s.description = <<-DESC - The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. - DESC - - s.platform = :ios, '7.0' - s.requires_arc = true - - s.framework = 'SystemConfiguration' - - s.homepage = "https://github.com/openapitools/openapi-generator" - s.license = "Proprietary" - s.source = { :git => "https://github.com/openapitools/openapi-generator.git", :tag => "#{s.version}" } - s.author = { "OpenAPI" => "team@openapitools.org" } - - s.source_files = 'OpenAPIClient/**/*.{m,h}' - s.public_header_files = 'OpenAPIClient/**/*.h' - - - s.dependency 'AFNetworking', '~> 3' - s.dependency 'JSONModel', '~> 1.2' - s.dependency 'ISO8601', '~> 0.6' -end diff --git a/objc/OpenAPIClient/Api/OAIDefaultApi.h b/objc/OpenAPIClient/Api/OAIDefaultApi.h deleted file mode 100644 index ecfa6622f..000000000 --- a/objc/OpenAPIClient/Api/OAIDefaultApi.h +++ /dev/null @@ -1,105 +0,0 @@ -#import -#import "OAIAnalyzeRecipeRequest.h" -#import "OAISearchRestaurants200Response.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIDefaultApi: NSObject - -extern NSString* kOAIDefaultApiErrorDomain; -extern NSInteger kOAIDefaultApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Analyze Recipe -/// This endpoint allows you to send raw recipe information, such as title, servings, and ingredients, to then see what we compute (badges, diets, nutrition, and more). This is useful if you have your own recipe data and want to enrich it with our semantic analysis. -/// -/// @param analyzeRecipeRequest Example request body. -/// @param language The input language, either \"en\" or \"de\". (optional) -/// @param includeNutrition Whether nutrition data should be added to correctly parsed ingredients. (optional) -/// @param includeTaste Whether taste data should be added to correctly parsed ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) analyzeRecipeWithAnalyzeRecipeRequest: (OAIAnalyzeRecipeRequest*) analyzeRecipeRequest - language: (NSString*) language - includeNutrition: (NSNumber*) includeNutrition - includeTaste: (NSNumber*) includeTaste - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Create Recipe Card -/// Generate a recipe card for a recipe. -/// -/// @param _id The recipe id. -/// @param mask The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). (optional) -/// @param backgroundImage The background image (\"none\",\"background1\", or \"background2\"). (optional) -/// @param backgroundColor The background color for the recipe card as a hex-string. (optional) -/// @param fontColor The font color for the recipe card as a hex-string. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) createRecipeCardGetWithId: (NSNumber*) _id - mask: (NSString*) mask - backgroundImage: (NSString*) backgroundImage - backgroundColor: (NSString*) backgroundColor - fontColor: (NSString*) fontColor - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Search Restaurants -/// Search through thousands of restaurants (in North America) by location, cuisine, budget, and more. -/// -/// @param query The search query. (optional) -/// @param lat The latitude of the user's location. (optional) -/// @param lng The longitude of the user's location.\". (optional) -/// @param distance The distance around the location in miles. (optional) -/// @param budget The user's budget for a meal in USD. (optional) -/// @param cuisine The cuisine of the restaurant. (optional) -/// @param minRating The minimum rating of the restaurant between 0 and 5. (optional) -/// @param isOpen Whether the restaurant must be open at the time of search. (optional) -/// @param sort How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. (optional) -/// @param page The page number of results. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchRestaurants200Response* --(NSURLSessionTask*) searchRestaurantsWithQuery: (NSString*) query - lat: (NSNumber*) lat - lng: (NSNumber*) lng - distance: (NSNumber*) distance - budget: (NSNumber*) budget - cuisine: (NSString*) cuisine - minRating: (NSNumber*) minRating - isOpen: (NSNumber*) isOpen - sort: (NSString*) sort - page: (NSNumber*) page - completionHandler: (void (^)(OAISearchRestaurants200Response* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIDefaultApi.m b/objc/OpenAPIClient/Api/OAIDefaultApi.m deleted file mode 100644 index 558092d0d..000000000 --- a/objc/OpenAPIClient/Api/OAIDefaultApi.m +++ /dev/null @@ -1,342 +0,0 @@ -#import "OAIDefaultApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIAnalyzeRecipeRequest.h" -#import "OAISearchRestaurants200Response.h" - - -@interface OAIDefaultApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIDefaultApi - -NSString* kOAIDefaultApiErrorDomain = @"OAIDefaultApiErrorDomain"; -NSInteger kOAIDefaultApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Analyze Recipe -/// This endpoint allows you to send raw recipe information, such as title, servings, and ingredients, to then see what we compute (badges, diets, nutrition, and more). This is useful if you have your own recipe data and want to enrich it with our semantic analysis. -/// @param analyzeRecipeRequest Example request body. -/// -/// @param language The input language, either \"en\" or \"de\". (optional) -/// -/// @param includeNutrition Whether nutrition data should be added to correctly parsed ingredients. (optional) -/// -/// @param includeTaste Whether taste data should be added to correctly parsed ingredients. (optional) -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) analyzeRecipeWithAnalyzeRecipeRequest: (OAIAnalyzeRecipeRequest*) analyzeRecipeRequest - language: (NSString*) language - includeNutrition: (NSNumber*) includeNutrition - includeTaste: (NSNumber*) includeTaste - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter 'analyzeRecipeRequest' is set - if (analyzeRecipeRequest == nil) { - NSParameterAssert(analyzeRecipeRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"analyzeRecipeRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIDefaultApiErrorDomain code:kOAIDefaultApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/analyze"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - if (includeNutrition != nil) { - queryParams[@"includeNutrition"] = [includeNutrition isEqual:@(YES)] ? @"true" : @"false"; - } - if (includeTaste != nil) { - queryParams[@"includeTaste"] = [includeTaste isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = analyzeRecipeRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Create Recipe Card -/// Generate a recipe card for a recipe. -/// @param _id The recipe id. -/// -/// @param mask The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). (optional) -/// -/// @param backgroundImage The background image (\"none\",\"background1\", or \"background2\"). (optional) -/// -/// @param backgroundColor The background color for the recipe card as a hex-string. (optional) -/// -/// @param fontColor The font color for the recipe card as a hex-string. (optional) -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) createRecipeCardGetWithId: (NSNumber*) _id - mask: (NSString*) mask - backgroundImage: (NSString*) backgroundImage - backgroundColor: (NSString*) backgroundColor - fontColor: (NSString*) fontColor - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIDefaultApiErrorDomain code:kOAIDefaultApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/card"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (mask != nil) { - queryParams[@"mask"] = mask; - } - if (backgroundImage != nil) { - queryParams[@"backgroundImage"] = backgroundImage; - } - if (backgroundColor != nil) { - queryParams[@"backgroundColor"] = backgroundColor; - } - if (fontColor != nil) { - queryParams[@"fontColor"] = fontColor; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Search Restaurants -/// Search through thousands of restaurants (in North America) by location, cuisine, budget, and more. -/// @param query The search query. (optional) -/// -/// @param lat The latitude of the user's location. (optional) -/// -/// @param lng The longitude of the user's location.\". (optional) -/// -/// @param distance The distance around the location in miles. (optional) -/// -/// @param budget The user's budget for a meal in USD. (optional) -/// -/// @param cuisine The cuisine of the restaurant. (optional) -/// -/// @param minRating The minimum rating of the restaurant between 0 and 5. (optional) -/// -/// @param isOpen Whether the restaurant must be open at the time of search. (optional) -/// -/// @param sort How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. (optional) -/// -/// @param page The page number of results. (optional) -/// -/// @returns OAISearchRestaurants200Response* -/// --(NSURLSessionTask*) searchRestaurantsWithQuery: (NSString*) query - lat: (NSNumber*) lat - lng: (NSNumber*) lng - distance: (NSNumber*) distance - budget: (NSNumber*) budget - cuisine: (NSString*) cuisine - minRating: (NSNumber*) minRating - isOpen: (NSNumber*) isOpen - sort: (NSString*) sort - page: (NSNumber*) page - completionHandler: (void (^)(OAISearchRestaurants200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/restaurants/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (lat != nil) { - queryParams[@"lat"] = lat; - } - if (lng != nil) { - queryParams[@"lng"] = lng; - } - if (distance != nil) { - queryParams[@"distance"] = distance; - } - if (budget != nil) { - queryParams[@"budget"] = budget; - } - if (cuisine != nil) { - queryParams[@"cuisine"] = cuisine; - } - if (minRating != nil) { - queryParams[@"min-rating"] = minRating; - } - if (isOpen != nil) { - queryParams[@"is-open"] = [isOpen isEqual:@(YES)] ? @"true" : @"false"; - } - if (sort != nil) { - queryParams[@"sort"] = sort; - } - if (page != nil) { - queryParams[@"page"] = page; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchRestaurants200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchRestaurants200Response*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIIngredientsApi.h b/objc/OpenAPIClient/Api/OAIIngredientsApi.h deleted file mode 100644 index 171322876..000000000 --- a/objc/OpenAPIClient/Api/OAIIngredientsApi.h +++ /dev/null @@ -1,229 +0,0 @@ -#import -#import "OAIAutocompleteIngredientSearch200ResponseInner.h" -#import "OAIComputeIngredientAmount200Response.h" -#import "OAIGetIngredientInformation200Response.h" -#import "OAIGetIngredientSubstitutes200Response.h" -#import "OAIIngredientSearch200Response.h" -#import "OAIMapIngredientsToGroceryProducts200ResponseInner.h" -#import "OAIMapIngredientsToGroceryProductsRequest.h" -#import "OAISet.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIIngredientsApi: NSObject - -extern NSString* kOAIIngredientsApiErrorDomain; -extern NSInteger kOAIIngredientsApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Autocomplete Ingredient Search -/// Autocomplete the entry of an ingredient. -/// -/// @param query The (natural language) search query. (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// @param metaInformation Whether to return more meta information about the ingredients. (optional) -/// @param intolerances A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) autocompleteIngredientSearchWithQuery: (NSString*) query - number: (NSNumber*) number - metaInformation: (NSNumber*) metaInformation - intolerances: (NSString*) intolerances - language: (NSString*) language - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Compute Ingredient Amount -/// Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein? -/// -/// @param _id The id of the ingredient you want the amount for. -/// @param nutrient The target nutrient. See a list of supported nutrients. -/// @param target The target number of the given nutrient. -/// @param unit The target unit. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIComputeIngredientAmount200Response* --(NSURLSessionTask*) computeIngredientAmountWithId: (NSNumber*) _id - nutrient: (NSString*) nutrient - target: (NSNumber*) target - unit: (NSString*) unit - completionHandler: (void (^)(OAIComputeIngredientAmount200Response* output, NSError* error)) handler; - - -/// Get Ingredient Information -/// Use an ingredient id to get all available information about an ingredient, such as its image and supermarket aisle. -/// -/// @param _id The item's id. -/// @param amount The amount of this ingredient. (optional) -/// @param unit The unit for the given amount. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetIngredientInformation200Response* --(NSURLSessionTask*) getIngredientInformationWithId: (NSNumber*) _id - amount: (NSNumber*) amount - unit: (NSString*) unit - completionHandler: (void (^)(OAIGetIngredientInformation200Response* output, NSError* error)) handler; - - -/// Get Ingredient Substitutes -/// Search for substitutes for a given ingredient. -/// -/// @param ingredientName The name of the ingredient you want to replace. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetIngredientSubstitutes200Response* --(NSURLSessionTask*) getIngredientSubstitutesWithIngredientName: (NSString*) ingredientName - completionHandler: (void (^)(OAIGetIngredientSubstitutes200Response* output, NSError* error)) handler; - - -/// Get Ingredient Substitutes by ID -/// Search for substitutes for a given ingredient. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetIngredientSubstitutes200Response* --(NSURLSessionTask*) getIngredientSubstitutesByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetIngredientSubstitutes200Response* output, NSError* error)) handler; - - -/// Ingredient Search -/// Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). -/// -/// @param query The (natural language) search query. (optional) -/// @param addChildren Whether to add children of found foods. (optional) -/// @param minProteinPercent The minimum percentage of protein the food must have (between 0 and 100). (optional) -/// @param maxProteinPercent The maximum percentage of protein the food can have (between 0 and 100). (optional) -/// @param minFatPercent The minimum percentage of fat the food must have (between 0 and 100). (optional) -/// @param maxFatPercent The maximum percentage of fat the food can have (between 0 and 100). (optional) -/// @param minCarbsPercent The minimum percentage of carbs the food must have (between 0 and 100). (optional) -/// @param maxCarbsPercent The maximum percentage of carbs the food can have (between 0 and 100). (optional) -/// @param metaInformation Whether to return more meta information about the ingredients. (optional) -/// @param intolerances A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -/// @param sort The strategy to sort recipes by. See a full list of supported sorting options. (optional) -/// @param sortDirection The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIIngredientSearch200Response* --(NSURLSessionTask*) ingredientSearchWithQuery: (NSString*) query - addChildren: (NSNumber*) addChildren - minProteinPercent: (NSNumber*) minProteinPercent - maxProteinPercent: (NSNumber*) maxProteinPercent - minFatPercent: (NSNumber*) minFatPercent - maxFatPercent: (NSNumber*) maxFatPercent - minCarbsPercent: (NSNumber*) minCarbsPercent - maxCarbsPercent: (NSNumber*) maxCarbsPercent - metaInformation: (NSNumber*) metaInformation - intolerances: (NSString*) intolerances - sort: (NSString*) sort - sortDirection: (NSString*) sortDirection - offset: (NSNumber*) offset - number: (NSNumber*) number - language: (NSString*) language - completionHandler: (void (^)(OAIIngredientSearch200Response* output, NSError* error)) handler; - - -/// Ingredients by ID Image -/// Visualize a recipe's ingredient list. -/// -/// @param _id The recipe id. -/// @param measure Whether the the measures should be 'us' or 'metric'. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) ingredientsByIDImageWithId: (NSNumber*) _id - measure: (NSString*) measure - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Map Ingredients to Grocery Products -/// Map a set of ingredients to products you can buy in the grocery store. -/// -/// @param mapIngredientsToGroceryProductsRequest -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) mapIngredientsToGroceryProductsWithMapIngredientsToGroceryProductsRequest: (OAIMapIngredientsToGroceryProductsRequest*) mapIngredientsToGroceryProductsRequest - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Ingredients Widget -/// Visualize ingredients of a recipe. You can play around with that endpoint! -/// -/// @param ingredientList The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -/// @param servings The number of servings. -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// @param measure The original system of measurement, either 'metric' or 'us'. (optional) -/// @param view How to visualize the ingredients, either 'grid' or 'list'. (optional) -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeIngredientsWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - measure: (NSString*) measure - view: (NSString*) view - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIIngredientsApi.m b/objc/OpenAPIClient/Api/OAIIngredientsApi.m deleted file mode 100644 index a459f23ca..000000000 --- a/objc/OpenAPIClient/Api/OAIIngredientsApi.m +++ /dev/null @@ -1,862 +0,0 @@ -#import "OAIIngredientsApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIAutocompleteIngredientSearch200ResponseInner.h" -#import "OAIComputeIngredientAmount200Response.h" -#import "OAIGetIngredientInformation200Response.h" -#import "OAIGetIngredientSubstitutes200Response.h" -#import "OAIIngredientSearch200Response.h" -#import "OAIMapIngredientsToGroceryProducts200ResponseInner.h" -#import "OAIMapIngredientsToGroceryProductsRequest.h" -#import "OAISet.h" - - -@interface OAIIngredientsApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIIngredientsApi - -NSString* kOAIIngredientsApiErrorDomain = @"OAIIngredientsApiErrorDomain"; -NSInteger kOAIIngredientsApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Autocomplete Ingredient Search -/// Autocomplete the entry of an ingredient. -/// @param query The (natural language) search query. (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @param metaInformation Whether to return more meta information about the ingredients. (optional) -/// -/// @param intolerances A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) autocompleteIngredientSearchWithQuery: (NSString*) query - number: (NSNumber*) number - metaInformation: (NSNumber*) metaInformation - intolerances: (NSString*) intolerances - language: (NSString*) language - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/autocomplete"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (number != nil) { - queryParams[@"number"] = number; - } - if (metaInformation != nil) { - queryParams[@"metaInformation"] = [metaInformation isEqual:@(YES)] ? @"true" : @"false"; - } - if (intolerances != nil) { - queryParams[@"intolerances"] = intolerances; - } - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Compute Ingredient Amount -/// Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein? -/// @param _id The id of the ingredient you want the amount for. -/// -/// @param nutrient The target nutrient. See a list of supported nutrients. -/// -/// @param target The target number of the given nutrient. -/// -/// @param unit The target unit. (optional) -/// -/// @returns OAIComputeIngredientAmount200Response* -/// --(NSURLSessionTask*) computeIngredientAmountWithId: (NSNumber*) _id - nutrient: (NSString*) nutrient - target: (NSNumber*) target - unit: (NSString*) unit - completionHandler: (void (^)(OAIComputeIngredientAmount200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'nutrient' is set - if (nutrient == nil) { - NSParameterAssert(nutrient); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"nutrient"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'target' is set - if (target == nil) { - NSParameterAssert(target); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"target"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/{id}/amount"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (nutrient != nil) { - queryParams[@"nutrient"] = nutrient; - } - if (target != nil) { - queryParams[@"target"] = target; - } - if (unit != nil) { - queryParams[@"unit"] = unit; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIComputeIngredientAmount200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIComputeIngredientAmount200Response*)data, error); - } - }]; -} - -/// -/// Get Ingredient Information -/// Use an ingredient id to get all available information about an ingredient, such as its image and supermarket aisle. -/// @param _id The item's id. -/// -/// @param amount The amount of this ingredient. (optional) -/// -/// @param unit The unit for the given amount. (optional) -/// -/// @returns OAIGetIngredientInformation200Response* -/// --(NSURLSessionTask*) getIngredientInformationWithId: (NSNumber*) _id - amount: (NSNumber*) amount - unit: (NSString*) unit - completionHandler: (void (^)(OAIGetIngredientInformation200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/{id}/information"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (amount != nil) { - queryParams[@"amount"] = amount; - } - if (unit != nil) { - queryParams[@"unit"] = unit; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetIngredientInformation200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetIngredientInformation200Response*)data, error); - } - }]; -} - -/// -/// Get Ingredient Substitutes -/// Search for substitutes for a given ingredient. -/// @param ingredientName The name of the ingredient you want to replace. -/// -/// @returns OAIGetIngredientSubstitutes200Response* -/// --(NSURLSessionTask*) getIngredientSubstitutesWithIngredientName: (NSString*) ingredientName - completionHandler: (void (^)(OAIGetIngredientSubstitutes200Response* output, NSError* error)) handler { - // verify the required parameter 'ingredientName' is set - if (ingredientName == nil) { - NSParameterAssert(ingredientName); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientName"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/substitutes"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (ingredientName != nil) { - queryParams[@"ingredientName"] = ingredientName; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetIngredientSubstitutes200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetIngredientSubstitutes200Response*)data, error); - } - }]; -} - -/// -/// Get Ingredient Substitutes by ID -/// Search for substitutes for a given ingredient. -/// @param _id The item's id. -/// -/// @returns OAIGetIngredientSubstitutes200Response* -/// --(NSURLSessionTask*) getIngredientSubstitutesByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetIngredientSubstitutes200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/{id}/substitutes"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetIngredientSubstitutes200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetIngredientSubstitutes200Response*)data, error); - } - }]; -} - -/// -/// Ingredient Search -/// Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). -/// @param query The (natural language) search query. (optional) -/// -/// @param addChildren Whether to add children of found foods. (optional) -/// -/// @param minProteinPercent The minimum percentage of protein the food must have (between 0 and 100). (optional) -/// -/// @param maxProteinPercent The maximum percentage of protein the food can have (between 0 and 100). (optional) -/// -/// @param minFatPercent The minimum percentage of fat the food must have (between 0 and 100). (optional) -/// -/// @param maxFatPercent The maximum percentage of fat the food can have (between 0 and 100). (optional) -/// -/// @param minCarbsPercent The minimum percentage of carbs the food must have (between 0 and 100). (optional) -/// -/// @param maxCarbsPercent The maximum percentage of carbs the food can have (between 0 and 100). (optional) -/// -/// @param metaInformation Whether to return more meta information about the ingredients. (optional) -/// -/// @param intolerances A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -/// -/// @param sort The strategy to sort recipes by. See a full list of supported sorting options. (optional) -/// -/// @param sortDirection The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @returns OAIIngredientSearch200Response* -/// --(NSURLSessionTask*) ingredientSearchWithQuery: (NSString*) query - addChildren: (NSNumber*) addChildren - minProteinPercent: (NSNumber*) minProteinPercent - maxProteinPercent: (NSNumber*) maxProteinPercent - minFatPercent: (NSNumber*) minFatPercent - maxFatPercent: (NSNumber*) maxFatPercent - minCarbsPercent: (NSNumber*) minCarbsPercent - maxCarbsPercent: (NSNumber*) maxCarbsPercent - metaInformation: (NSNumber*) metaInformation - intolerances: (NSString*) intolerances - sort: (NSString*) sort - sortDirection: (NSString*) sortDirection - offset: (NSNumber*) offset - number: (NSNumber*) number - language: (NSString*) language - completionHandler: (void (^)(OAIIngredientSearch200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (addChildren != nil) { - queryParams[@"addChildren"] = [addChildren isEqual:@(YES)] ? @"true" : @"false"; - } - if (minProteinPercent != nil) { - queryParams[@"minProteinPercent"] = minProteinPercent; - } - if (maxProteinPercent != nil) { - queryParams[@"maxProteinPercent"] = maxProteinPercent; - } - if (minFatPercent != nil) { - queryParams[@"minFatPercent"] = minFatPercent; - } - if (maxFatPercent != nil) { - queryParams[@"maxFatPercent"] = maxFatPercent; - } - if (minCarbsPercent != nil) { - queryParams[@"minCarbsPercent"] = minCarbsPercent; - } - if (maxCarbsPercent != nil) { - queryParams[@"maxCarbsPercent"] = maxCarbsPercent; - } - if (metaInformation != nil) { - queryParams[@"metaInformation"] = [metaInformation isEqual:@(YES)] ? @"true" : @"false"; - } - if (intolerances != nil) { - queryParams[@"intolerances"] = intolerances; - } - if (sort != nil) { - queryParams[@"sort"] = sort; - } - if (sortDirection != nil) { - queryParams[@"sortDirection"] = sortDirection; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIIngredientSearch200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIIngredientSearch200Response*)data, error); - } - }]; -} - -/// -/// Ingredients by ID Image -/// Visualize a recipe's ingredient list. -/// @param _id The recipe id. -/// -/// @param measure Whether the the measures should be 'us' or 'metric'. (optional) -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) ingredientsByIDImageWithId: (NSNumber*) _id - measure: (NSString*) measure - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/ingredientWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (measure != nil) { - queryParams[@"measure"] = measure; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Map Ingredients to Grocery Products -/// Map a set of ingredients to products you can buy in the grocery store. -/// @param mapIngredientsToGroceryProductsRequest -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) mapIngredientsToGroceryProductsWithMapIngredientsToGroceryProductsRequest: (OAIMapIngredientsToGroceryProductsRequest*) mapIngredientsToGroceryProductsRequest - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - // verify the required parameter 'mapIngredientsToGroceryProductsRequest' is set - if (mapIngredientsToGroceryProductsRequest == nil) { - NSParameterAssert(mapIngredientsToGroceryProductsRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"mapIngredientsToGroceryProductsRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/map"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = mapIngredientsToGroceryProductsRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Ingredients Widget -/// Visualize ingredients of a recipe. You can play around with that endpoint! -/// @param ingredientList The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -/// -/// @param servings The number of servings. -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @param measure The original system of measurement, either 'metric' or 'us'. (optional) -/// -/// @param view How to visualize the ingredients, either 'grid' or 'list'. (optional) -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeIngredientsWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - measure: (NSString*) measure - view: (NSString*) view - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter 'ingredientList' is set - if (ingredientList == nil) { - NSParameterAssert(ingredientList); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientList"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'servings' is set - if (servings == nil) { - NSParameterAssert(servings); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"servings"] }; - NSError* error = [NSError errorWithDomain:kOAIIngredientsApiErrorDomain code:kOAIIngredientsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/visualizeIngredients"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (ingredientList) { - formParams[@"ingredientList"] = ingredientList; - } - if (servings) { - formParams[@"servings"] = servings; - } - if (measure) { - formParams[@"measure"] = measure; - } - if (view) { - formParams[@"view"] = view; - } - if (defaultCss) { - formParams[@"defaultCss"] = defaultCss; - } - if (showBacklink) { - formParams[@"showBacklink"] = showBacklink; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIMealPlanningApi.h b/objc/OpenAPIClient/Api/OAIMealPlanningApi.h deleted file mode 100644 index ffa846085..000000000 --- a/objc/OpenAPIClient/Api/OAIMealPlanningApi.h +++ /dev/null @@ -1,297 +0,0 @@ -#import -#import "OAIAddMealPlanTemplate200Response.h" -#import "OAIAddToMealPlanRequest.h" -#import "OAIAddToShoppingListRequest.h" -#import "OAIConnectUser200Response.h" -#import "OAIConnectUserRequest.h" -#import "OAIGenerateMealPlan200Response.h" -#import "OAIGenerateShoppingList200Response.h" -#import "OAIGetMealPlanTemplate200Response.h" -#import "OAIGetMealPlanTemplates200Response.h" -#import "OAIGetMealPlanWeek200Response.h" -#import "OAIGetShoppingList200Response.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIMealPlanningApi: NSObject - -extern NSString* kOAIMealPlanningApiErrorDomain; -extern NSInteger kOAIMealPlanningApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Add Meal Plan Template -/// Add a meal plan template for a user. -/// -/// @param username The username. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIAddMealPlanTemplate200Response* --(NSURLSessionTask*) addMealPlanTemplateWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIAddMealPlanTemplate200Response* output, NSError* error)) handler; - - -/// Add to Meal Plan -/// Add an item to the user's meal plan. -/// -/// @param username The username. -/// @param hash The private hash for the username. -/// @param addToMealPlanRequest -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) addToMealPlanWithUsername: (NSString*) username - hash: (NSString*) hash - addToMealPlanRequest: (OAIAddToMealPlanRequest*) addToMealPlanRequest - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Add to Shopping List -/// Add an item to the current shopping list of a user. -/// -/// @param username The username. -/// @param hash The private hash for the username. -/// @param addToShoppingListRequest -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGenerateShoppingList200Response* --(NSURLSessionTask*) addToShoppingListWithUsername: (NSString*) username - hash: (NSString*) hash - addToShoppingListRequest: (OAIAddToShoppingListRequest*) addToShoppingListRequest - completionHandler: (void (^)(OAIGenerateShoppingList200Response* output, NSError* error)) handler; - - -/// Clear Meal Plan Day -/// Delete all planned items from the user's meal plan for a specific day. -/// -/// @param username The username. -/// @param date The date in the format yyyy-mm-dd. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) clearMealPlanDayWithUsername: (NSString*) username - date: (NSString*) date - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Connect User -/// In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. -/// -/// @param connectUserRequest -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIConnectUser200Response* --(NSURLSessionTask*) connectUserWithConnectUserRequest: (OAIConnectUserRequest*) connectUserRequest - completionHandler: (void (^)(OAIConnectUser200Response* output, NSError* error)) handler; - - -/// Delete from Meal Plan -/// Delete an item from the user's meal plan. -/// -/// @param username The username. -/// @param _id The shopping list item id. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) deleteFromMealPlanWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Delete from Shopping List -/// Delete an item from the current shopping list of the user. -/// -/// @param username The username. -/// @param _id The item's id. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) deleteFromShoppingListWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Delete Meal Plan Template -/// Delete a meal plan template for a user. -/// -/// @param username The username. -/// @param _id The item's id. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSObject* --(NSURLSessionTask*) deleteMealPlanTemplateWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; - - -/// Generate Meal Plan -/// Generate a meal plan with three meals per day (breakfast, lunch, and dinner). -/// -/// @param timeFrame Either for one \"day\" or an entire \"week\". (optional) -/// @param targetCalories What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. (optional) -/// @param diet Enter a diet that the meal plan has to adhere to. See a full list of supported diets. (optional) -/// @param exclude A comma-separated list of allergens or ingredients that must be excluded. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGenerateMealPlan200Response* --(NSURLSessionTask*) generateMealPlanWithTimeFrame: (NSString*) timeFrame - targetCalories: (NSNumber*) targetCalories - diet: (NSString*) diet - exclude: (NSString*) exclude - completionHandler: (void (^)(OAIGenerateMealPlan200Response* output, NSError* error)) handler; - - -/// Generate Shopping List -/// Generate the shopping list for a user from the meal planner in a given time frame. -/// -/// @param username The username. -/// @param startDate The start date in the format yyyy-mm-dd. -/// @param endDate The end date in the format yyyy-mm-dd. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGenerateShoppingList200Response* --(NSURLSessionTask*) generateShoppingListWithUsername: (NSString*) username - startDate: (NSString*) startDate - endDate: (NSString*) endDate - hash: (NSString*) hash - completionHandler: (void (^)(OAIGenerateShoppingList200Response* output, NSError* error)) handler; - - -/// Get Meal Plan Template -/// Get information about a meal plan template. -/// -/// @param username The username. -/// @param _id The item's id. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetMealPlanTemplate200Response* --(NSURLSessionTask*) getMealPlanTemplateWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanTemplate200Response* output, NSError* error)) handler; - - -/// Get Meal Plan Templates -/// Get meal plan templates from user or public ones. -/// -/// @param username The username. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetMealPlanTemplates200Response* --(NSURLSessionTask*) getMealPlanTemplatesWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanTemplates200Response* output, NSError* error)) handler; - - -/// Get Meal Plan Week -/// Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account. -/// -/// @param username The username. -/// @param startDate The start date of the meal planned week in the format yyyy-mm-dd. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetMealPlanWeek200Response* --(NSURLSessionTask*) getMealPlanWeekWithUsername: (NSString*) username - startDate: (NSString*) startDate - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanWeek200Response* output, NSError* error)) handler; - - -/// Get Shopping List -/// Get the current shopping list for the given user. -/// -/// @param username The username. -/// @param hash The private hash for the username. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetShoppingList200Response* --(NSURLSessionTask*) getShoppingListWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetShoppingList200Response* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIMealPlanningApi.m b/objc/OpenAPIClient/Api/OAIMealPlanningApi.m deleted file mode 100644 index a2c592589..000000000 --- a/objc/OpenAPIClient/Api/OAIMealPlanningApi.m +++ /dev/null @@ -1,1391 +0,0 @@ -#import "OAIMealPlanningApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIAddMealPlanTemplate200Response.h" -#import "OAIAddToMealPlanRequest.h" -#import "OAIAddToShoppingListRequest.h" -#import "OAIConnectUser200Response.h" -#import "OAIConnectUserRequest.h" -#import "OAIGenerateMealPlan200Response.h" -#import "OAIGenerateShoppingList200Response.h" -#import "OAIGetMealPlanTemplate200Response.h" -#import "OAIGetMealPlanTemplates200Response.h" -#import "OAIGetMealPlanWeek200Response.h" -#import "OAIGetShoppingList200Response.h" - - -@interface OAIMealPlanningApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIMealPlanningApi - -NSString* kOAIMealPlanningApiErrorDomain = @"OAIMealPlanningApiErrorDomain"; -NSInteger kOAIMealPlanningApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Add Meal Plan Template -/// Add a meal plan template for a user. -/// @param username The username. -/// -/// @param hash The private hash for the username. -/// -/// @returns OAIAddMealPlanTemplate200Response* -/// --(NSURLSessionTask*) addMealPlanTemplateWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIAddMealPlanTemplate200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/templates"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIAddMealPlanTemplate200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIAddMealPlanTemplate200Response*)data, error); - } - }]; -} - -/// -/// Add to Meal Plan -/// Add an item to the user's meal plan. -/// @param username The username. -/// -/// @param hash The private hash for the username. -/// -/// @param addToMealPlanRequest -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) addToMealPlanWithUsername: (NSString*) username - hash: (NSString*) hash - addToMealPlanRequest: (OAIAddToMealPlanRequest*) addToMealPlanRequest - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'addToMealPlanRequest' is set - if (addToMealPlanRequest == nil) { - NSParameterAssert(addToMealPlanRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"addToMealPlanRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/items"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = addToMealPlanRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Add to Shopping List -/// Add an item to the current shopping list of a user. -/// @param username The username. -/// -/// @param hash The private hash for the username. -/// -/// @param addToShoppingListRequest -/// -/// @returns OAIGenerateShoppingList200Response* -/// --(NSURLSessionTask*) addToShoppingListWithUsername: (NSString*) username - hash: (NSString*) hash - addToShoppingListRequest: (OAIAddToShoppingListRequest*) addToShoppingListRequest - completionHandler: (void (^)(OAIGenerateShoppingList200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'addToShoppingListRequest' is set - if (addToShoppingListRequest == nil) { - NSParameterAssert(addToShoppingListRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"addToShoppingListRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/shopping-list/items"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = addToShoppingListRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGenerateShoppingList200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGenerateShoppingList200Response*)data, error); - } - }]; -} - -/// -/// Clear Meal Plan Day -/// Delete all planned items from the user's meal plan for a specific day. -/// @param username The username. -/// -/// @param date The date in the format yyyy-mm-dd. -/// -/// @param hash The private hash for the username. -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) clearMealPlanDayWithUsername: (NSString*) username - date: (NSString*) date - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'date' is set - if (date == nil) { - NSParameterAssert(date); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"date"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/day/{date}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (date != nil) { - pathParams[@"date"] = date; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"DELETE" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Connect User -/// In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. -/// @param connectUserRequest -/// -/// @returns OAIConnectUser200Response* -/// --(NSURLSessionTask*) connectUserWithConnectUserRequest: (OAIConnectUserRequest*) connectUserRequest - completionHandler: (void (^)(OAIConnectUser200Response* output, NSError* error)) handler { - // verify the required parameter 'connectUserRequest' is set - if (connectUserRequest == nil) { - NSParameterAssert(connectUserRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"connectUserRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/users/connect"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = connectUserRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIConnectUser200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIConnectUser200Response*)data, error); - } - }]; -} - -/// -/// Delete from Meal Plan -/// Delete an item from the user's meal plan. -/// @param username The username. -/// -/// @param _id The shopping list item id. -/// -/// @param hash The private hash for the username. -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) deleteFromMealPlanWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/items/{id}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"DELETE" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Delete from Shopping List -/// Delete an item from the current shopping list of the user. -/// @param username The username. -/// -/// @param _id The item's id. -/// -/// @param hash The private hash for the username. -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) deleteFromShoppingListWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/shopping-list/items/{id}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"DELETE" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Delete Meal Plan Template -/// Delete a meal plan template for a user. -/// @param username The username. -/// -/// @param _id The item's id. -/// -/// @param hash The private hash for the username. -/// -/// @returns NSObject* -/// --(NSURLSessionTask*) deleteMealPlanTemplateWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/templates/{id}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"DELETE" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSObject*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSObject*)data, error); - } - }]; -} - -/// -/// Generate Meal Plan -/// Generate a meal plan with three meals per day (breakfast, lunch, and dinner). -/// @param timeFrame Either for one \"day\" or an entire \"week\". (optional) -/// -/// @param targetCalories What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. (optional) -/// -/// @param diet Enter a diet that the meal plan has to adhere to. See a full list of supported diets. (optional) -/// -/// @param exclude A comma-separated list of allergens or ingredients that must be excluded. (optional) -/// -/// @returns OAIGenerateMealPlan200Response* -/// --(NSURLSessionTask*) generateMealPlanWithTimeFrame: (NSString*) timeFrame - targetCalories: (NSNumber*) targetCalories - diet: (NSString*) diet - exclude: (NSString*) exclude - completionHandler: (void (^)(OAIGenerateMealPlan200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/generate"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (timeFrame != nil) { - queryParams[@"timeFrame"] = timeFrame; - } - if (targetCalories != nil) { - queryParams[@"targetCalories"] = targetCalories; - } - if (diet != nil) { - queryParams[@"diet"] = diet; - } - if (exclude != nil) { - queryParams[@"exclude"] = exclude; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGenerateMealPlan200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGenerateMealPlan200Response*)data, error); - } - }]; -} - -/// -/// Generate Shopping List -/// Generate the shopping list for a user from the meal planner in a given time frame. -/// @param username The username. -/// -/// @param startDate The start date in the format yyyy-mm-dd. -/// -/// @param endDate The end date in the format yyyy-mm-dd. -/// -/// @param hash The private hash for the username. -/// -/// @returns OAIGenerateShoppingList200Response* -/// --(NSURLSessionTask*) generateShoppingListWithUsername: (NSString*) username - startDate: (NSString*) startDate - endDate: (NSString*) endDate - hash: (NSString*) hash - completionHandler: (void (^)(OAIGenerateShoppingList200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'startDate' is set - if (startDate == nil) { - NSParameterAssert(startDate); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"startDate"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'endDate' is set - if (endDate == nil) { - NSParameterAssert(endDate); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"endDate"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/shopping-list/{start_date}/{end_date}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (startDate != nil) { - pathParams[@"start_date"] = startDate; - } - if (endDate != nil) { - pathParams[@"end_date"] = endDate; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGenerateShoppingList200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGenerateShoppingList200Response*)data, error); - } - }]; -} - -/// -/// Get Meal Plan Template -/// Get information about a meal plan template. -/// @param username The username. -/// -/// @param _id The item's id. -/// -/// @param hash The private hash for the username. -/// -/// @returns OAIGetMealPlanTemplate200Response* -/// --(NSURLSessionTask*) getMealPlanTemplateWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanTemplate200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/templates/{id}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetMealPlanTemplate200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetMealPlanTemplate200Response*)data, error); - } - }]; -} - -/// -/// Get Meal Plan Templates -/// Get meal plan templates from user or public ones. -/// @param username The username. -/// -/// @param hash The private hash for the username. -/// -/// @returns OAIGetMealPlanTemplates200Response* -/// --(NSURLSessionTask*) getMealPlanTemplatesWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanTemplates200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/templates"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetMealPlanTemplates200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetMealPlanTemplates200Response*)data, error); - } - }]; -} - -/// -/// Get Meal Plan Week -/// Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account. -/// @param username The username. -/// -/// @param startDate The start date of the meal planned week in the format yyyy-mm-dd. -/// -/// @param hash The private hash for the username. -/// -/// @returns OAIGetMealPlanWeek200Response* -/// --(NSURLSessionTask*) getMealPlanWeekWithUsername: (NSString*) username - startDate: (NSString*) startDate - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanWeek200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'startDate' is set - if (startDate == nil) { - NSParameterAssert(startDate); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"startDate"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/week/{start_date}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - if (startDate != nil) { - pathParams[@"start_date"] = startDate; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetMealPlanWeek200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetMealPlanWeek200Response*)data, error); - } - }]; -} - -/// -/// Get Shopping List -/// Get the current shopping list for the given user. -/// @param username The username. -/// -/// @param hash The private hash for the username. -/// -/// @returns OAIGetShoppingList200Response* -/// --(NSURLSessionTask*) getShoppingListWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetShoppingList200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMealPlanningApiErrorDomain code:kOAIMealPlanningApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/mealplanner/{username}/shopping-list"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (username != nil) { - pathParams[@"username"] = username; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (hash != nil) { - queryParams[@"hash"] = hash; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetShoppingList200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetShoppingList200Response*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIMenuItemsApi.h b/objc/OpenAPIClient/Api/OAIMenuItemsApi.h deleted file mode 100644 index f43d2c176..000000000 --- a/objc/OpenAPIClient/Api/OAIMenuItemsApi.h +++ /dev/null @@ -1,174 +0,0 @@ -#import -#import "OAIAutocompleteMenuItemSearch200Response.h" -#import "OAIGetMenuItemInformation200Response.h" -#import "OAISearchMenuItems200Response.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIMenuItemsApi: NSObject - -extern NSString* kOAIMenuItemsApiErrorDomain; -extern NSInteger kOAIMenuItemsApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Autocomplete Menu Item Search -/// Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. -/// -/// @param query The (partial) search query. -/// @param number The number of results to return (between 1 and 25). (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIAutocompleteMenuItemSearch200Response* --(NSURLSessionTask*) autocompleteMenuItemSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIAutocompleteMenuItemSearch200Response* output, NSError* error)) handler; - - -/// Get Menu Item Information -/// Use a menu item id to get all available information about a menu item, such as nutrition. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetMenuItemInformation200Response* --(NSURLSessionTask*) getMenuItemInformationWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetMenuItemInformation200Response* output, NSError* error)) handler; - - -/// Menu Item Nutrition by ID Image -/// Visualize a menu item's nutritional information as HTML including CSS. -/// -/// @param _id The menu item id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) menuItemNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Menu Item Nutrition Label Image -/// Visualize a menu item's nutritional label information as an image. -/// -/// @param _id The menu item id. -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// @param showZeroValues Whether to show zero values. (optional) -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) menuItemNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Menu Item Nutrition Label Widget -/// Visualize a menu item's nutritional label information as HTML including CSS. -/// -/// @param _id The menu item id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// @param showZeroValues Whether to show zero values. (optional) -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) menuItemNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Search Menu Items -/// Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. -/// -/// @param query The (natural language) search query. (optional) -/// @param minCalories The minimum amount of calories the menu item must have. (optional) -/// @param maxCalories The maximum amount of calories the menu item can have. (optional) -/// @param minCarbs The minimum amount of carbohydrates in grams the menu item must have. (optional) -/// @param maxCarbs The maximum amount of carbohydrates in grams the menu item can have. (optional) -/// @param minProtein The minimum amount of protein in grams the menu item must have. (optional) -/// @param maxProtein The maximum amount of protein in grams the menu item can have. (optional) -/// @param minFat The minimum amount of fat in grams the menu item must have. (optional) -/// @param maxFat The maximum amount of fat in grams the menu item can have. (optional) -/// @param addMenuItemInformation If set to true, you get more information about the menu items returned. (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchMenuItems200Response* --(NSURLSessionTask*) searchMenuItemsWithQuery: (NSString*) query - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - addMenuItemInformation: (NSNumber*) addMenuItemInformation - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchMenuItems200Response* output, NSError* error)) handler; - - -/// Menu Item Nutrition by ID Widget -/// Visualize a menu item's nutritional information as HTML including CSS. -/// -/// @param _id The item's id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeMenuItemNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIMenuItemsApi.m b/objc/OpenAPIClient/Api/OAIMenuItemsApi.m deleted file mode 100644 index ff95ad0d3..000000000 --- a/objc/OpenAPIClient/Api/OAIMenuItemsApi.m +++ /dev/null @@ -1,641 +0,0 @@ -#import "OAIMenuItemsApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIAutocompleteMenuItemSearch200Response.h" -#import "OAIGetMenuItemInformation200Response.h" -#import "OAISearchMenuItems200Response.h" - - -@interface OAIMenuItemsApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIMenuItemsApi - -NSString* kOAIMenuItemsApiErrorDomain = @"OAIMenuItemsApiErrorDomain"; -NSInteger kOAIMenuItemsApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Autocomplete Menu Item Search -/// Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. -/// @param query The (partial) search query. -/// -/// @param number The number of results to return (between 1 and 25). (optional) -/// -/// @returns OAIAutocompleteMenuItemSearch200Response* -/// --(NSURLSessionTask*) autocompleteMenuItemSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIAutocompleteMenuItemSearch200Response* output, NSError* error)) handler { - // verify the required parameter 'query' is set - if (query == nil) { - NSParameterAssert(query); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"query"] }; - NSError* error = [NSError errorWithDomain:kOAIMenuItemsApiErrorDomain code:kOAIMenuItemsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/suggest"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIAutocompleteMenuItemSearch200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIAutocompleteMenuItemSearch200Response*)data, error); - } - }]; -} - -/// -/// Get Menu Item Information -/// Use a menu item id to get all available information about a menu item, such as nutrition. -/// @param _id The item's id. -/// -/// @returns OAIGetMenuItemInformation200Response* -/// --(NSURLSessionTask*) getMenuItemInformationWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetMenuItemInformation200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMenuItemsApiErrorDomain code:kOAIMenuItemsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/{id}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetMenuItemInformation200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetMenuItemInformation200Response*)data, error); - } - }]; -} - -/// -/// Menu Item Nutrition by ID Image -/// Visualize a menu item's nutritional information as HTML including CSS. -/// @param _id The menu item id. -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) menuItemNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMenuItemsApiErrorDomain code:kOAIMenuItemsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/{id}/nutritionWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Menu Item Nutrition Label Image -/// Visualize a menu item's nutritional label information as an image. -/// @param _id The menu item id. -/// -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// -/// @param showZeroValues Whether to show zero values. (optional) -/// -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) menuItemNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMenuItemsApiErrorDomain code:kOAIMenuItemsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/{id}/nutritionLabel.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (showOptionalNutrients != nil) { - queryParams[@"showOptionalNutrients"] = [showOptionalNutrients isEqual:@(YES)] ? @"true" : @"false"; - } - if (showZeroValues != nil) { - queryParams[@"showZeroValues"] = [showZeroValues isEqual:@(YES)] ? @"true" : @"false"; - } - if (showIngredients != nil) { - queryParams[@"showIngredients"] = [showIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Menu Item Nutrition Label Widget -/// Visualize a menu item's nutritional label information as HTML including CSS. -/// @param _id The menu item id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// -/// @param showZeroValues Whether to show zero values. (optional) -/// -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) menuItemNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMenuItemsApiErrorDomain code:kOAIMenuItemsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/{id}/nutritionLabel"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - if (showOptionalNutrients != nil) { - queryParams[@"showOptionalNutrients"] = [showOptionalNutrients isEqual:@(YES)] ? @"true" : @"false"; - } - if (showZeroValues != nil) { - queryParams[@"showZeroValues"] = [showZeroValues isEqual:@(YES)] ? @"true" : @"false"; - } - if (showIngredients != nil) { - queryParams[@"showIngredients"] = [showIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Search Menu Items -/// Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. -/// @param query The (natural language) search query. (optional) -/// -/// @param minCalories The minimum amount of calories the menu item must have. (optional) -/// -/// @param maxCalories The maximum amount of calories the menu item can have. (optional) -/// -/// @param minCarbs The minimum amount of carbohydrates in grams the menu item must have. (optional) -/// -/// @param maxCarbs The maximum amount of carbohydrates in grams the menu item can have. (optional) -/// -/// @param minProtein The minimum amount of protein in grams the menu item must have. (optional) -/// -/// @param maxProtein The maximum amount of protein in grams the menu item can have. (optional) -/// -/// @param minFat The minimum amount of fat in grams the menu item must have. (optional) -/// -/// @param maxFat The maximum amount of fat in grams the menu item can have. (optional) -/// -/// @param addMenuItemInformation If set to true, you get more information about the menu items returned. (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAISearchMenuItems200Response* -/// --(NSURLSessionTask*) searchMenuItemsWithQuery: (NSString*) query - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - addMenuItemInformation: (NSNumber*) addMenuItemInformation - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchMenuItems200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (minCalories != nil) { - queryParams[@"minCalories"] = minCalories; - } - if (maxCalories != nil) { - queryParams[@"maxCalories"] = maxCalories; - } - if (minCarbs != nil) { - queryParams[@"minCarbs"] = minCarbs; - } - if (maxCarbs != nil) { - queryParams[@"maxCarbs"] = maxCarbs; - } - if (minProtein != nil) { - queryParams[@"minProtein"] = minProtein; - } - if (maxProtein != nil) { - queryParams[@"maxProtein"] = maxProtein; - } - if (minFat != nil) { - queryParams[@"minFat"] = minFat; - } - if (maxFat != nil) { - queryParams[@"maxFat"] = maxFat; - } - if (addMenuItemInformation != nil) { - queryParams[@"addMenuItemInformation"] = [addMenuItemInformation isEqual:@(YES)] ? @"true" : @"false"; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchMenuItems200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchMenuItems200Response*)data, error); - } - }]; -} - -/// -/// Menu Item Nutrition by ID Widget -/// Visualize a menu item's nutritional information as HTML including CSS. -/// @param _id The item's id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeMenuItemNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIMenuItemsApiErrorDomain code:kOAIMenuItemsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/menuItems/{id}/nutritionWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIMiscApi.h b/objc/OpenAPIClient/Api/OAIMiscApi.h deleted file mode 100644 index d089756f8..000000000 --- a/objc/OpenAPIClient/Api/OAIMiscApi.h +++ /dev/null @@ -1,234 +0,0 @@ -#import -#import "OAIDetectFoodInText200Response.h" -#import "OAIGetARandomFoodJoke200Response.h" -#import "OAIGetConversationSuggests200Response.h" -#import "OAIGetRandomFoodTrivia200Response.h" -#import "OAIImageAnalysisByURL200Response.h" -#import "OAIImageClassificationByURL200Response.h" -#import "OAISearchAllFood200Response.h" -#import "OAISearchCustomFoods200Response.h" -#import "OAISearchFoodVideos200Response.h" -#import "OAISearchSiteContent200Response.h" -#import "OAITalkToChatbot200Response.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIMiscApi: NSObject - -extern NSString* kOAIMiscApiErrorDomain; -extern NSInteger kOAIMiscApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Detect Food in Text -/// Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. -/// -/// @param text -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIDetectFoodInText200Response* --(NSURLSessionTask*) detectFoodInTextWithText: (NSString*) text - completionHandler: (void (^)(OAIDetectFoodInText200Response* output, NSError* error)) handler; - - -/// Random Food Joke -/// Get a random joke that is related to food. Caution: this is an endpoint for adults! -/// -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetARandomFoodJoke200Response* --(NSURLSessionTask*) getARandomFoodJokeWithCompletionHandler: - (void (^)(OAIGetARandomFoodJoke200Response* output, NSError* error)) handler; - - -/// Conversation Suggests -/// This endpoint returns suggestions for things the user can say or ask the chatbot. -/// -/// @param query A (partial) query from the user. The endpoint will return if it matches topics it can talk about. -/// @param number The number of suggestions to return (between 1 and 25). (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetConversationSuggests200Response* --(NSURLSessionTask*) getConversationSuggestsWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetConversationSuggests200Response* output, NSError* error)) handler; - - -/// Random Food Trivia -/// Returns random food trivia. -/// -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRandomFoodTrivia200Response* --(NSURLSessionTask*) getRandomFoodTriviaWithCompletionHandler: - (void (^)(OAIGetRandomFoodTrivia200Response* output, NSError* error)) handler; - - -/// Image Analysis by URL -/// Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. -/// -/// @param imageUrl The URL of the image to be analyzed. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIImageAnalysisByURL200Response* --(NSURLSessionTask*) imageAnalysisByURLWithImageUrl: (NSString*) imageUrl - completionHandler: (void (^)(OAIImageAnalysisByURL200Response* output, NSError* error)) handler; - - -/// Image Classification by URL -/// Classify a food image. -/// -/// @param imageUrl The URL of the image to be classified. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIImageClassificationByURL200Response* --(NSURLSessionTask*) imageClassificationByURLWithImageUrl: (NSString*) imageUrl - completionHandler: (void (^)(OAIImageClassificationByURL200Response* output, NSError* error)) handler; - - -/// Search All Food -/// Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. -/// -/// @param query The search query. -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchAllFood200Response* --(NSURLSessionTask*) searchAllFoodWithQuery: (NSString*) query - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchAllFood200Response* output, NSError* error)) handler; - - -/// Search Custom Foods -/// Search custom foods in a user's account. -/// -/// @param username The username. -/// @param hash The private hash for the username. -/// @param query The (natural language) search query. (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchCustomFoods200Response* --(NSURLSessionTask*) searchCustomFoodsWithUsername: (NSString*) username - hash: (NSString*) hash - query: (NSString*) query - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchCustomFoods200Response* output, NSError* error)) handler; - - -/// Search Food Videos -/// Find recipe and other food related videos. -/// -/// @param query The (natural language) search query. (optional) -/// @param type The type of the recipes. See a full list of supported meal types. (optional) -/// @param cuisine The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. (optional) -/// @param diet The diet for which the recipes must be suitable. See a full list of supported diets. (optional) -/// @param includeIngredients A comma-separated list of ingredients that the recipes should contain. (optional) -/// @param excludeIngredients A comma-separated list of ingredients or ingredient types that the recipes must not contain. (optional) -/// @param minLength Minimum video length in seconds. (optional) -/// @param maxLength Maximum video length in seconds. (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchFoodVideos200Response* --(NSURLSessionTask*) searchFoodVideosWithQuery: (NSString*) query - type: (NSString*) type - cuisine: (NSString*) cuisine - diet: (NSString*) diet - includeIngredients: (NSString*) includeIngredients - excludeIngredients: (NSString*) excludeIngredients - minLength: (NSNumber*) minLength - maxLength: (NSNumber*) maxLength - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchFoodVideos200Response* output, NSError* error)) handler; - - -/// Search Site Content -/// Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. -/// -/// @param query The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchSiteContent200Response* --(NSURLSessionTask*) searchSiteContentWithQuery: (NSString*) query - completionHandler: (void (^)(OAISearchSiteContent200Response* output, NSError* error)) handler; - - -/// Talk to Chatbot -/// This endpoint can be used to have a conversation about food with the spoonacular chatbot. Use the \"Get Conversation Suggests\" endpoint to show your user what he or she can say. -/// -/// @param text The request / question / answer from the user to the chatbot. -/// @param contextId An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAITalkToChatbot200Response* --(NSURLSessionTask*) talkToChatbotWithText: (NSString*) text - contextId: (NSString*) contextId - completionHandler: (void (^)(OAITalkToChatbot200Response* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIMiscApi.m b/objc/OpenAPIClient/Api/OAIMiscApi.m deleted file mode 100644 index 5ed31527a..000000000 --- a/objc/OpenAPIClient/Api/OAIMiscApi.m +++ /dev/null @@ -1,882 +0,0 @@ -#import "OAIMiscApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIDetectFoodInText200Response.h" -#import "OAIGetARandomFoodJoke200Response.h" -#import "OAIGetConversationSuggests200Response.h" -#import "OAIGetRandomFoodTrivia200Response.h" -#import "OAIImageAnalysisByURL200Response.h" -#import "OAIImageClassificationByURL200Response.h" -#import "OAISearchAllFood200Response.h" -#import "OAISearchCustomFoods200Response.h" -#import "OAISearchFoodVideos200Response.h" -#import "OAISearchSiteContent200Response.h" -#import "OAITalkToChatbot200Response.h" - - -@interface OAIMiscApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIMiscApi - -NSString* kOAIMiscApiErrorDomain = @"OAIMiscApiErrorDomain"; -NSInteger kOAIMiscApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Detect Food in Text -/// Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. -/// @param text -/// -/// @returns OAIDetectFoodInText200Response* -/// --(NSURLSessionTask*) detectFoodInTextWithText: (NSString*) text - completionHandler: (void (^)(OAIDetectFoodInText200Response* output, NSError* error)) handler { - // verify the required parameter 'text' is set - if (text == nil) { - NSParameterAssert(text); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"text"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/detect"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (text) { - formParams[@"text"] = text; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIDetectFoodInText200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIDetectFoodInText200Response*)data, error); - } - }]; -} - -/// -/// Random Food Joke -/// Get a random joke that is related to food. Caution: this is an endpoint for adults! -/// @returns OAIGetARandomFoodJoke200Response* -/// --(NSURLSessionTask*) getARandomFoodJokeWithCompletionHandler: - (void (^)(OAIGetARandomFoodJoke200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/jokes/random"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetARandomFoodJoke200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetARandomFoodJoke200Response*)data, error); - } - }]; -} - -/// -/// Conversation Suggests -/// This endpoint returns suggestions for things the user can say or ask the chatbot. -/// @param query A (partial) query from the user. The endpoint will return if it matches topics it can talk about. -/// -/// @param number The number of suggestions to return (between 1 and 25). (optional) -/// -/// @returns OAIGetConversationSuggests200Response* -/// --(NSURLSessionTask*) getConversationSuggestsWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetConversationSuggests200Response* output, NSError* error)) handler { - // verify the required parameter 'query' is set - if (query == nil) { - NSParameterAssert(query); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"query"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/converse/suggest"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetConversationSuggests200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetConversationSuggests200Response*)data, error); - } - }]; -} - -/// -/// Random Food Trivia -/// Returns random food trivia. -/// @returns OAIGetRandomFoodTrivia200Response* -/// --(NSURLSessionTask*) getRandomFoodTriviaWithCompletionHandler: - (void (^)(OAIGetRandomFoodTrivia200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/trivia/random"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRandomFoodTrivia200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRandomFoodTrivia200Response*)data, error); - } - }]; -} - -/// -/// Image Analysis by URL -/// Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. -/// @param imageUrl The URL of the image to be analyzed. -/// -/// @returns OAIImageAnalysisByURL200Response* -/// --(NSURLSessionTask*) imageAnalysisByURLWithImageUrl: (NSString*) imageUrl - completionHandler: (void (^)(OAIImageAnalysisByURL200Response* output, NSError* error)) handler { - // verify the required parameter 'imageUrl' is set - if (imageUrl == nil) { - NSParameterAssert(imageUrl); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"imageUrl"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/images/analyze"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (imageUrl != nil) { - queryParams[@"imageUrl"] = imageUrl; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIImageAnalysisByURL200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIImageAnalysisByURL200Response*)data, error); - } - }]; -} - -/// -/// Image Classification by URL -/// Classify a food image. -/// @param imageUrl The URL of the image to be classified. -/// -/// @returns OAIImageClassificationByURL200Response* -/// --(NSURLSessionTask*) imageClassificationByURLWithImageUrl: (NSString*) imageUrl - completionHandler: (void (^)(OAIImageClassificationByURL200Response* output, NSError* error)) handler { - // verify the required parameter 'imageUrl' is set - if (imageUrl == nil) { - NSParameterAssert(imageUrl); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"imageUrl"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/images/classify"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (imageUrl != nil) { - queryParams[@"imageUrl"] = imageUrl; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIImageClassificationByURL200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIImageClassificationByURL200Response*)data, error); - } - }]; -} - -/// -/// Search All Food -/// Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. -/// @param query The search query. -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAISearchAllFood200Response* -/// --(NSURLSessionTask*) searchAllFoodWithQuery: (NSString*) query - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchAllFood200Response* output, NSError* error)) handler { - // verify the required parameter 'query' is set - if (query == nil) { - NSParameterAssert(query); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"query"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchAllFood200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchAllFood200Response*)data, error); - } - }]; -} - -/// -/// Search Custom Foods -/// Search custom foods in a user's account. -/// @param username The username. -/// -/// @param hash The private hash for the username. -/// -/// @param query The (natural language) search query. (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAISearchCustomFoods200Response* -/// --(NSURLSessionTask*) searchCustomFoodsWithUsername: (NSString*) username - hash: (NSString*) hash - query: (NSString*) query - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchCustomFoods200Response* output, NSError* error)) handler { - // verify the required parameter 'username' is set - if (username == nil) { - NSParameterAssert(username); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"username"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'hash' is set - if (hash == nil) { - NSParameterAssert(hash); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"hash"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/customFoods/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (username != nil) { - queryParams[@"username"] = username; - } - if (hash != nil) { - queryParams[@"hash"] = hash; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchCustomFoods200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchCustomFoods200Response*)data, error); - } - }]; -} - -/// -/// Search Food Videos -/// Find recipe and other food related videos. -/// @param query The (natural language) search query. (optional) -/// -/// @param type The type of the recipes. See a full list of supported meal types. (optional) -/// -/// @param cuisine The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. (optional) -/// -/// @param diet The diet for which the recipes must be suitable. See a full list of supported diets. (optional) -/// -/// @param includeIngredients A comma-separated list of ingredients that the recipes should contain. (optional) -/// -/// @param excludeIngredients A comma-separated list of ingredients or ingredient types that the recipes must not contain. (optional) -/// -/// @param minLength Minimum video length in seconds. (optional) -/// -/// @param maxLength Maximum video length in seconds. (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAISearchFoodVideos200Response* -/// --(NSURLSessionTask*) searchFoodVideosWithQuery: (NSString*) query - type: (NSString*) type - cuisine: (NSString*) cuisine - diet: (NSString*) diet - includeIngredients: (NSString*) includeIngredients - excludeIngredients: (NSString*) excludeIngredients - minLength: (NSNumber*) minLength - maxLength: (NSNumber*) maxLength - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchFoodVideos200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/videos/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (type != nil) { - queryParams[@"type"] = type; - } - if (cuisine != nil) { - queryParams[@"cuisine"] = cuisine; - } - if (diet != nil) { - queryParams[@"diet"] = diet; - } - if (includeIngredients != nil) { - queryParams[@"includeIngredients"] = includeIngredients; - } - if (excludeIngredients != nil) { - queryParams[@"excludeIngredients"] = excludeIngredients; - } - if (minLength != nil) { - queryParams[@"minLength"] = minLength; - } - if (maxLength != nil) { - queryParams[@"maxLength"] = maxLength; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchFoodVideos200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchFoodVideos200Response*)data, error); - } - }]; -} - -/// -/// Search Site Content -/// Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. -/// @param query The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. -/// -/// @returns OAISearchSiteContent200Response* -/// --(NSURLSessionTask*) searchSiteContentWithQuery: (NSString*) query - completionHandler: (void (^)(OAISearchSiteContent200Response* output, NSError* error)) handler { - // verify the required parameter 'query' is set - if (query == nil) { - NSParameterAssert(query); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"query"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/site/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchSiteContent200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchSiteContent200Response*)data, error); - } - }]; -} - -/// -/// Talk to Chatbot -/// This endpoint can be used to have a conversation about food with the spoonacular chatbot. Use the \"Get Conversation Suggests\" endpoint to show your user what he or she can say. -/// @param text The request / question / answer from the user to the chatbot. -/// -/// @param contextId An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. (optional) -/// -/// @returns OAITalkToChatbot200Response* -/// --(NSURLSessionTask*) talkToChatbotWithText: (NSString*) text - contextId: (NSString*) contextId - completionHandler: (void (^)(OAITalkToChatbot200Response* output, NSError* error)) handler { - // verify the required parameter 'text' is set - if (text == nil) { - NSParameterAssert(text); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"text"] }; - NSError* error = [NSError errorWithDomain:kOAIMiscApiErrorDomain code:kOAIMiscApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/converse"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (text != nil) { - queryParams[@"text"] = text; - } - if (contextId != nil) { - queryParams[@"contextId"] = contextId; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAITalkToChatbot200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAITalkToChatbot200Response*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIProductsApi.h b/objc/OpenAPIClient/Api/OAIProductsApi.h deleted file mode 100644 index 60e41e52f..000000000 --- a/objc/OpenAPIClient/Api/OAIProductsApi.h +++ /dev/null @@ -1,245 +0,0 @@ -#import -#import "OAIAutocompleteProductSearch200Response.h" -#import "OAIClassifyGroceryProduct200Response.h" -#import "OAIClassifyGroceryProductBulk200ResponseInner.h" -#import "OAIClassifyGroceryProductBulkRequestInner.h" -#import "OAIClassifyGroceryProductRequest.h" -#import "OAIGetComparableProducts200Response.h" -#import "OAIGetProductInformation200Response.h" -#import "OAISearchGroceryProducts200Response.h" -#import "OAISearchGroceryProductsByUPC200Response.h" -#import "OAISet.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIProductsApi: NSObject - -extern NSString* kOAIProductsApiErrorDomain; -extern NSInteger kOAIProductsApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Autocomplete Product Search -/// Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. -/// -/// @param query The (partial) search query. -/// @param number The number of results to return (between 1 and 25). (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIAutocompleteProductSearch200Response* --(NSURLSessionTask*) autocompleteProductSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIAutocompleteProductSearch200Response* output, NSError* error)) handler; - - -/// Classify Grocery Product -/// This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. -/// -/// @param classifyGroceryProductRequest -/// @param locale The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIClassifyGroceryProduct200Response* --(NSURLSessionTask*) classifyGroceryProductWithClassifyGroceryProductRequest: (OAIClassifyGroceryProductRequest*) classifyGroceryProductRequest - locale: (NSString*) locale - completionHandler: (void (^)(OAIClassifyGroceryProduct200Response* output, NSError* error)) handler; - - -/// Classify Grocery Product Bulk -/// Provide a set of product jsons, get back classified products. -/// -/// @param classifyGroceryProductBulkRequestInner -/// @param locale The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) classifyGroceryProductBulkWithClassifyGroceryProductBulkRequestInner: (OAISet*) classifyGroceryProductBulkRequestInner - locale: (NSString*) locale - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Get Comparable Products -/// Find comparable products to the given one. -/// -/// @param upc The UPC of the product for which you want to find comparable products. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetComparableProducts200Response* --(NSURLSessionTask*) getComparableProductsWithUpc: (NSNumber*) upc - completionHandler: (void (^)(OAIGetComparableProducts200Response* output, NSError* error)) handler; - - -/// Get Product Information -/// Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetProductInformation200Response* --(NSURLSessionTask*) getProductInformationWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetProductInformation200Response* output, NSError* error)) handler; - - -/// Product Nutrition by ID Image -/// Visualize a product's nutritional information as an image. -/// -/// @param _id The id of the product. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) productNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Product Nutrition Label Image -/// Get a product's nutrition label as an image. -/// -/// @param _id The product id. -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// @param showZeroValues Whether to show zero values. (optional) -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) productNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Product Nutrition Label Widget -/// Get a product's nutrition label as an HTML widget. -/// -/// @param _id The product id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// @param showZeroValues Whether to show zero values. (optional) -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) productNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Search Grocery Products -/// Search packaged food products, such as frozen pizza or Greek yogurt. -/// -/// @param query The (natural language) search query. (optional) -/// @param minCalories The minimum amount of calories the product must have. (optional) -/// @param maxCalories The maximum amount of calories the product can have. (optional) -/// @param minCarbs The minimum amount of carbohydrates in grams the product must have. (optional) -/// @param maxCarbs The maximum amount of carbohydrates in grams the product can have. (optional) -/// @param minProtein The minimum amount of protein in grams the product must have. (optional) -/// @param maxProtein The maximum amount of protein in grams the product can have. (optional) -/// @param minFat The minimum amount of fat in grams the product must have. (optional) -/// @param maxFat The maximum amount of fat in grams the product can have. (optional) -/// @param addProductInformation If set to true, you get more information about the products returned. (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchGroceryProducts200Response* --(NSURLSessionTask*) searchGroceryProductsWithQuery: (NSString*) query - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - addProductInformation: (NSNumber*) addProductInformation - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchGroceryProducts200Response* output, NSError* error)) handler; - - -/// Search Grocery Products by UPC -/// Get information about a packaged food using its UPC. -/// -/// @param upc The product's UPC. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchGroceryProductsByUPC200Response* --(NSURLSessionTask*) searchGroceryProductsByUPCWithUpc: (NSNumber*) upc - completionHandler: (void (^)(OAISearchGroceryProductsByUPC200Response* output, NSError* error)) handler; - - -/// Product Nutrition by ID Widget -/// Visualize a product's nutritional information as HTML including CSS. -/// -/// @param _id The item's id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeProductNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIProductsApi.m b/objc/OpenAPIClient/Api/OAIProductsApi.m deleted file mode 100644 index 8257dd5d1..000000000 --- a/objc/OpenAPIClient/Api/OAIProductsApi.m +++ /dev/null @@ -1,928 +0,0 @@ -#import "OAIProductsApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIAutocompleteProductSearch200Response.h" -#import "OAIClassifyGroceryProduct200Response.h" -#import "OAIClassifyGroceryProductBulk200ResponseInner.h" -#import "OAIClassifyGroceryProductBulkRequestInner.h" -#import "OAIClassifyGroceryProductRequest.h" -#import "OAIGetComparableProducts200Response.h" -#import "OAIGetProductInformation200Response.h" -#import "OAISearchGroceryProducts200Response.h" -#import "OAISearchGroceryProductsByUPC200Response.h" -#import "OAISet.h" - - -@interface OAIProductsApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIProductsApi - -NSString* kOAIProductsApiErrorDomain = @"OAIProductsApiErrorDomain"; -NSInteger kOAIProductsApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Autocomplete Product Search -/// Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. -/// @param query The (partial) search query. -/// -/// @param number The number of results to return (between 1 and 25). (optional) -/// -/// @returns OAIAutocompleteProductSearch200Response* -/// --(NSURLSessionTask*) autocompleteProductSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIAutocompleteProductSearch200Response* output, NSError* error)) handler { - // verify the required parameter 'query' is set - if (query == nil) { - NSParameterAssert(query); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"query"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/suggest"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIAutocompleteProductSearch200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIAutocompleteProductSearch200Response*)data, error); - } - }]; -} - -/// -/// Classify Grocery Product -/// This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. -/// @param classifyGroceryProductRequest -/// -/// @param locale The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). (optional) -/// -/// @returns OAIClassifyGroceryProduct200Response* -/// --(NSURLSessionTask*) classifyGroceryProductWithClassifyGroceryProductRequest: (OAIClassifyGroceryProductRequest*) classifyGroceryProductRequest - locale: (NSString*) locale - completionHandler: (void (^)(OAIClassifyGroceryProduct200Response* output, NSError* error)) handler { - // verify the required parameter 'classifyGroceryProductRequest' is set - if (classifyGroceryProductRequest == nil) { - NSParameterAssert(classifyGroceryProductRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"classifyGroceryProductRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/classify"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (locale != nil) { - queryParams[@"locale"] = locale; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = classifyGroceryProductRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIClassifyGroceryProduct200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIClassifyGroceryProduct200Response*)data, error); - } - }]; -} - -/// -/// Classify Grocery Product Bulk -/// Provide a set of product jsons, get back classified products. -/// @param classifyGroceryProductBulkRequestInner -/// -/// @param locale The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). (optional) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) classifyGroceryProductBulkWithClassifyGroceryProductBulkRequestInner: (OAISet*) classifyGroceryProductBulkRequestInner - locale: (NSString*) locale - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - // verify the required parameter 'classifyGroceryProductBulkRequestInner' is set - if (classifyGroceryProductBulkRequestInner == nil) { - NSParameterAssert(classifyGroceryProductBulkRequestInner); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"classifyGroceryProductBulkRequestInner"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/classifyBatch"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (locale != nil) { - queryParams[@"locale"] = locale; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = classifyGroceryProductBulkRequestInner; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Get Comparable Products -/// Find comparable products to the given one. -/// @param upc The UPC of the product for which you want to find comparable products. -/// -/// @returns OAIGetComparableProducts200Response* -/// --(NSURLSessionTask*) getComparableProductsWithUpc: (NSNumber*) upc - completionHandler: (void (^)(OAIGetComparableProducts200Response* output, NSError* error)) handler { - // verify the required parameter 'upc' is set - if (upc == nil) { - NSParameterAssert(upc); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"upc"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/upc/{upc}/comparable"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (upc != nil) { - pathParams[@"upc"] = upc; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetComparableProducts200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetComparableProducts200Response*)data, error); - } - }]; -} - -/// -/// Get Product Information -/// Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving. -/// @param _id The item's id. -/// -/// @returns OAIGetProductInformation200Response* -/// --(NSURLSessionTask*) getProductInformationWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetProductInformation200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/{id}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetProductInformation200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetProductInformation200Response*)data, error); - } - }]; -} - -/// -/// Product Nutrition by ID Image -/// Visualize a product's nutritional information as an image. -/// @param _id The id of the product. -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) productNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/{id}/nutritionWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Product Nutrition Label Image -/// Get a product's nutrition label as an image. -/// @param _id The product id. -/// -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// -/// @param showZeroValues Whether to show zero values. (optional) -/// -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) productNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/{id}/nutritionLabel.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (showOptionalNutrients != nil) { - queryParams[@"showOptionalNutrients"] = [showOptionalNutrients isEqual:@(YES)] ? @"true" : @"false"; - } - if (showZeroValues != nil) { - queryParams[@"showZeroValues"] = [showZeroValues isEqual:@(YES)] ? @"true" : @"false"; - } - if (showIngredients != nil) { - queryParams[@"showIngredients"] = [showIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Product Nutrition Label Widget -/// Get a product's nutrition label as an HTML widget. -/// @param _id The product id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// -/// @param showZeroValues Whether to show zero values. (optional) -/// -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) productNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/{id}/nutritionLabel"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - if (showOptionalNutrients != nil) { - queryParams[@"showOptionalNutrients"] = [showOptionalNutrients isEqual:@(YES)] ? @"true" : @"false"; - } - if (showZeroValues != nil) { - queryParams[@"showZeroValues"] = [showZeroValues isEqual:@(YES)] ? @"true" : @"false"; - } - if (showIngredients != nil) { - queryParams[@"showIngredients"] = [showIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Search Grocery Products -/// Search packaged food products, such as frozen pizza or Greek yogurt. -/// @param query The (natural language) search query. (optional) -/// -/// @param minCalories The minimum amount of calories the product must have. (optional) -/// -/// @param maxCalories The maximum amount of calories the product can have. (optional) -/// -/// @param minCarbs The minimum amount of carbohydrates in grams the product must have. (optional) -/// -/// @param maxCarbs The maximum amount of carbohydrates in grams the product can have. (optional) -/// -/// @param minProtein The minimum amount of protein in grams the product must have. (optional) -/// -/// @param maxProtein The maximum amount of protein in grams the product can have. (optional) -/// -/// @param minFat The minimum amount of fat in grams the product must have. (optional) -/// -/// @param maxFat The maximum amount of fat in grams the product can have. (optional) -/// -/// @param addProductInformation If set to true, you get more information about the products returned. (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAISearchGroceryProducts200Response* -/// --(NSURLSessionTask*) searchGroceryProductsWithQuery: (NSString*) query - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - addProductInformation: (NSNumber*) addProductInformation - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchGroceryProducts200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/search"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (minCalories != nil) { - queryParams[@"minCalories"] = minCalories; - } - if (maxCalories != nil) { - queryParams[@"maxCalories"] = maxCalories; - } - if (minCarbs != nil) { - queryParams[@"minCarbs"] = minCarbs; - } - if (maxCarbs != nil) { - queryParams[@"maxCarbs"] = maxCarbs; - } - if (minProtein != nil) { - queryParams[@"minProtein"] = minProtein; - } - if (maxProtein != nil) { - queryParams[@"maxProtein"] = maxProtein; - } - if (minFat != nil) { - queryParams[@"minFat"] = minFat; - } - if (maxFat != nil) { - queryParams[@"maxFat"] = maxFat; - } - if (addProductInformation != nil) { - queryParams[@"addProductInformation"] = [addProductInformation isEqual:@(YES)] ? @"true" : @"false"; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchGroceryProducts200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchGroceryProducts200Response*)data, error); - } - }]; -} - -/// -/// Search Grocery Products by UPC -/// Get information about a packaged food using its UPC. -/// @param upc The product's UPC. -/// -/// @returns OAISearchGroceryProductsByUPC200Response* -/// --(NSURLSessionTask*) searchGroceryProductsByUPCWithUpc: (NSNumber*) upc - completionHandler: (void (^)(OAISearchGroceryProductsByUPC200Response* output, NSError* error)) handler { - // verify the required parameter 'upc' is set - if (upc == nil) { - NSParameterAssert(upc); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"upc"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/upc/{upc}"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (upc != nil) { - pathParams[@"upc"] = upc; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchGroceryProductsByUPC200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchGroceryProductsByUPC200Response*)data, error); - } - }]; -} - -/// -/// Product Nutrition by ID Widget -/// Visualize a product's nutritional information as HTML including CSS. -/// @param _id The item's id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeProductNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIProductsApiErrorDomain code:kOAIProductsApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/products/{id}/nutritionWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIRecipesApi.h b/objc/OpenAPIClient/Api/OAIRecipesApi.h deleted file mode 100644 index 1949ad782..000000000 --- a/objc/OpenAPIClient/Api/OAIRecipesApi.h +++ /dev/null @@ -1,1138 +0,0 @@ -#import -#import "OAIAnalyzeARecipeSearchQuery200Response.h" -#import "OAIAnalyzeRecipeInstructions200Response.h" -#import "OAIAutocompleteRecipeSearch200ResponseInner.h" -#import "OAIClassifyCuisine200Response.h" -#import "OAIComputeGlycemicLoad200Response.h" -#import "OAIComputeGlycemicLoadRequest.h" -#import "OAIConvertAmounts200Response.h" -#import "OAICreateRecipeCard200Response.h" -#import "OAIGetAnalyzedRecipeInstructions200Response.h" -#import "OAIGetRandomRecipes200Response.h" -#import "OAIGetRecipeEquipmentByID200Response.h" -#import "OAIGetRecipeInformation200Response.h" -#import "OAIGetRecipeInformationBulk200ResponseInner.h" -#import "OAIGetRecipeIngredientsByID200Response.h" -#import "OAIGetRecipeNutritionWidgetByID200Response.h" -#import "OAIGetRecipePriceBreakdownByID200Response.h" -#import "OAIGetRecipeTasteByID200Response.h" -#import "OAIGetSimilarRecipes200ResponseInner.h" -#import "OAIGuessNutritionByDishName200Response.h" -#import "OAIParseIngredients200ResponseInner.h" -#import "OAIQuickAnswer200Response.h" -#import "OAISearchRecipes200Response.h" -#import "OAISearchRecipesByIngredients200ResponseInner.h" -#import "OAISearchRecipesByNutrients200ResponseInner.h" -#import "OAISet.h" -#import "OAISummarizeRecipe200Response.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIRecipesApi: NSObject - -extern NSString* kOAIRecipesApiErrorDomain; -extern NSInteger kOAIRecipesApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Analyze a Recipe Search Query -/// Parse a recipe search query to find out its intention. -/// -/// @param q The recipe search query. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIAnalyzeARecipeSearchQuery200Response* --(NSURLSessionTask*) analyzeARecipeSearchQueryWithQ: (NSString*) q - completionHandler: (void (^)(OAIAnalyzeARecipeSearchQuery200Response* output, NSError* error)) handler; - - -/// Analyze Recipe Instructions -/// This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used in. -/// -/// @param instructions The recipe's instructions. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIAnalyzeRecipeInstructions200Response* --(NSURLSessionTask*) analyzeRecipeInstructionsWithInstructions: (NSString*) instructions - completionHandler: (void (^)(OAIAnalyzeRecipeInstructions200Response* output, NSError* error)) handler; - - -/// Autocomplete Recipe Search -/// Autocomplete a partial input to suggest possible recipe names. -/// -/// @param query The (natural language) search query. (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) autocompleteRecipeSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Classify Cuisine -/// Classify the recipe's cuisine. -/// -/// @param title The title of the recipe. -/// @param ingredientList The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIClassifyCuisine200Response* --(NSURLSessionTask*) classifyCuisineWithTitle: (NSString*) title - ingredientList: (NSString*) ingredientList - language: (NSString*) language - completionHandler: (void (^)(OAIClassifyCuisine200Response* output, NSError* error)) handler; - - -/// Compute Glycemic Load -/// Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. -/// -/// @param computeGlycemicLoadRequest -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIComputeGlycemicLoad200Response* --(NSURLSessionTask*) computeGlycemicLoadWithComputeGlycemicLoadRequest: (OAIComputeGlycemicLoadRequest*) computeGlycemicLoadRequest - language: (NSString*) language - completionHandler: (void (^)(OAIComputeGlycemicLoad200Response* output, NSError* error)) handler; - - -/// Convert Amounts -/// Convert amounts like \"2 cups of flour to grams\". -/// -/// @param ingredientName The ingredient which you want to convert. -/// @param sourceAmount The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". -/// @param sourceUnit The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" -/// @param targetUnit The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIConvertAmounts200Response* --(NSURLSessionTask*) convertAmountsWithIngredientName: (NSString*) ingredientName - sourceAmount: (NSNumber*) sourceAmount - sourceUnit: (NSString*) sourceUnit - targetUnit: (NSString*) targetUnit - completionHandler: (void (^)(OAIConvertAmounts200Response* output, NSError* error)) handler; - - -/// Create Recipe Card -/// Generate a recipe card for a recipe. -/// -/// @param title The title of the recipe. -/// @param ingredients The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -/// @param instructions The instructions to make the recipe. One step per line (separate lines with \\\\n). -/// @param readyInMinutes The number of minutes it takes to get the recipe on the table. -/// @param servings The number of servings the recipe makes. -/// @param mask The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). -/// @param backgroundImage The background image ('none', 'background1', or 'background2'). -/// @param image The binary image of the recipe as jpg. (optional) -/// @param imageUrl If you do not sent a binary image you can also pass the image URL. (optional) -/// @param author The author of the recipe. (optional) -/// @param backgroundColor The background color for the recipe card as a hex-string. (optional) -/// @param fontColor The font color for the recipe card as a hex-string. (optional) -/// @param source The source of the recipe. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAICreateRecipeCard200Response* --(NSURLSessionTask*) createRecipeCardWithTitle: (NSString*) title - ingredients: (NSString*) ingredients - instructions: (NSString*) instructions - readyInMinutes: (NSNumber*) readyInMinutes - servings: (NSNumber*) servings - mask: (NSString*) mask - backgroundImage: (NSString*) backgroundImage - image: (NSURL*) image - imageUrl: (NSString*) imageUrl - author: (NSString*) author - backgroundColor: (NSString*) backgroundColor - fontColor: (NSString*) fontColor - source: (NSString*) source - completionHandler: (void (^)(OAICreateRecipeCard200Response* output, NSError* error)) handler; - - -/// Equipment by ID Image -/// Visualize a recipe's equipment list as an image. -/// -/// @param _id The recipe id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) equipmentByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Extract Recipe from Website -/// This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. -/// -/// @param url The URL of the recipe page. -/// @param forceExtraction If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. (optional) -/// @param analyze If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. (optional) -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) -/// @param includeTaste Whether taste data should be added to correctly parsed ingredients. (optional) (default to @(NO)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipeInformation200Response* --(NSURLSessionTask*) extractRecipeFromWebsiteWithUrl: (NSString*) url - forceExtraction: (NSNumber*) forceExtraction - analyze: (NSNumber*) analyze - includeNutrition: (NSNumber*) includeNutrition - includeTaste: (NSNumber*) includeTaste - completionHandler: (void (^)(OAIGetRecipeInformation200Response* output, NSError* error)) handler; - - -/// Get Analyzed Recipe Instructions -/// Get an analyzed breakdown of a recipe's instructions. Each step is enriched with the ingredients and equipment required. -/// -/// @param _id The item's id. -/// @param stepBreakdown Whether to break down the recipe steps even more. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetAnalyzedRecipeInstructions200Response* --(NSURLSessionTask*) getAnalyzedRecipeInstructionsWithId: (NSNumber*) _id - stepBreakdown: (NSNumber*) stepBreakdown - completionHandler: (void (^)(OAIGetAnalyzedRecipeInstructions200Response* output, NSError* error)) handler; - - -/// Get Random Recipes -/// Find random (popular) recipes. If you need to filter recipes by diet, nutrition etc. you might want to consider using the complex recipe search endpoint and set the sort request parameter to random. -/// -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) -/// @param includeTags A comma-separated list of tags that the random recipe(s) must adhere to. (optional) -/// @param excludeTags A comma-separated list of tags that the random recipe(s) must not adhere to. (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRandomRecipes200Response* --(NSURLSessionTask*) getRandomRecipesWithLimitLicense: (NSNumber*) limitLicense - includeNutrition: (NSNumber*) includeNutrition - includeTags: (NSString*) includeTags - excludeTags: (NSString*) excludeTags - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetRandomRecipes200Response* output, NSError* error)) handler; - - -/// Equipment by ID -/// Get a recipe's equipment list. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipeEquipmentByID200Response* --(NSURLSessionTask*) getRecipeEquipmentByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeEquipmentByID200Response* output, NSError* error)) handler; - - -/// Get Recipe Information -/// Use a recipe id to get full information about a recipe, such as ingredients, nutrition, diet and allergen information, etc. -/// -/// @param _id The item's id. -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipeInformation200Response* --(NSURLSessionTask*) getRecipeInformationWithId: (NSNumber*) _id - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAIGetRecipeInformation200Response* output, NSError* error)) handler; - - -/// Get Recipe Information Bulk -/// Get information about multiple recipes at once. This is equivalent to calling the Get Recipe Information endpoint multiple times, but faster. -/// -/// @param ids A comma-separated list of recipe ids. -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) getRecipeInformationBulkWithIds: (NSString*) ids - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Ingredients by ID -/// Get a recipe's ingredient list. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipeIngredientsByID200Response* --(NSURLSessionTask*) getRecipeIngredientsByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeIngredientsByID200Response* output, NSError* error)) handler; - - -/// Nutrition by ID -/// Get a recipe's nutrition data. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipeNutritionWidgetByID200Response* --(NSURLSessionTask*) getRecipeNutritionWidgetByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeNutritionWidgetByID200Response* output, NSError* error)) handler; - - -/// Price Breakdown by ID -/// Get a recipe's price breakdown data. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipePriceBreakdownByID200Response* --(NSURLSessionTask*) getRecipePriceBreakdownByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipePriceBreakdownByID200Response* output, NSError* error)) handler; - - -/// Taste by ID -/// Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -/// -/// @param _id The item's id. -/// @param normalize Normalize to the strongest taste. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetRecipeTasteByID200Response* --(NSURLSessionTask*) getRecipeTasteByIDWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - completionHandler: (void (^)(OAIGetRecipeTasteByID200Response* output, NSError* error)) handler; - - -/// Get Similar Recipes -/// Find recipes which are similar to the given one. -/// -/// @param _id The item's id. -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) getSimilarRecipesWithId: (NSNumber*) _id - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Guess Nutrition by Dish Name -/// Estimate the macronutrients of a dish based on its title. -/// -/// @param title The title of the dish. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGuessNutritionByDishName200Response* --(NSURLSessionTask*) guessNutritionByDishNameWithTitle: (NSString*) title - completionHandler: (void (^)(OAIGuessNutritionByDishName200Response* output, NSError* error)) handler; - - -/// Parse Ingredients -/// Extract an ingredient from plain text. -/// -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// @param servings The number of servings that you can make from the ingredients. -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// @param includeNutrition (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) parseIngredientsWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Price Breakdown by ID Image -/// Visualize a recipe's price breakdown. -/// -/// @param _id The recipe id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) priceBreakdownByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Quick Answer -/// Answer a nutrition related natural language question. -/// -/// @param q The nutrition related question. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIQuickAnswer200Response* --(NSURLSessionTask*) quickAnswerWithQ: (NSString*) q - completionHandler: (void (^)(OAIQuickAnswer200Response* output, NSError* error)) handler; - - -/// Recipe Nutrition by ID Image -/// Visualize a recipe's nutritional information as an image. -/// -/// @param _id The recipe id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) recipeNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Recipe Nutrition Label Image -/// Get a recipe's nutrition label as an image. -/// -/// @param _id The recipe id. -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// @param showZeroValues Whether to show zero values. (optional) -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) recipeNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Recipe Nutrition Label Widget -/// Get a recipe's nutrition label as an HTML widget. -/// -/// @param _id The recipe id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// @param showZeroValues Whether to show zero values. (optional) -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) recipeNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Recipe Taste by ID Image -/// Get a recipe's taste as an image. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -/// -/// @param _id The recipe id. -/// @param normalize Normalize to the strongest taste. (optional) -/// @param rgb Red, green, blue values for the chart color. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSURL* --(NSURLSessionTask*) recipeTasteByIDImageWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; - - -/// Search Recipes -/// Search through hundreds of thousands of recipes using advanced filtering and ranking. NOTE: This method combines searching by query, by ingredients, and by nutrients into one endpoint. -/// -/// @param query The (natural language) search query. (optional) -/// @param cuisine The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. (optional) -/// @param excludeCuisine The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. (optional) -/// @param diet The diet for which the recipes must be suitable. See a full list of supported diets. (optional) -/// @param intolerances A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -/// @param equipment The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". (optional) -/// @param includeIngredients A comma-separated list of ingredients that should/must be used in the recipes. (optional) -/// @param excludeIngredients A comma-separated list of ingredients or ingredient types that the recipes must not contain. (optional) -/// @param type The type of recipe. See a full list of supported meal types. (optional) -/// @param instructionsRequired Whether the recipes must have instructions. (optional) -/// @param fillIngredients Add information about the ingredients and whether they are used or missing in relation to the query. (optional) -/// @param addRecipeInformation If set to true, you get more information about the recipes returned. (optional) -/// @param addRecipeNutrition If set to true, you get nutritional information about each recipes returned. (optional) -/// @param author The username of the recipe author. (optional) -/// @param tags The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. (optional) -/// @param recipeBoxId The id of the recipe box to which the search should be limited to. (optional) -/// @param titleMatch Enter text that must be found in the title of the recipes. (optional) -/// @param maxReadyTime The maximum time in minutes it should take to prepare and cook the recipe. (optional) -/// @param minServings The minimum amount of servings the recipe is for. (optional) -/// @param maxServings The maximum amount of servings the recipe is for. (optional) -/// @param ignorePantry Whether to ignore typical pantry items, such as water, salt, flour, etc. (optional) (default to @(NO)) -/// @param sort The strategy to sort recipes by. See a full list of supported sorting options. (optional) -/// @param sortDirection The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). (optional) -/// @param minCarbs The minimum amount of carbohydrates in grams the recipe must have. (optional) -/// @param maxCarbs The maximum amount of carbohydrates in grams the recipe can have. (optional) -/// @param minProtein The minimum amount of protein in grams the recipe must have. (optional) -/// @param maxProtein The maximum amount of protein in grams the recipe can have. (optional) -/// @param minCalories The minimum amount of calories the recipe must have. (optional) -/// @param maxCalories The maximum amount of calories the recipe can have. (optional) -/// @param minFat The minimum amount of fat in grams the recipe must have. (optional) -/// @param maxFat The maximum amount of fat in grams the recipe can have. (optional) -/// @param minAlcohol The minimum amount of alcohol in grams the recipe must have. (optional) -/// @param maxAlcohol The maximum amount of alcohol in grams the recipe can have. (optional) -/// @param minCaffeine The minimum amount of caffeine in milligrams the recipe must have. (optional) -/// @param maxCaffeine The maximum amount of caffeine in milligrams the recipe can have. (optional) -/// @param minCopper The minimum amount of copper in milligrams the recipe must have. (optional) -/// @param maxCopper The maximum amount of copper in milligrams the recipe can have. (optional) -/// @param minCalcium The minimum amount of calcium in milligrams the recipe must have. (optional) -/// @param maxCalcium The maximum amount of calcium in milligrams the recipe can have. (optional) -/// @param minCholine The minimum amount of choline in milligrams the recipe must have. (optional) -/// @param maxCholine The maximum amount of choline in milligrams the recipe can have. (optional) -/// @param minCholesterol The minimum amount of cholesterol in milligrams the recipe must have. (optional) -/// @param maxCholesterol The maximum amount of cholesterol in milligrams the recipe can have. (optional) -/// @param minFluoride The minimum amount of fluoride in milligrams the recipe must have. (optional) -/// @param maxFluoride The maximum amount of fluoride in milligrams the recipe can have. (optional) -/// @param minSaturatedFat The minimum amount of saturated fat in grams the recipe must have. (optional) -/// @param maxSaturatedFat The maximum amount of saturated fat in grams the recipe can have. (optional) -/// @param minVitaminA The minimum amount of Vitamin A in IU the recipe must have. (optional) -/// @param maxVitaminA The maximum amount of Vitamin A in IU the recipe can have. (optional) -/// @param minVitaminC The minimum amount of Vitamin C milligrams the recipe must have. (optional) -/// @param maxVitaminC The maximum amount of Vitamin C in milligrams the recipe can have. (optional) -/// @param minVitaminD The minimum amount of Vitamin D in micrograms the recipe must have. (optional) -/// @param maxVitaminD The maximum amount of Vitamin D in micrograms the recipe can have. (optional) -/// @param minVitaminE The minimum amount of Vitamin E in milligrams the recipe must have. (optional) -/// @param maxVitaminE The maximum amount of Vitamin E in milligrams the recipe can have. (optional) -/// @param minVitaminK The minimum amount of Vitamin K in micrograms the recipe must have. (optional) -/// @param maxVitaminK The maximum amount of Vitamin K in micrograms the recipe can have. (optional) -/// @param minVitaminB1 The minimum amount of Vitamin B1 in milligrams the recipe must have. (optional) -/// @param maxVitaminB1 The maximum amount of Vitamin B1 in milligrams the recipe can have. (optional) -/// @param minVitaminB2 The minimum amount of Vitamin B2 in milligrams the recipe must have. (optional) -/// @param maxVitaminB2 The maximum amount of Vitamin B2 in milligrams the recipe can have. (optional) -/// @param minVitaminB5 The minimum amount of Vitamin B5 in milligrams the recipe must have. (optional) -/// @param maxVitaminB5 The maximum amount of Vitamin B5 in milligrams the recipe can have. (optional) -/// @param minVitaminB3 The minimum amount of Vitamin B3 in milligrams the recipe must have. (optional) -/// @param maxVitaminB3 The maximum amount of Vitamin B3 in milligrams the recipe can have. (optional) -/// @param minVitaminB6 The minimum amount of Vitamin B6 in milligrams the recipe must have. (optional) -/// @param maxVitaminB6 The maximum amount of Vitamin B6 in milligrams the recipe can have. (optional) -/// @param minVitaminB12 The minimum amount of Vitamin B12 in micrograms the recipe must have. (optional) -/// @param maxVitaminB12 The maximum amount of Vitamin B12 in micrograms the recipe can have. (optional) -/// @param minFiber The minimum amount of fiber in grams the recipe must have. (optional) -/// @param maxFiber The maximum amount of fiber in grams the recipe can have. (optional) -/// @param minFolate The minimum amount of folate in micrograms the recipe must have. (optional) -/// @param maxFolate The maximum amount of folate in micrograms the recipe can have. (optional) -/// @param minFolicAcid The minimum amount of folic acid in micrograms the recipe must have. (optional) -/// @param maxFolicAcid The maximum amount of folic acid in micrograms the recipe can have. (optional) -/// @param minIodine The minimum amount of iodine in micrograms the recipe must have. (optional) -/// @param maxIodine The maximum amount of iodine in micrograms the recipe can have. (optional) -/// @param minIron The minimum amount of iron in milligrams the recipe must have. (optional) -/// @param maxIron The maximum amount of iron in milligrams the recipe can have. (optional) -/// @param minMagnesium The minimum amount of magnesium in milligrams the recipe must have. (optional) -/// @param maxMagnesium The maximum amount of magnesium in milligrams the recipe can have. (optional) -/// @param minManganese The minimum amount of manganese in milligrams the recipe must have. (optional) -/// @param maxManganese The maximum amount of manganese in milligrams the recipe can have. (optional) -/// @param minPhosphorus The minimum amount of phosphorus in milligrams the recipe must have. (optional) -/// @param maxPhosphorus The maximum amount of phosphorus in milligrams the recipe can have. (optional) -/// @param minPotassium The minimum amount of potassium in milligrams the recipe must have. (optional) -/// @param maxPotassium The maximum amount of potassium in milligrams the recipe can have. (optional) -/// @param minSelenium The minimum amount of selenium in micrograms the recipe must have. (optional) -/// @param maxSelenium The maximum amount of selenium in micrograms the recipe can have. (optional) -/// @param minSodium The minimum amount of sodium in milligrams the recipe must have. (optional) -/// @param maxSodium The maximum amount of sodium in milligrams the recipe can have. (optional) -/// @param minSugar The minimum amount of sugar in grams the recipe must have. (optional) -/// @param maxSugar The maximum amount of sugar in grams the recipe can have. (optional) -/// @param minZinc The minimum amount of zinc in milligrams the recipe must have. (optional) -/// @param maxZinc The maximum amount of zinc in milligrams the recipe can have. (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISearchRecipes200Response* --(NSURLSessionTask*) searchRecipesWithQuery: (NSString*) query - cuisine: (NSString*) cuisine - excludeCuisine: (NSString*) excludeCuisine - diet: (NSString*) diet - intolerances: (NSString*) intolerances - equipment: (NSString*) equipment - includeIngredients: (NSString*) includeIngredients - excludeIngredients: (NSString*) excludeIngredients - type: (NSString*) type - instructionsRequired: (NSNumber*) instructionsRequired - fillIngredients: (NSNumber*) fillIngredients - addRecipeInformation: (NSNumber*) addRecipeInformation - addRecipeNutrition: (NSNumber*) addRecipeNutrition - author: (NSString*) author - tags: (NSString*) tags - recipeBoxId: (NSNumber*) recipeBoxId - titleMatch: (NSString*) titleMatch - maxReadyTime: (NSNumber*) maxReadyTime - minServings: (NSNumber*) minServings - maxServings: (NSNumber*) maxServings - ignorePantry: (NSNumber*) ignorePantry - sort: (NSString*) sort - sortDirection: (NSString*) sortDirection - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - minAlcohol: (NSNumber*) minAlcohol - maxAlcohol: (NSNumber*) maxAlcohol - minCaffeine: (NSNumber*) minCaffeine - maxCaffeine: (NSNumber*) maxCaffeine - minCopper: (NSNumber*) minCopper - maxCopper: (NSNumber*) maxCopper - minCalcium: (NSNumber*) minCalcium - maxCalcium: (NSNumber*) maxCalcium - minCholine: (NSNumber*) minCholine - maxCholine: (NSNumber*) maxCholine - minCholesterol: (NSNumber*) minCholesterol - maxCholesterol: (NSNumber*) maxCholesterol - minFluoride: (NSNumber*) minFluoride - maxFluoride: (NSNumber*) maxFluoride - minSaturatedFat: (NSNumber*) minSaturatedFat - maxSaturatedFat: (NSNumber*) maxSaturatedFat - minVitaminA: (NSNumber*) minVitaminA - maxVitaminA: (NSNumber*) maxVitaminA - minVitaminC: (NSNumber*) minVitaminC - maxVitaminC: (NSNumber*) maxVitaminC - minVitaminD: (NSNumber*) minVitaminD - maxVitaminD: (NSNumber*) maxVitaminD - minVitaminE: (NSNumber*) minVitaminE - maxVitaminE: (NSNumber*) maxVitaminE - minVitaminK: (NSNumber*) minVitaminK - maxVitaminK: (NSNumber*) maxVitaminK - minVitaminB1: (NSNumber*) minVitaminB1 - maxVitaminB1: (NSNumber*) maxVitaminB1 - minVitaminB2: (NSNumber*) minVitaminB2 - maxVitaminB2: (NSNumber*) maxVitaminB2 - minVitaminB5: (NSNumber*) minVitaminB5 - maxVitaminB5: (NSNumber*) maxVitaminB5 - minVitaminB3: (NSNumber*) minVitaminB3 - maxVitaminB3: (NSNumber*) maxVitaminB3 - minVitaminB6: (NSNumber*) minVitaminB6 - maxVitaminB6: (NSNumber*) maxVitaminB6 - minVitaminB12: (NSNumber*) minVitaminB12 - maxVitaminB12: (NSNumber*) maxVitaminB12 - minFiber: (NSNumber*) minFiber - maxFiber: (NSNumber*) maxFiber - minFolate: (NSNumber*) minFolate - maxFolate: (NSNumber*) maxFolate - minFolicAcid: (NSNumber*) minFolicAcid - maxFolicAcid: (NSNumber*) maxFolicAcid - minIodine: (NSNumber*) minIodine - maxIodine: (NSNumber*) maxIodine - minIron: (NSNumber*) minIron - maxIron: (NSNumber*) maxIron - minMagnesium: (NSNumber*) minMagnesium - maxMagnesium: (NSNumber*) maxMagnesium - minManganese: (NSNumber*) minManganese - maxManganese: (NSNumber*) maxManganese - minPhosphorus: (NSNumber*) minPhosphorus - maxPhosphorus: (NSNumber*) maxPhosphorus - minPotassium: (NSNumber*) minPotassium - maxPotassium: (NSNumber*) maxPotassium - minSelenium: (NSNumber*) minSelenium - maxSelenium: (NSNumber*) maxSelenium - minSodium: (NSNumber*) minSodium - maxSodium: (NSNumber*) maxSodium - minSugar: (NSNumber*) minSugar - maxSugar: (NSNumber*) maxSugar - minZinc: (NSNumber*) minZinc - maxZinc: (NSNumber*) maxZinc - offset: (NSNumber*) offset - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISearchRecipes200Response* output, NSError* error)) handler; - - -/// Search Recipes by Ingredients -/// Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post shopping). -/// -/// @param ingredients A comma-separated list of ingredients that the recipes should contain. (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -/// @param ranking Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. (optional) -/// @param ignorePantry Whether to ignore typical pantry items, such as water, salt, flour, etc. (optional) (default to @(NO)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) searchRecipesByIngredientsWithIngredients: (NSString*) ingredients - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - ranking: (NSNumber*) ranking - ignorePantry: (NSNumber*) ignorePantry - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Search Recipes by Nutrients -/// Find a set of recipes that adhere to the given nutritional limits. You may set limits for macronutrients (calories, protein, fat, and carbohydrate) and/or many micronutrients. -/// -/// @param minCarbs The minimum amount of carbohydrates in grams the recipe must have. (optional) -/// @param maxCarbs The maximum amount of carbohydrates in grams the recipe can have. (optional) -/// @param minProtein The minimum amount of protein in grams the recipe must have. (optional) -/// @param maxProtein The maximum amount of protein in grams the recipe can have. (optional) -/// @param minCalories The minimum amount of calories the recipe must have. (optional) -/// @param maxCalories The maximum amount of calories the recipe can have. (optional) -/// @param minFat The minimum amount of fat in grams the recipe must have. (optional) -/// @param maxFat The maximum amount of fat in grams the recipe can have. (optional) -/// @param minAlcohol The minimum amount of alcohol in grams the recipe must have. (optional) -/// @param maxAlcohol The maximum amount of alcohol in grams the recipe can have. (optional) -/// @param minCaffeine The minimum amount of caffeine in milligrams the recipe must have. (optional) -/// @param maxCaffeine The maximum amount of caffeine in milligrams the recipe can have. (optional) -/// @param minCopper The minimum amount of copper in milligrams the recipe must have. (optional) -/// @param maxCopper The maximum amount of copper in milligrams the recipe can have. (optional) -/// @param minCalcium The minimum amount of calcium in milligrams the recipe must have. (optional) -/// @param maxCalcium The maximum amount of calcium in milligrams the recipe can have. (optional) -/// @param minCholine The minimum amount of choline in milligrams the recipe must have. (optional) -/// @param maxCholine The maximum amount of choline in milligrams the recipe can have. (optional) -/// @param minCholesterol The minimum amount of cholesterol in milligrams the recipe must have. (optional) -/// @param maxCholesterol The maximum amount of cholesterol in milligrams the recipe can have. (optional) -/// @param minFluoride The minimum amount of fluoride in milligrams the recipe must have. (optional) -/// @param maxFluoride The maximum amount of fluoride in milligrams the recipe can have. (optional) -/// @param minSaturatedFat The minimum amount of saturated fat in grams the recipe must have. (optional) -/// @param maxSaturatedFat The maximum amount of saturated fat in grams the recipe can have. (optional) -/// @param minVitaminA The minimum amount of Vitamin A in IU the recipe must have. (optional) -/// @param maxVitaminA The maximum amount of Vitamin A in IU the recipe can have. (optional) -/// @param minVitaminC The minimum amount of Vitamin C in milligrams the recipe must have. (optional) -/// @param maxVitaminC The maximum amount of Vitamin C in milligrams the recipe can have. (optional) -/// @param minVitaminD The minimum amount of Vitamin D in micrograms the recipe must have. (optional) -/// @param maxVitaminD The maximum amount of Vitamin D in micrograms the recipe can have. (optional) -/// @param minVitaminE The minimum amount of Vitamin E in milligrams the recipe must have. (optional) -/// @param maxVitaminE The maximum amount of Vitamin E in milligrams the recipe can have. (optional) -/// @param minVitaminK The minimum amount of Vitamin K in micrograms the recipe must have. (optional) -/// @param maxVitaminK The maximum amount of Vitamin K in micrograms the recipe can have. (optional) -/// @param minVitaminB1 The minimum amount of Vitamin B1 in milligrams the recipe must have. (optional) -/// @param maxVitaminB1 The maximum amount of Vitamin B1 in milligrams the recipe can have. (optional) -/// @param minVitaminB2 The minimum amount of Vitamin B2 in milligrams the recipe must have. (optional) -/// @param maxVitaminB2 The maximum amount of Vitamin B2 in milligrams the recipe can have. (optional) -/// @param minVitaminB5 The minimum amount of Vitamin B5 in milligrams the recipe must have. (optional) -/// @param maxVitaminB5 The maximum amount of Vitamin B5 in milligrams the recipe can have. (optional) -/// @param minVitaminB3 The minimum amount of Vitamin B3 in milligrams the recipe must have. (optional) -/// @param maxVitaminB3 The maximum amount of Vitamin B3 in milligrams the recipe can have. (optional) -/// @param minVitaminB6 The minimum amount of Vitamin B6 in milligrams the recipe must have. (optional) -/// @param maxVitaminB6 The maximum amount of Vitamin B6 in milligrams the recipe can have. (optional) -/// @param minVitaminB12 The minimum amount of Vitamin B12 in micrograms the recipe must have. (optional) -/// @param maxVitaminB12 The maximum amount of Vitamin B12 in micrograms the recipe can have. (optional) -/// @param minFiber The minimum amount of fiber in grams the recipe must have. (optional) -/// @param maxFiber The maximum amount of fiber in grams the recipe can have. (optional) -/// @param minFolate The minimum amount of folate in micrograms the recipe must have. (optional) -/// @param maxFolate The maximum amount of folate in micrograms the recipe can have. (optional) -/// @param minFolicAcid The minimum amount of folic acid in micrograms the recipe must have. (optional) -/// @param maxFolicAcid The maximum amount of folic acid in micrograms the recipe can have. (optional) -/// @param minIodine The minimum amount of iodine in micrograms the recipe must have. (optional) -/// @param maxIodine The maximum amount of iodine in micrograms the recipe can have. (optional) -/// @param minIron The minimum amount of iron in milligrams the recipe must have. (optional) -/// @param maxIron The maximum amount of iron in milligrams the recipe can have. (optional) -/// @param minMagnesium The minimum amount of magnesium in milligrams the recipe must have. (optional) -/// @param maxMagnesium The maximum amount of magnesium in milligrams the recipe can have. (optional) -/// @param minManganese The minimum amount of manganese in milligrams the recipe must have. (optional) -/// @param maxManganese The maximum amount of manganese in milligrams the recipe can have. (optional) -/// @param minPhosphorus The minimum amount of phosphorus in milligrams the recipe must have. (optional) -/// @param maxPhosphorus The maximum amount of phosphorus in milligrams the recipe can have. (optional) -/// @param minPotassium The minimum amount of potassium in milligrams the recipe must have. (optional) -/// @param maxPotassium The maximum amount of potassium in milligrams the recipe can have. (optional) -/// @param minSelenium The minimum amount of selenium in micrograms the recipe must have. (optional) -/// @param maxSelenium The maximum amount of selenium in micrograms the recipe can have. (optional) -/// @param minSodium The minimum amount of sodium in milligrams the recipe must have. (optional) -/// @param maxSodium The maximum amount of sodium in milligrams the recipe can have. (optional) -/// @param minSugar The minimum amount of sugar in grams the recipe must have. (optional) -/// @param maxSugar The maximum amount of sugar in grams the recipe can have. (optional) -/// @param minZinc The minimum amount of zinc in milligrams the recipe must have. (optional) -/// @param maxZinc The maximum amount of zinc in milligrams the recipe can have. (optional) -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -/// @param random If true, every request will give you a random set of recipes within the requested limits. (optional) -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISet* --(NSURLSessionTask*) searchRecipesByNutrientsWithMinCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - minAlcohol: (NSNumber*) minAlcohol - maxAlcohol: (NSNumber*) maxAlcohol - minCaffeine: (NSNumber*) minCaffeine - maxCaffeine: (NSNumber*) maxCaffeine - minCopper: (NSNumber*) minCopper - maxCopper: (NSNumber*) maxCopper - minCalcium: (NSNumber*) minCalcium - maxCalcium: (NSNumber*) maxCalcium - minCholine: (NSNumber*) minCholine - maxCholine: (NSNumber*) maxCholine - minCholesterol: (NSNumber*) minCholesterol - maxCholesterol: (NSNumber*) maxCholesterol - minFluoride: (NSNumber*) minFluoride - maxFluoride: (NSNumber*) maxFluoride - minSaturatedFat: (NSNumber*) minSaturatedFat - maxSaturatedFat: (NSNumber*) maxSaturatedFat - minVitaminA: (NSNumber*) minVitaminA - maxVitaminA: (NSNumber*) maxVitaminA - minVitaminC: (NSNumber*) minVitaminC - maxVitaminC: (NSNumber*) maxVitaminC - minVitaminD: (NSNumber*) minVitaminD - maxVitaminD: (NSNumber*) maxVitaminD - minVitaminE: (NSNumber*) minVitaminE - maxVitaminE: (NSNumber*) maxVitaminE - minVitaminK: (NSNumber*) minVitaminK - maxVitaminK: (NSNumber*) maxVitaminK - minVitaminB1: (NSNumber*) minVitaminB1 - maxVitaminB1: (NSNumber*) maxVitaminB1 - minVitaminB2: (NSNumber*) minVitaminB2 - maxVitaminB2: (NSNumber*) maxVitaminB2 - minVitaminB5: (NSNumber*) minVitaminB5 - maxVitaminB5: (NSNumber*) maxVitaminB5 - minVitaminB3: (NSNumber*) minVitaminB3 - maxVitaminB3: (NSNumber*) maxVitaminB3 - minVitaminB6: (NSNumber*) minVitaminB6 - maxVitaminB6: (NSNumber*) maxVitaminB6 - minVitaminB12: (NSNumber*) minVitaminB12 - maxVitaminB12: (NSNumber*) maxVitaminB12 - minFiber: (NSNumber*) minFiber - maxFiber: (NSNumber*) maxFiber - minFolate: (NSNumber*) minFolate - maxFolate: (NSNumber*) maxFolate - minFolicAcid: (NSNumber*) minFolicAcid - maxFolicAcid: (NSNumber*) maxFolicAcid - minIodine: (NSNumber*) minIodine - maxIodine: (NSNumber*) maxIodine - minIron: (NSNumber*) minIron - maxIron: (NSNumber*) maxIron - minMagnesium: (NSNumber*) minMagnesium - maxMagnesium: (NSNumber*) maxMagnesium - minManganese: (NSNumber*) minManganese - maxManganese: (NSNumber*) maxManganese - minPhosphorus: (NSNumber*) minPhosphorus - maxPhosphorus: (NSNumber*) maxPhosphorus - minPotassium: (NSNumber*) minPotassium - maxPotassium: (NSNumber*) maxPotassium - minSelenium: (NSNumber*) minSelenium - maxSelenium: (NSNumber*) maxSelenium - minSodium: (NSNumber*) minSodium - maxSodium: (NSNumber*) maxSodium - minSugar: (NSNumber*) minSugar - maxSugar: (NSNumber*) maxSugar - minZinc: (NSNumber*) minZinc - maxZinc: (NSNumber*) maxZinc - offset: (NSNumber*) offset - number: (NSNumber*) number - random: (NSNumber*) random - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; - - -/// Summarize Recipe -/// Automatically generate a short description that summarizes key information about the recipe. -/// -/// @param _id The item's id. -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAISummarizeRecipe200Response* --(NSURLSessionTask*) summarizeRecipeWithId: (NSNumber*) _id - completionHandler: (void (^)(OAISummarizeRecipe200Response* output, NSError* error)) handler; - - -/// Equipment Widget -/// Visualize the equipment used to make a recipe. -/// -/// @param instructions The recipe's instructions. -/// @param view How to visualize the ingredients, either 'grid' or 'list'. (optional) -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeEquipmentWithInstructions: (NSString*) instructions - view: (NSString*) view - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Price Breakdown Widget -/// Visualize the price breakdown of a recipe. -/// -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// @param servings The number of servings. -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// @param mode The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). (optional) -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizePriceBreakdownWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - mode: (NSNumber*) mode - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Equipment by ID Widget -/// Visualize a recipe's equipment list. -/// -/// @param _id The item's id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipeEquipmentByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Ingredients by ID Widget -/// Visualize a recipe's ingredient list. -/// -/// @param _id The item's id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// @param measure Whether the the measures should be 'us' or 'metric'. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipeIngredientsByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - measure: (NSString*) measure - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Recipe Nutrition Widget -/// Visualize a recipe's nutritional information as HTML including CSS. -/// -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// @param servings The number of servings. -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipeNutritionWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Recipe Nutrition by ID Widget -/// Visualize a recipe's nutritional information as HTML including CSS. -/// -/// @param _id The item's id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipeNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Price Breakdown by ID Widget -/// Visualize a recipe's price breakdown. -/// -/// @param _id The item's id. -/// @param defaultCss Whether the default CSS should be added to the response. (optional) (default to @(YES)) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipePriceBreakdownByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Recipe Taste Widget -/// Visualize a recipe's taste information as HTML including CSS. You can play around with that endpoint! -/// -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// @param normalize Normalize to the strongest taste. (optional) -/// @param rgb Red, green, blue values for the chart color. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipeTasteWithIngredientList: (NSString*) ingredientList - language: (NSString*) language - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - -/// Recipe Taste by ID Widget -/// Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -/// -/// @param _id The item's id. -/// @param normalize Whether to normalize to the strongest taste. (optional) (default to @(YES)) -/// @param rgb Red, green, blue values for the chart color. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return NSString* --(NSURLSessionTask*) visualizeRecipeTasteByIDWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSString* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIRecipesApi.m b/objc/OpenAPIClient/Api/OAIRecipesApi.m deleted file mode 100644 index 9d4f8716b..000000000 --- a/objc/OpenAPIClient/Api/OAIRecipesApi.m +++ /dev/null @@ -1,4341 +0,0 @@ -#import "OAIRecipesApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIAnalyzeARecipeSearchQuery200Response.h" -#import "OAIAnalyzeRecipeInstructions200Response.h" -#import "OAIAutocompleteRecipeSearch200ResponseInner.h" -#import "OAIClassifyCuisine200Response.h" -#import "OAIComputeGlycemicLoad200Response.h" -#import "OAIComputeGlycemicLoadRequest.h" -#import "OAIConvertAmounts200Response.h" -#import "OAICreateRecipeCard200Response.h" -#import "OAIGetAnalyzedRecipeInstructions200Response.h" -#import "OAIGetRandomRecipes200Response.h" -#import "OAIGetRecipeEquipmentByID200Response.h" -#import "OAIGetRecipeInformation200Response.h" -#import "OAIGetRecipeInformationBulk200ResponseInner.h" -#import "OAIGetRecipeIngredientsByID200Response.h" -#import "OAIGetRecipeNutritionWidgetByID200Response.h" -#import "OAIGetRecipePriceBreakdownByID200Response.h" -#import "OAIGetRecipeTasteByID200Response.h" -#import "OAIGetSimilarRecipes200ResponseInner.h" -#import "OAIGuessNutritionByDishName200Response.h" -#import "OAIParseIngredients200ResponseInner.h" -#import "OAIQuickAnswer200Response.h" -#import "OAISearchRecipes200Response.h" -#import "OAISearchRecipesByIngredients200ResponseInner.h" -#import "OAISearchRecipesByNutrients200ResponseInner.h" -#import "OAISet.h" -#import "OAISummarizeRecipe200Response.h" - - -@interface OAIRecipesApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIRecipesApi - -NSString* kOAIRecipesApiErrorDomain = @"OAIRecipesApiErrorDomain"; -NSInteger kOAIRecipesApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Analyze a Recipe Search Query -/// Parse a recipe search query to find out its intention. -/// @param q The recipe search query. -/// -/// @returns OAIAnalyzeARecipeSearchQuery200Response* -/// --(NSURLSessionTask*) analyzeARecipeSearchQueryWithQ: (NSString*) q - completionHandler: (void (^)(OAIAnalyzeARecipeSearchQuery200Response* output, NSError* error)) handler { - // verify the required parameter 'q' is set - if (q == nil) { - NSParameterAssert(q); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"q"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/queries/analyze"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (q != nil) { - queryParams[@"q"] = q; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIAnalyzeARecipeSearchQuery200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIAnalyzeARecipeSearchQuery200Response*)data, error); - } - }]; -} - -/// -/// Analyze Recipe Instructions -/// This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used in. -/// @param instructions The recipe's instructions. -/// -/// @returns OAIAnalyzeRecipeInstructions200Response* -/// --(NSURLSessionTask*) analyzeRecipeInstructionsWithInstructions: (NSString*) instructions - completionHandler: (void (^)(OAIAnalyzeRecipeInstructions200Response* output, NSError* error)) handler { - // verify the required parameter 'instructions' is set - if (instructions == nil) { - NSParameterAssert(instructions); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"instructions"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/analyzeInstructions"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (instructions) { - formParams[@"instructions"] = instructions; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIAnalyzeRecipeInstructions200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIAnalyzeRecipeInstructions200Response*)data, error); - } - }]; -} - -/// -/// Autocomplete Recipe Search -/// Autocomplete a partial input to suggest possible recipe names. -/// @param query The (natural language) search query. (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) autocompleteRecipeSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/autocomplete"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Classify Cuisine -/// Classify the recipe's cuisine. -/// @param title The title of the recipe. -/// -/// @param ingredientList The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @returns OAIClassifyCuisine200Response* -/// --(NSURLSessionTask*) classifyCuisineWithTitle: (NSString*) title - ingredientList: (NSString*) ingredientList - language: (NSString*) language - completionHandler: (void (^)(OAIClassifyCuisine200Response* output, NSError* error)) handler { - // verify the required parameter 'title' is set - if (title == nil) { - NSParameterAssert(title); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"title"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'ingredientList' is set - if (ingredientList == nil) { - NSParameterAssert(ingredientList); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientList"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/cuisine"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (title) { - formParams[@"title"] = title; - } - if (ingredientList) { - formParams[@"ingredientList"] = ingredientList; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIClassifyCuisine200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIClassifyCuisine200Response*)data, error); - } - }]; -} - -/// -/// Compute Glycemic Load -/// Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. -/// @param computeGlycemicLoadRequest -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @returns OAIComputeGlycemicLoad200Response* -/// --(NSURLSessionTask*) computeGlycemicLoadWithComputeGlycemicLoadRequest: (OAIComputeGlycemicLoadRequest*) computeGlycemicLoadRequest - language: (NSString*) language - completionHandler: (void (^)(OAIComputeGlycemicLoad200Response* output, NSError* error)) handler { - // verify the required parameter 'computeGlycemicLoadRequest' is set - if (computeGlycemicLoadRequest == nil) { - NSParameterAssert(computeGlycemicLoadRequest); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"computeGlycemicLoadRequest"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/ingredients/glycemicLoad"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/json"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - bodyParam = computeGlycemicLoadRequest; - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIComputeGlycemicLoad200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIComputeGlycemicLoad200Response*)data, error); - } - }]; -} - -/// -/// Convert Amounts -/// Convert amounts like \"2 cups of flour to grams\". -/// @param ingredientName The ingredient which you want to convert. -/// -/// @param sourceAmount The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". -/// -/// @param sourceUnit The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" -/// -/// @param targetUnit The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" -/// -/// @returns OAIConvertAmounts200Response* -/// --(NSURLSessionTask*) convertAmountsWithIngredientName: (NSString*) ingredientName - sourceAmount: (NSNumber*) sourceAmount - sourceUnit: (NSString*) sourceUnit - targetUnit: (NSString*) targetUnit - completionHandler: (void (^)(OAIConvertAmounts200Response* output, NSError* error)) handler { - // verify the required parameter 'ingredientName' is set - if (ingredientName == nil) { - NSParameterAssert(ingredientName); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientName"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'sourceAmount' is set - if (sourceAmount == nil) { - NSParameterAssert(sourceAmount); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"sourceAmount"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'sourceUnit' is set - if (sourceUnit == nil) { - NSParameterAssert(sourceUnit); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"sourceUnit"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'targetUnit' is set - if (targetUnit == nil) { - NSParameterAssert(targetUnit); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"targetUnit"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/convert"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (ingredientName != nil) { - queryParams[@"ingredientName"] = ingredientName; - } - if (sourceAmount != nil) { - queryParams[@"sourceAmount"] = sourceAmount; - } - if (sourceUnit != nil) { - queryParams[@"sourceUnit"] = sourceUnit; - } - if (targetUnit != nil) { - queryParams[@"targetUnit"] = targetUnit; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIConvertAmounts200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIConvertAmounts200Response*)data, error); - } - }]; -} - -/// -/// Create Recipe Card -/// Generate a recipe card for a recipe. -/// @param title The title of the recipe. -/// -/// @param ingredients The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -/// -/// @param instructions The instructions to make the recipe. One step per line (separate lines with \\\\n). -/// -/// @param readyInMinutes The number of minutes it takes to get the recipe on the table. -/// -/// @param servings The number of servings the recipe makes. -/// -/// @param mask The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). -/// -/// @param backgroundImage The background image ('none', 'background1', or 'background2'). -/// -/// @param image The binary image of the recipe as jpg. (optional) -/// -/// @param imageUrl If you do not sent a binary image you can also pass the image URL. (optional) -/// -/// @param author The author of the recipe. (optional) -/// -/// @param backgroundColor The background color for the recipe card as a hex-string. (optional) -/// -/// @param fontColor The font color for the recipe card as a hex-string. (optional) -/// -/// @param source The source of the recipe. (optional) -/// -/// @returns OAICreateRecipeCard200Response* -/// --(NSURLSessionTask*) createRecipeCardWithTitle: (NSString*) title - ingredients: (NSString*) ingredients - instructions: (NSString*) instructions - readyInMinutes: (NSNumber*) readyInMinutes - servings: (NSNumber*) servings - mask: (NSString*) mask - backgroundImage: (NSString*) backgroundImage - image: (NSURL*) image - imageUrl: (NSString*) imageUrl - author: (NSString*) author - backgroundColor: (NSString*) backgroundColor - fontColor: (NSString*) fontColor - source: (NSString*) source - completionHandler: (void (^)(OAICreateRecipeCard200Response* output, NSError* error)) handler { - // verify the required parameter 'title' is set - if (title == nil) { - NSParameterAssert(title); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"title"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'ingredients' is set - if (ingredients == nil) { - NSParameterAssert(ingredients); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredients"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'instructions' is set - if (instructions == nil) { - NSParameterAssert(instructions); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"instructions"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'readyInMinutes' is set - if (readyInMinutes == nil) { - NSParameterAssert(readyInMinutes); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"readyInMinutes"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'servings' is set - if (servings == nil) { - NSParameterAssert(servings); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"servings"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'mask' is set - if (mask == nil) { - NSParameterAssert(mask); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"mask"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'backgroundImage' is set - if (backgroundImage == nil) { - NSParameterAssert(backgroundImage); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"backgroundImage"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/visualizeRecipe"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"multipart/form-data"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (title) { - formParams[@"title"] = title; - } - if (ingredients) { - formParams[@"ingredients"] = ingredients; - } - if (instructions) { - formParams[@"instructions"] = instructions; - } - if (readyInMinutes) { - formParams[@"readyInMinutes"] = readyInMinutes; - } - if (servings) { - formParams[@"servings"] = servings; - } - if (mask) { - formParams[@"mask"] = mask; - } - if (backgroundImage) { - formParams[@"backgroundImage"] = backgroundImage; - } - localVarFiles[@"image"] = image; - if (imageUrl) { - formParams[@"imageUrl"] = imageUrl; - } - if (author) { - formParams[@"author"] = author; - } - if (backgroundColor) { - formParams[@"backgroundColor"] = backgroundColor; - } - if (fontColor) { - formParams[@"fontColor"] = fontColor; - } - if (source) { - formParams[@"source"] = source; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAICreateRecipeCard200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAICreateRecipeCard200Response*)data, error); - } - }]; -} - -/// -/// Equipment by ID Image -/// Visualize a recipe's equipment list as an image. -/// @param _id The recipe id. -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) equipmentByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/equipmentWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Extract Recipe from Website -/// This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. -/// @param url The URL of the recipe page. -/// -/// @param forceExtraction If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. (optional) -/// -/// @param analyze If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. (optional) -/// -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional, default to @(NO)) -/// -/// @param includeTaste Whether taste data should be added to correctly parsed ingredients. (optional, default to @(NO)) -/// -/// @returns OAIGetRecipeInformation200Response* -/// --(NSURLSessionTask*) extractRecipeFromWebsiteWithUrl: (NSString*) url - forceExtraction: (NSNumber*) forceExtraction - analyze: (NSNumber*) analyze - includeNutrition: (NSNumber*) includeNutrition - includeTaste: (NSNumber*) includeTaste - completionHandler: (void (^)(OAIGetRecipeInformation200Response* output, NSError* error)) handler { - // verify the required parameter 'url' is set - if (url == nil) { - NSParameterAssert(url); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"url"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/extract"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (url != nil) { - queryParams[@"url"] = url; - } - if (forceExtraction != nil) { - queryParams[@"forceExtraction"] = [forceExtraction isEqual:@(YES)] ? @"true" : @"false"; - } - if (analyze != nil) { - queryParams[@"analyze"] = [analyze isEqual:@(YES)] ? @"true" : @"false"; - } - if (includeNutrition != nil) { - queryParams[@"includeNutrition"] = [includeNutrition isEqual:@(YES)] ? @"true" : @"false"; - } - if (includeTaste != nil) { - queryParams[@"includeTaste"] = [includeTaste isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipeInformation200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipeInformation200Response*)data, error); - } - }]; -} - -/// -/// Get Analyzed Recipe Instructions -/// Get an analyzed breakdown of a recipe's instructions. Each step is enriched with the ingredients and equipment required. -/// @param _id The item's id. -/// -/// @param stepBreakdown Whether to break down the recipe steps even more. (optional) -/// -/// @returns OAIGetAnalyzedRecipeInstructions200Response* -/// --(NSURLSessionTask*) getAnalyzedRecipeInstructionsWithId: (NSNumber*) _id - stepBreakdown: (NSNumber*) stepBreakdown - completionHandler: (void (^)(OAIGetAnalyzedRecipeInstructions200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/analyzedInstructions"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (stepBreakdown != nil) { - queryParams[@"stepBreakdown"] = [stepBreakdown isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetAnalyzedRecipeInstructions200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetAnalyzedRecipeInstructions200Response*)data, error); - } - }]; -} - -/// -/// Get Random Recipes -/// Find random (popular) recipes. If you need to filter recipes by diet, nutrition etc. you might want to consider using the complex recipe search endpoint and set the sort request parameter to random. -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional, default to @(YES)) -/// -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional, default to @(NO)) -/// -/// @param includeTags A comma-separated list of tags that the random recipe(s) must adhere to. (optional) -/// -/// @param excludeTags A comma-separated list of tags that the random recipe(s) must not adhere to. (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @returns OAIGetRandomRecipes200Response* -/// --(NSURLSessionTask*) getRandomRecipesWithLimitLicense: (NSNumber*) limitLicense - includeNutrition: (NSNumber*) includeNutrition - includeTags: (NSString*) includeTags - excludeTags: (NSString*) excludeTags - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetRandomRecipes200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/random"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (limitLicense != nil) { - queryParams[@"limitLicense"] = [limitLicense isEqual:@(YES)] ? @"true" : @"false"; - } - if (includeNutrition != nil) { - queryParams[@"includeNutrition"] = [includeNutrition isEqual:@(YES)] ? @"true" : @"false"; - } - if (includeTags != nil) { - queryParams[@"include-tags"] = includeTags; - } - if (excludeTags != nil) { - queryParams[@"exclude-tags"] = excludeTags; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRandomRecipes200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRandomRecipes200Response*)data, error); - } - }]; -} - -/// -/// Equipment by ID -/// Get a recipe's equipment list. -/// @param _id The item's id. -/// -/// @returns OAIGetRecipeEquipmentByID200Response* -/// --(NSURLSessionTask*) getRecipeEquipmentByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeEquipmentByID200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/equipmentWidget.json"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipeEquipmentByID200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipeEquipmentByID200Response*)data, error); - } - }]; -} - -/// -/// Get Recipe Information -/// Use a recipe id to get full information about a recipe, such as ingredients, nutrition, diet and allergen information, etc. -/// @param _id The item's id. -/// -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional, default to @(NO)) -/// -/// @returns OAIGetRecipeInformation200Response* -/// --(NSURLSessionTask*) getRecipeInformationWithId: (NSNumber*) _id - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAIGetRecipeInformation200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/information"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (includeNutrition != nil) { - queryParams[@"includeNutrition"] = [includeNutrition isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipeInformation200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipeInformation200Response*)data, error); - } - }]; -} - -/// -/// Get Recipe Information Bulk -/// Get information about multiple recipes at once. This is equivalent to calling the Get Recipe Information endpoint multiple times, but faster. -/// @param ids A comma-separated list of recipe ids. -/// -/// @param includeNutrition Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional, default to @(NO)) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) getRecipeInformationBulkWithIds: (NSString*) ids - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - // verify the required parameter 'ids' is set - if (ids == nil) { - NSParameterAssert(ids); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ids"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/informationBulk"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (ids != nil) { - queryParams[@"ids"] = ids; - } - if (includeNutrition != nil) { - queryParams[@"includeNutrition"] = [includeNutrition isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Ingredients by ID -/// Get a recipe's ingredient list. -/// @param _id The item's id. -/// -/// @returns OAIGetRecipeIngredientsByID200Response* -/// --(NSURLSessionTask*) getRecipeIngredientsByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeIngredientsByID200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/ingredientWidget.json"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipeIngredientsByID200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipeIngredientsByID200Response*)data, error); - } - }]; -} - -/// -/// Nutrition by ID -/// Get a recipe's nutrition data. -/// @param _id The item's id. -/// -/// @returns OAIGetRecipeNutritionWidgetByID200Response* -/// --(NSURLSessionTask*) getRecipeNutritionWidgetByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeNutritionWidgetByID200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/nutritionWidget.json"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipeNutritionWidgetByID200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipeNutritionWidgetByID200Response*)data, error); - } - }]; -} - -/// -/// Price Breakdown by ID -/// Get a recipe's price breakdown data. -/// @param _id The item's id. -/// -/// @returns OAIGetRecipePriceBreakdownByID200Response* -/// --(NSURLSessionTask*) getRecipePriceBreakdownByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipePriceBreakdownByID200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/priceBreakdownWidget.json"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipePriceBreakdownByID200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipePriceBreakdownByID200Response*)data, error); - } - }]; -} - -/// -/// Taste by ID -/// Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -/// @param _id The item's id. -/// -/// @param normalize Normalize to the strongest taste. (optional, default to @(YES)) -/// -/// @returns OAIGetRecipeTasteByID200Response* -/// --(NSURLSessionTask*) getRecipeTasteByIDWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - completionHandler: (void (^)(OAIGetRecipeTasteByID200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/tasteWidget.json"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (normalize != nil) { - queryParams[@"normalize"] = [normalize isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetRecipeTasteByID200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetRecipeTasteByID200Response*)data, error); - } - }]; -} - -/// -/// Get Similar Recipes -/// Find recipes which are similar to the given one. -/// @param _id The item's id. -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional, default to @(YES)) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) getSimilarRecipesWithId: (NSNumber*) _id - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/similar"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (number != nil) { - queryParams[@"number"] = number; - } - if (limitLicense != nil) { - queryParams[@"limitLicense"] = [limitLicense isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Guess Nutrition by Dish Name -/// Estimate the macronutrients of a dish based on its title. -/// @param title The title of the dish. -/// -/// @returns OAIGuessNutritionByDishName200Response* -/// --(NSURLSessionTask*) guessNutritionByDishNameWithTitle: (NSString*) title - completionHandler: (void (^)(OAIGuessNutritionByDishName200Response* output, NSError* error)) handler { - // verify the required parameter 'title' is set - if (title == nil) { - NSParameterAssert(title); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"title"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/guessNutrition"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (title != nil) { - queryParams[@"title"] = title; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGuessNutritionByDishName200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGuessNutritionByDishName200Response*)data, error); - } - }]; -} - -/// -/// Parse Ingredients -/// Extract an ingredient from plain text. -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// -/// @param servings The number of servings that you can make from the ingredients. -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @param includeNutrition (optional) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) parseIngredientsWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - // verify the required parameter 'ingredientList' is set - if (ingredientList == nil) { - NSParameterAssert(ingredientList); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientList"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'servings' is set - if (servings == nil) { - NSParameterAssert(servings); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"servings"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/parseIngredients"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (ingredientList) { - formParams[@"ingredientList"] = ingredientList; - } - if (servings) { - formParams[@"servings"] = servings; - } - if (includeNutrition) { - formParams[@"includeNutrition"] = includeNutrition; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Price Breakdown by ID Image -/// Visualize a recipe's price breakdown. -/// @param _id The recipe id. -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) priceBreakdownByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/priceBreakdownWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Quick Answer -/// Answer a nutrition related natural language question. -/// @param q The nutrition related question. -/// -/// @returns OAIQuickAnswer200Response* -/// --(NSURLSessionTask*) quickAnswerWithQ: (NSString*) q - completionHandler: (void (^)(OAIQuickAnswer200Response* output, NSError* error)) handler { - // verify the required parameter 'q' is set - if (q == nil) { - NSParameterAssert(q); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"q"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/quickAnswer"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (q != nil) { - queryParams[@"q"] = q; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIQuickAnswer200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIQuickAnswer200Response*)data, error); - } - }]; -} - -/// -/// Recipe Nutrition by ID Image -/// Visualize a recipe's nutritional information as an image. -/// @param _id The recipe id. -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) recipeNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/nutritionWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Recipe Nutrition Label Image -/// Get a recipe's nutrition label as an image. -/// @param _id The recipe id. -/// -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// -/// @param showZeroValues Whether to show zero values. (optional) -/// -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) recipeNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/nutritionLabel.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (showOptionalNutrients != nil) { - queryParams[@"showOptionalNutrients"] = [showOptionalNutrients isEqual:@(YES)] ? @"true" : @"false"; - } - if (showZeroValues != nil) { - queryParams[@"showZeroValues"] = [showZeroValues isEqual:@(YES)] ? @"true" : @"false"; - } - if (showIngredients != nil) { - queryParams[@"showIngredients"] = [showIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Recipe Nutrition Label Widget -/// Get a recipe's nutrition label as an HTML widget. -/// @param _id The recipe id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @param showOptionalNutrients Whether to show optional nutrients. (optional) -/// -/// @param showZeroValues Whether to show zero values. (optional) -/// -/// @param showIngredients Whether to show a list of ingredients. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) recipeNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/nutritionLabel"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - if (showOptionalNutrients != nil) { - queryParams[@"showOptionalNutrients"] = [showOptionalNutrients isEqual:@(YES)] ? @"true" : @"false"; - } - if (showZeroValues != nil) { - queryParams[@"showZeroValues"] = [showZeroValues isEqual:@(YES)] ? @"true" : @"false"; - } - if (showIngredients != nil) { - queryParams[@"showIngredients"] = [showIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Recipe Taste by ID Image -/// Get a recipe's taste as an image. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -/// @param _id The recipe id. -/// -/// @param normalize Normalize to the strongest taste. (optional) -/// -/// @param rgb Red, green, blue values for the chart color. (optional) -/// -/// @returns NSURL* -/// --(NSURLSessionTask*) recipeTasteByIDImageWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSURL* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/tasteWidget.png"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (normalize != nil) { - queryParams[@"normalize"] = [normalize isEqual:@(YES)] ? @"true" : @"false"; - } - if (rgb != nil) { - queryParams[@"rgb"] = rgb; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"image/png"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSURL*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSURL*)data, error); - } - }]; -} - -/// -/// Search Recipes -/// Search through hundreds of thousands of recipes using advanced filtering and ranking. NOTE: This method combines searching by query, by ingredients, and by nutrients into one endpoint. -/// @param query The (natural language) search query. (optional) -/// -/// @param cuisine The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. (optional) -/// -/// @param excludeCuisine The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. (optional) -/// -/// @param diet The diet for which the recipes must be suitable. See a full list of supported diets. (optional) -/// -/// @param intolerances A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -/// -/// @param equipment The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". (optional) -/// -/// @param includeIngredients A comma-separated list of ingredients that should/must be used in the recipes. (optional) -/// -/// @param excludeIngredients A comma-separated list of ingredients or ingredient types that the recipes must not contain. (optional) -/// -/// @param type The type of recipe. See a full list of supported meal types. (optional) -/// -/// @param instructionsRequired Whether the recipes must have instructions. (optional) -/// -/// @param fillIngredients Add information about the ingredients and whether they are used or missing in relation to the query. (optional) -/// -/// @param addRecipeInformation If set to true, you get more information about the recipes returned. (optional) -/// -/// @param addRecipeNutrition If set to true, you get nutritional information about each recipes returned. (optional) -/// -/// @param author The username of the recipe author. (optional) -/// -/// @param tags The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. (optional) -/// -/// @param recipeBoxId The id of the recipe box to which the search should be limited to. (optional) -/// -/// @param titleMatch Enter text that must be found in the title of the recipes. (optional) -/// -/// @param maxReadyTime The maximum time in minutes it should take to prepare and cook the recipe. (optional) -/// -/// @param minServings The minimum amount of servings the recipe is for. (optional) -/// -/// @param maxServings The maximum amount of servings the recipe is for. (optional) -/// -/// @param ignorePantry Whether to ignore typical pantry items, such as water, salt, flour, etc. (optional, default to @(NO)) -/// -/// @param sort The strategy to sort recipes by. See a full list of supported sorting options. (optional) -/// -/// @param sortDirection The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). (optional) -/// -/// @param minCarbs The minimum amount of carbohydrates in grams the recipe must have. (optional) -/// -/// @param maxCarbs The maximum amount of carbohydrates in grams the recipe can have. (optional) -/// -/// @param minProtein The minimum amount of protein in grams the recipe must have. (optional) -/// -/// @param maxProtein The maximum amount of protein in grams the recipe can have. (optional) -/// -/// @param minCalories The minimum amount of calories the recipe must have. (optional) -/// -/// @param maxCalories The maximum amount of calories the recipe can have. (optional) -/// -/// @param minFat The minimum amount of fat in grams the recipe must have. (optional) -/// -/// @param maxFat The maximum amount of fat in grams the recipe can have. (optional) -/// -/// @param minAlcohol The minimum amount of alcohol in grams the recipe must have. (optional) -/// -/// @param maxAlcohol The maximum amount of alcohol in grams the recipe can have. (optional) -/// -/// @param minCaffeine The minimum amount of caffeine in milligrams the recipe must have. (optional) -/// -/// @param maxCaffeine The maximum amount of caffeine in milligrams the recipe can have. (optional) -/// -/// @param minCopper The minimum amount of copper in milligrams the recipe must have. (optional) -/// -/// @param maxCopper The maximum amount of copper in milligrams the recipe can have. (optional) -/// -/// @param minCalcium The minimum amount of calcium in milligrams the recipe must have. (optional) -/// -/// @param maxCalcium The maximum amount of calcium in milligrams the recipe can have. (optional) -/// -/// @param minCholine The minimum amount of choline in milligrams the recipe must have. (optional) -/// -/// @param maxCholine The maximum amount of choline in milligrams the recipe can have. (optional) -/// -/// @param minCholesterol The minimum amount of cholesterol in milligrams the recipe must have. (optional) -/// -/// @param maxCholesterol The maximum amount of cholesterol in milligrams the recipe can have. (optional) -/// -/// @param minFluoride The minimum amount of fluoride in milligrams the recipe must have. (optional) -/// -/// @param maxFluoride The maximum amount of fluoride in milligrams the recipe can have. (optional) -/// -/// @param minSaturatedFat The minimum amount of saturated fat in grams the recipe must have. (optional) -/// -/// @param maxSaturatedFat The maximum amount of saturated fat in grams the recipe can have. (optional) -/// -/// @param minVitaminA The minimum amount of Vitamin A in IU the recipe must have. (optional) -/// -/// @param maxVitaminA The maximum amount of Vitamin A in IU the recipe can have. (optional) -/// -/// @param minVitaminC The minimum amount of Vitamin C milligrams the recipe must have. (optional) -/// -/// @param maxVitaminC The maximum amount of Vitamin C in milligrams the recipe can have. (optional) -/// -/// @param minVitaminD The minimum amount of Vitamin D in micrograms the recipe must have. (optional) -/// -/// @param maxVitaminD The maximum amount of Vitamin D in micrograms the recipe can have. (optional) -/// -/// @param minVitaminE The minimum amount of Vitamin E in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminE The maximum amount of Vitamin E in milligrams the recipe can have. (optional) -/// -/// @param minVitaminK The minimum amount of Vitamin K in micrograms the recipe must have. (optional) -/// -/// @param maxVitaminK The maximum amount of Vitamin K in micrograms the recipe can have. (optional) -/// -/// @param minVitaminB1 The minimum amount of Vitamin B1 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB1 The maximum amount of Vitamin B1 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB2 The minimum amount of Vitamin B2 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB2 The maximum amount of Vitamin B2 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB5 The minimum amount of Vitamin B5 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB5 The maximum amount of Vitamin B5 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB3 The minimum amount of Vitamin B3 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB3 The maximum amount of Vitamin B3 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB6 The minimum amount of Vitamin B6 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB6 The maximum amount of Vitamin B6 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB12 The minimum amount of Vitamin B12 in micrograms the recipe must have. (optional) -/// -/// @param maxVitaminB12 The maximum amount of Vitamin B12 in micrograms the recipe can have. (optional) -/// -/// @param minFiber The minimum amount of fiber in grams the recipe must have. (optional) -/// -/// @param maxFiber The maximum amount of fiber in grams the recipe can have. (optional) -/// -/// @param minFolate The minimum amount of folate in micrograms the recipe must have. (optional) -/// -/// @param maxFolate The maximum amount of folate in micrograms the recipe can have. (optional) -/// -/// @param minFolicAcid The minimum amount of folic acid in micrograms the recipe must have. (optional) -/// -/// @param maxFolicAcid The maximum amount of folic acid in micrograms the recipe can have. (optional) -/// -/// @param minIodine The minimum amount of iodine in micrograms the recipe must have. (optional) -/// -/// @param maxIodine The maximum amount of iodine in micrograms the recipe can have. (optional) -/// -/// @param minIron The minimum amount of iron in milligrams the recipe must have. (optional) -/// -/// @param maxIron The maximum amount of iron in milligrams the recipe can have. (optional) -/// -/// @param minMagnesium The minimum amount of magnesium in milligrams the recipe must have. (optional) -/// -/// @param maxMagnesium The maximum amount of magnesium in milligrams the recipe can have. (optional) -/// -/// @param minManganese The minimum amount of manganese in milligrams the recipe must have. (optional) -/// -/// @param maxManganese The maximum amount of manganese in milligrams the recipe can have. (optional) -/// -/// @param minPhosphorus The minimum amount of phosphorus in milligrams the recipe must have. (optional) -/// -/// @param maxPhosphorus The maximum amount of phosphorus in milligrams the recipe can have. (optional) -/// -/// @param minPotassium The minimum amount of potassium in milligrams the recipe must have. (optional) -/// -/// @param maxPotassium The maximum amount of potassium in milligrams the recipe can have. (optional) -/// -/// @param minSelenium The minimum amount of selenium in micrograms the recipe must have. (optional) -/// -/// @param maxSelenium The maximum amount of selenium in micrograms the recipe can have. (optional) -/// -/// @param minSodium The minimum amount of sodium in milligrams the recipe must have. (optional) -/// -/// @param maxSodium The maximum amount of sodium in milligrams the recipe can have. (optional) -/// -/// @param minSugar The minimum amount of sugar in grams the recipe must have. (optional) -/// -/// @param maxSugar The maximum amount of sugar in grams the recipe can have. (optional) -/// -/// @param minZinc The minimum amount of zinc in milligrams the recipe must have. (optional) -/// -/// @param maxZinc The maximum amount of zinc in milligrams the recipe can have. (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional, default to @(YES)) -/// -/// @returns OAISearchRecipes200Response* -/// --(NSURLSessionTask*) searchRecipesWithQuery: (NSString*) query - cuisine: (NSString*) cuisine - excludeCuisine: (NSString*) excludeCuisine - diet: (NSString*) diet - intolerances: (NSString*) intolerances - equipment: (NSString*) equipment - includeIngredients: (NSString*) includeIngredients - excludeIngredients: (NSString*) excludeIngredients - type: (NSString*) type - instructionsRequired: (NSNumber*) instructionsRequired - fillIngredients: (NSNumber*) fillIngredients - addRecipeInformation: (NSNumber*) addRecipeInformation - addRecipeNutrition: (NSNumber*) addRecipeNutrition - author: (NSString*) author - tags: (NSString*) tags - recipeBoxId: (NSNumber*) recipeBoxId - titleMatch: (NSString*) titleMatch - maxReadyTime: (NSNumber*) maxReadyTime - minServings: (NSNumber*) minServings - maxServings: (NSNumber*) maxServings - ignorePantry: (NSNumber*) ignorePantry - sort: (NSString*) sort - sortDirection: (NSString*) sortDirection - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - minAlcohol: (NSNumber*) minAlcohol - maxAlcohol: (NSNumber*) maxAlcohol - minCaffeine: (NSNumber*) minCaffeine - maxCaffeine: (NSNumber*) maxCaffeine - minCopper: (NSNumber*) minCopper - maxCopper: (NSNumber*) maxCopper - minCalcium: (NSNumber*) minCalcium - maxCalcium: (NSNumber*) maxCalcium - minCholine: (NSNumber*) minCholine - maxCholine: (NSNumber*) maxCholine - minCholesterol: (NSNumber*) minCholesterol - maxCholesterol: (NSNumber*) maxCholesterol - minFluoride: (NSNumber*) minFluoride - maxFluoride: (NSNumber*) maxFluoride - minSaturatedFat: (NSNumber*) minSaturatedFat - maxSaturatedFat: (NSNumber*) maxSaturatedFat - minVitaminA: (NSNumber*) minVitaminA - maxVitaminA: (NSNumber*) maxVitaminA - minVitaminC: (NSNumber*) minVitaminC - maxVitaminC: (NSNumber*) maxVitaminC - minVitaminD: (NSNumber*) minVitaminD - maxVitaminD: (NSNumber*) maxVitaminD - minVitaminE: (NSNumber*) minVitaminE - maxVitaminE: (NSNumber*) maxVitaminE - minVitaminK: (NSNumber*) minVitaminK - maxVitaminK: (NSNumber*) maxVitaminK - minVitaminB1: (NSNumber*) minVitaminB1 - maxVitaminB1: (NSNumber*) maxVitaminB1 - minVitaminB2: (NSNumber*) minVitaminB2 - maxVitaminB2: (NSNumber*) maxVitaminB2 - minVitaminB5: (NSNumber*) minVitaminB5 - maxVitaminB5: (NSNumber*) maxVitaminB5 - minVitaminB3: (NSNumber*) minVitaminB3 - maxVitaminB3: (NSNumber*) maxVitaminB3 - minVitaminB6: (NSNumber*) minVitaminB6 - maxVitaminB6: (NSNumber*) maxVitaminB6 - minVitaminB12: (NSNumber*) minVitaminB12 - maxVitaminB12: (NSNumber*) maxVitaminB12 - minFiber: (NSNumber*) minFiber - maxFiber: (NSNumber*) maxFiber - minFolate: (NSNumber*) minFolate - maxFolate: (NSNumber*) maxFolate - minFolicAcid: (NSNumber*) minFolicAcid - maxFolicAcid: (NSNumber*) maxFolicAcid - minIodine: (NSNumber*) minIodine - maxIodine: (NSNumber*) maxIodine - minIron: (NSNumber*) minIron - maxIron: (NSNumber*) maxIron - minMagnesium: (NSNumber*) minMagnesium - maxMagnesium: (NSNumber*) maxMagnesium - minManganese: (NSNumber*) minManganese - maxManganese: (NSNumber*) maxManganese - minPhosphorus: (NSNumber*) minPhosphorus - maxPhosphorus: (NSNumber*) maxPhosphorus - minPotassium: (NSNumber*) minPotassium - maxPotassium: (NSNumber*) maxPotassium - minSelenium: (NSNumber*) minSelenium - maxSelenium: (NSNumber*) maxSelenium - minSodium: (NSNumber*) minSodium - maxSodium: (NSNumber*) maxSodium - minSugar: (NSNumber*) minSugar - maxSugar: (NSNumber*) maxSugar - minZinc: (NSNumber*) minZinc - maxZinc: (NSNumber*) maxZinc - offset: (NSNumber*) offset - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISearchRecipes200Response* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/complexSearch"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (query != nil) { - queryParams[@"query"] = query; - } - if (cuisine != nil) { - queryParams[@"cuisine"] = cuisine; - } - if (excludeCuisine != nil) { - queryParams[@"excludeCuisine"] = excludeCuisine; - } - if (diet != nil) { - queryParams[@"diet"] = diet; - } - if (intolerances != nil) { - queryParams[@"intolerances"] = intolerances; - } - if (equipment != nil) { - queryParams[@"equipment"] = equipment; - } - if (includeIngredients != nil) { - queryParams[@"includeIngredients"] = includeIngredients; - } - if (excludeIngredients != nil) { - queryParams[@"excludeIngredients"] = excludeIngredients; - } - if (type != nil) { - queryParams[@"type"] = type; - } - if (instructionsRequired != nil) { - queryParams[@"instructionsRequired"] = [instructionsRequired isEqual:@(YES)] ? @"true" : @"false"; - } - if (fillIngredients != nil) { - queryParams[@"fillIngredients"] = [fillIngredients isEqual:@(YES)] ? @"true" : @"false"; - } - if (addRecipeInformation != nil) { - queryParams[@"addRecipeInformation"] = [addRecipeInformation isEqual:@(YES)] ? @"true" : @"false"; - } - if (addRecipeNutrition != nil) { - queryParams[@"addRecipeNutrition"] = [addRecipeNutrition isEqual:@(YES)] ? @"true" : @"false"; - } - if (author != nil) { - queryParams[@"author"] = author; - } - if (tags != nil) { - queryParams[@"tags"] = tags; - } - if (recipeBoxId != nil) { - queryParams[@"recipeBoxId"] = recipeBoxId; - } - if (titleMatch != nil) { - queryParams[@"titleMatch"] = titleMatch; - } - if (maxReadyTime != nil) { - queryParams[@"maxReadyTime"] = maxReadyTime; - } - if (minServings != nil) { - queryParams[@"minServings"] = minServings; - } - if (maxServings != nil) { - queryParams[@"maxServings"] = maxServings; - } - if (ignorePantry != nil) { - queryParams[@"ignorePantry"] = [ignorePantry isEqual:@(YES)] ? @"true" : @"false"; - } - if (sort != nil) { - queryParams[@"sort"] = sort; - } - if (sortDirection != nil) { - queryParams[@"sortDirection"] = sortDirection; - } - if (minCarbs != nil) { - queryParams[@"minCarbs"] = minCarbs; - } - if (maxCarbs != nil) { - queryParams[@"maxCarbs"] = maxCarbs; - } - if (minProtein != nil) { - queryParams[@"minProtein"] = minProtein; - } - if (maxProtein != nil) { - queryParams[@"maxProtein"] = maxProtein; - } - if (minCalories != nil) { - queryParams[@"minCalories"] = minCalories; - } - if (maxCalories != nil) { - queryParams[@"maxCalories"] = maxCalories; - } - if (minFat != nil) { - queryParams[@"minFat"] = minFat; - } - if (maxFat != nil) { - queryParams[@"maxFat"] = maxFat; - } - if (minAlcohol != nil) { - queryParams[@"minAlcohol"] = minAlcohol; - } - if (maxAlcohol != nil) { - queryParams[@"maxAlcohol"] = maxAlcohol; - } - if (minCaffeine != nil) { - queryParams[@"minCaffeine"] = minCaffeine; - } - if (maxCaffeine != nil) { - queryParams[@"maxCaffeine"] = maxCaffeine; - } - if (minCopper != nil) { - queryParams[@"minCopper"] = minCopper; - } - if (maxCopper != nil) { - queryParams[@"maxCopper"] = maxCopper; - } - if (minCalcium != nil) { - queryParams[@"minCalcium"] = minCalcium; - } - if (maxCalcium != nil) { - queryParams[@"maxCalcium"] = maxCalcium; - } - if (minCholine != nil) { - queryParams[@"minCholine"] = minCholine; - } - if (maxCholine != nil) { - queryParams[@"maxCholine"] = maxCholine; - } - if (minCholesterol != nil) { - queryParams[@"minCholesterol"] = minCholesterol; - } - if (maxCholesterol != nil) { - queryParams[@"maxCholesterol"] = maxCholesterol; - } - if (minFluoride != nil) { - queryParams[@"minFluoride"] = minFluoride; - } - if (maxFluoride != nil) { - queryParams[@"maxFluoride"] = maxFluoride; - } - if (minSaturatedFat != nil) { - queryParams[@"minSaturatedFat"] = minSaturatedFat; - } - if (maxSaturatedFat != nil) { - queryParams[@"maxSaturatedFat"] = maxSaturatedFat; - } - if (minVitaminA != nil) { - queryParams[@"minVitaminA"] = minVitaminA; - } - if (maxVitaminA != nil) { - queryParams[@"maxVitaminA"] = maxVitaminA; - } - if (minVitaminC != nil) { - queryParams[@"minVitaminC"] = minVitaminC; - } - if (maxVitaminC != nil) { - queryParams[@"maxVitaminC"] = maxVitaminC; - } - if (minVitaminD != nil) { - queryParams[@"minVitaminD"] = minVitaminD; - } - if (maxVitaminD != nil) { - queryParams[@"maxVitaminD"] = maxVitaminD; - } - if (minVitaminE != nil) { - queryParams[@"minVitaminE"] = minVitaminE; - } - if (maxVitaminE != nil) { - queryParams[@"maxVitaminE"] = maxVitaminE; - } - if (minVitaminK != nil) { - queryParams[@"minVitaminK"] = minVitaminK; - } - if (maxVitaminK != nil) { - queryParams[@"maxVitaminK"] = maxVitaminK; - } - if (minVitaminB1 != nil) { - queryParams[@"minVitaminB1"] = minVitaminB1; - } - if (maxVitaminB1 != nil) { - queryParams[@"maxVitaminB1"] = maxVitaminB1; - } - if (minVitaminB2 != nil) { - queryParams[@"minVitaminB2"] = minVitaminB2; - } - if (maxVitaminB2 != nil) { - queryParams[@"maxVitaminB2"] = maxVitaminB2; - } - if (minVitaminB5 != nil) { - queryParams[@"minVitaminB5"] = minVitaminB5; - } - if (maxVitaminB5 != nil) { - queryParams[@"maxVitaminB5"] = maxVitaminB5; - } - if (minVitaminB3 != nil) { - queryParams[@"minVitaminB3"] = minVitaminB3; - } - if (maxVitaminB3 != nil) { - queryParams[@"maxVitaminB3"] = maxVitaminB3; - } - if (minVitaminB6 != nil) { - queryParams[@"minVitaminB6"] = minVitaminB6; - } - if (maxVitaminB6 != nil) { - queryParams[@"maxVitaminB6"] = maxVitaminB6; - } - if (minVitaminB12 != nil) { - queryParams[@"minVitaminB12"] = minVitaminB12; - } - if (maxVitaminB12 != nil) { - queryParams[@"maxVitaminB12"] = maxVitaminB12; - } - if (minFiber != nil) { - queryParams[@"minFiber"] = minFiber; - } - if (maxFiber != nil) { - queryParams[@"maxFiber"] = maxFiber; - } - if (minFolate != nil) { - queryParams[@"minFolate"] = minFolate; - } - if (maxFolate != nil) { - queryParams[@"maxFolate"] = maxFolate; - } - if (minFolicAcid != nil) { - queryParams[@"minFolicAcid"] = minFolicAcid; - } - if (maxFolicAcid != nil) { - queryParams[@"maxFolicAcid"] = maxFolicAcid; - } - if (minIodine != nil) { - queryParams[@"minIodine"] = minIodine; - } - if (maxIodine != nil) { - queryParams[@"maxIodine"] = maxIodine; - } - if (minIron != nil) { - queryParams[@"minIron"] = minIron; - } - if (maxIron != nil) { - queryParams[@"maxIron"] = maxIron; - } - if (minMagnesium != nil) { - queryParams[@"minMagnesium"] = minMagnesium; - } - if (maxMagnesium != nil) { - queryParams[@"maxMagnesium"] = maxMagnesium; - } - if (minManganese != nil) { - queryParams[@"minManganese"] = minManganese; - } - if (maxManganese != nil) { - queryParams[@"maxManganese"] = maxManganese; - } - if (minPhosphorus != nil) { - queryParams[@"minPhosphorus"] = minPhosphorus; - } - if (maxPhosphorus != nil) { - queryParams[@"maxPhosphorus"] = maxPhosphorus; - } - if (minPotassium != nil) { - queryParams[@"minPotassium"] = minPotassium; - } - if (maxPotassium != nil) { - queryParams[@"maxPotassium"] = maxPotassium; - } - if (minSelenium != nil) { - queryParams[@"minSelenium"] = minSelenium; - } - if (maxSelenium != nil) { - queryParams[@"maxSelenium"] = maxSelenium; - } - if (minSodium != nil) { - queryParams[@"minSodium"] = minSodium; - } - if (maxSodium != nil) { - queryParams[@"maxSodium"] = maxSodium; - } - if (minSugar != nil) { - queryParams[@"minSugar"] = minSugar; - } - if (maxSugar != nil) { - queryParams[@"maxSugar"] = maxSugar; - } - if (minZinc != nil) { - queryParams[@"minZinc"] = minZinc; - } - if (maxZinc != nil) { - queryParams[@"maxZinc"] = maxZinc; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - if (limitLicense != nil) { - queryParams[@"limitLicense"] = [limitLicense isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISearchRecipes200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISearchRecipes200Response*)data, error); - } - }]; -} - -/// -/// Search Recipes by Ingredients -/// Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post shopping). -/// @param ingredients A comma-separated list of ingredients that the recipes should contain. (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional, default to @(YES)) -/// -/// @param ranking Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. (optional) -/// -/// @param ignorePantry Whether to ignore typical pantry items, such as water, salt, flour, etc. (optional, default to @(NO)) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) searchRecipesByIngredientsWithIngredients: (NSString*) ingredients - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - ranking: (NSNumber*) ranking - ignorePantry: (NSNumber*) ignorePantry - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/findByIngredients"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (ingredients != nil) { - queryParams[@"ingredients"] = ingredients; - } - if (number != nil) { - queryParams[@"number"] = number; - } - if (limitLicense != nil) { - queryParams[@"limitLicense"] = [limitLicense isEqual:@(YES)] ? @"true" : @"false"; - } - if (ranking != nil) { - queryParams[@"ranking"] = ranking; - } - if (ignorePantry != nil) { - queryParams[@"ignorePantry"] = [ignorePantry isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Search Recipes by Nutrients -/// Find a set of recipes that adhere to the given nutritional limits. You may set limits for macronutrients (calories, protein, fat, and carbohydrate) and/or many micronutrients. -/// @param minCarbs The minimum amount of carbohydrates in grams the recipe must have. (optional) -/// -/// @param maxCarbs The maximum amount of carbohydrates in grams the recipe can have. (optional) -/// -/// @param minProtein The minimum amount of protein in grams the recipe must have. (optional) -/// -/// @param maxProtein The maximum amount of protein in grams the recipe can have. (optional) -/// -/// @param minCalories The minimum amount of calories the recipe must have. (optional) -/// -/// @param maxCalories The maximum amount of calories the recipe can have. (optional) -/// -/// @param minFat The minimum amount of fat in grams the recipe must have. (optional) -/// -/// @param maxFat The maximum amount of fat in grams the recipe can have. (optional) -/// -/// @param minAlcohol The minimum amount of alcohol in grams the recipe must have. (optional) -/// -/// @param maxAlcohol The maximum amount of alcohol in grams the recipe can have. (optional) -/// -/// @param minCaffeine The minimum amount of caffeine in milligrams the recipe must have. (optional) -/// -/// @param maxCaffeine The maximum amount of caffeine in milligrams the recipe can have. (optional) -/// -/// @param minCopper The minimum amount of copper in milligrams the recipe must have. (optional) -/// -/// @param maxCopper The maximum amount of copper in milligrams the recipe can have. (optional) -/// -/// @param minCalcium The minimum amount of calcium in milligrams the recipe must have. (optional) -/// -/// @param maxCalcium The maximum amount of calcium in milligrams the recipe can have. (optional) -/// -/// @param minCholine The minimum amount of choline in milligrams the recipe must have. (optional) -/// -/// @param maxCholine The maximum amount of choline in milligrams the recipe can have. (optional) -/// -/// @param minCholesterol The minimum amount of cholesterol in milligrams the recipe must have. (optional) -/// -/// @param maxCholesterol The maximum amount of cholesterol in milligrams the recipe can have. (optional) -/// -/// @param minFluoride The minimum amount of fluoride in milligrams the recipe must have. (optional) -/// -/// @param maxFluoride The maximum amount of fluoride in milligrams the recipe can have. (optional) -/// -/// @param minSaturatedFat The minimum amount of saturated fat in grams the recipe must have. (optional) -/// -/// @param maxSaturatedFat The maximum amount of saturated fat in grams the recipe can have. (optional) -/// -/// @param minVitaminA The minimum amount of Vitamin A in IU the recipe must have. (optional) -/// -/// @param maxVitaminA The maximum amount of Vitamin A in IU the recipe can have. (optional) -/// -/// @param minVitaminC The minimum amount of Vitamin C in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminC The maximum amount of Vitamin C in milligrams the recipe can have. (optional) -/// -/// @param minVitaminD The minimum amount of Vitamin D in micrograms the recipe must have. (optional) -/// -/// @param maxVitaminD The maximum amount of Vitamin D in micrograms the recipe can have. (optional) -/// -/// @param minVitaminE The minimum amount of Vitamin E in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminE The maximum amount of Vitamin E in milligrams the recipe can have. (optional) -/// -/// @param minVitaminK The minimum amount of Vitamin K in micrograms the recipe must have. (optional) -/// -/// @param maxVitaminK The maximum amount of Vitamin K in micrograms the recipe can have. (optional) -/// -/// @param minVitaminB1 The minimum amount of Vitamin B1 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB1 The maximum amount of Vitamin B1 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB2 The minimum amount of Vitamin B2 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB2 The maximum amount of Vitamin B2 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB5 The minimum amount of Vitamin B5 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB5 The maximum amount of Vitamin B5 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB3 The minimum amount of Vitamin B3 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB3 The maximum amount of Vitamin B3 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB6 The minimum amount of Vitamin B6 in milligrams the recipe must have. (optional) -/// -/// @param maxVitaminB6 The maximum amount of Vitamin B6 in milligrams the recipe can have. (optional) -/// -/// @param minVitaminB12 The minimum amount of Vitamin B12 in micrograms the recipe must have. (optional) -/// -/// @param maxVitaminB12 The maximum amount of Vitamin B12 in micrograms the recipe can have. (optional) -/// -/// @param minFiber The minimum amount of fiber in grams the recipe must have. (optional) -/// -/// @param maxFiber The maximum amount of fiber in grams the recipe can have. (optional) -/// -/// @param minFolate The minimum amount of folate in micrograms the recipe must have. (optional) -/// -/// @param maxFolate The maximum amount of folate in micrograms the recipe can have. (optional) -/// -/// @param minFolicAcid The minimum amount of folic acid in micrograms the recipe must have. (optional) -/// -/// @param maxFolicAcid The maximum amount of folic acid in micrograms the recipe can have. (optional) -/// -/// @param minIodine The minimum amount of iodine in micrograms the recipe must have. (optional) -/// -/// @param maxIodine The maximum amount of iodine in micrograms the recipe can have. (optional) -/// -/// @param minIron The minimum amount of iron in milligrams the recipe must have. (optional) -/// -/// @param maxIron The maximum amount of iron in milligrams the recipe can have. (optional) -/// -/// @param minMagnesium The minimum amount of magnesium in milligrams the recipe must have. (optional) -/// -/// @param maxMagnesium The maximum amount of magnesium in milligrams the recipe can have. (optional) -/// -/// @param minManganese The minimum amount of manganese in milligrams the recipe must have. (optional) -/// -/// @param maxManganese The maximum amount of manganese in milligrams the recipe can have. (optional) -/// -/// @param minPhosphorus The minimum amount of phosphorus in milligrams the recipe must have. (optional) -/// -/// @param maxPhosphorus The maximum amount of phosphorus in milligrams the recipe can have. (optional) -/// -/// @param minPotassium The minimum amount of potassium in milligrams the recipe must have. (optional) -/// -/// @param maxPotassium The maximum amount of potassium in milligrams the recipe can have. (optional) -/// -/// @param minSelenium The minimum amount of selenium in micrograms the recipe must have. (optional) -/// -/// @param maxSelenium The maximum amount of selenium in micrograms the recipe can have. (optional) -/// -/// @param minSodium The minimum amount of sodium in milligrams the recipe must have. (optional) -/// -/// @param maxSodium The maximum amount of sodium in milligrams the recipe can have. (optional) -/// -/// @param minSugar The minimum amount of sugar in grams the recipe must have. (optional) -/// -/// @param maxSugar The maximum amount of sugar in grams the recipe can have. (optional) -/// -/// @param minZinc The minimum amount of zinc in milligrams the recipe must have. (optional) -/// -/// @param maxZinc The maximum amount of zinc in milligrams the recipe can have. (optional) -/// -/// @param offset The number of results to skip (between 0 and 900). (optional) -/// -/// @param number The maximum number of items to return (between 1 and 100). Defaults to 10. (optional, default to @10) -/// -/// @param random If true, every request will give you a random set of recipes within the requested limits. (optional) -/// -/// @param limitLicense Whether the recipes should have an open license that allows display with proper attribution. (optional, default to @(YES)) -/// -/// @returns OAISet* -/// --(NSURLSessionTask*) searchRecipesByNutrientsWithMinCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - minAlcohol: (NSNumber*) minAlcohol - maxAlcohol: (NSNumber*) maxAlcohol - minCaffeine: (NSNumber*) minCaffeine - maxCaffeine: (NSNumber*) maxCaffeine - minCopper: (NSNumber*) minCopper - maxCopper: (NSNumber*) maxCopper - minCalcium: (NSNumber*) minCalcium - maxCalcium: (NSNumber*) maxCalcium - minCholine: (NSNumber*) minCholine - maxCholine: (NSNumber*) maxCholine - minCholesterol: (NSNumber*) minCholesterol - maxCholesterol: (NSNumber*) maxCholesterol - minFluoride: (NSNumber*) minFluoride - maxFluoride: (NSNumber*) maxFluoride - minSaturatedFat: (NSNumber*) minSaturatedFat - maxSaturatedFat: (NSNumber*) maxSaturatedFat - minVitaminA: (NSNumber*) minVitaminA - maxVitaminA: (NSNumber*) maxVitaminA - minVitaminC: (NSNumber*) minVitaminC - maxVitaminC: (NSNumber*) maxVitaminC - minVitaminD: (NSNumber*) minVitaminD - maxVitaminD: (NSNumber*) maxVitaminD - minVitaminE: (NSNumber*) minVitaminE - maxVitaminE: (NSNumber*) maxVitaminE - minVitaminK: (NSNumber*) minVitaminK - maxVitaminK: (NSNumber*) maxVitaminK - minVitaminB1: (NSNumber*) minVitaminB1 - maxVitaminB1: (NSNumber*) maxVitaminB1 - minVitaminB2: (NSNumber*) minVitaminB2 - maxVitaminB2: (NSNumber*) maxVitaminB2 - minVitaminB5: (NSNumber*) minVitaminB5 - maxVitaminB5: (NSNumber*) maxVitaminB5 - minVitaminB3: (NSNumber*) minVitaminB3 - maxVitaminB3: (NSNumber*) maxVitaminB3 - minVitaminB6: (NSNumber*) minVitaminB6 - maxVitaminB6: (NSNumber*) maxVitaminB6 - minVitaminB12: (NSNumber*) minVitaminB12 - maxVitaminB12: (NSNumber*) maxVitaminB12 - minFiber: (NSNumber*) minFiber - maxFiber: (NSNumber*) maxFiber - minFolate: (NSNumber*) minFolate - maxFolate: (NSNumber*) maxFolate - minFolicAcid: (NSNumber*) minFolicAcid - maxFolicAcid: (NSNumber*) maxFolicAcid - minIodine: (NSNumber*) minIodine - maxIodine: (NSNumber*) maxIodine - minIron: (NSNumber*) minIron - maxIron: (NSNumber*) maxIron - minMagnesium: (NSNumber*) minMagnesium - maxMagnesium: (NSNumber*) maxMagnesium - minManganese: (NSNumber*) minManganese - maxManganese: (NSNumber*) maxManganese - minPhosphorus: (NSNumber*) minPhosphorus - maxPhosphorus: (NSNumber*) maxPhosphorus - minPotassium: (NSNumber*) minPotassium - maxPotassium: (NSNumber*) maxPotassium - minSelenium: (NSNumber*) minSelenium - maxSelenium: (NSNumber*) maxSelenium - minSodium: (NSNumber*) minSodium - maxSodium: (NSNumber*) maxSodium - minSugar: (NSNumber*) minSugar - maxSugar: (NSNumber*) maxSugar - minZinc: (NSNumber*) minZinc - maxZinc: (NSNumber*) maxZinc - offset: (NSNumber*) offset - number: (NSNumber*) number - random: (NSNumber*) random - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISet* output, NSError* error)) handler { - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/findByNutrients"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (minCarbs != nil) { - queryParams[@"minCarbs"] = minCarbs; - } - if (maxCarbs != nil) { - queryParams[@"maxCarbs"] = maxCarbs; - } - if (minProtein != nil) { - queryParams[@"minProtein"] = minProtein; - } - if (maxProtein != nil) { - queryParams[@"maxProtein"] = maxProtein; - } - if (minCalories != nil) { - queryParams[@"minCalories"] = minCalories; - } - if (maxCalories != nil) { - queryParams[@"maxCalories"] = maxCalories; - } - if (minFat != nil) { - queryParams[@"minFat"] = minFat; - } - if (maxFat != nil) { - queryParams[@"maxFat"] = maxFat; - } - if (minAlcohol != nil) { - queryParams[@"minAlcohol"] = minAlcohol; - } - if (maxAlcohol != nil) { - queryParams[@"maxAlcohol"] = maxAlcohol; - } - if (minCaffeine != nil) { - queryParams[@"minCaffeine"] = minCaffeine; - } - if (maxCaffeine != nil) { - queryParams[@"maxCaffeine"] = maxCaffeine; - } - if (minCopper != nil) { - queryParams[@"minCopper"] = minCopper; - } - if (maxCopper != nil) { - queryParams[@"maxCopper"] = maxCopper; - } - if (minCalcium != nil) { - queryParams[@"minCalcium"] = minCalcium; - } - if (maxCalcium != nil) { - queryParams[@"maxCalcium"] = maxCalcium; - } - if (minCholine != nil) { - queryParams[@"minCholine"] = minCholine; - } - if (maxCholine != nil) { - queryParams[@"maxCholine"] = maxCholine; - } - if (minCholesterol != nil) { - queryParams[@"minCholesterol"] = minCholesterol; - } - if (maxCholesterol != nil) { - queryParams[@"maxCholesterol"] = maxCholesterol; - } - if (minFluoride != nil) { - queryParams[@"minFluoride"] = minFluoride; - } - if (maxFluoride != nil) { - queryParams[@"maxFluoride"] = maxFluoride; - } - if (minSaturatedFat != nil) { - queryParams[@"minSaturatedFat"] = minSaturatedFat; - } - if (maxSaturatedFat != nil) { - queryParams[@"maxSaturatedFat"] = maxSaturatedFat; - } - if (minVitaminA != nil) { - queryParams[@"minVitaminA"] = minVitaminA; - } - if (maxVitaminA != nil) { - queryParams[@"maxVitaminA"] = maxVitaminA; - } - if (minVitaminC != nil) { - queryParams[@"minVitaminC"] = minVitaminC; - } - if (maxVitaminC != nil) { - queryParams[@"maxVitaminC"] = maxVitaminC; - } - if (minVitaminD != nil) { - queryParams[@"minVitaminD"] = minVitaminD; - } - if (maxVitaminD != nil) { - queryParams[@"maxVitaminD"] = maxVitaminD; - } - if (minVitaminE != nil) { - queryParams[@"minVitaminE"] = minVitaminE; - } - if (maxVitaminE != nil) { - queryParams[@"maxVitaminE"] = maxVitaminE; - } - if (minVitaminK != nil) { - queryParams[@"minVitaminK"] = minVitaminK; - } - if (maxVitaminK != nil) { - queryParams[@"maxVitaminK"] = maxVitaminK; - } - if (minVitaminB1 != nil) { - queryParams[@"minVitaminB1"] = minVitaminB1; - } - if (maxVitaminB1 != nil) { - queryParams[@"maxVitaminB1"] = maxVitaminB1; - } - if (minVitaminB2 != nil) { - queryParams[@"minVitaminB2"] = minVitaminB2; - } - if (maxVitaminB2 != nil) { - queryParams[@"maxVitaminB2"] = maxVitaminB2; - } - if (minVitaminB5 != nil) { - queryParams[@"minVitaminB5"] = minVitaminB5; - } - if (maxVitaminB5 != nil) { - queryParams[@"maxVitaminB5"] = maxVitaminB5; - } - if (minVitaminB3 != nil) { - queryParams[@"minVitaminB3"] = minVitaminB3; - } - if (maxVitaminB3 != nil) { - queryParams[@"maxVitaminB3"] = maxVitaminB3; - } - if (minVitaminB6 != nil) { - queryParams[@"minVitaminB6"] = minVitaminB6; - } - if (maxVitaminB6 != nil) { - queryParams[@"maxVitaminB6"] = maxVitaminB6; - } - if (minVitaminB12 != nil) { - queryParams[@"minVitaminB12"] = minVitaminB12; - } - if (maxVitaminB12 != nil) { - queryParams[@"maxVitaminB12"] = maxVitaminB12; - } - if (minFiber != nil) { - queryParams[@"minFiber"] = minFiber; - } - if (maxFiber != nil) { - queryParams[@"maxFiber"] = maxFiber; - } - if (minFolate != nil) { - queryParams[@"minFolate"] = minFolate; - } - if (maxFolate != nil) { - queryParams[@"maxFolate"] = maxFolate; - } - if (minFolicAcid != nil) { - queryParams[@"minFolicAcid"] = minFolicAcid; - } - if (maxFolicAcid != nil) { - queryParams[@"maxFolicAcid"] = maxFolicAcid; - } - if (minIodine != nil) { - queryParams[@"minIodine"] = minIodine; - } - if (maxIodine != nil) { - queryParams[@"maxIodine"] = maxIodine; - } - if (minIron != nil) { - queryParams[@"minIron"] = minIron; - } - if (maxIron != nil) { - queryParams[@"maxIron"] = maxIron; - } - if (minMagnesium != nil) { - queryParams[@"minMagnesium"] = minMagnesium; - } - if (maxMagnesium != nil) { - queryParams[@"maxMagnesium"] = maxMagnesium; - } - if (minManganese != nil) { - queryParams[@"minManganese"] = minManganese; - } - if (maxManganese != nil) { - queryParams[@"maxManganese"] = maxManganese; - } - if (minPhosphorus != nil) { - queryParams[@"minPhosphorus"] = minPhosphorus; - } - if (maxPhosphorus != nil) { - queryParams[@"maxPhosphorus"] = maxPhosphorus; - } - if (minPotassium != nil) { - queryParams[@"minPotassium"] = minPotassium; - } - if (maxPotassium != nil) { - queryParams[@"maxPotassium"] = maxPotassium; - } - if (minSelenium != nil) { - queryParams[@"minSelenium"] = minSelenium; - } - if (maxSelenium != nil) { - queryParams[@"maxSelenium"] = maxSelenium; - } - if (minSodium != nil) { - queryParams[@"minSodium"] = minSodium; - } - if (maxSodium != nil) { - queryParams[@"maxSodium"] = maxSodium; - } - if (minSugar != nil) { - queryParams[@"minSugar"] = minSugar; - } - if (maxSugar != nil) { - queryParams[@"maxSugar"] = maxSugar; - } - if (minZinc != nil) { - queryParams[@"minZinc"] = minZinc; - } - if (maxZinc != nil) { - queryParams[@"maxZinc"] = maxZinc; - } - if (offset != nil) { - queryParams[@"offset"] = offset; - } - if (number != nil) { - queryParams[@"number"] = number; - } - if (random != nil) { - queryParams[@"random"] = [random isEqual:@(YES)] ? @"true" : @"false"; - } - if (limitLicense != nil) { - queryParams[@"limitLicense"] = [limitLicense isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISet*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISet*)data, error); - } - }]; -} - -/// -/// Summarize Recipe -/// Automatically generate a short description that summarizes key information about the recipe. -/// @param _id The item's id. -/// -/// @returns OAISummarizeRecipe200Response* -/// --(NSURLSessionTask*) summarizeRecipeWithId: (NSNumber*) _id - completionHandler: (void (^)(OAISummarizeRecipe200Response* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/summary"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAISummarizeRecipe200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAISummarizeRecipe200Response*)data, error); - } - }]; -} - -/// -/// Equipment Widget -/// Visualize the equipment used to make a recipe. -/// @param instructions The recipe's instructions. -/// -/// @param view How to visualize the ingredients, either 'grid' or 'list'. (optional) -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeEquipmentWithInstructions: (NSString*) instructions - view: (NSString*) view - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter 'instructions' is set - if (instructions == nil) { - NSParameterAssert(instructions); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"instructions"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/visualizeEquipment"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (instructions) { - formParams[@"instructions"] = instructions; - } - if (view) { - formParams[@"view"] = view; - } - if (defaultCss) { - formParams[@"defaultCss"] = defaultCss; - } - if (showBacklink) { - formParams[@"showBacklink"] = showBacklink; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Price Breakdown Widget -/// Visualize the price breakdown of a recipe. -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// -/// @param servings The number of servings. -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @param mode The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). (optional) -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizePriceBreakdownWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - mode: (NSNumber*) mode - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter 'ingredientList' is set - if (ingredientList == nil) { - NSParameterAssert(ingredientList); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientList"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'servings' is set - if (servings == nil) { - NSParameterAssert(servings); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"servings"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/visualizePriceEstimator"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (ingredientList) { - formParams[@"ingredientList"] = ingredientList; - } - if (servings) { - formParams[@"servings"] = servings; - } - if (mode) { - formParams[@"mode"] = mode; - } - if (defaultCss) { - formParams[@"defaultCss"] = defaultCss; - } - if (showBacklink) { - formParams[@"showBacklink"] = showBacklink; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Equipment by ID Widget -/// Visualize a recipe's equipment list. -/// @param _id The item's id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipeEquipmentByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/equipmentWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Ingredients by ID Widget -/// Visualize a recipe's ingredient list. -/// @param _id The item's id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @param measure Whether the the measures should be 'us' or 'metric'. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipeIngredientsByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - measure: (NSString*) measure - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/ingredientWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - if (measure != nil) { - queryParams[@"measure"] = measure; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Recipe Nutrition Widget -/// Visualize a recipe's nutritional information as HTML including CSS. -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// -/// @param servings The number of servings. -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional) -/// -/// @param showBacklink Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipeNutritionWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter 'ingredientList' is set - if (ingredientList == nil) { - NSParameterAssert(ingredientList); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientList"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - // verify the required parameter 'servings' is set - if (servings == nil) { - NSParameterAssert(servings); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"servings"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/visualizeNutrition"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (ingredientList) { - formParams[@"ingredientList"] = ingredientList; - } - if (servings) { - formParams[@"servings"] = servings; - } - if (defaultCss) { - formParams[@"defaultCss"] = defaultCss; - } - if (showBacklink) { - formParams[@"showBacklink"] = showBacklink; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Recipe Nutrition by ID Widget -/// Visualize a recipe's nutritional information as HTML including CSS. -/// @param _id The item's id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipeNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/nutritionWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Price Breakdown by ID Widget -/// Visualize a recipe's price breakdown. -/// @param _id The item's id. -/// -/// @param defaultCss Whether the default CSS should be added to the response. (optional, default to @(YES)) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipePriceBreakdownByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/priceBreakdownWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (defaultCss != nil) { - queryParams[@"defaultCss"] = [defaultCss isEqual:@(YES)] ? @"true" : @"false"; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Recipe Taste Widget -/// Visualize a recipe's taste information as HTML including CSS. You can play around with that endpoint! -/// @param ingredientList The ingredient list of the recipe, one ingredient per line. -/// -/// @param language The language of the input. Either 'en' or 'de'. (optional) -/// -/// @param normalize Normalize to the strongest taste. (optional) -/// -/// @param rgb Red, green, blue values for the chart color. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipeTasteWithIngredientList: (NSString*) ingredientList - language: (NSString*) language - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter 'ingredientList' is set - if (ingredientList == nil) { - NSParameterAssert(ingredientList); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"ingredientList"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/visualizeTaste"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (language != nil) { - queryParams[@"language"] = language; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[@"application/x-www-form-urlencoded"]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - if (ingredientList) { - formParams[@"ingredientList"] = ingredientList; - } - if (normalize) { - formParams[@"normalize"] = normalize; - } - if (rgb) { - formParams[@"rgb"] = rgb; - } - - return [self.apiClient requestWithPath: resourcePath - method: @"POST" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - -/// -/// Recipe Taste by ID Widget -/// Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -/// @param _id The item's id. -/// -/// @param normalize Whether to normalize to the strongest taste. (optional, default to @(YES)) -/// -/// @param rgb Red, green, blue values for the chart color. (optional) -/// -/// @returns NSString* -/// --(NSURLSessionTask*) visualizeRecipeTasteByIDWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSString* output, NSError* error)) handler { - // verify the required parameter '_id' is set - if (_id == nil) { - NSParameterAssert(_id); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"_id"] }; - NSError* error = [NSError errorWithDomain:kOAIRecipesApiErrorDomain code:kOAIRecipesApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/recipes/{id}/tasteWidget"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - if (_id != nil) { - pathParams[@"id"] = _id; - } - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (normalize != nil) { - queryParams[@"normalize"] = [normalize isEqual:@(YES)] ? @"true" : @"false"; - } - if (rgb != nil) { - queryParams[@"rgb"] = rgb; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"text/html"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"NSString*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((NSString*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIWineApi.h b/objc/OpenAPIClient/Api/OAIWineApi.h deleted file mode 100644 index b28a707bd..000000000 --- a/objc/OpenAPIClient/Api/OAIWineApi.h +++ /dev/null @@ -1,98 +0,0 @@ -#import -#import "OAIGetDishPairingForWine200Response.h" -#import "OAIGetWineDescription200Response.h" -#import "OAIGetWinePairing200Response.h" -#import "OAIGetWineRecommendation200Response.h" -#import "OAIApi.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - -@interface OAIWineApi: NSObject - -extern NSString* kOAIWineApiErrorDomain; -extern NSInteger kOAIWineApiMissingParamErrorCode; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient NS_DESIGNATED_INITIALIZER; - -/// Dish Pairing for Wine -/// Find a dish that goes well with a given wine. -/// -/// @param wine The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetDishPairingForWine200Response* --(NSURLSessionTask*) getDishPairingForWineWithWine: (NSString*) wine - completionHandler: (void (^)(OAIGetDishPairingForWine200Response* output, NSError* error)) handler; - - -/// Wine Description -/// Get a simple description of a certain wine, e.g. \"malbec\", \"riesling\", or \"merlot\". -/// -/// @param wine The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetWineDescription200Response* --(NSURLSessionTask*) getWineDescriptionWithWine: (NSString*) wine - completionHandler: (void (^)(OAIGetWineDescription200Response* output, NSError* error)) handler; - - -/// Wine Pairing -/// Find a wine that goes well with a food. Food can be a dish name (\"steak\"), an ingredient name (\"salmon\"), or a cuisine (\"italian\"). -/// -/// @param food The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). -/// @param maxPrice The maximum price for the specific wine recommendation in USD. (optional) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetWinePairing200Response* --(NSURLSessionTask*) getWinePairingWithFood: (NSString*) food - maxPrice: (NSNumber*) maxPrice - completionHandler: (void (^)(OAIGetWinePairing200Response* output, NSError* error)) handler; - - -/// Wine Recommendation -/// Get a specific wine recommendation (concrete product) for a given wine type, e.g. \"merlot\". -/// -/// @param wine The type of wine to get a specific product recommendation for. -/// @param maxPrice The maximum price for the specific wine recommendation in USD. (optional) -/// @param minRating The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. (optional) -/// @param number The number of wine recommendations expected (between 1 and 100). (optional) (default to @10) -/// -/// code:200 message:"Success", -/// code:401 message:"Unauthorized", -/// code:403 message:"Forbidden", -/// code:404 message:"Not Found" -/// -/// @return OAIGetWineRecommendation200Response* --(NSURLSessionTask*) getWineRecommendationWithWine: (NSString*) wine - maxPrice: (NSNumber*) maxPrice - minRating: (NSNumber*) minRating - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetWineRecommendation200Response* output, NSError* error)) handler; - - - -@end diff --git a/objc/OpenAPIClient/Api/OAIWineApi.m b/objc/OpenAPIClient/Api/OAIWineApi.m deleted file mode 100644 index 27456efb6..000000000 --- a/objc/OpenAPIClient/Api/OAIWineApi.m +++ /dev/null @@ -1,353 +0,0 @@ -#import "OAIWineApi.h" -#import "OAIQueryParamCollection.h" -#import "OAIApiClient.h" -#import "OAIGetDishPairingForWine200Response.h" -#import "OAIGetWineDescription200Response.h" -#import "OAIGetWinePairing200Response.h" -#import "OAIGetWineRecommendation200Response.h" - - -@interface OAIWineApi () - -@property (nonatomic, strong, readwrite) NSMutableDictionary *mutableDefaultHeaders; - -@end - -@implementation OAIWineApi - -NSString* kOAIWineApiErrorDomain = @"OAIWineApiErrorDomain"; -NSInteger kOAIWineApiMissingParamErrorCode = 234513; - -@synthesize apiClient = _apiClient; - -#pragma mark - Initialize methods - -- (instancetype) init { - return [self initWithApiClient:[OAIApiClient sharedClient]]; -} - - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient { - self = [super init]; - if (self) { - _apiClient = apiClient; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - } - return self; -} - -#pragma mark - - --(NSString*) defaultHeaderForKey:(NSString*)key { - return self.mutableDefaultHeaders[key]; -} - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key { - [self.mutableDefaultHeaders setValue:value forKey:key]; -} - --(NSDictionary *)defaultHeaders { - return self.mutableDefaultHeaders; -} - -#pragma mark - Api Methods - -/// -/// Dish Pairing for Wine -/// Find a dish that goes well with a given wine. -/// @param wine The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". -/// -/// @returns OAIGetDishPairingForWine200Response* -/// --(NSURLSessionTask*) getDishPairingForWineWithWine: (NSString*) wine - completionHandler: (void (^)(OAIGetDishPairingForWine200Response* output, NSError* error)) handler { - // verify the required parameter 'wine' is set - if (wine == nil) { - NSParameterAssert(wine); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"wine"] }; - NSError* error = [NSError errorWithDomain:kOAIWineApiErrorDomain code:kOAIWineApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/wine/dishes"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (wine != nil) { - queryParams[@"wine"] = wine; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetDishPairingForWine200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetDishPairingForWine200Response*)data, error); - } - }]; -} - -/// -/// Wine Description -/// Get a simple description of a certain wine, e.g. \"malbec\", \"riesling\", or \"merlot\". -/// @param wine The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". -/// -/// @returns OAIGetWineDescription200Response* -/// --(NSURLSessionTask*) getWineDescriptionWithWine: (NSString*) wine - completionHandler: (void (^)(OAIGetWineDescription200Response* output, NSError* error)) handler { - // verify the required parameter 'wine' is set - if (wine == nil) { - NSParameterAssert(wine); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"wine"] }; - NSError* error = [NSError errorWithDomain:kOAIWineApiErrorDomain code:kOAIWineApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/wine/description"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (wine != nil) { - queryParams[@"wine"] = wine; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetWineDescription200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetWineDescription200Response*)data, error); - } - }]; -} - -/// -/// Wine Pairing -/// Find a wine that goes well with a food. Food can be a dish name (\"steak\"), an ingredient name (\"salmon\"), or a cuisine (\"italian\"). -/// @param food The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). -/// -/// @param maxPrice The maximum price for the specific wine recommendation in USD. (optional) -/// -/// @returns OAIGetWinePairing200Response* -/// --(NSURLSessionTask*) getWinePairingWithFood: (NSString*) food - maxPrice: (NSNumber*) maxPrice - completionHandler: (void (^)(OAIGetWinePairing200Response* output, NSError* error)) handler { - // verify the required parameter 'food' is set - if (food == nil) { - NSParameterAssert(food); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"food"] }; - NSError* error = [NSError errorWithDomain:kOAIWineApiErrorDomain code:kOAIWineApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/wine/pairing"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (food != nil) { - queryParams[@"food"] = food; - } - if (maxPrice != nil) { - queryParams[@"maxPrice"] = maxPrice; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetWinePairing200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetWinePairing200Response*)data, error); - } - }]; -} - -/// -/// Wine Recommendation -/// Get a specific wine recommendation (concrete product) for a given wine type, e.g. \"merlot\". -/// @param wine The type of wine to get a specific product recommendation for. -/// -/// @param maxPrice The maximum price for the specific wine recommendation in USD. (optional) -/// -/// @param minRating The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. (optional) -/// -/// @param number The number of wine recommendations expected (between 1 and 100). (optional, default to @10) -/// -/// @returns OAIGetWineRecommendation200Response* -/// --(NSURLSessionTask*) getWineRecommendationWithWine: (NSString*) wine - maxPrice: (NSNumber*) maxPrice - minRating: (NSNumber*) minRating - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetWineRecommendation200Response* output, NSError* error)) handler { - // verify the required parameter 'wine' is set - if (wine == nil) { - NSParameterAssert(wine); - if(handler) { - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : [NSString stringWithFormat:NSLocalizedString(@"Missing required parameter '%@'", nil),@"wine"] }; - NSError* error = [NSError errorWithDomain:kOAIWineApiErrorDomain code:kOAIWineApiMissingParamErrorCode userInfo:userInfo]; - handler(nil, error); - } - return nil; - } - - NSMutableString* resourcePath = [NSMutableString stringWithFormat:@"/food/wine/recommendation"]; - - NSMutableDictionary *pathParams = [[NSMutableDictionary alloc] init]; - - NSMutableDictionary* queryParams = [[NSMutableDictionary alloc] init]; - if (wine != nil) { - queryParams[@"wine"] = wine; - } - if (maxPrice != nil) { - queryParams[@"maxPrice"] = maxPrice; - } - if (minRating != nil) { - queryParams[@"minRating"] = minRating; - } - if (number != nil) { - queryParams[@"number"] = number; - } - NSMutableDictionary* headerParams = [NSMutableDictionary dictionaryWithDictionary:self.apiClient.configuration.defaultHeaders]; - [headerParams addEntriesFromDictionary:self.defaultHeaders]; - // HTTP header `Accept` - NSString *acceptHeader = [self.apiClient.sanitizer selectHeaderAccept:@[@"application/json"]]; - if(acceptHeader.length > 0) { - headerParams[@"Accept"] = acceptHeader; - } - - // response content type - NSString *responseContentType = [[acceptHeader componentsSeparatedByString:@", "] firstObject] ?: @""; - - // request content type - NSString *requestContentType = [self.apiClient.sanitizer selectHeaderContentType:@[]]; - - // Authentication setting - NSArray *authSettings = @[@"apiKeyScheme"]; - - id bodyParam = nil; - NSMutableDictionary *formParams = [[NSMutableDictionary alloc] init]; - NSMutableDictionary *localVarFiles = [[NSMutableDictionary alloc] init]; - - return [self.apiClient requestWithPath: resourcePath - method: @"GET" - pathParams: pathParams - queryParams: queryParams - formParams: formParams - files: localVarFiles - body: bodyParam - headerParams: headerParams - authSettings: authSettings - requestContentType: requestContentType - responseContentType: responseContentType - responseType: @"OAIGetWineRecommendation200Response*" - completionBlock: ^(id data, NSError *error) { - if(handler) { - handler((OAIGetWineRecommendation200Response*)data, error); - } - }]; -} - - - -@end diff --git a/objc/OpenAPIClient/Core/JSONValueTransformer+ISO8601.h b/objc/OpenAPIClient/Core/JSONValueTransformer+ISO8601.h deleted file mode 100644 index 981ad8883..000000000 --- a/objc/OpenAPIClient/Core/JSONValueTransformer+ISO8601.h +++ /dev/null @@ -1,19 +0,0 @@ -#import -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -@interface JSONValueTransformer (ISO8601) - -@end diff --git a/objc/OpenAPIClient/Core/JSONValueTransformer+ISO8601.m b/objc/OpenAPIClient/Core/JSONValueTransformer+ISO8601.m deleted file mode 100644 index 61ae254a8..000000000 --- a/objc/OpenAPIClient/Core/JSONValueTransformer+ISO8601.m +++ /dev/null @@ -1,17 +0,0 @@ -#import -#import "JSONValueTransformer+ISO8601.h" -#import "OAISanitizer.h" - -@implementation JSONValueTransformer (ISO8601) - -- (NSDate *) NSDateFromNSString:(NSString *)string -{ - return [NSDate dateWithISO8601String:string]; -} - -- (NSString *)JSONObjectFromNSDate:(NSDate *)date -{ - return [OAISanitizer dateToString:date]; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIApi.h b/objc/OpenAPIClient/Core/OAIApi.h deleted file mode 100644 index 9237da5b7..000000000 --- a/objc/OpenAPIClient/Core/OAIApi.h +++ /dev/null @@ -1,29 +0,0 @@ -#import - -@class OAIApiClient; - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -@protocol OAIApi - -@property(readonly, nonatomic, strong) OAIApiClient *apiClient; - --(instancetype) initWithApiClient:(OAIApiClient *)apiClient; - --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key; --(NSString*) defaultHeaderForKey:(NSString*)key; - --(NSDictionary *)defaultHeaders; - -@end diff --git a/objc/OpenAPIClient/Core/OAIApiClient.h b/objc/OpenAPIClient/Core/OAIApiClient.h deleted file mode 100644 index 0bc931fa6..000000000 --- a/objc/OpenAPIClient/Core/OAIApiClient.h +++ /dev/null @@ -1,121 +0,0 @@ -#import -#import "OAIConfiguration.h" -#import "OAIResponseDeserializer.h" -#import "OAISanitizer.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -/** - * A key for `NSError` user info dictionaries. - * - * The corresponding value is the parsed response body for an HTTP error. - */ -extern NSString *const OAIResponseObjectErrorKey; - - -@interface OAIApiClient : AFHTTPSessionManager - -@property (nonatomic, strong, readonly) id configuration; - -@property(nonatomic, assign) NSTimeInterval timeoutInterval; - -@property(nonatomic, strong) id responseDeserializer; - -@property(nonatomic, strong) id sanitizer; - -/** - * Gets if the client is unreachable - * - * @return The client offline state - */ -+(BOOL) getOfflineState; - -/** - * Sets the client reachability, this may be overridden by the reachability manager if reachability changes - * - * @param status The client reachability status. - */ -+(void) setReachabilityStatus:(AFNetworkReachabilityStatus) status; - -/** - * Gets the client reachability - * - * @return The client reachability. - */ -+(AFNetworkReachabilityStatus) getReachabilityStatus; - -@property (nonatomic, strong) NSDictionary< NSString *, AFHTTPRequestSerializer *>* requestSerializerForContentType; - -/** - * Gets client singleton instance - */ -+ (instancetype) sharedClient; - - -/** - * Updates header parameters and query parameters for authentication - * - * @param headers The header parameter will be updated, passed by pointer to pointer. - * @param queries The query parameters will be updated, passed by pointer to pointer. - * @param authSettings The authentication names NSArray. - */ -- (void) updateHeaderParams:(NSDictionary **)headers queryParams:(NSDictionary **)queries WithAuthSettings:(NSArray *)authSettings; - - -/** - * Initializes the session manager with a configuration. - * - * @param configuration The configuration implementation - */ -- (instancetype)initWithConfiguration:(id)configuration; - -/** -* Initializes the session manager with a configuration and url -* -* @param url The base url -* @param configuration The configuration implementation -*/ -- (instancetype)initWithBaseURL:(NSURL *)url configuration:(id)configuration; - -/** - * Performs request - * - * @param path Request url. - * @param method Request method. - * @param pathParams Request path parameters. - * @param queryParams Request query parameters. - * @param body Request body. - * @param headerParams Request header parameters. - * @param authSettings Request authentication names. - * @param requestContentType Request content-type. - * @param responseContentType Response content-type. - * @param completionBlock The block will be executed when the request completed. - * - * @return The created session task. - */ -- (NSURLSessionTask*) requestWithPath: (NSString*) path - method: (NSString*) method - pathParams: (NSDictionary *) pathParams - queryParams: (NSDictionary*) queryParams - formParams: (NSDictionary *) formParams - files: (NSDictionary *) files - body: (id) body - headerParams: (NSDictionary*) headerParams - authSettings: (NSArray *) authSettings - requestContentType: (NSString*) requestContentType - responseContentType: (NSString*) responseContentType - responseType: (NSString *) responseType - completionBlock: (void (^)(id, NSError *))completionBlock; - -@end diff --git a/objc/OpenAPIClient/Core/OAIApiClient.m b/objc/OpenAPIClient/Core/OAIApiClient.m deleted file mode 100644 index f9e107353..000000000 --- a/objc/OpenAPIClient/Core/OAIApiClient.m +++ /dev/null @@ -1,376 +0,0 @@ - -#import "OAILogger.h" -#import "OAIApiClient.h" -#import "OAIJSONRequestSerializer.h" -#import "OAIQueryParamCollection.h" -#import "OAIDefaultConfiguration.h" - -NSString *const OAIResponseObjectErrorKey = @"OAIResponseObject"; - -static NSString * const kOAIContentDispositionKey = @"Content-Disposition"; - -static NSDictionary * OAI__headerFieldsForResponse(NSURLResponse *response) { - if(![response isKindOfClass:[NSHTTPURLResponse class]]) { - return nil; - } - return ((NSHTTPURLResponse*)response).allHeaderFields; -} - -static NSString * OAI__fileNameForResponse(NSURLResponse *response) { - NSDictionary * headers = OAI__headerFieldsForResponse(response); - if(!headers[kOAIContentDispositionKey]) { - return [NSString stringWithFormat:@"%@", [[NSProcessInfo processInfo] globallyUniqueString]]; - } - NSString *pattern = @"filename=['\"]?([^'\"\\s]+)['\"]?"; - NSRegularExpression *regexp = [NSRegularExpression regularExpressionWithPattern:pattern options:NSRegularExpressionCaseInsensitive error:nil]; - NSString *contentDispositionHeader = headers[kOAIContentDispositionKey]; - NSTextCheckingResult *match = [regexp firstMatchInString:contentDispositionHeader options:0 range:NSMakeRange(0, [contentDispositionHeader length])]; - return [contentDispositionHeader substringWithRange:[match rangeAtIndex:1]]; -} - - -@interface OAIApiClient () - -@property (nonatomic, strong, readwrite) id configuration; - -@property (nonatomic, strong) NSArray* downloadTaskResponseTypes; - -@end - -@implementation OAIApiClient - -#pragma mark - Singleton Methods - -+ (instancetype) sharedClient { - static OAIApiClient *sharedClient = nil; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - sharedClient = [[self alloc] init]; - }); - return sharedClient; -} - -#pragma mark - Initialize Methods - -- (instancetype)init { - return [self initWithConfiguration:[OAIDefaultConfiguration sharedConfig]]; -} - -- (instancetype)initWithBaseURL:(NSURL *)url { - return [self initWithBaseURL:url configuration:[OAIDefaultConfiguration sharedConfig]]; -} - -- (instancetype)initWithConfiguration:(id)configuration { - return [self initWithBaseURL:[NSURL URLWithString:configuration.host] configuration:configuration]; -} - -- (instancetype)initWithBaseURL:(NSURL *)url configuration:(id)configuration { - self = [super initWithBaseURL:url]; - if (self) { - _configuration = configuration; - _timeoutInterval = 60; - _responseDeserializer = [[OAIResponseDeserializer alloc] init]; - _sanitizer = [[OAISanitizer alloc] init]; - - _downloadTaskResponseTypes = @[@"NSURL*", @"NSURL"]; - - AFHTTPRequestSerializer* afhttpRequestSerializer = [AFHTTPRequestSerializer serializer]; - OAIJSONRequestSerializer * swgjsonRequestSerializer = [OAIJSONRequestSerializer serializer]; - _requestSerializerForContentType = @{kOAIApplicationJSONType : swgjsonRequestSerializer, - @"application/x-www-form-urlencoded": afhttpRequestSerializer, - @"multipart/form-data": afhttpRequestSerializer - }; - self.securityPolicy = [self createSecurityPolicy]; - self.responseSerializer = [AFHTTPResponseSerializer serializer]; - } - return self; -} - -#pragma mark - Task Methods - -- (NSURLSessionDataTask*) taskWithCompletionBlock: (NSURLRequest *)request completionBlock: (void (^)(id, NSError *))completionBlock { - - NSURLSessionDataTask *task = [self dataTaskWithRequest:request uploadProgress:nil downloadProgress:nil completionHandler:^(NSURLResponse * _Nonnull response, id _Nullable responseObject, NSError * _Nullable error) { - OAIDebugLogResponse(response, responseObject,request,error); - if(!error) { - completionBlock(responseObject, nil); - return; - } - NSMutableDictionary *userInfo = [error.userInfo mutableCopy]; - if (responseObject) { - // Add in the (parsed) response body. - userInfo[OAIResponseObjectErrorKey] = responseObject; - } - NSError *augmentedError = [error initWithDomain:error.domain code:error.code userInfo:userInfo]; - completionBlock(nil, augmentedError); - }]; - - return task; -} - -- (NSURLSessionDataTask*) downloadTaskWithCompletionBlock: (NSURLRequest *)request completionBlock: (void (^)(id, NSError *))completionBlock { - - __block NSString * tempFolderPath = [self.configuration.tempFolderPath copy]; - - NSURLSessionDataTask* task = [self dataTaskWithRequest:request uploadProgress:nil downloadProgress:nil completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) { - OAIDebugLogResponse(response, responseObject,request,error); - - if(error) { - NSMutableDictionary *userInfo = [error.userInfo mutableCopy]; - if (responseObject) { - userInfo[OAIResponseObjectErrorKey] = responseObject; - } - NSError *augmentedError = [error initWithDomain:error.domain code:error.code userInfo:userInfo]; - completionBlock(nil, augmentedError); - return; - } - - NSString *directory = tempFolderPath ?: NSTemporaryDirectory(); - NSString *filename = OAI__fileNameForResponse(response); - - NSString *filepath = [directory stringByAppendingPathComponent:filename]; - NSURL *file = [NSURL fileURLWithPath:filepath]; - - [responseObject writeToURL:file atomically:YES]; - - completionBlock(file, nil); - }]; - - return task; -} - -#pragma mark - Perform Request Methods - -- (NSURLSessionTask*) requestWithPath: (NSString*) path - method: (NSString*) method - pathParams: (NSDictionary *) pathParams - queryParams: (NSDictionary*) queryParams - formParams: (NSDictionary *) formParams - files: (NSDictionary *) files - body: (id) body - headerParams: (NSDictionary*) headerParams - authSettings: (NSArray *) authSettings - requestContentType: (NSString*) requestContentType - responseContentType: (NSString*) responseContentType - responseType: (NSString *) responseType - completionBlock: (void (^)(id, NSError *))completionBlock { - - AFHTTPRequestSerializer * requestSerializer = [self requestSerializerForRequestContentType:requestContentType]; - - __weak id sanitizer = self.sanitizer; - - // sanitize parameters - pathParams = [sanitizer sanitizeForSerialization:pathParams]; - queryParams = [sanitizer sanitizeForSerialization:queryParams]; - headerParams = [sanitizer sanitizeForSerialization:headerParams]; - formParams = [sanitizer sanitizeForSerialization:formParams]; - if(![body isKindOfClass:[NSData class]]) { - body = [sanitizer sanitizeForSerialization:body]; - } - - // auth setting - [self updateHeaderParams:&headerParams queryParams:&queryParams WithAuthSettings:authSettings]; - - NSMutableString *resourcePath = [NSMutableString stringWithString:path]; - [pathParams enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) { - NSString * safeString = ([obj isKindOfClass:[NSString class]]) ? obj : [NSString stringWithFormat:@"%@", obj]; - safeString = OAIPercentEscapedStringFromString(safeString); - [resourcePath replaceCharactersInRange:[resourcePath rangeOfString:[NSString stringWithFormat:@"{%@}", key]] withString:safeString]; - }]; - - NSString* pathWithQueryParams = [self pathWithQueryParamsToString:resourcePath queryParams:queryParams]; - if ([pathWithQueryParams hasPrefix:@"/"]) { - pathWithQueryParams = [pathWithQueryParams substringFromIndex:1]; - } - - NSString* urlString = [[NSURL URLWithString:pathWithQueryParams relativeToURL:self.baseURL] absoluteString]; - - NSError *requestCreateError = nil; - NSMutableURLRequest * request = nil; - if (files.count > 0) { - request = [requestSerializer multipartFormRequestWithMethod:@"POST" URLString:urlString parameters:nil constructingBodyWithBlock:^(id formData) { - [formParams enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) { - NSString *objString = [sanitizer parameterToString:obj]; - NSData *data = [objString dataUsingEncoding:NSUTF8StringEncoding]; - [formData appendPartWithFormData:data name:key]; - }]; - [files enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) { - NSURL *filePath = (NSURL *)obj; - [formData appendPartWithFileURL:filePath name:key error:nil]; - }]; - } error:&requestCreateError]; - } - else { - if (formParams) { - request = [requestSerializer requestWithMethod:method URLString:urlString parameters:formParams error:&requestCreateError]; - } - if (body) { - request = [requestSerializer requestWithMethod:method URLString:urlString parameters:body error:&requestCreateError]; - } - } - if(!request) { - completionBlock(nil, requestCreateError); - return nil; - } - - if ([headerParams count] > 0){ - for(NSString * key in [headerParams keyEnumerator]){ - [request setValue:[headerParams valueForKey:key] forHTTPHeaderField:key]; - } - } - [requestSerializer setValue:responseContentType forHTTPHeaderField:@"Accept"]; - - [self postProcessRequest:request]; - - - NSURLSessionTask *task = nil; - - if ([self.downloadTaskResponseTypes containsObject:responseType]) { - task = [self downloadTaskWithCompletionBlock:request completionBlock:^(id data, NSError *error) { - completionBlock(data, error); - }]; - } else { - __weak typeof(self) weakSelf = self; - task = [self taskWithCompletionBlock:request completionBlock:^(id data, NSError *error) { - NSError * serializationError; - id response = [weakSelf.responseDeserializer deserialize:data class:responseType error:&serializationError]; - - if(!response && !error){ - error = serializationError; - } - completionBlock(response, error); - }]; - } - - [task resume]; - - return task; -} - --(AFHTTPRequestSerializer *)requestSerializerForRequestContentType:(NSString *)requestContentType { - AFHTTPRequestSerializer * serializer = self.requestSerializerForContentType[requestContentType]; - if(!serializer) { - NSAssert(NO, @"Unsupported request content type %@", requestContentType); - serializer = [AFHTTPRequestSerializer serializer]; - } - serializer.timeoutInterval = self.timeoutInterval; - return serializer; -} - -//Added for easier override to modify request --(void)postProcessRequest:(NSMutableURLRequest *)request { - -} - -#pragma mark - - -- (NSString*) pathWithQueryParamsToString:(NSString*) path queryParams:(NSDictionary*) queryParams { - if(queryParams.count == 0) { - return path; - } - NSString * separator = nil; - NSUInteger counter = 0; - - NSMutableString * requestUrl = [NSMutableString stringWithFormat:@"%@", path]; - - NSDictionary *separatorStyles = @{@"csv" : @",", - @"tsv" : @"\t", - @"pipes": @"|" - }; - for(NSString * key in [queryParams keyEnumerator]){ - if (counter == 0) { - separator = @"?"; - } else { - separator = @"&"; - } - id queryParam = [queryParams valueForKey:key]; - if(!queryParam) { - continue; - } - NSString *safeKey = OAIPercentEscapedStringFromString(key); - if ([queryParam isKindOfClass:[NSString class]]){ - [requestUrl appendString:[NSString stringWithFormat:@"%@%@=%@", separator, safeKey, OAIPercentEscapedStringFromString(queryParam)]]; - - } else if ([queryParam isKindOfClass:[OAIQueryParamCollection class]]){ - OAIQueryParamCollection * coll = (OAIQueryParamCollection*) queryParam; - NSArray* values = [coll values]; - NSString* format = [coll format]; - - if([format isEqualToString:@"multi"]) { - for(id obj in values) { - if (counter > 0) { - separator = @"&"; - } - NSString * safeValue = OAIPercentEscapedStringFromString([NSString stringWithFormat:@"%@",obj]); - [requestUrl appendString:[NSString stringWithFormat:@"%@%@=%@", separator, safeKey, safeValue]]; - counter += 1; - } - continue; - } - NSString * separatorStyle = separatorStyles[format]; - NSString * safeValue = OAIPercentEscapedStringFromString([values componentsJoinedByString:separatorStyle]); - [requestUrl appendString:[NSString stringWithFormat:@"%@%@=%@", separator, safeKey, safeValue]]; - } else { - NSString * safeValue = OAIPercentEscapedStringFromString([NSString stringWithFormat:@"%@",queryParam]); - [requestUrl appendString:[NSString stringWithFormat:@"%@%@=%@", separator, safeKey, safeValue]]; - } - counter += 1; - } - return requestUrl; -} - -/** - * Update header and query params based on authentication settings - */ -- (void) updateHeaderParams:(NSDictionary * *)headers queryParams:(NSDictionary * *)queries WithAuthSettings:(NSArray *)authSettings { - - if ([authSettings count] == 0) { - return; - } - - NSMutableDictionary *headersWithAuth = [NSMutableDictionary dictionaryWithDictionary:*headers]; - NSMutableDictionary *queriesWithAuth = [NSMutableDictionary dictionaryWithDictionary:*queries]; - - id config = self.configuration; - for (NSString *auth in authSettings) { - NSDictionary *authSetting = config.authSettings[auth]; - - if(!authSetting) { // auth setting is set only if the key is non-empty - continue; - } - NSString *type = authSetting[@"in"]; - NSString *key = authSetting[@"key"]; - NSString *value = authSetting[@"value"]; - if ([type isEqualToString:@"header"] && [key length] > 0 ) { - headersWithAuth[key] = value; - } else if ([type isEqualToString:@"query"] && [key length] != 0) { - queriesWithAuth[key] = value; - } - } - - *headers = [NSDictionary dictionaryWithDictionary:headersWithAuth]; - *queries = [NSDictionary dictionaryWithDictionary:queriesWithAuth]; -} - -- (AFSecurityPolicy *) createSecurityPolicy { - AFSecurityPolicy *securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone]; - - id config = self.configuration; - - if (config.sslCaCert) { - NSData *certData = [NSData dataWithContentsOfFile:config.sslCaCert]; - [securityPolicy setPinnedCertificates:[NSSet setWithObject:certData]]; - } - - if (config.verifySSL) { - [securityPolicy setAllowInvalidCertificates:NO]; - } - else { - [securityPolicy setAllowInvalidCertificates:YES]; - [securityPolicy setValidatesDomainName:NO]; - } - - return securityPolicy; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIBasicAuthTokenProvider.h b/objc/OpenAPIClient/Core/OAIBasicAuthTokenProvider.h deleted file mode 100644 index b67a39067..000000000 --- a/objc/OpenAPIClient/Core/OAIBasicAuthTokenProvider.h +++ /dev/null @@ -1,14 +0,0 @@ -/** The `OAIBasicAuthTokenProvider` class creates a basic auth token from username and password. - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -#import - -@interface OAIBasicAuthTokenProvider : NSObject - -+ (NSString *)createBasicAuthTokenWithUsername:(NSString *)username password:(NSString *)password; - -@end \ No newline at end of file diff --git a/objc/OpenAPIClient/Core/OAIBasicAuthTokenProvider.m b/objc/OpenAPIClient/Core/OAIBasicAuthTokenProvider.m deleted file mode 100644 index 70afc9343..000000000 --- a/objc/OpenAPIClient/Core/OAIBasicAuthTokenProvider.m +++ /dev/null @@ -1,19 +0,0 @@ -#import "OAIBasicAuthTokenProvider.h" - -@implementation OAIBasicAuthTokenProvider - -+ (NSString *)createBasicAuthTokenWithUsername:(NSString *)username password:(NSString *)password { - - // return empty string if username and password are empty - if (username.length == 0 && password.length == 0){ - return @""; - } - - NSString *basicAuthCredentials = [NSString stringWithFormat:@"%@:%@", username, password]; - NSData *data = [basicAuthCredentials dataUsingEncoding:NSUTF8StringEncoding]; - basicAuthCredentials = [NSString stringWithFormat:@"Basic %@", [data base64EncodedStringWithOptions:0]]; - - return basicAuthCredentials; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIConfiguration.h b/objc/OpenAPIClient/Core/OAIConfiguration.h deleted file mode 100644 index ad2050fc2..000000000 --- a/objc/OpenAPIClient/Core/OAIConfiguration.h +++ /dev/null @@ -1,89 +0,0 @@ -#import - -@class OAILogger; - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -static NSString * const kOAIAPIVersion = @"1.0.0"; - -@protocol OAIConfiguration - -/** - * Api logger - */ -@property (readonly, nonatomic) OAILogger *logger; - -/** - * Base url - */ -@property (readonly, nonatomic) NSString *host; - -/** - * Api key values for Api Key type Authentication - */ -@property (readonly, nonatomic) NSDictionary *apiKey; - -/** - * Api key prefix values to be prepend to the respective api key - */ -@property (readonly, nonatomic) NSDictionary *apiKeyPrefix; - -/** - * Username for HTTP Basic Authentication - */ -@property (readonly, nonatomic) NSString *username; - -/** - * Password for HTTP Basic Authentication - */ -@property (readonly, nonatomic) NSString *password; - -/** - * Access token for OAuth - */ -@property (readonly, nonatomic) NSString *accessToken; - -/** - * Temp folder for file download - */ -@property (readonly, nonatomic) NSString *tempFolderPath; - -/** - * Debug switch, default false - */ -@property (readonly, nonatomic) BOOL debug; - -/** - * SSL/TLS verification - * Set this to NO to skip verifying SSL certificate when calling API from https server - */ -@property (readonly, nonatomic) BOOL verifySSL; - -/** - * SSL/TLS verification - * Set this to customize the certificate file to verify the peer - */ -@property (readonly, nonatomic) NSString *sslCaCert; - -/** - * Authentication Settings - */ -@property (readonly, nonatomic) NSDictionary *authSettings; - -/** -* Default headers for all services -*/ -@property (readonly, nonatomic, strong) NSDictionary *defaultHeaders; - -@end diff --git a/objc/OpenAPIClient/Core/OAIDefaultConfiguration.h b/objc/OpenAPIClient/Core/OAIDefaultConfiguration.h deleted file mode 100644 index 059ca1558..000000000 --- a/objc/OpenAPIClient/Core/OAIDefaultConfiguration.h +++ /dev/null @@ -1,171 +0,0 @@ -#import -#import "OAIConfiguration.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -@class OAIApiClient; - -@interface OAIDefaultConfiguration : NSObject - - -/** - * Default api logger - */ -@property (nonatomic, strong) OAILogger * logger; - -/** - * Default base url - */ -@property (nonatomic) NSString *host; - -/** - * Api key values for Api Key type Authentication - * - * To add or remove api key, use `setApiKey:forApiKeyIdentifier:`. - */ -@property (readonly, nonatomic, strong) NSDictionary *apiKey; - -/** - * Api key prefix values to be prepend to the respective api key - * - * To add or remove prefix, use `setApiKeyPrefix:forApiKeyPrefixIdentifier:`. - */ -@property (readonly, nonatomic, strong) NSDictionary *apiKeyPrefix; - -/** - * Username for HTTP Basic Authentication - */ - @property (nonatomic) NSString *username; - -/** - * Password for HTTP Basic Authentication - */ -@property (nonatomic) NSString *password; - -/** - * Access token for OAuth - */ -@property (nonatomic) NSString *accessToken; - -/** - * Temp folder for file download - */ -@property (nonatomic) NSString *tempFolderPath; - -/** - * Debug switch, default false - */ -@property (nonatomic) BOOL debug; - -/** - * Gets configuration singleton instance - */ -+ (instancetype) sharedConfig; - -/** - * SSL/TLS verification - * Set this to NO to skip verifying SSL certificate when calling API from https server - */ -@property (nonatomic) BOOL verifySSL; - -/** - * SSL/TLS verification - * Set this to customize the certificate file to verify the peer - */ -@property (nonatomic) NSString *sslCaCert; - -/** - * The time zone to use for date serialization - */ -@property (nonatomic) NSTimeZone *serializationTimeZone; - -/** - * Sets API key - * - * To remove an apiKey for an identifier, just set the apiKey to nil. - * - * @param apiKey API key or token. - * @param identifier API key identifier (authentication schema). - * - */ -- (void) setApiKey:(NSString *)apiKey forApiKeyIdentifier:(NSString*)identifier; - -/** - * Removes api key - * - * @param identifier API key identifier. - */ -- (void) removeApiKey:(NSString *)identifier; - -/** - * Sets the prefix for API key - * - * @param prefix API key prefix. - * @param identifier API key identifier. - */ -- (void) setApiKeyPrefix:(NSString *)prefix forApiKeyPrefixIdentifier:(NSString *)identifier; - -/** - * Removes api key prefix - * - * @param identifier API key identifier. - */ -- (void) removeApiKeyPrefix:(NSString *)identifier; - -/** - * Gets API key (with prefix if set) - */ -- (NSString *) getApiKeyWithPrefix:(NSString *) key; - -/** - * Gets Basic Auth token - */ -- (NSString *) getBasicAuthToken; - -/** - * Gets OAuth access token - */ -- (NSString *) getAccessToken; - -/** - * Gets Authentication Settings - */ -- (NSDictionary *) authSettings; - -/** -* Default headers for all services -*/ -@property (readonly, nonatomic, strong) NSDictionary *defaultHeaders; - -/** -* Removes header from defaultHeaders -* -* @param key Header name. -*/ --(void) removeDefaultHeaderForKey:(NSString*)key; - -/** -* Sets the header for key -* -* @param value Value for header name -* @param key Header name -*/ --(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key; - -/** -* @param key Header key name. -*/ --(NSString*) defaultHeaderForKey:(NSString*)key; - -@end diff --git a/objc/OpenAPIClient/Core/OAIDefaultConfiguration.m b/objc/OpenAPIClient/Core/OAIDefaultConfiguration.m deleted file mode 100644 index 3522cbc90..000000000 --- a/objc/OpenAPIClient/Core/OAIDefaultConfiguration.m +++ /dev/null @@ -1,145 +0,0 @@ -#import "OAIDefaultConfiguration.h" -#import "OAIBasicAuthTokenProvider.h" -#import "OAILogger.h" - -@interface OAIDefaultConfiguration () - -@property (nonatomic, strong) NSMutableDictionary *mutableDefaultHeaders; -@property (nonatomic, strong) NSMutableDictionary *mutableApiKey; -@property (nonatomic, strong) NSMutableDictionary *mutableApiKeyPrefix; - -@end - -@implementation OAIDefaultConfiguration - -#pragma mark - Singleton Methods - -+ (instancetype) sharedConfig { - static OAIDefaultConfiguration *shardConfig = nil; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - shardConfig = [[self alloc] init]; - }); - return shardConfig; -} - -#pragma mark - Initialize Methods - -- (instancetype) init { - self = [super init]; - if (self) { - _host = @"https://api.spoonacular.com"; - _username = @""; - _password = @""; - _accessToken= @""; - _verifySSL = YES; - _mutableApiKey = [NSMutableDictionary dictionary]; - _mutableApiKeyPrefix = [NSMutableDictionary dictionary]; - _mutableDefaultHeaders = [NSMutableDictionary dictionary]; - - _logger = [OAILogger sharedLogger]; - } - return self; -} - -#pragma mark - Instance Methods - -- (NSString *) getApiKeyWithPrefix:(NSString *)key { - NSString *prefix = self.apiKeyPrefix[key]; - NSString *apiKey = self.apiKey[key]; - if (prefix && apiKey != (id)[NSNull null] && apiKey.length > 0) { // both api key prefix and api key are set - return [NSString stringWithFormat:@"%@ %@", prefix, apiKey]; - } - else if (apiKey != (id)[NSNull null] && apiKey.length > 0) { // only api key, no api key prefix - return [NSString stringWithFormat:@"%@", self.apiKey[key]]; - } - else { // return empty string if nothing is set - return @""; - } -} - -- (NSString *) getBasicAuthToken { - - NSString *basicAuthToken = [OAIBasicAuthTokenProvider createBasicAuthTokenWithUsername:self.username password:self.password]; - return basicAuthToken; -} - -- (NSString *) getAccessToken { - if (self.accessToken.length == 0) { // token not set, return empty string - return @""; - } else { - return [NSString stringWithFormat:@"Bearer %@", self.accessToken]; - } -} - -#pragma mark - Setter Methods - -- (void) setApiKey:(NSString *)apiKey forApiKeyIdentifier:(NSString *)identifier { - [self.mutableApiKey setValue:apiKey forKey:identifier]; -} - -- (void) removeApiKey:(NSString *)identifier { - [self.mutableApiKey removeObjectForKey:identifier]; -} - -- (void) setApiKeyPrefix:(NSString *)prefix forApiKeyPrefixIdentifier:(NSString *)identifier { - [self.mutableApiKeyPrefix setValue:prefix forKey:identifier]; -} - -- (void) removeApiKeyPrefix:(NSString *)identifier { - [self.mutableApiKeyPrefix removeObjectForKey:identifier]; -} - -#pragma mark - Getter Methods - -- (NSDictionary *) apiKey { - return [NSDictionary dictionaryWithDictionary:self.mutableApiKey]; -} - -- (NSDictionary *) apiKeyPrefix { - return [NSDictionary dictionaryWithDictionary:self.mutableApiKeyPrefix]; -} - -#pragma mark - - -- (NSDictionary *) authSettings { - return @{ - @"apiKeyScheme": - @{ - @"type": @"api_key", - @"in": @"header", - @"key": @"x-api-key", - @"value": [self getApiKeyWithPrefix:@"x-api-key"] - }, - }; -} - --(BOOL)debug { - return self.logger.isEnabled; -} - --(void)setDebug:(BOOL)debug { - self.logger.enabled = debug; -} - -- (void)setDefaultHeaderValue:(NSString *)value forKey:(NSString *)key { - if(!value) { - [self.mutableDefaultHeaders removeObjectForKey:key]; - return; - } - self.mutableDefaultHeaders[key] = value; -} - --(void) removeDefaultHeaderForKey:(NSString*)key { - [self.mutableDefaultHeaders removeObjectForKey:key]; -} - -- (NSString *)defaultHeaderForKey:(NSString *)key { - return self.mutableDefaultHeaders[key]; -} - -- (NSDictionary *)defaultHeaders { - return [self.mutableDefaultHeaders copy]; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIJSONRequestSerializer.h b/objc/OpenAPIClient/Core/OAIJSONRequestSerializer.h deleted file mode 100644 index c16af9a05..000000000 --- a/objc/OpenAPIClient/Core/OAIJSONRequestSerializer.h +++ /dev/null @@ -1,18 +0,0 @@ -#import -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -@interface OAIJSONRequestSerializer : AFJSONRequestSerializer -@end diff --git a/objc/OpenAPIClient/Core/OAIJSONRequestSerializer.m b/objc/OpenAPIClient/Core/OAIJSONRequestSerializer.m deleted file mode 100644 index 644f07c17..000000000 --- a/objc/OpenAPIClient/Core/OAIJSONRequestSerializer.m +++ /dev/null @@ -1,37 +0,0 @@ -#import "OAIJSONRequestSerializer.h" - -@implementation OAIJSONRequestSerializer - -/// -/// When customize a request serializer, -/// the serializer must conform the protocol `AFURLRequestSerialization` -/// and implements the protocol method `requestBySerializingRequest:withParameters:error:` -/// -/// @param request The original request. -/// @param parameters The parameters to be encoded. -/// @param error The error that occurred while attempting to encode the request parameters. -/// -/// @return A serialized request. -/// -- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request - withParameters:(id)parameters - error:(NSError *__autoreleasing *)error -{ - if (!parameters) { - return request; - } - // If the body data which will be serialized isn't NSArray or NSDictionary - // then put the data in the http request body directly. - if ([parameters isKindOfClass:[NSArray class]] || [parameters isKindOfClass:[NSDictionary class]]) { - return [super requestBySerializingRequest:request withParameters:parameters error:error]; - } - NSMutableURLRequest *mutableRequest = [request mutableCopy]; - if([parameters isKindOfClass:[NSData class]]) { - [mutableRequest setHTTPBody:parameters]; - } else { - [mutableRequest setHTTPBody:[parameters dataUsingEncoding:self.stringEncoding]]; - } - return mutableRequest; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAILogger.h b/objc/OpenAPIClient/Core/OAILogger.h deleted file mode 100644 index a1433370c..000000000 --- a/objc/OpenAPIClient/Core/OAILogger.h +++ /dev/null @@ -1,61 +0,0 @@ -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#ifndef OAIDebugLogResponse -#define OAIDebugLogResponse(response, responseObject,request, error) [[OAILogger sharedLogger] logResponse:response responseObject:responseObject request:request error:error]; -#endif - -/** - * Log debug message macro - */ -#ifndef OAIDebugLog -#define OAIDebugLog(format, ...) [[OAILogger sharedLogger] debugLog:[NSString stringWithFormat:@"%s", __PRETTY_FUNCTION__] message: format, ##__VA_ARGS__]; -#endif - -@interface OAILogger : NSObject - -+(instancetype)sharedLogger; - -/** - * Enabled switch, default NO - default set by OAIConfiguration debug property - */ -@property (nonatomic, assign, getter=isEnabled) BOOL enabled; - -/** - * Debug file location, default log in console - */ -@property (nonatomic, strong) NSString *loggingFile; - -/** - * Log file handler, this property is used by sdk internally. - */ -@property (nonatomic, strong, readonly) NSFileHandle *loggingFileHandler; - -/** - * Log debug message - */ --(void)debugLog:(NSString *)method message:(NSString *)format, ...; - -/** - * Logs request and response - * - * @param response NSURLResponse for the HTTP request. - * @param responseObject response object of the HTTP request. - * @param request The HTTP request. - * @param error The error of the HTTP request. - */ -- (void)logResponse:(NSURLResponse *)response responseObject:(id)responseObject request:(NSURLRequest *)request error:(NSError *)error; - -@end diff --git a/objc/OpenAPIClient/Core/OAILogger.m b/objc/OpenAPIClient/Core/OAILogger.m deleted file mode 100644 index 42b950681..000000000 --- a/objc/OpenAPIClient/Core/OAILogger.m +++ /dev/null @@ -1,73 +0,0 @@ -#import "OAILogger.h" - -@interface OAILogger () - -@end - -@implementation OAILogger - -+ (instancetype) sharedLogger { - static OAILogger *shardLogger = nil; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - shardLogger = [[self alloc] init]; - }); - return shardLogger; -} - -#pragma mark - Log Methods - -- (void)debugLog:(NSString *)method message:(NSString *)format, ... { - if (!self.isEnabled) { - return; - } - - NSMutableString *message = [NSMutableString stringWithCapacity:1]; - - if (method) { - [message appendFormat:@"%@: ", method]; - } - - va_list args; - va_start(args, format); - - [message appendString:[[NSString alloc] initWithFormat:format arguments:args]]; - - // If set logging file handler, log into file, - // otherwise log into console. - if (self.loggingFileHandler) { - [self.loggingFileHandler seekToEndOfFile]; - [self.loggingFileHandler writeData:[message dataUsingEncoding:NSUTF8StringEncoding]]; - } else { - NSLog(@"%@", message); - } - - va_end(args); -} - -- (void)logResponse:(NSURLResponse *)response responseObject:(id)responseObject request:(NSURLRequest *)request error:(NSError *)error { - NSString *message = [NSString stringWithFormat:@"\n[DEBUG] HTTP request body \n~BEGIN~\n %@\n~END~\n"\ - "[DEBUG] HTTP response body \n~BEGIN~\n %@\n~END~\n", - [[NSString alloc] initWithData:request.HTTPBody encoding:NSUTF8StringEncoding], - responseObject]; - - OAIDebugLog(message); -} - -- (void) setLoggingFile:(NSString *)loggingFile { - if(_loggingFile == loggingFile) { - return; - } - // close old file handler - if ([self.loggingFileHandler isKindOfClass:[NSFileHandle class]]) { - [self.loggingFileHandler closeFile]; - } - _loggingFile = loggingFile; - _loggingFileHandler = [NSFileHandle fileHandleForWritingAtPath:_loggingFile]; - if (_loggingFileHandler == nil) { - [[NSFileManager defaultManager] createFileAtPath:_loggingFile contents:nil attributes:nil]; - _loggingFileHandler = [NSFileHandle fileHandleForWritingAtPath:_loggingFile]; - } -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIObject.h b/objc/OpenAPIClient/Core/OAIObject.h deleted file mode 100644 index a975738a7..000000000 --- a/objc/OpenAPIClient/Core/OAIObject.h +++ /dev/null @@ -1,19 +0,0 @@ -#import -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -@interface OAIObject : JSONModel - -@end diff --git a/objc/OpenAPIClient/Core/OAIObject.m b/objc/OpenAPIClient/Core/OAIObject.m deleted file mode 100644 index 46d1e7d65..000000000 --- a/objc/OpenAPIClient/Core/OAIObject.m +++ /dev/null @@ -1,44 +0,0 @@ -#import "OAIObject.h" - -@implementation OAIObject - -/** - * Workaround for JSONModel multithreading issues - * https://github.com/icanzilb/JSONModel/issues/441 - */ -- (instancetype)initWithDictionary:(NSDictionary *)dict error:(NSError **)err { - static NSMutableSet *classNames; - static NSObject *lock; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - classNames = [NSMutableSet new]; - lock = [NSObject new]; - }); - - BOOL initSync; - @synchronized(lock) - { - NSString *className = NSStringFromClass([self class]); - initSync = ![classNames containsObject:className]; - if(initSync) - { - [classNames addObject:className]; - self = [super initWithDictionary:dict error:err]; - } - } - if(!initSync) - { - self = [super initWithDictionary:dict error:err]; - } - return self; -} - -/** - * Gets the string presentation of the object. - * This method will be called when logging model object using `NSLog`. - */ -- (NSString *)description { - return [[self toDictionary] description]; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIQueryParamCollection.h b/objc/OpenAPIClient/Core/OAIQueryParamCollection.h deleted file mode 100644 index 15d340bc0..000000000 --- a/objc/OpenAPIClient/Core/OAIQueryParamCollection.h +++ /dev/null @@ -1,24 +0,0 @@ -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -@interface OAIQueryParamCollection : NSObject - -@property(nonatomic, readonly) NSArray* values; -@property(nonatomic, readonly) NSString* format; - -- (id) initWithValuesAndFormat: (NSArray*) values - format: (NSString*) format; - -@end diff --git a/objc/OpenAPIClient/Core/OAIQueryParamCollection.m b/objc/OpenAPIClient/Core/OAIQueryParamCollection.m deleted file mode 100644 index 2dc3151b4..000000000 --- a/objc/OpenAPIClient/Core/OAIQueryParamCollection.m +++ /dev/null @@ -1,20 +0,0 @@ -#import "OAIQueryParamCollection.h" - -@implementation OAIQueryParamCollection - -@synthesize values = _values; -@synthesize format = _format; - -- (id)initWithValuesAndFormat:(NSArray *)values - format:(NSString *)format { - - self = [super init]; - if (self) { - _values = values; - _format = format; - } - - return self; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAIResponseDeserializer.h b/objc/OpenAPIClient/Core/OAIResponseDeserializer.h deleted file mode 100644 index 065a1f3e5..000000000 --- a/objc/OpenAPIClient/Core/OAIResponseDeserializer.h +++ /dev/null @@ -1,57 +0,0 @@ -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -/** - * A key for deserialization ErrorDomain - */ -extern NSString *const OAIDeserializationErrorDomainKey; - -/** - * Code for deserialization type mismatch error - */ -extern NSInteger const OAITypeMismatchErrorCode; - -/** - * Code for deserialization empty value error - */ -extern NSInteger const OAIEmptyValueOccurredErrorCode; - -/** - * Error code for unknown response - */ -extern NSInteger const OAIUnknownResponseObjectErrorCode; - -@protocol OAIResponseDeserializer - -/** - * Deserializes the given data to Objective-C object. - * - * @param data The data will be deserialized. - * @param className The type of objective-c object. - * @param error The error - */ -- (id) deserialize:(id) data class:(NSString *) className error:(NSError**)error; - -@end - -@interface OAIResponseDeserializer : NSObject - -/** - * If a null value occurs in dictionary or array if set to YES whole response will be invalid else will be ignored - * @default NO - */ -@property (nonatomic, assign) BOOL treatNullAsError; - -@end diff --git a/objc/OpenAPIClient/Core/OAIResponseDeserializer.m b/objc/OpenAPIClient/Core/OAIResponseDeserializer.m deleted file mode 100644 index 46ffcb25e..000000000 --- a/objc/OpenAPIClient/Core/OAIResponseDeserializer.m +++ /dev/null @@ -1,247 +0,0 @@ -#import "OAIResponseDeserializer.h" -#import -#import - -NSString *const OAIDeserializationErrorDomainKey = @"OAIDeserializationErrorDomainKey"; - -NSInteger const OAITypeMismatchErrorCode = 143553; - -NSInteger const OAIEmptyValueOccurredErrorCode = 143509; - -NSInteger const OAIUnknownResponseObjectErrorCode = 143528; - - -@interface OAIResponseDeserializer () - -@property (nonatomic, strong) NSNumberFormatter* numberFormatter; -@property (nonatomic, strong) NSArray *primitiveTypes; -@property (nonatomic, strong) NSArray *basicReturnTypes; -@property (nonatomic, strong) NSArray *dataReturnTypes; - -@property (nonatomic, strong) NSRegularExpression* arrayOfModelsPatExpression; -@property (nonatomic, strong) NSRegularExpression* arrayOfPrimitivesPatExpression; -@property (nonatomic, strong) NSRegularExpression* dictPatExpression; -@property (nonatomic, strong) NSRegularExpression* dictModelsPatExpression; - -@end - -@implementation OAIResponseDeserializer - -- (instancetype)init { - self = [super init]; - if (self) { - NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; - formatter.numberStyle = NSNumberFormatterDecimalStyle; - _numberFormatter = formatter; - _primitiveTypes = @[@"NSString", @"NSDate", @"NSNumber"]; - _basicReturnTypes = @[@"NSObject", @"id"]; - _dataReturnTypes = @[@"NSData"]; - - _arrayOfModelsPatExpression = [NSRegularExpression regularExpressionWithPattern:@"NSArray<(.+)>" - options:NSRegularExpressionCaseInsensitive - error:nil]; - _arrayOfPrimitivesPatExpression = [NSRegularExpression regularExpressionWithPattern:@"NSArray\\* /\\* (.+) \\*/" - options:NSRegularExpressionCaseInsensitive - error:nil]; - _dictPatExpression = [NSRegularExpression regularExpressionWithPattern:@"NSDictionary\\* /\\* (.+?), (.+) \\*/" - options:NSRegularExpressionCaseInsensitive - error:nil]; - _dictModelsPatExpression = [NSRegularExpression regularExpressionWithPattern:@"NSDictionary\\<(.+?), (.+)*\\>" - options:NSRegularExpressionCaseInsensitive - error:nil]; - } - return self; -} - -#pragma mark - Deserialize methods - -- (id) deserialize:(id) data class:(NSString *) className error:(NSError **) error { - if (!data || !className) { - return nil; - } - - if ([className hasSuffix:@"*"]) { - className = [className substringToIndex:[className length] - 1]; - } - if([self.dataReturnTypes containsObject:className]) { - return data; - } - id jsonData = nil; - if([data isKindOfClass:[NSData class]]) { - jsonData = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:error]; - } else { - jsonData = data; - } - if(!jsonData) { - jsonData = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; - } else if([jsonData isKindOfClass:[NSNull class]]) { - return nil; - } - - // pure object - if ([self.basicReturnTypes containsObject:className]) { - return jsonData; - } - - // primitives - if ([self.primitiveTypes containsObject:className]) { - return [self deserializePrimitiveValue:jsonData class:className error:error]; - } - - NSTextCheckingResult *match = nil; - NSRange range = NSMakeRange(0, [className length]); - // list of models - match = [self.arrayOfModelsPatExpression firstMatchInString:className options:0 range:range]; - if (match) { - NSString *innerType = [className substringWithRange:[match rangeAtIndex:1]]; - return [self deserializeArrayValue:jsonData innerType:innerType error:error]; - } - - // list of primitives - match = [self.arrayOfPrimitivesPatExpression firstMatchInString:className options:0 range:range]; - if (match) { - NSString *innerType = [className substringWithRange:[match rangeAtIndex:1]]; - return [self deserializeArrayValue:jsonData innerType:innerType error:error]; - } - - // map - match = [self.dictPatExpression firstMatchInString:className options:0 range:range]; - if (match) { - NSString *valueType = [className substringWithRange:[match rangeAtIndex:2]]; - return [self deserializeDictionaryValue:jsonData valueType:valueType error:error]; - } - - match = [self.dictModelsPatExpression firstMatchInString:className options:0 range:range]; - if (match) { - NSString *valueType = [className substringWithRange:[match rangeAtIndex:2]]; - return [self deserializeDictionaryValue:jsonData valueType:valueType error:error]; - } - - // model - Class ModelClass = NSClassFromString(className); - if ([ModelClass instancesRespondToSelector:@selector(initWithDictionary:error:)]) { - return [(JSONModel *) [ModelClass alloc] initWithDictionary:jsonData error:error]; - } - - if(error) { - *error = [self unknownResponseErrorWithExpectedType:className data:jsonData]; - } - return nil; -} - -- (id) deserializeDictionaryValue:(id) data valueType:(NSString *) valueType error:(NSError**)error { - if(![data isKindOfClass: [NSDictionary class]]) { - if(error) { - *error = [self typeMismatchErrorWithExpectedType:NSStringFromClass([NSDictionary class]) data:data]; - } - return nil; - } - __block NSMutableDictionary *resultDict = [NSMutableDictionary dictionaryWithCapacity:[data count]]; - for (id key in [data allKeys]) { - id obj = [data valueForKey:key]; - id dicObj = [self deserialize:obj class:valueType error:error]; - if(dicObj) { - [resultDict setValue:dicObj forKey:key]; - } else if([obj isKindOfClass:[NSNull class]]) { - if(self.treatNullAsError) { - if (error) { - *error = [self emptyValueOccurredError]; - } - resultDict = nil; - break; - } - } else { - resultDict = nil; - break; - } - } - return resultDict; -} - -- (id) deserializeArrayValue:(id) data innerType:(NSString *) innerType error:(NSError**)error { - if(![data isKindOfClass: [NSArray class]]) { - if(error) { - *error = [self typeMismatchErrorWithExpectedType:NSStringFromClass([NSArray class]) data:data]; - } - return nil; - } - NSMutableArray* resultArray = [NSMutableArray arrayWithCapacity:[data count]]; - for (id obj in data) { - id arrObj = [self deserialize:obj class:innerType error:error]; - if(arrObj) { - [resultArray addObject:arrObj]; - } else if([obj isKindOfClass:[NSNull class]]) { - if(self.treatNullAsError) { - if (error) { - *error = [self emptyValueOccurredError]; - } - resultArray = nil; - break; - } - } else { - resultArray = nil; - break; - } - } - return resultArray; -}; - -- (id) deserializePrimitiveValue:(id) data class:(NSString *) className error:(NSError**)error { - if ([className isEqualToString:@"NSString"]) { - return [NSString stringWithFormat:@"%@",data]; - } - else if ([className isEqualToString:@"NSDate"]) { - return [self deserializeDateValue:data error:error]; - } - else if ([className isEqualToString:@"NSNumber"]) { - // NSNumber from NSNumber - if ([data isKindOfClass:[NSNumber class]]) { - return data; - } - else if ([data isKindOfClass:[NSString class]]) { - // NSNumber (NSCFBoolean) from NSString - if ([[data lowercaseString] isEqualToString:@"true"] || [[data lowercaseString] isEqualToString:@"false"]) { - return @([data boolValue]); - // NSNumber from NSString - } else { - NSNumber* formattedValue = [self.numberFormatter numberFromString:data]; - if(!formattedValue && [data length] > 0 && error) { - *error = [self typeMismatchErrorWithExpectedType:className data:data]; - } - return formattedValue; - } - } - } - if(error) { - *error = [self typeMismatchErrorWithExpectedType:className data:data]; - } - return nil; -} - -- (id) deserializeDateValue:(id) data error:(NSError**)error { - NSDate *date =[NSDate dateWithISO8601String:data]; - if(!date && [data length] > 0 && error) { - *error = [self typeMismatchErrorWithExpectedType:NSStringFromClass([NSDate class]) data:data]; - } - return date; -}; - --(NSError *)typeMismatchErrorWithExpectedType:(NSString *)expected data:(id)data { - NSString * message = [NSString stringWithFormat:NSLocalizedString(@"Received response [%@] is not an object of type %@",nil),data, expected]; - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : message}; - return [NSError errorWithDomain:OAIDeserializationErrorDomainKey code:OAITypeMismatchErrorCode userInfo:userInfo]; -} - --(NSError *)emptyValueOccurredError { - NSString * message = NSLocalizedString(@"Received response contains null value in dictionary or array response",nil); - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : message}; - return [NSError errorWithDomain:OAIDeserializationErrorDomainKey code:OAIEmptyValueOccurredErrorCode userInfo:userInfo]; -} - --(NSError *)unknownResponseErrorWithExpectedType:(NSString *)expected data:(id)data { - NSString * message = [NSString stringWithFormat:NSLocalizedString(@"Unknown response expected type %@ [response: %@]",nil),expected,data]; - NSDictionary * userInfo = @{NSLocalizedDescriptionKey : message}; - return [NSError errorWithDomain:OAIDeserializationErrorDomainKey code:OAIUnknownResponseObjectErrorCode userInfo:userInfo]; -} - -@end diff --git a/objc/OpenAPIClient/Core/OAISanitizer.h b/objc/OpenAPIClient/Core/OAISanitizer.h deleted file mode 100644 index 0f5ba9d47..000000000 --- a/objc/OpenAPIClient/Core/OAISanitizer.h +++ /dev/null @@ -1,63 +0,0 @@ -#import - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -extern NSString * OAIPercentEscapedStringFromString(NSString *string); - -extern NSString * const kOAIApplicationJSONType; - -@protocol OAISanitizer - -/** - * Sanitize object for request - * - * @param object The query/path/header/form/body param to be sanitized. - */ -- (id) sanitizeForSerialization:(id) object; - -/** - * Convert parameter to NSString - */ -- (NSString *) parameterToString: (id) param; - -/** - * Convert date to NSString - */ -+ (NSString *)dateToString:(id)date; - -/** - * Detects Accept header from accepts NSArray - * - * @param accepts NSArray of header - * - * @return The Accept header - */ --(NSString *) selectHeaderAccept:(NSArray *)accepts; - -/** - * Detects Content-Type header from contentTypes NSArray - * - * @param contentTypes NSArray of header - * - * @return The Content-Type header - */ --(NSString *) selectHeaderContentType:(NSArray *)contentTypes; - -@end - -@interface OAISanitizer : NSObject - - - -@end diff --git a/objc/OpenAPIClient/Core/OAISanitizer.m b/objc/OpenAPIClient/Core/OAISanitizer.m deleted file mode 100644 index cbc3f6628..000000000 --- a/objc/OpenAPIClient/Core/OAISanitizer.m +++ /dev/null @@ -1,170 +0,0 @@ -#import "OAISanitizer.h" -#import "OAIObject.h" -#import "OAIQueryParamCollection.h" -#import "OAIDefaultConfiguration.h" -#import - -NSString * const kOAIApplicationJSONType = @"application/json"; - -NSString * OAIPercentEscapedStringFromString(NSString *string) { - static NSString * const kOAICharactersGeneralDelimitersToEncode = @":#[]@"; - static NSString * const kOAICharactersSubDelimitersToEncode = @"!$&'()*+,;="; - - NSMutableCharacterSet * allowedCharacterSet = [[NSCharacterSet URLQueryAllowedCharacterSet] mutableCopy]; - [allowedCharacterSet removeCharactersInString:[kOAICharactersGeneralDelimitersToEncode stringByAppendingString:kOAICharactersSubDelimitersToEncode]]; - - static NSUInteger const batchSize = 50; - - NSUInteger index = 0; - NSMutableString *escaped = @"".mutableCopy; - - while (index < string.length) { - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wgnu" - NSUInteger length = MIN(string.length - index, batchSize); - #pragma GCC diagnostic pop - NSRange range = NSMakeRange(index, length); - - // To avoid breaking up character sequences such as 👴🏻👮🏽 - range = [string rangeOfComposedCharacterSequencesForRange:range]; - - NSString *substring = [string substringWithRange:range]; - NSString *encoded = [substring stringByAddingPercentEncodingWithAllowedCharacters:allowedCharacterSet]; - [escaped appendString:encoded]; - - index += range.length; - } - - return escaped; -} - -@interface OAISanitizer () - -@property (nonatomic, strong) NSRegularExpression* jsonHeaderTypeExpression; - -@end - -@implementation OAISanitizer - --(instancetype)init { - self = [super init]; - if ( !self ) { - return nil; - } - _jsonHeaderTypeExpression = [NSRegularExpression regularExpressionWithPattern:@"(.*)application(.*)json(.*)" options:NSRegularExpressionCaseInsensitive error:nil]; - return self; -} - - -- (id) sanitizeForSerialization:(id) object { - if (object == nil) { - return nil; - } - else if ([object isKindOfClass:[NSString class]] || [object isKindOfClass:[NSNumber class]] || [object isKindOfClass:[OAIQueryParamCollection class]]) { - return object; - } - else if ([object isKindOfClass:[NSDate class]]) { - return [OAISanitizer dateToString:object]; - } - else if ([object isKindOfClass:[NSArray class]]) { - NSArray *objectArray = object; - NSMutableArray *sanitizedObjs = [NSMutableArray arrayWithCapacity:[objectArray count]]; - [object enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { - id sanitizedObj = [self sanitizeForSerialization:obj]; - if (sanitizedObj) { - [sanitizedObjs addObject:sanitizedObj]; - } - }]; - return sanitizedObjs; - } - else if ([object isKindOfClass:[NSDictionary class]]) { - NSDictionary *objectDict = object; - NSMutableDictionary *sanitizedObjs = [NSMutableDictionary dictionaryWithCapacity:[objectDict count]]; - [object enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) { - id sanitizedObj = [self sanitizeForSerialization:obj]; - if (sanitizedObj) { - sanitizedObjs[key] = sanitizedObj; - } - }]; - return sanitizedObjs; - } - else if ([object isKindOfClass:[OAIObject class]]) { - return [object toDictionary]; - } - else { - NSException *e = [NSException - exceptionWithName:@"InvalidObjectArgumentException" - reason:[NSString stringWithFormat:@"*** The argument object: %@ is invalid", object] - userInfo:nil]; - @throw e; - } -} - -- (NSString *) parameterToString:(id)param { - if ([param isKindOfClass:[NSString class]]) { - return param; - } - else if ([param isKindOfClass:[NSNumber class]]) { - return [param stringValue]; - } - else if ([param isKindOfClass:[NSDate class]]) { - return [OAISanitizer dateToString:param]; - } - else if ([param isKindOfClass:[NSArray class]]) { - NSMutableArray *mutableParam = [NSMutableArray array]; - [param enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { - [mutableParam addObject:[self parameterToString:obj]]; - }]; - return [mutableParam componentsJoinedByString:@","]; - } - else { - NSException *e = [NSException - exceptionWithName:@"InvalidObjectArgumentException" - reason:[NSString stringWithFormat:@"*** The argument object: %@ is invalid", param] - userInfo:nil]; - @throw e; - } -} - -+ (NSString *)dateToString:(id)date { - NSTimeZone* timeZone = [OAIDefaultConfiguration sharedConfig].serializationTimeZone; - return [date ISO8601StringWithTimeZone:timeZone usingCalendar:nil]; -} - -#pragma mark - Utility Methods - -/* - * Detect `Accept` from accepts - */ -- (NSString *) selectHeaderAccept:(NSArray *)accepts { - if (accepts.count == 0) { - return @""; - } - NSMutableArray *lowerAccepts = [[NSMutableArray alloc] initWithCapacity:[accepts count]]; - for (NSString *string in accepts) { - if ([self.jsonHeaderTypeExpression matchesInString:string options:0 range:NSMakeRange(0, [string length])].count > 0) { - return kOAIApplicationJSONType; - } - [lowerAccepts addObject:[string lowercaseString]]; - } - return [lowerAccepts componentsJoinedByString:@", "]; -} - -/* - * Detect `Content-Type` from contentTypes - */ -- (NSString *) selectHeaderContentType:(NSArray *)contentTypes { - if (contentTypes.count == 0) { - return kOAIApplicationJSONType; - } - NSMutableArray *lowerContentTypes = [[NSMutableArray alloc] initWithCapacity:[contentTypes count]]; - for (NSString *string in contentTypes) { - if([self.jsonHeaderTypeExpression matchesInString:string options:0 range:NSMakeRange(0, [string length])].count > 0){ - return kOAIApplicationJSONType; - } - [lowerContentTypes addObject:[string lowercaseString]]; - } - return [lowerContentTypes firstObject]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.h b/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.h deleted file mode 100644 index 068ee496e..000000000 --- a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAddMealPlanTemplate200ResponseItemsInner.h" -#import "OAISet.h" -@protocol OAIAddMealPlanTemplate200ResponseItemsInner; -@class OAIAddMealPlanTemplate200ResponseItemsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAddMealPlanTemplate200Response -@end - -@interface OAIAddMealPlanTemplate200Response : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) OAISet* items; - -@property(nonatomic) NSNumber* publishAsPublic; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.m b/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.m deleted file mode 100644 index 5187e57a2..000000000 --- a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddMealPlanTemplate200Response.h" - -@implementation OAIAddMealPlanTemplate200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"items": @"items", @"publishAsPublic": @"publishAsPublic" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.h b/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.h deleted file mode 100644 index 3f4df0d30..000000000 --- a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAddMealPlanTemplate200ResponseItemsInnerValue.h" -@protocol OAIAddMealPlanTemplate200ResponseItemsInnerValue; -@class OAIAddMealPlanTemplate200ResponseItemsInnerValue; - - - -@protocol OAIAddMealPlanTemplate200ResponseItemsInner -@end - -@interface OAIAddMealPlanTemplate200ResponseItemsInner : OAIObject - - -@property(nonatomic) NSNumber* day; - -@property(nonatomic) NSNumber* slot; - -@property(nonatomic) NSNumber* position; - -@property(nonatomic) NSString* type; - -@property(nonatomic) OAIAddMealPlanTemplate200ResponseItemsInnerValue* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.m b/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.m deleted file mode 100644 index 6d53940f6..000000000 --- a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddMealPlanTemplate200ResponseItemsInner.h" - -@implementation OAIAddMealPlanTemplate200ResponseItemsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"day": @"day", @"slot": @"slot", @"position": @"position", @"type": @"type", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"value"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.h b/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.h deleted file mode 100644 index ca782521b..000000000 --- a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAddMealPlanTemplate200ResponseItemsInnerValue -@end - -@interface OAIAddMealPlanTemplate200ResponseItemsInnerValue : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* imageType; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.m b/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.m deleted file mode 100644 index 207440577..000000000 --- a/objc/OpenAPIClient/Model/OAIAddMealPlanTemplate200ResponseItemsInnerValue.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddMealPlanTemplate200ResponseItemsInnerValue.h" - -@implementation OAIAddMealPlanTemplate200ResponseItemsInnerValue - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"servings": @"servings", @"title": @"title", @"imageType": @"imageType" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"_id", @"servings", @"title", @"imageType"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequest.h b/objc/OpenAPIClient/Model/OAIAddToMealPlanRequest.h deleted file mode 100644 index 7e3ab9c40..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAddToMealPlanRequestValue.h" -@protocol OAIAddToMealPlanRequestValue; -@class OAIAddToMealPlanRequestValue; - - - -@protocol OAIAddToMealPlanRequest -@end - -@interface OAIAddToMealPlanRequest : OAIObject - - -@property(nonatomic) NSNumber* date; - -@property(nonatomic) NSNumber* slot; - -@property(nonatomic) NSNumber* position; - -@property(nonatomic) NSString* type; - -@property(nonatomic) OAIAddToMealPlanRequestValue* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequest.m b/objc/OpenAPIClient/Model/OAIAddToMealPlanRequest.m deleted file mode 100644 index 082993185..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddToMealPlanRequest.h" - -@implementation OAIAddToMealPlanRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"date": @"date", @"slot": @"slot", @"position": @"position", @"type": @"type", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValue.h b/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValue.h deleted file mode 100644 index a7ab634e1..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValue.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAddToMealPlanRequestValueIngredientsInner.h" -#import "OAISet.h" -@protocol OAIAddToMealPlanRequestValueIngredientsInner; -@class OAIAddToMealPlanRequestValueIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAddToMealPlanRequestValue -@end - -@interface OAIAddToMealPlanRequestValue : OAIObject - - -@property(nonatomic) OAISet* ingredients; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValue.m b/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValue.m deleted file mode 100644 index 3bb318047..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValue.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddToMealPlanRequestValue.h" - -@implementation OAIAddToMealPlanRequestValue - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"ingredients": @"ingredients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.h b/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.h deleted file mode 100644 index 85d986e2d..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAddToMealPlanRequestValueIngredientsInner -@end - -@interface OAIAddToMealPlanRequestValueIngredientsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.m b/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.m deleted file mode 100644 index b91e47468..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToMealPlanRequestValueIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddToMealPlanRequestValueIngredientsInner.h" - -@implementation OAIAddToMealPlanRequestValueIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToShoppingListRequest.h b/objc/OpenAPIClient/Model/OAIAddToShoppingListRequest.h deleted file mode 100644 index de5302e38..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToShoppingListRequest.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAddToShoppingListRequest -@end - -@interface OAIAddToShoppingListRequest : OAIObject - - -@property(nonatomic) NSString* item; - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSNumber* parse; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAddToShoppingListRequest.m b/objc/OpenAPIClient/Model/OAIAddToShoppingListRequest.m deleted file mode 100644 index 5e0dee659..000000000 --- a/objc/OpenAPIClient/Model/OAIAddToShoppingListRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAddToShoppingListRequest.h" - -@implementation OAIAddToShoppingListRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"item": @"item", @"aisle": @"aisle", @"parse": @"parse" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.h b/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.h deleted file mode 100644 index 50ffe9be0..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.h +++ /dev/null @@ -1,43 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.h" -#import "OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.h" -#import "OAISet.h" -@protocol OAIAnalyzeARecipeSearchQuery200ResponseDishesInner; -@class OAIAnalyzeARecipeSearchQuery200ResponseDishesInner; -@protocol OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner; -@class OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAnalyzeARecipeSearchQuery200Response -@end - -@interface OAIAnalyzeARecipeSearchQuery200Response : OAIObject - - -@property(nonatomic) OAISet* dishes; - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) NSArray* cuisines; - -@property(nonatomic) NSArray* modifiers; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.m b/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.m deleted file mode 100644 index e2c7cc02e..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeARecipeSearchQuery200Response.h" - -@implementation OAIAnalyzeARecipeSearchQuery200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"dishes": @"dishes", @"ingredients": @"ingredients", @"cuisines": @"cuisines", @"modifiers": @"modifiers" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.h b/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.h deleted file mode 100644 index 54a56ca5d..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAnalyzeARecipeSearchQuery200ResponseDishesInner -@end - -@interface OAIAnalyzeARecipeSearchQuery200ResponseDishesInner : OAIObject - - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.m b/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.m deleted file mode 100644 index 7c9378eb1..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.h" - -@implementation OAIAnalyzeARecipeSearchQuery200ResponseDishesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"image": @"image", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.h deleted file mode 100644 index 684fd3fb1..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner -@end - -@interface OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSNumber* include; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.m deleted file mode 100644 index 283b932bd..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.h" - -@implementation OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"image": @"image", @"include": @"include", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.h b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.h deleted file mode 100644 index be0ee83f1..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.h +++ /dev/null @@ -1,41 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.h" -#import "OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.h" -#import "OAISet.h" -@protocol OAIAnalyzeRecipeInstructions200ResponseIngredientsInner; -@class OAIAnalyzeRecipeInstructions200ResponseIngredientsInner; -@protocol OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner; -@class OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAnalyzeRecipeInstructions200Response -@end - -@interface OAIAnalyzeRecipeInstructions200Response : OAIObject - - -@property(nonatomic) OAISet* parsedInstructions; - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) OAISet* equipment; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.m b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.m deleted file mode 100644 index e37c1ab33..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeRecipeInstructions200Response.h" - -@implementation OAIAnalyzeRecipeInstructions200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"parsedInstructions": @"parsedInstructions", @"ingredients": @"ingredients", @"equipment": @"equipment" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.h deleted file mode 100644 index 4984a7a60..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAnalyzeRecipeInstructions200ResponseIngredientsInner -@end - -@interface OAIAnalyzeRecipeInstructions200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.m deleted file mode 100644 index 8a203cadd..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.h" - -@implementation OAIAnalyzeRecipeInstructions200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.h b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.h deleted file mode 100644 index b8a46af3a..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h" -#import "OAISet.h" -@protocol OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner; -@class OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner -@end - -@interface OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) OAISet* steps; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.m b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.m deleted file mode 100644 index d3a00dcea..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.h" - -@implementation OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"steps": @"steps" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"steps"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h deleted file mode 100644 index 47de98376..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h" -#import "OAISet.h" -@protocol OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner; -@class OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner -@end - -@interface OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner : OAIObject - - -@property(nonatomic) NSNumber* number; - -@property(nonatomic) NSString* step; - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) OAISet* equipment; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m deleted file mode 100644 index 0c2ab50ff..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h" - -@implementation OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"number": @"number", @"step": @"step", @"ingredients": @"ingredients", @"equipment": @"equipment" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"ingredients", @"equipment"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h deleted file mode 100644 index 075cc4d3e..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner -@end - -@interface OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* localizedName; - -@property(nonatomic) NSString* image; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m deleted file mode 100644 index 02f8dd0f7..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h" - -@implementation OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name", @"localizedName": @"localizedName", @"image": @"image" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeRequest.h b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeRequest.h deleted file mode 100644 index f157be026..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeRequest.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAnalyzeRecipeRequest -@end - -@interface OAIAnalyzeRecipeRequest : OAIObject - - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSArray* ingredients; - -@property(nonatomic) NSString* instructions; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeRequest.m b/objc/OpenAPIClient/Model/OAIAnalyzeRecipeRequest.m deleted file mode 100644 index 3024b2192..000000000 --- a/objc/OpenAPIClient/Model/OAIAnalyzeRecipeRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAnalyzeRecipeRequest.h" - -@implementation OAIAnalyzeRecipeRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"title": @"title", @"servings": @"servings", @"ingredients": @"ingredients", @"instructions": @"instructions" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"title", @"servings", @"ingredients", @"instructions"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.h b/objc/OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.h deleted file mode 100644 index 7cc0b83b7..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAutocompleteIngredientSearch200ResponseInner -@end - -@interface OAIAutocompleteIngredientSearch200ResponseInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSArray* possibleUnits; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.m b/objc/OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.m deleted file mode 100644 index a4f0e282d..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteIngredientSearch200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAutocompleteIngredientSearch200ResponseInner.h" - -@implementation OAIAutocompleteIngredientSearch200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"image": @"image", @"_id": @"id", @"aisle": @"aisle", @"possibleUnits": @"possibleUnits" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"_id", @"aisle", @"possibleUnits"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.h b/objc/OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.h deleted file mode 100644 index 0ba2f3f07..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAutocompleteProductSearch200ResponseResultsInner.h" -#import "OAISet.h" -@protocol OAIAutocompleteProductSearch200ResponseResultsInner; -@class OAIAutocompleteProductSearch200ResponseResultsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAutocompleteMenuItemSearch200Response -@end - -@interface OAIAutocompleteMenuItemSearch200Response : OAIObject - - -@property(nonatomic) OAISet* results; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.m b/objc/OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.m deleted file mode 100644 index dc0fe03de..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteMenuItemSearch200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAutocompleteMenuItemSearch200Response.h" - -@implementation OAIAutocompleteMenuItemSearch200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"results": @"results" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.h b/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.h deleted file mode 100644 index 0389cec26..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAutocompleteProductSearch200ResponseResultsInner.h" -#import "OAISet.h" -@protocol OAIAutocompleteProductSearch200ResponseResultsInner; -@class OAIAutocompleteProductSearch200ResponseResultsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIAutocompleteProductSearch200Response -@end - -@interface OAIAutocompleteProductSearch200Response : OAIObject - - -@property(nonatomic) OAISet* results; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.m b/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.m deleted file mode 100644 index 7b25b643e..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAutocompleteProductSearch200Response.h" - -@implementation OAIAutocompleteProductSearch200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"results": @"results" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.h b/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.h deleted file mode 100644 index 96e28155f..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAutocompleteProductSearch200ResponseResultsInner -@end - -@interface OAIAutocompleteProductSearch200ResponseResultsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.m b/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.m deleted file mode 100644 index 4e0d12bcc..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteProductSearch200ResponseResultsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAutocompleteProductSearch200ResponseResultsInner.h" - -@implementation OAIAutocompleteProductSearch200ResponseResultsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.h b/objc/OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.h deleted file mode 100644 index b54fea33a..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIAutocompleteRecipeSearch200ResponseInner -@end - -@interface OAIAutocompleteRecipeSearch200ResponseInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* imageType; - -@end diff --git a/objc/OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.m b/objc/OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.m deleted file mode 100644 index e150d8746..000000000 --- a/objc/OpenAPIClient/Model/OAIAutocompleteRecipeSearch200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIAutocompleteRecipeSearch200ResponseInner.h" - -@implementation OAIAutocompleteRecipeSearch200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"imageType": @"imageType" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyCuisine200Response.h b/objc/OpenAPIClient/Model/OAIClassifyCuisine200Response.h deleted file mode 100644 index a63d90c08..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyCuisine200Response.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIClassifyCuisine200Response -@end - -@interface OAIClassifyCuisine200Response : OAIObject - - -@property(nonatomic) NSString* cuisine; - -@property(nonatomic) NSArray* cuisines; - -@property(nonatomic) NSNumber* confidence; - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyCuisine200Response.m b/objc/OpenAPIClient/Model/OAIClassifyCuisine200Response.m deleted file mode 100644 index b4c475154..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyCuisine200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIClassifyCuisine200Response.h" - -@implementation OAIClassifyCuisine200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"cuisine": @"cuisine", @"cuisines": @"cuisines", @"confidence": @"confidence" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.h b/objc/OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.h deleted file mode 100644 index 416ab45a8..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIClassifyGroceryProduct200Response -@end - -@interface OAIClassifyGroceryProduct200Response : OAIObject - - -@property(nonatomic) NSString* cleanTitle; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* category; - -@property(nonatomic) NSArray* breadcrumbs; - -@property(nonatomic) NSNumber* usdaCode; - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.m b/objc/OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.m deleted file mode 100644 index 904e9f504..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProduct200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIClassifyGroceryProduct200Response.h" - -@implementation OAIClassifyGroceryProduct200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"cleanTitle": @"cleanTitle", @"image": @"image", @"category": @"category", @"breadcrumbs": @"breadcrumbs", @"usdaCode": @"usdaCode" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.h b/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.h deleted file mode 100644 index 322c7f814..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIClassifyGroceryProductBulk200ResponseInner -@end - -@interface OAIClassifyGroceryProductBulk200ResponseInner : OAIObject - - -@property(nonatomic) NSString* cleanTitle; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* category; - -@property(nonatomic) NSArray* breadcrumbs; - -@property(nonatomic) NSNumber* usdaCode; - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.m b/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.m deleted file mode 100644 index fa473e76e..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulk200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIClassifyGroceryProductBulk200ResponseInner.h" - -@implementation OAIClassifyGroceryProductBulk200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"cleanTitle": @"cleanTitle", @"image": @"image", @"category": @"category", @"breadcrumbs": @"breadcrumbs", @"usdaCode": @"usdaCode" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.h b/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.h deleted file mode 100644 index 607d6ad50..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIClassifyGroceryProductBulkRequestInner -@end - -@interface OAIClassifyGroceryProductBulkRequestInner : OAIObject - - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* upc; - -@property(nonatomic) NSString* pluCode; - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.m b/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.m deleted file mode 100644 index f7a3d5512..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductBulkRequestInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIClassifyGroceryProductBulkRequestInner.h" - -@implementation OAIClassifyGroceryProductBulkRequestInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"title": @"title", @"upc": @"upc", @"pluCode": @"plu_code" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductRequest.h b/objc/OpenAPIClient/Model/OAIClassifyGroceryProductRequest.h deleted file mode 100644 index fee3db72a..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductRequest.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIClassifyGroceryProductRequest -@end - -@interface OAIClassifyGroceryProductRequest : OAIObject - - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* upc; - -@property(nonatomic) NSString* pluCode; - -@end diff --git a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductRequest.m b/objc/OpenAPIClient/Model/OAIClassifyGroceryProductRequest.m deleted file mode 100644 index 38ffd667e..000000000 --- a/objc/OpenAPIClient/Model/OAIClassifyGroceryProductRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIClassifyGroceryProductRequest.h" - -@implementation OAIClassifyGroceryProductRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"title": @"title", @"upc": @"upc", @"pluCode": @"plu_code" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.h b/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.h deleted file mode 100644 index 2da692b69..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIComputeGlycemicLoad200ResponseIngredientsInner.h" -#import "OAISet.h" -@protocol OAIComputeGlycemicLoad200ResponseIngredientsInner; -@class OAIComputeGlycemicLoad200ResponseIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIComputeGlycemicLoad200Response -@end - -@interface OAIComputeGlycemicLoad200Response : OAIObject - - -@property(nonatomic) NSNumber* totalGlycemicLoad; - -@property(nonatomic) OAISet* ingredients; - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.m b/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.m deleted file mode 100644 index 795473db3..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIComputeGlycemicLoad200Response.h" - -@implementation OAIComputeGlycemicLoad200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"totalGlycemicLoad": @"totalGlycemicLoad", @"ingredients": @"ingredients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.h deleted file mode 100644 index 17ccbc848..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIComputeGlycemicLoad200ResponseIngredientsInner -@end - -@interface OAIComputeGlycemicLoad200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* original; - -@property(nonatomic) NSNumber* glycemicIndex; - -@property(nonatomic) NSNumber* glycemicLoad; - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.m deleted file mode 100644 index bb546271b..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoad200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIComputeGlycemicLoad200ResponseIngredientsInner.h" - -@implementation OAIComputeGlycemicLoad200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"original": @"original", @"glycemicIndex": @"glycemicIndex", @"glycemicLoad": @"glycemicLoad" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.h b/objc/OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.h deleted file mode 100644 index 504d002e7..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIComputeGlycemicLoadRequest -@end - -@interface OAIComputeGlycemicLoadRequest : OAIObject - - -@property(nonatomic) NSArray* ingredients; - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.m b/objc/OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.m deleted file mode 100644 index 28cf5114e..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeGlycemicLoadRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIComputeGlycemicLoadRequest.h" - -@implementation OAIComputeGlycemicLoadRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"ingredients": @"ingredients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeIngredientAmount200Response.h b/objc/OpenAPIClient/Model/OAIComputeIngredientAmount200Response.h deleted file mode 100644 index 4a3e8fbdf..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeIngredientAmount200Response.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIComputeIngredientAmount200Response -@end - -@interface OAIComputeIngredientAmount200Response : OAIObject - - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@end diff --git a/objc/OpenAPIClient/Model/OAIComputeIngredientAmount200Response.m b/objc/OpenAPIClient/Model/OAIComputeIngredientAmount200Response.m deleted file mode 100644 index bc4b4d427..000000000 --- a/objc/OpenAPIClient/Model/OAIComputeIngredientAmount200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIComputeIngredientAmount200Response.h" - -@implementation OAIComputeIngredientAmount200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"amount": @"amount", @"unit": @"unit" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIConnectUser200Response.h b/objc/OpenAPIClient/Model/OAIConnectUser200Response.h deleted file mode 100644 index a8f3899c4..000000000 --- a/objc/OpenAPIClient/Model/OAIConnectUser200Response.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIConnectUser200Response -@end - -@interface OAIConnectUser200Response : OAIObject - - -@property(nonatomic) NSString* username; - -@property(nonatomic) NSString* hash; - -@end diff --git a/objc/OpenAPIClient/Model/OAIConnectUser200Response.m b/objc/OpenAPIClient/Model/OAIConnectUser200Response.m deleted file mode 100644 index 1a4584aea..000000000 --- a/objc/OpenAPIClient/Model/OAIConnectUser200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIConnectUser200Response.h" - -@implementation OAIConnectUser200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"username": @"username", @"hash": @"hash" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIConnectUserRequest.h b/objc/OpenAPIClient/Model/OAIConnectUserRequest.h deleted file mode 100644 index ce50cd8e7..000000000 --- a/objc/OpenAPIClient/Model/OAIConnectUserRequest.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIConnectUserRequest -@end - -@interface OAIConnectUserRequest : OAIObject - - -@property(nonatomic) NSString* username; - -@property(nonatomic) NSString* firstName; - -@property(nonatomic) NSString* lastName; - -@property(nonatomic) NSString* email; - -@end diff --git a/objc/OpenAPIClient/Model/OAIConnectUserRequest.m b/objc/OpenAPIClient/Model/OAIConnectUserRequest.m deleted file mode 100644 index 28e2157d6..000000000 --- a/objc/OpenAPIClient/Model/OAIConnectUserRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIConnectUserRequest.h" - -@implementation OAIConnectUserRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"username": @"username", @"firstName": @"firstName", @"lastName": @"lastName", @"email": @"email" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIConvertAmounts200Response.h b/objc/OpenAPIClient/Model/OAIConvertAmounts200Response.h deleted file mode 100644 index d3f65c9cc..000000000 --- a/objc/OpenAPIClient/Model/OAIConvertAmounts200Response.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIConvertAmounts200Response -@end - -@interface OAIConvertAmounts200Response : OAIObject - - -@property(nonatomic) NSNumber* sourceAmount; - -@property(nonatomic) NSString* sourceUnit; - -@property(nonatomic) NSNumber* targetAmount; - -@property(nonatomic) NSString* targetUnit; - -@property(nonatomic) NSString* answer; - -@end diff --git a/objc/OpenAPIClient/Model/OAIConvertAmounts200Response.m b/objc/OpenAPIClient/Model/OAIConvertAmounts200Response.m deleted file mode 100644 index 49c9a2688..000000000 --- a/objc/OpenAPIClient/Model/OAIConvertAmounts200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIConvertAmounts200Response.h" - -@implementation OAIConvertAmounts200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"sourceAmount": @"sourceAmount", @"sourceUnit": @"sourceUnit", @"targetAmount": @"targetAmount", @"targetUnit": @"targetUnit", @"answer": @"answer" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAICreateRecipeCard200Response.h b/objc/OpenAPIClient/Model/OAICreateRecipeCard200Response.h deleted file mode 100644 index 7d3fa0f37..000000000 --- a/objc/OpenAPIClient/Model/OAICreateRecipeCard200Response.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAICreateRecipeCard200Response -@end - -@interface OAICreateRecipeCard200Response : OAIObject - - -@property(nonatomic) NSString* url; - -@end diff --git a/objc/OpenAPIClient/Model/OAICreateRecipeCard200Response.m b/objc/OpenAPIClient/Model/OAICreateRecipeCard200Response.m deleted file mode 100644 index 192c079a3..000000000 --- a/objc/OpenAPIClient/Model/OAICreateRecipeCard200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAICreateRecipeCard200Response.h" - -@implementation OAICreateRecipeCard200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"url": @"url" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIDetectFoodInText200Response.h b/objc/OpenAPIClient/Model/OAIDetectFoodInText200Response.h deleted file mode 100644 index afa5a61a5..000000000 --- a/objc/OpenAPIClient/Model/OAIDetectFoodInText200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIDetectFoodInText200ResponseAnnotationsInner.h" -#import "OAISet.h" -@protocol OAIDetectFoodInText200ResponseAnnotationsInner; -@class OAIDetectFoodInText200ResponseAnnotationsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIDetectFoodInText200Response -@end - -@interface OAIDetectFoodInText200Response : OAIObject - - -@property(nonatomic) OAISet* annotations; - -@end diff --git a/objc/OpenAPIClient/Model/OAIDetectFoodInText200Response.m b/objc/OpenAPIClient/Model/OAIDetectFoodInText200Response.m deleted file mode 100644 index 85f19e280..000000000 --- a/objc/OpenAPIClient/Model/OAIDetectFoodInText200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIDetectFoodInText200Response.h" - -@implementation OAIDetectFoodInText200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"annotations": @"annotations" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.h b/objc/OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.h deleted file mode 100644 index b7f4e13a6..000000000 --- a/objc/OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIDetectFoodInText200ResponseAnnotationsInner -@end - -@interface OAIDetectFoodInText200ResponseAnnotationsInner : OAIObject - - -@property(nonatomic) NSString* annotation; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* tag; - -@end diff --git a/objc/OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.m b/objc/OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.m deleted file mode 100644 index 34861871f..000000000 --- a/objc/OpenAPIClient/Model/OAIDetectFoodInText200ResponseAnnotationsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIDetectFoodInText200ResponseAnnotationsInner.h" - -@implementation OAIDetectFoodInText200ResponseAnnotationsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"annotation": @"annotation", @"image": @"image", @"tag": @"tag" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200Response.h b/objc/OpenAPIClient/Model/OAIGenerateMealPlan200Response.h deleted file mode 100644 index c5237f364..000000000 --- a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200Response.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGenerateMealPlan200ResponseNutrients.h" -#import "OAIGetSimilarRecipes200ResponseInner.h" -#import "OAISet.h" -@protocol OAIGenerateMealPlan200ResponseNutrients; -@class OAIGenerateMealPlan200ResponseNutrients; -@protocol OAIGetSimilarRecipes200ResponseInner; -@class OAIGetSimilarRecipes200ResponseInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGenerateMealPlan200Response -@end - -@interface OAIGenerateMealPlan200Response : OAIObject - - -@property(nonatomic) OAISet* meals; - -@property(nonatomic) OAIGenerateMealPlan200ResponseNutrients* nutrients; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200Response.m b/objc/OpenAPIClient/Model/OAIGenerateMealPlan200Response.m deleted file mode 100644 index 9d72cda64..000000000 --- a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGenerateMealPlan200Response.h" - -@implementation OAIGenerateMealPlan200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"meals": @"meals", @"nutrients": @"nutrients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.h b/objc/OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.h deleted file mode 100644 index 990acd4dd..000000000 --- a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGenerateMealPlan200ResponseNutrients -@end - -@interface OAIGenerateMealPlan200ResponseNutrients : OAIObject - - -@property(nonatomic) NSNumber* calories; - -@property(nonatomic) NSNumber* carbohydrates; - -@property(nonatomic) NSNumber* fat; - -@property(nonatomic) NSNumber* protein; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.m b/objc/OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.m deleted file mode 100644 index 2070e78af..000000000 --- a/objc/OpenAPIClient/Model/OAIGenerateMealPlan200ResponseNutrients.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGenerateMealPlan200ResponseNutrients.h" - -@implementation OAIGenerateMealPlan200ResponseNutrients - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"calories": @"calories", @"carbohydrates": @"carbohydrates", @"fat": @"fat", @"protein": @"protein" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGenerateShoppingList200Response.h b/objc/OpenAPIClient/Model/OAIGenerateShoppingList200Response.h deleted file mode 100644 index aef009051..000000000 --- a/objc/OpenAPIClient/Model/OAIGenerateShoppingList200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetShoppingList200ResponseAislesInner.h" -#import "OAISet.h" -@protocol OAIGetShoppingList200ResponseAislesInner; -@class OAIGetShoppingList200ResponseAislesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGenerateShoppingList200Response -@end - -@interface OAIGenerateShoppingList200Response : OAIObject - - -@property(nonatomic) OAISet* aisles; - -@property(nonatomic) NSNumber* cost; - -@property(nonatomic) NSNumber* startDate; - -@property(nonatomic) NSNumber* endDate; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGenerateShoppingList200Response.m b/objc/OpenAPIClient/Model/OAIGenerateShoppingList200Response.m deleted file mode 100644 index 7b50d3130..000000000 --- a/objc/OpenAPIClient/Model/OAIGenerateShoppingList200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGenerateShoppingList200Response.h" - -@implementation OAIGenerateShoppingList200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"aisles": @"aisles", @"cost": @"cost", @"startDate": @"startDate", @"endDate": @"endDate" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.h b/objc/OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.h deleted file mode 100644 index e32fb296a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetARandomFoodJoke200Response -@end - -@interface OAIGetARandomFoodJoke200Response : OAIObject - - -@property(nonatomic) NSString* text; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.m b/objc/OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.m deleted file mode 100644 index d06d23624..000000000 --- a/objc/OpenAPIClient/Model/OAIGetARandomFoodJoke200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetARandomFoodJoke200Response.h" - -@implementation OAIGetARandomFoodJoke200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"text": @"text" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.h b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.h deleted file mode 100644 index 73391a227..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.h +++ /dev/null @@ -1,41 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h" -#import "OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.h" -#import "OAISet.h" -@protocol OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner; -@class OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner; -@protocol OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner; -@class OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetAnalyzedRecipeInstructions200Response -@end - -@interface OAIGetAnalyzedRecipeInstructions200Response : OAIObject - - -@property(nonatomic) OAISet* parsedInstructions; - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) OAISet* equipment; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.m b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.m deleted file mode 100644 index c70631579..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetAnalyzedRecipeInstructions200Response.h" - -@implementation OAIGetAnalyzedRecipeInstructions200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"parsedInstructions": @"parsedInstructions", @"ingredients": @"ingredients", @"equipment": @"equipment" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h deleted file mode 100644 index 3a24b5930..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner -@end - -@interface OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.m deleted file mode 100644 index 10163d5e7..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h" - -@implementation OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.h b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.h deleted file mode 100644 index d93d86ed8..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h" -#import "OAISet.h" -@protocol OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner; -@class OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner -@end - -@interface OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) OAISet* steps; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.m b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.m deleted file mode 100644 index 499ba7c00..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.h" - -@implementation OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"steps": @"steps" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"steps"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h deleted file mode 100644 index b4c498bf0..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h" -#import "OAISet.h" -@protocol OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner; -@class OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner -@end - -@interface OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner : OAIObject - - -@property(nonatomic) NSNumber* number; - -@property(nonatomic) NSString* step; - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) OAISet* equipment; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m deleted file mode 100644 index 915bdab25..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.h" - -@implementation OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"number": @"number", @"step": @"step", @"ingredients": @"ingredients", @"equipment": @"equipment" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"ingredients", @"equipment"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h deleted file mode 100644 index 2832efc85..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner -@end - -@interface OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* localizedName; - -@property(nonatomic) NSString* image; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m b/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m deleted file mode 100644 index a5bc7340c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.h" - -@implementation OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name", @"localizedName": @"localizedName", @"image": @"image" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetComparableProducts200Response.h b/objc/OpenAPIClient/Model/OAIGetComparableProducts200Response.h deleted file mode 100644 index 58fd851cd..000000000 --- a/objc/OpenAPIClient/Model/OAIGetComparableProducts200Response.h +++ /dev/null @@ -1,31 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetComparableProducts200ResponseComparableProducts.h" -@protocol OAIGetComparableProducts200ResponseComparableProducts; -@class OAIGetComparableProducts200ResponseComparableProducts; - - - -@protocol OAIGetComparableProducts200Response -@end - -@interface OAIGetComparableProducts200Response : OAIObject - - -@property(nonatomic) OAIGetComparableProducts200ResponseComparableProducts* comparableProducts; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetComparableProducts200Response.m b/objc/OpenAPIClient/Model/OAIGetComparableProducts200Response.m deleted file mode 100644 index bd6375834..000000000 --- a/objc/OpenAPIClient/Model/OAIGetComparableProducts200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetComparableProducts200Response.h" - -@implementation OAIGetComparableProducts200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"comparableProducts": @"comparableProducts" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.h b/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.h deleted file mode 100644 index 4e950a503..000000000 --- a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.h +++ /dev/null @@ -1,44 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetComparableProducts200ResponseComparableProductsProteinInner.h" -#import "OAISet.h" -@protocol OAIGetComparableProducts200ResponseComparableProductsProteinInner; -@class OAIGetComparableProducts200ResponseComparableProductsProteinInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetComparableProducts200ResponseComparableProducts -@end - -@interface OAIGetComparableProducts200ResponseComparableProducts : OAIObject - - -@property(nonatomic) NSArray* calories; - -@property(nonatomic) NSArray* likes; - -@property(nonatomic) NSArray* price; - -@property(nonatomic) OAISet* protein; - -@property(nonatomic) OAISet* spoonacularScore; - -@property(nonatomic) NSArray* sugar; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.m b/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.m deleted file mode 100644 index d73afb00f..000000000 --- a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProducts.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetComparableProducts200ResponseComparableProducts.h" - -@implementation OAIGetComparableProducts200ResponseComparableProducts - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"calories": @"calories", @"likes": @"likes", @"price": @"price", @"protein": @"protein", @"spoonacularScore": @"spoonacularScore", @"sugar": @"sugar" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.h b/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.h deleted file mode 100644 index 14247d628..000000000 --- a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetComparableProducts200ResponseComparableProductsProteinInner -@end - -@interface OAIGetComparableProducts200ResponseComparableProductsProteinInner : OAIObject - - -@property(nonatomic) NSNumber* difference; - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* title; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.m b/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.m deleted file mode 100644 index 8832ea25c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetComparableProducts200ResponseComparableProductsProteinInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetComparableProducts200ResponseComparableProductsProteinInner.h" - -@implementation OAIGetComparableProducts200ResponseComparableProductsProteinInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"difference": @"difference", @"_id": @"id", @"image": @"image", @"title": @"title" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200Response.h b/objc/OpenAPIClient/Model/OAIGetConversationSuggests200Response.h deleted file mode 100644 index ba28a8a9a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200Response.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetConversationSuggests200ResponseSuggests.h" -@protocol OAIGetConversationSuggests200ResponseSuggests; -@class OAIGetConversationSuggests200ResponseSuggests; - - - -@protocol OAIGetConversationSuggests200Response -@end - -@interface OAIGetConversationSuggests200Response : OAIObject - - -@property(nonatomic) OAIGetConversationSuggests200ResponseSuggests* suggests; - -@property(nonatomic) NSArray* words; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200Response.m b/objc/OpenAPIClient/Model/OAIGetConversationSuggests200Response.m deleted file mode 100644 index 68fbcc70a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetConversationSuggests200Response.h" - -@implementation OAIGetConversationSuggests200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"suggests": @"suggests", @"words": @"words" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.h b/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.h deleted file mode 100644 index e496f3965..000000000 --- a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetConversationSuggests200ResponseSuggestsInner.h" -#import "OAISet.h" -@protocol OAIGetConversationSuggests200ResponseSuggestsInner; -@class OAIGetConversationSuggests200ResponseSuggestsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetConversationSuggests200ResponseSuggests -@end - -@interface OAIGetConversationSuggests200ResponseSuggests : OAIObject - - -@property(nonatomic) OAISet* _; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.m b/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.m deleted file mode 100644 index ee1a124b3..000000000 --- a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggests.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetConversationSuggests200ResponseSuggests.h" - -@implementation OAIGetConversationSuggests200ResponseSuggests - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_": @"_" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.h b/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.h deleted file mode 100644 index 7eb2aedee..000000000 --- a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetConversationSuggests200ResponseSuggestsInner -@end - -@interface OAIGetConversationSuggests200ResponseSuggestsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.m b/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.m deleted file mode 100644 index 18e77cc1c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetConversationSuggests200ResponseSuggestsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetConversationSuggests200ResponseSuggestsInner.h" - -@implementation OAIGetConversationSuggests200ResponseSuggestsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetDishPairingForWine200Response.h b/objc/OpenAPIClient/Model/OAIGetDishPairingForWine200Response.h deleted file mode 100644 index 2d73d637b..000000000 --- a/objc/OpenAPIClient/Model/OAIGetDishPairingForWine200Response.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetDishPairingForWine200Response -@end - -@interface OAIGetDishPairingForWine200Response : OAIObject - - -@property(nonatomic) NSArray* pairings; - -@property(nonatomic) NSString* text; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetDishPairingForWine200Response.m b/objc/OpenAPIClient/Model/OAIGetDishPairingForWine200Response.m deleted file mode 100644 index d7de666bc..000000000 --- a/objc/OpenAPIClient/Model/OAIGetDishPairingForWine200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetDishPairingForWine200Response.h" - -@implementation OAIGetDishPairingForWine200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"pairings": @"pairings", @"text": @"text" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200Response.h b/objc/OpenAPIClient/Model/OAIGetIngredientInformation200Response.h deleted file mode 100644 index bf50e3e26..000000000 --- a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200Response.h +++ /dev/null @@ -1,68 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetIngredientInformation200ResponseNutrition.h" -#import "OAIParseIngredients200ResponseInnerEstimatedCost.h" -@protocol OAIGetIngredientInformation200ResponseNutrition; -@class OAIGetIngredientInformation200ResponseNutrition; -@protocol OAIParseIngredients200ResponseInnerEstimatedCost; -@class OAIParseIngredients200ResponseInnerEstimatedCost; - - - -@protocol OAIGetIngredientInformation200Response -@end - -@interface OAIGetIngredientInformation200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* original; - -@property(nonatomic) NSString* originalName; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* nameClean; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSString* unitShort; - -@property(nonatomic) NSString* unitLong; - -@property(nonatomic) NSArray* possibleUnits; - -@property(nonatomic) OAIParseIngredients200ResponseInnerEstimatedCost* estimatedCost; - -@property(nonatomic) NSString* consistency; - -@property(nonatomic) NSArray* shoppingListUnits; - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSArray* meta; - -@property(nonatomic) OAIGetIngredientInformation200ResponseNutrition* nutrition; - -@property(nonatomic) NSArray* categoryPath; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200Response.m b/objc/OpenAPIClient/Model/OAIGetIngredientInformation200Response.m deleted file mode 100644 index eb7dd38a2..000000000 --- a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetIngredientInformation200Response.h" - -@implementation OAIGetIngredientInformation200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"original": @"original", @"originalName": @"originalName", @"name": @"name", @"nameClean": @"nameClean", @"amount": @"amount", @"unit": @"unit", @"unitShort": @"unitShort", @"unitLong": @"unitLong", @"possibleUnits": @"possibleUnits", @"estimatedCost": @"estimatedCost", @"consistency": @"consistency", @"shoppingListUnits": @"shoppingListUnits", @"aisle": @"aisle", @"image": @"image", @"meta": @"meta", @"nutrition": @"nutrition", @"categoryPath": @"categoryPath" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.h b/objc/OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.h deleted file mode 100644 index 9e174a236..000000000 --- a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.h +++ /dev/null @@ -1,49 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h" -#import "OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h" -#import "OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h" -#import "OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h" -#import "OAISet.h" -@protocol OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown; -@class OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown; -@protocol OAIParseIngredients200ResponseInnerNutritionNutrientsInner; -@class OAIParseIngredients200ResponseInnerNutritionNutrientsInner; -@protocol OAIParseIngredients200ResponseInnerNutritionPropertiesInner; -@class OAIParseIngredients200ResponseInnerNutritionPropertiesInner; -@protocol OAIParseIngredients200ResponseInnerNutritionWeightPerServing; -@class OAIParseIngredients200ResponseInnerNutritionWeightPerServing; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetIngredientInformation200ResponseNutrition -@end - -@interface OAIGetIngredientInformation200ResponseNutrition : OAIObject - - -@property(nonatomic) OAISet* nutrients; - -@property(nonatomic) OAISet* properties; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown* caloricBreakdown; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionWeightPerServing* weightPerServing; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.m b/objc/OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.m deleted file mode 100644 index 21c3a9e8a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetIngredientInformation200ResponseNutrition.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetIngredientInformation200ResponseNutrition.h" - -@implementation OAIGetIngredientInformation200ResponseNutrition - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutrients": @"nutrients", @"properties": @"properties", @"caloricBreakdown": @"caloricBreakdown", @"weightPerServing": @"weightPerServing" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.h b/objc/OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.h deleted file mode 100644 index 334742c45..000000000 --- a/objc/OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetIngredientSubstitutes200Response -@end - -@interface OAIGetIngredientSubstitutes200Response : OAIObject - - -@property(nonatomic) NSString* ingredient; - -@property(nonatomic) NSArray* substitutes; - -@property(nonatomic) NSString* message; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.m b/objc/OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.m deleted file mode 100644 index 96fd730dc..000000000 --- a/objc/OpenAPIClient/Model/OAIGetIngredientSubstitutes200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetIngredientSubstitutes200Response.h" - -@implementation OAIGetIngredientSubstitutes200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"ingredient": @"ingredient", @"substitutes": @"substitutes", @"message": @"message" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.h b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.h deleted file mode 100644 index e0d8c1a98..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanTemplate200ResponseDaysInner.h" -#import "OAISet.h" -@protocol OAIGetMealPlanTemplate200ResponseDaysInner; -@class OAIGetMealPlanTemplate200ResponseDaysInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetMealPlanTemplate200Response -@end - -@interface OAIGetMealPlanTemplate200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) OAISet* days; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.m b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.m deleted file mode 100644 index 54d777d7b..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanTemplate200Response.h" - -@implementation OAIGetMealPlanTemplate200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name", @"days": @"days" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.h b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.h deleted file mode 100644 index 05411e1a7..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.h +++ /dev/null @@ -1,47 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.h" -#import "OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h" -#import "OAISet.h" -@protocol OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner; -@class OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner; -@protocol OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary; -@class OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetMealPlanTemplate200ResponseDaysInner -@end - -@interface OAIGetMealPlanTemplate200ResponseDaysInner : OAIObject - - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummary; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummaryBreakfast; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummaryLunch; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummaryDinner; - -@property(nonatomic) NSString* day; - -@property(nonatomic) OAISet* items; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.m b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.m deleted file mode 100644 index a71f0778c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanTemplate200ResponseDaysInner.h" - -@implementation OAIGetMealPlanTemplate200ResponseDaysInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutritionSummary": @"nutritionSummary", @"nutritionSummaryBreakfast": @"nutritionSummaryBreakfast", @"nutritionSummaryLunch": @"nutritionSummaryLunch", @"nutritionSummaryDinner": @"nutritionSummaryDinner", @"day": @"day", @"items": @"items" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"nutritionSummary", @"nutritionSummaryBreakfast", @"nutritionSummaryLunch", @"nutritionSummaryDinner", @"items"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.h b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.h deleted file mode 100644 index 8ca688e24..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.h" -@protocol OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue; -@class OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue; - - - -@protocol OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner -@end - -@interface OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSNumber* slot; - -@property(nonatomic) NSNumber* position; - -@property(nonatomic) NSString* type; - -@property(nonatomic) OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.m b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.m deleted file mode 100644 index faab13f58..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.h" - -@implementation OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"slot": @"slot", @"position": @"position", @"type": @"type", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"value"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.h b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.h deleted file mode 100644 index 50ace0a41..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue -@end - -@interface OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* imageType; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.m b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.m deleted file mode 100644 index c0b8823de..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.h" - -@implementation OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"imageType": @"imageType" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.h b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.h deleted file mode 100644 index c57913f5e..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.h" -#import "OAISet.h" -@protocol OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner; -@class OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetMealPlanTemplates200Response -@end - -@interface OAIGetMealPlanTemplates200Response : OAIObject - - -@property(nonatomic) OAISet* templates; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.m b/objc/OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.m deleted file mode 100644 index d6156c231..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanTemplates200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanTemplates200Response.h" - -@implementation OAIGetMealPlanTemplates200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"templates": @"templates" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200Response.h b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200Response.h deleted file mode 100644 index c2882b00b..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanWeek200ResponseDaysInner.h" -#import "OAISet.h" -@protocol OAIGetMealPlanWeek200ResponseDaysInner; -@class OAIGetMealPlanWeek200ResponseDaysInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetMealPlanWeek200Response -@end - -@interface OAIGetMealPlanWeek200Response : OAIObject - - -@property(nonatomic) OAISet* days; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200Response.m b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200Response.m deleted file mode 100644 index 469d17594..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanWeek200Response.h" - -@implementation OAIGetMealPlanWeek200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"days": @"days" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.h b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.h deleted file mode 100644 index 1daca696d..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.h +++ /dev/null @@ -1,49 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.h" -#import "OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h" -#import "OAISet.h" -@protocol OAIGetMealPlanWeek200ResponseDaysInnerItemsInner; -@class OAIGetMealPlanWeek200ResponseDaysInnerItemsInner; -@protocol OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary; -@class OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetMealPlanWeek200ResponseDaysInner -@end - -@interface OAIGetMealPlanWeek200ResponseDaysInner : OAIObject - - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummary; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummaryBreakfast; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummaryLunch; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary* nutritionSummaryDinner; - -@property(nonatomic) NSNumber* date; - -@property(nonatomic) NSString* day; - -@property(nonatomic) OAISet* items; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.m b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.m deleted file mode 100644 index 86592e556..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanWeek200ResponseDaysInner.h" - -@implementation OAIGetMealPlanWeek200ResponseDaysInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutritionSummary": @"nutritionSummary", @"nutritionSummaryBreakfast": @"nutritionSummaryBreakfast", @"nutritionSummaryLunch": @"nutritionSummaryLunch", @"nutritionSummaryDinner": @"nutritionSummaryDinner", @"date": @"date", @"day": @"day", @"items": @"items" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"nutritionSummary", @"nutritionSummaryBreakfast", @"nutritionSummaryLunch", @"nutritionSummaryDinner", @"items"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.h b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.h deleted file mode 100644 index 540b3f035..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.h" -@protocol OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue; -@class OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue; - - - -@protocol OAIGetMealPlanWeek200ResponseDaysInnerItemsInner -@end - -@interface OAIGetMealPlanWeek200ResponseDaysInnerItemsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSNumber* slot; - -@property(nonatomic) NSNumber* position; - -@property(nonatomic) NSString* type; - -@property(nonatomic) OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.m b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.m deleted file mode 100644 index 5815dd9ee..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.h" - -@implementation OAIGetMealPlanWeek200ResponseDaysInnerItemsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"slot": @"slot", @"position": @"position", @"type": @"type", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"value"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.h b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.h deleted file mode 100644 index 1c5fdaeac..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue -@end - -@interface OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue : OAIObject - - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* imageType; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.m b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.m deleted file mode 100644 index a7b1302bb..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.h" - -@implementation OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"servings": @"servings", @"_id": @"id", @"title": @"title", @"imageType": @"imageType" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h deleted file mode 100644 index 88c5215d9..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.h" -#import "OAISet.h" -@protocol OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner; -@class OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary -@end - -@interface OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary : OAIObject - - -@property(nonatomic) OAISet* nutrients; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.m b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.m deleted file mode 100644 index 1cd849206..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.h" - -@implementation OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutrients": @"nutrients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.h b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.h deleted file mode 100644 index 22fda19b6..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner -@end - -@interface OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSNumber* percentDailyNeeds; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.m b/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.m deleted file mode 100644 index 8a6ce3546..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.h" - -@implementation OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"amount": @"amount", @"unit": @"unit", @"percentDailyNeeds": @"percentDailyNeeds" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMenuItemInformation200Response.h b/objc/OpenAPIClient/Model/OAIGetMenuItemInformation200Response.h deleted file mode 100644 index 6e5998587..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMenuItemInformation200Response.h +++ /dev/null @@ -1,56 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchGroceryProductsByUPC200ResponseNutrition.h" -#import "OAISearchGroceryProductsByUPC200ResponseServings.h" -@protocol OAISearchGroceryProductsByUPC200ResponseNutrition; -@class OAISearchGroceryProductsByUPC200ResponseNutrition; -@protocol OAISearchGroceryProductsByUPC200ResponseServings; -@class OAISearchGroceryProductsByUPC200ResponseServings; - - - -@protocol OAIGetMenuItemInformation200Response -@end - -@interface OAIGetMenuItemInformation200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* restaurantChain; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseNutrition* nutrition; - -@property(nonatomic) NSArray* badges; - -@property(nonatomic) NSArray* breadcrumbs; - -@property(nonatomic) NSString* generatedText; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* likes; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseServings* servings; - -@property(nonatomic) NSNumber* price; - -@property(nonatomic) NSNumber* spoonacularScore; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetMenuItemInformation200Response.m b/objc/OpenAPIClient/Model/OAIGetMenuItemInformation200Response.m deleted file mode 100644 index 4cc7f3490..000000000 --- a/objc/OpenAPIClient/Model/OAIGetMenuItemInformation200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetMenuItemInformation200Response.h" - -@implementation OAIGetMenuItemInformation200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"restaurantChain": @"restaurantChain", @"nutrition": @"nutrition", @"badges": @"badges", @"breadcrumbs": @"breadcrumbs", @"generatedText": @"generatedText", @"imageType": @"imageType", @"likes": @"likes", @"servings": @"servings", @"price": @"price", @"spoonacularScore": @"spoonacularScore" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"generatedText", @"price", @"spoonacularScore"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetProductInformation200Response.h b/objc/OpenAPIClient/Model/OAIGetProductInformation200Response.h deleted file mode 100644 index 14feeb149..000000000 --- a/objc/OpenAPIClient/Model/OAIGetProductInformation200Response.h +++ /dev/null @@ -1,67 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetProductInformation200ResponseIngredientsInner.h" -#import "OAISearchGroceryProductsByUPC200ResponseNutrition.h" -#import "OAISearchGroceryProductsByUPC200ResponseServings.h" -@protocol OAIGetProductInformation200ResponseIngredientsInner; -@class OAIGetProductInformation200ResponseIngredientsInner; -@protocol OAISearchGroceryProductsByUPC200ResponseNutrition; -@class OAISearchGroceryProductsByUPC200ResponseNutrition; -@protocol OAISearchGroceryProductsByUPC200ResponseServings; -@class OAISearchGroceryProductsByUPC200ResponseServings; - - - -@protocol OAIGetProductInformation200Response -@end - -@interface OAIGetProductInformation200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSArray* breadcrumbs; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSArray* badges; - -@property(nonatomic) NSArray* importantBadges; - -@property(nonatomic) NSNumber* ingredientCount; - -@property(nonatomic) NSString* generatedText; - -@property(nonatomic) NSString* ingredientList; - -@property(nonatomic) NSArray* ingredients; - -@property(nonatomic) NSNumber* likes; - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseNutrition* nutrition; - -@property(nonatomic) NSNumber* price; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseServings* servings; - -@property(nonatomic) NSNumber* spoonacularScore; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetProductInformation200Response.m b/objc/OpenAPIClient/Model/OAIGetProductInformation200Response.m deleted file mode 100644 index cc29fddcd..000000000 --- a/objc/OpenAPIClient/Model/OAIGetProductInformation200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetProductInformation200Response.h" - -@implementation OAIGetProductInformation200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"breadcrumbs": @"breadcrumbs", @"imageType": @"imageType", @"badges": @"badges", @"importantBadges": @"importantBadges", @"ingredientCount": @"ingredientCount", @"generatedText": @"generatedText", @"ingredientList": @"ingredientList", @"ingredients": @"ingredients", @"likes": @"likes", @"aisle": @"aisle", @"nutrition": @"nutrition", @"price": @"price", @"servings": @"servings", @"spoonacularScore": @"spoonacularScore" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"generatedText", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.h deleted file mode 100644 index 905040bdd..000000000 --- a/objc/OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetProductInformation200ResponseIngredientsInner -@end - -@interface OAIGetProductInformation200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) NSString* _description; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* safetyLevel; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.m deleted file mode 100644 index 98269a307..000000000 --- a/objc/OpenAPIClient/Model/OAIGetProductInformation200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetProductInformation200ResponseIngredientsInner.h" - -@implementation OAIGetProductInformation200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_description": @"description", @"name": @"name", @"safetyLevel": @"safety_level" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"_description", @"safetyLevel"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.h b/objc/OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.h deleted file mode 100644 index ea5519f62..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRandomFoodTrivia200Response -@end - -@interface OAIGetRandomFoodTrivia200Response : OAIObject - - -@property(nonatomic) NSString* text; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.m b/objc/OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.m deleted file mode 100644 index ce5f7286c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRandomFoodTrivia200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRandomFoodTrivia200Response.h" - -@implementation OAIGetRandomFoodTrivia200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"text": @"text" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200Response.h b/objc/OpenAPIClient/Model/OAIGetRandomRecipes200Response.h deleted file mode 100644 index 05deb4b3c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRandomRecipes200ResponseRecipesInner.h" -#import "OAISet.h" -@protocol OAIGetRandomRecipes200ResponseRecipesInner; -@class OAIGetRandomRecipes200ResponseRecipesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRandomRecipes200Response -@end - -@interface OAIGetRandomRecipes200Response : OAIObject - - -@property(nonatomic) OAISet* recipes; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200Response.m b/objc/OpenAPIClient/Model/OAIGetRandomRecipes200Response.m deleted file mode 100644 index a1af0c828..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRandomRecipes200Response.h" - -@implementation OAIGetRandomRecipes200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"recipes": @"recipes" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.h b/objc/OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.h deleted file mode 100644 index 51bfc5464..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.h +++ /dev/null @@ -1,109 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h" -#import "OAIGetRecipeInformation200ResponseWinePairing.h" -#import "OAISet.h" -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInner; -@class OAIGetRecipeInformation200ResponseExtendedIngredientsInner; -@protocol OAIGetRecipeInformation200ResponseWinePairing; -@class OAIGetRecipeInformation200ResponseWinePairing; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRandomRecipes200ResponseRecipesInner -@end - -@interface OAIGetRandomRecipes200ResponseRecipesInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSNumber* readyInMinutes; - -@property(nonatomic) NSString* license; - -@property(nonatomic) NSString* sourceName; - -@property(nonatomic) NSString* sourceUrl; - -@property(nonatomic) NSString* spoonacularSourceUrl; - -@property(nonatomic) NSNumber* aggregateLikes; - -@property(nonatomic) NSNumber* healthScore; - -@property(nonatomic) NSNumber* spoonacularScore; - -@property(nonatomic) NSNumber* pricePerServing; - -@property(nonatomic) NSArray* analyzedInstructions; - -@property(nonatomic) NSNumber* cheap; - -@property(nonatomic) NSString* creditsText; - -@property(nonatomic) NSArray* cuisines; - -@property(nonatomic) NSNumber* dairyFree; - -@property(nonatomic) NSArray* diets; - -@property(nonatomic) NSString* gaps; - -@property(nonatomic) NSNumber* glutenFree; - -@property(nonatomic) NSString* instructions; - -@property(nonatomic) NSNumber* ketogenic; - -@property(nonatomic) NSNumber* lowFodmap; - -@property(nonatomic) NSArray* occasions; - -@property(nonatomic) NSNumber* sustainable; - -@property(nonatomic) NSNumber* vegan; - -@property(nonatomic) NSNumber* vegetarian; - -@property(nonatomic) NSNumber* veryHealthy; - -@property(nonatomic) NSNumber* veryPopular; - -@property(nonatomic) NSNumber* whole30; - -@property(nonatomic) NSNumber* weightWatcherSmartPoints; - -@property(nonatomic) NSArray* dishTypes; - -@property(nonatomic) OAISet* extendedIngredients; - -@property(nonatomic) NSString* summary; - -@property(nonatomic) OAIGetRecipeInformation200ResponseWinePairing* winePairing; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.m b/objc/OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.m deleted file mode 100644 index 5ef79a32a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRandomRecipes200ResponseRecipesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRandomRecipes200ResponseRecipesInner.h" - -@implementation OAIGetRandomRecipes200ResponseRecipesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"image": @"image", @"imageType": @"imageType", @"servings": @"servings", @"readyInMinutes": @"readyInMinutes", @"license": @"license", @"sourceName": @"sourceName", @"sourceUrl": @"sourceUrl", @"spoonacularSourceUrl": @"spoonacularSourceUrl", @"aggregateLikes": @"aggregateLikes", @"healthScore": @"healthScore", @"spoonacularScore": @"spoonacularScore", @"pricePerServing": @"pricePerServing", @"analyzedInstructions": @"analyzedInstructions", @"cheap": @"cheap", @"creditsText": @"creditsText", @"cuisines": @"cuisines", @"dairyFree": @"dairyFree", @"diets": @"diets", @"gaps": @"gaps", @"glutenFree": @"glutenFree", @"instructions": @"instructions", @"ketogenic": @"ketogenic", @"lowFodmap": @"lowFodmap", @"occasions": @"occasions", @"sustainable": @"sustainable", @"vegan": @"vegan", @"vegetarian": @"vegetarian", @"veryHealthy": @"veryHealthy", @"veryPopular": @"veryPopular", @"whole30": @"whole30", @"weightWatcherSmartPoints": @"weightWatcherSmartPoints", @"dishTypes": @"dishTypes", @"extendedIngredients": @"extendedIngredients", @"summary": @"summary", @"winePairing": @"winePairing" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"analyzedInstructions", @"cuisines", @"diets", @"occasions", @"dishTypes", @"extendedIngredients", @"winePairing"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.h b/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.h deleted file mode 100644 index a3b5c1815..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeEquipmentByID200ResponseEquipmentInner.h" -#import "OAISet.h" -@protocol OAIGetRecipeEquipmentByID200ResponseEquipmentInner; -@class OAIGetRecipeEquipmentByID200ResponseEquipmentInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipeEquipmentByID200Response -@end - -@interface OAIGetRecipeEquipmentByID200Response : OAIObject - - -@property(nonatomic) OAISet* equipment; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.m b/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.m deleted file mode 100644 index b5b2c3ccd..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeEquipmentByID200Response.h" - -@implementation OAIGetRecipeEquipmentByID200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"equipment": @"equipment" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.h deleted file mode 100644 index 3c5fb7e1f..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipeEquipmentByID200ResponseEquipmentInner -@end - -@interface OAIGetRecipeEquipmentByID200ResponseEquipmentInner : OAIObject - - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.m deleted file mode 100644 index 0b5278849..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeEquipmentByID200ResponseEquipmentInner.h" - -@implementation OAIGetRecipeEquipmentByID200ResponseEquipmentInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"image": @"image", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200Response.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200Response.h deleted file mode 100644 index 83db8cbe2..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200Response.h +++ /dev/null @@ -1,109 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h" -#import "OAIGetRecipeInformation200ResponseWinePairing.h" -#import "OAISet.h" -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInner; -@class OAIGetRecipeInformation200ResponseExtendedIngredientsInner; -@protocol OAIGetRecipeInformation200ResponseWinePairing; -@class OAIGetRecipeInformation200ResponseWinePairing; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipeInformation200Response -@end - -@interface OAIGetRecipeInformation200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSNumber* readyInMinutes; - -@property(nonatomic) NSString* license; - -@property(nonatomic) NSString* sourceName; - -@property(nonatomic) NSString* sourceUrl; - -@property(nonatomic) NSString* spoonacularSourceUrl; - -@property(nonatomic) NSNumber* aggregateLikes; - -@property(nonatomic) NSNumber* healthScore; - -@property(nonatomic) NSNumber* spoonacularScore; - -@property(nonatomic) NSNumber* pricePerServing; - -@property(nonatomic) NSArray* analyzedInstructions; - -@property(nonatomic) NSNumber* cheap; - -@property(nonatomic) NSString* creditsText; - -@property(nonatomic) NSArray* cuisines; - -@property(nonatomic) NSNumber* dairyFree; - -@property(nonatomic) NSArray* diets; - -@property(nonatomic) NSString* gaps; - -@property(nonatomic) NSNumber* glutenFree; - -@property(nonatomic) NSString* instructions; - -@property(nonatomic) NSNumber* ketogenic; - -@property(nonatomic) NSNumber* lowFodmap; - -@property(nonatomic) NSArray* occasions; - -@property(nonatomic) NSNumber* sustainable; - -@property(nonatomic) NSNumber* vegan; - -@property(nonatomic) NSNumber* vegetarian; - -@property(nonatomic) NSNumber* veryHealthy; - -@property(nonatomic) NSNumber* veryPopular; - -@property(nonatomic) NSNumber* whole30; - -@property(nonatomic) NSNumber* weightWatcherSmartPoints; - -@property(nonatomic) NSArray* dishTypes; - -@property(nonatomic) OAISet* extendedIngredients; - -@property(nonatomic) NSString* summary; - -@property(nonatomic) OAIGetRecipeInformation200ResponseWinePairing* winePairing; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200Response.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200Response.m deleted file mode 100644 index 4f53935dc..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformation200Response.h" - -@implementation OAIGetRecipeInformation200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"image": @"image", @"imageType": @"imageType", @"servings": @"servings", @"readyInMinutes": @"readyInMinutes", @"license": @"license", @"sourceName": @"sourceName", @"sourceUrl": @"sourceUrl", @"spoonacularSourceUrl": @"spoonacularSourceUrl", @"aggregateLikes": @"aggregateLikes", @"healthScore": @"healthScore", @"spoonacularScore": @"spoonacularScore", @"pricePerServing": @"pricePerServing", @"analyzedInstructions": @"analyzedInstructions", @"cheap": @"cheap", @"creditsText": @"creditsText", @"cuisines": @"cuisines", @"dairyFree": @"dairyFree", @"diets": @"diets", @"gaps": @"gaps", @"glutenFree": @"glutenFree", @"instructions": @"instructions", @"ketogenic": @"ketogenic", @"lowFodmap": @"lowFodmap", @"occasions": @"occasions", @"sustainable": @"sustainable", @"vegan": @"vegan", @"vegetarian": @"vegetarian", @"veryHealthy": @"veryHealthy", @"veryPopular": @"veryPopular", @"whole30": @"whole30", @"weightWatcherSmartPoints": @"weightWatcherSmartPoints", @"dishTypes": @"dishTypes", @"extendedIngredients": @"extendedIngredients", @"summary": @"summary", @"winePairing": @"winePairing" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h deleted file mode 100644 index 7d49a6187..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h +++ /dev/null @@ -1,51 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.h" -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures; -@class OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures; - - - -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInner -@end - -@interface OAIGetRecipeInformation200ResponseExtendedIngredientsInner : OAIObject - - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* consitency; - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* image; - -@property(nonatomic) OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures* measures; - -@property(nonatomic) NSArray* meta; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* original; - -@property(nonatomic) NSString* originalName; - -@property(nonatomic) NSString* unit; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.m deleted file mode 100644 index ea8dde178..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h" - -@implementation OAIGetRecipeInformation200ResponseExtendedIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"aisle": @"aisle", @"amount": @"amount", @"consitency": @"consitency", @"_id": @"id", @"image": @"image", @"measures": @"measures", @"meta": @"meta", @"name": @"name", @"original": @"original", @"originalName": @"originalName", @"unit": @"unit" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"measures", @"meta", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.h deleted file mode 100644 index b3fd7d3cf..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.h" -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric; -@class OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric; - - - -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures -@end - -@interface OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures : OAIObject - - -@property(nonatomic) OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric* metric; - -@property(nonatomic) OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric* us; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.m deleted file mode 100644 index 5f04daeaf..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.h" - -@implementation OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"metric": @"metric", @"us": @"us" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.h deleted file mode 100644 index cda2e06b5..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric -@end - -@interface OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric : OAIObject - - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unitLong; - -@property(nonatomic) NSString* unitShort; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.m deleted file mode 100644 index 2162bdd9c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.h" - -@implementation OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"amount": @"amount", @"unitLong": @"unitLong", @"unitShort": @"unitShort" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.h deleted file mode 100644 index bac9e7cc5..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.h" -#import "OAISet.h" -@protocol OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner; -@class OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipeInformation200ResponseWinePairing -@end - -@interface OAIGetRecipeInformation200ResponseWinePairing : OAIObject - - -@property(nonatomic) NSArray* pairedWines; - -@property(nonatomic) NSString* pairingText; - -@property(nonatomic) OAISet* productMatches; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.m deleted file mode 100644 index 6508c4e48..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairing.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformation200ResponseWinePairing.h" - -@implementation OAIGetRecipeInformation200ResponseWinePairing - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"pairedWines": @"pairedWines", @"pairingText": @"pairingText", @"productMatches": @"productMatches" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.h deleted file mode 100644 index ed35cfe0a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.h +++ /dev/null @@ -1,44 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner -@end - -@interface OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* _description; - -@property(nonatomic) NSString* price; - -@property(nonatomic) NSString* imageUrl; - -@property(nonatomic) NSNumber* averageRating; - -@property(nonatomic) NSNumber* ratingCount; - -@property(nonatomic) NSNumber* score; - -@property(nonatomic) NSString* link; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.m deleted file mode 100644 index 230ad7e52..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.h" - -@implementation OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"_description": @"description", @"price": @"price", @"imageUrl": @"imageUrl", @"averageRating": @"averageRating", @"ratingCount": @"ratingCount", @"score": @"score", @"link": @"link" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.h deleted file mode 100644 index f2145c072..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.h +++ /dev/null @@ -1,109 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeInformation200ResponseExtendedIngredientsInner.h" -#import "OAIGetRecipeInformation200ResponseWinePairing.h" -#import "OAISet.h" -@protocol OAIGetRecipeInformation200ResponseExtendedIngredientsInner; -@class OAIGetRecipeInformation200ResponseExtendedIngredientsInner; -@protocol OAIGetRecipeInformation200ResponseWinePairing; -@class OAIGetRecipeInformation200ResponseWinePairing; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipeInformationBulk200ResponseInner -@end - -@interface OAIGetRecipeInformationBulk200ResponseInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSNumber* readyInMinutes; - -@property(nonatomic) NSString* license; - -@property(nonatomic) NSString* sourceName; - -@property(nonatomic) NSString* sourceUrl; - -@property(nonatomic) NSString* spoonacularSourceUrl; - -@property(nonatomic) NSNumber* aggregateLikes; - -@property(nonatomic) NSNumber* healthScore; - -@property(nonatomic) NSNumber* spoonacularScore; - -@property(nonatomic) NSNumber* pricePerServing; - -@property(nonatomic) NSArray* analyzedInstructions; - -@property(nonatomic) NSNumber* cheap; - -@property(nonatomic) NSString* creditsText; - -@property(nonatomic) NSArray* cuisines; - -@property(nonatomic) NSNumber* dairyFree; - -@property(nonatomic) NSArray* diets; - -@property(nonatomic) NSString* gaps; - -@property(nonatomic) NSNumber* glutenFree; - -@property(nonatomic) NSString* instructions; - -@property(nonatomic) NSNumber* ketogenic; - -@property(nonatomic) NSNumber* lowFodmap; - -@property(nonatomic) NSArray* occasions; - -@property(nonatomic) NSNumber* sustainable; - -@property(nonatomic) NSNumber* vegan; - -@property(nonatomic) NSNumber* vegetarian; - -@property(nonatomic) NSNumber* veryHealthy; - -@property(nonatomic) NSNumber* veryPopular; - -@property(nonatomic) NSNumber* whole30; - -@property(nonatomic) NSNumber* weightWatcherSmartPoints; - -@property(nonatomic) NSArray* dishTypes; - -@property(nonatomic) OAISet* extendedIngredients; - -@property(nonatomic) NSString* summary; - -@property(nonatomic) OAIGetRecipeInformation200ResponseWinePairing* winePairing; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.m deleted file mode 100644 index 66217541c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeInformationBulk200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeInformationBulk200ResponseInner.h" - -@implementation OAIGetRecipeInformationBulk200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"image": @"image", @"imageType": @"imageType", @"servings": @"servings", @"readyInMinutes": @"readyInMinutes", @"license": @"license", @"sourceName": @"sourceName", @"sourceUrl": @"sourceUrl", @"spoonacularSourceUrl": @"spoonacularSourceUrl", @"aggregateLikes": @"aggregateLikes", @"healthScore": @"healthScore", @"spoonacularScore": @"spoonacularScore", @"pricePerServing": @"pricePerServing", @"analyzedInstructions": @"analyzedInstructions", @"cheap": @"cheap", @"creditsText": @"creditsText", @"cuisines": @"cuisines", @"dairyFree": @"dairyFree", @"diets": @"diets", @"gaps": @"gaps", @"glutenFree": @"glutenFree", @"instructions": @"instructions", @"ketogenic": @"ketogenic", @"lowFodmap": @"lowFodmap", @"occasions": @"occasions", @"sustainable": @"sustainable", @"vegan": @"vegan", @"vegetarian": @"vegetarian", @"veryHealthy": @"veryHealthy", @"veryPopular": @"veryPopular", @"whole30": @"whole30", @"weightWatcherSmartPoints": @"weightWatcherSmartPoints", @"dishTypes": @"dishTypes", @"extendedIngredients": @"extendedIngredients", @"summary": @"summary", @"winePairing": @"winePairing" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.h b/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.h deleted file mode 100644 index e338c6397..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeIngredientsByID200ResponseIngredientsInner.h" -#import "OAISet.h" -@protocol OAIGetRecipeIngredientsByID200ResponseIngredientsInner; -@class OAIGetRecipeIngredientsByID200ResponseIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipeIngredientsByID200Response -@end - -@interface OAIGetRecipeIngredientsByID200Response : OAIObject - - -@property(nonatomic) OAISet* ingredients; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.m b/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.m deleted file mode 100644 index fc6b2149f..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeIngredientsByID200Response.h" - -@implementation OAIGetRecipeIngredientsByID200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"ingredients": @"ingredients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.h deleted file mode 100644 index fd8ca307a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.h +++ /dev/null @@ -1,35 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h" -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount; -@class OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount; - - - -@protocol OAIGetRecipeIngredientsByID200ResponseIngredientsInner -@end - -@interface OAIGetRecipeIngredientsByID200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount* amount; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.m deleted file mode 100644 index 5494c5ff9..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeIngredientsByID200ResponseIngredientsInner.h" - -@implementation OAIGetRecipeIngredientsByID200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"amount": @"amount", @"image": @"image", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"amount", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.h b/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.h deleted file mode 100644 index e850116b6..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.h +++ /dev/null @@ -1,47 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipeNutritionWidgetByID200ResponseBadInner.h" -#import "OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.h" -#import "OAISet.h" -@protocol OAIGetRecipeNutritionWidgetByID200ResponseBadInner; -@class OAIGetRecipeNutritionWidgetByID200ResponseBadInner; -@protocol OAIGetRecipeNutritionWidgetByID200ResponseGoodInner; -@class OAIGetRecipeNutritionWidgetByID200ResponseGoodInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipeNutritionWidgetByID200Response -@end - -@interface OAIGetRecipeNutritionWidgetByID200Response : OAIObject - - -@property(nonatomic) NSString* calories; - -@property(nonatomic) NSString* carbs; - -@property(nonatomic) NSString* fat; - -@property(nonatomic) NSString* protein; - -@property(nonatomic) OAISet* bad; - -@property(nonatomic) OAISet* good; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.m b/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.m deleted file mode 100644 index 9eb0325c6..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeNutritionWidgetByID200Response.h" - -@implementation OAIGetRecipeNutritionWidgetByID200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"calories": @"calories", @"carbs": @"carbs", @"fat": @"fat", @"protein": @"protein", @"bad": @"bad", @"good": @"good" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.h deleted file mode 100644 index be3fce0f2..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipeNutritionWidgetByID200ResponseBadInner -@end - -@interface OAIGetRecipeNutritionWidgetByID200ResponseBadInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* amount; - -@property(nonatomic) NSNumber* indented; - -@property(nonatomic) NSNumber* percentOfDailyNeeds; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.m deleted file mode 100644 index 5d8a9b5ab..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeNutritionWidgetByID200ResponseBadInner.h" - -@implementation OAIGetRecipeNutritionWidgetByID200ResponseBadInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"amount": @"amount", @"indented": @"indented", @"percentOfDailyNeeds": @"percentOfDailyNeeds" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.h b/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.h deleted file mode 100644 index cdc6ae33f..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipeNutritionWidgetByID200ResponseGoodInner -@end - -@interface OAIGetRecipeNutritionWidgetByID200ResponseGoodInner : OAIObject - - -@property(nonatomic) NSString* amount; - -@property(nonatomic) NSNumber* indented; - -@property(nonatomic) NSNumber* percentOfDailyNeeds; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.m b/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.m deleted file mode 100644 index e27445bf9..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.h" - -@implementation OAIGetRecipeNutritionWidgetByID200ResponseGoodInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"amount": @"amount", @"indented": @"indented", @"percentOfDailyNeeds": @"percentOfDailyNeeds", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.h b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.h deleted file mode 100644 index 21531dfc4..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.h" -#import "OAISet.h" -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner; -@class OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetRecipePriceBreakdownByID200Response -@end - -@interface OAIGetRecipePriceBreakdownByID200Response : OAIObject - - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) NSNumber* totalCost; - -@property(nonatomic) NSNumber* totalCostPerServing; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.m b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.m deleted file mode 100644 index 887ad5af6..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipePriceBreakdownByID200Response.h" - -@implementation OAIGetRecipePriceBreakdownByID200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"ingredients": @"ingredients", @"totalCost": @"totalCost", @"totalCostPerServing": @"totalCostPerServing" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.h deleted file mode 100644 index 1e75a852a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.h +++ /dev/null @@ -1,37 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h" -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount; -@class OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount; - - - -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner -@end - -@interface OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount* amount; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* price; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.m deleted file mode 100644 index b5b5eee9c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.h" - -@implementation OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"amount": @"amount", @"image": @"image", @"name": @"name", @"price": @"price" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"amount", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h deleted file mode 100644 index 55760df21..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.h" -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric; -@class OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric; - - - -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount -@end - -@interface OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount : OAIObject - - -@property(nonatomic) OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric* metric; - -@property(nonatomic) OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric* us; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.m b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.m deleted file mode 100644 index f09e78abe..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.h" - -@implementation OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"metric": @"metric", @"us": @"us" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.h b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.h deleted file mode 100644 index 335512513..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric -@end - -@interface OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric : OAIObject - - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSNumber* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.m b/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.m deleted file mode 100644 index 9cd14b239..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.h" - -@implementation OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"unit": @"unit", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.h b/objc/OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.h deleted file mode 100644 index 800c87308..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetRecipeTasteByID200Response -@end - -@interface OAIGetRecipeTasteByID200Response : OAIObject - - -@property(nonatomic) NSNumber* sweetness; - -@property(nonatomic) NSNumber* saltiness; - -@property(nonatomic) NSNumber* sourness; - -@property(nonatomic) NSNumber* bitterness; - -@property(nonatomic) NSNumber* savoriness; - -@property(nonatomic) NSNumber* fattiness; - -@property(nonatomic) NSNumber* spiciness; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.m b/objc/OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.m deleted file mode 100644 index 270aa0763..000000000 --- a/objc/OpenAPIClient/Model/OAIGetRecipeTasteByID200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetRecipeTasteByID200Response.h" - -@implementation OAIGetRecipeTasteByID200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"sweetness": @"sweetness", @"saltiness": @"saltiness", @"sourness": @"sourness", @"bitterness": @"bitterness", @"savoriness": @"savoriness", @"fattiness": @"fattiness", @"spiciness": @"spiciness" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200Response.h b/objc/OpenAPIClient/Model/OAIGetShoppingList200Response.h deleted file mode 100644 index 861f4d67a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetShoppingList200ResponseAislesInner.h" -#import "OAISet.h" -@protocol OAIGetShoppingList200ResponseAislesInner; -@class OAIGetShoppingList200ResponseAislesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetShoppingList200Response -@end - -@interface OAIGetShoppingList200Response : OAIObject - - -@property(nonatomic) OAISet* aisles; - -@property(nonatomic) NSNumber* cost; - -@property(nonatomic) NSNumber* startDate; - -@property(nonatomic) NSNumber* endDate; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200Response.m b/objc/OpenAPIClient/Model/OAIGetShoppingList200Response.m deleted file mode 100644 index 86b1f8c96..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetShoppingList200Response.h" - -@implementation OAIGetShoppingList200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"aisles": @"aisles", @"cost": @"cost", @"startDate": @"startDate", @"endDate": @"endDate" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.h b/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.h deleted file mode 100644 index 2bed85e58..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetShoppingList200ResponseAislesInnerItemsInner.h" -#import "OAISet.h" -@protocol OAIGetShoppingList200ResponseAislesInnerItemsInner; -@class OAIGetShoppingList200ResponseAislesInnerItemsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetShoppingList200ResponseAislesInner -@end - -@interface OAIGetShoppingList200ResponseAislesInner : OAIObject - - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) OAISet* items; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.m b/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.m deleted file mode 100644 index 72ffbd972..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetShoppingList200ResponseAislesInner.h" - -@implementation OAIGetShoppingList200ResponseAislesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"aisle": @"aisle", @"items": @"items" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"items"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.h b/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.h deleted file mode 100644 index 4e66b52c3..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.h +++ /dev/null @@ -1,43 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.h" -@protocol OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures; -@class OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures; - - - -@protocol OAIGetShoppingList200ResponseAislesInnerItemsInner -@end - -@interface OAIGetShoppingList200ResponseAislesInnerItemsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures* measures; - -@property(nonatomic) NSNumber* pantryItem; - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSNumber* cost; - -@property(nonatomic) NSNumber* ingredientId; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.m b/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.m deleted file mode 100644 index 0e706324e..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetShoppingList200ResponseAislesInnerItemsInner.h" - -@implementation OAIGetShoppingList200ResponseAislesInnerItemsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name", @"measures": @"measures", @"pantryItem": @"pantryItem", @"aisle": @"aisle", @"cost": @"cost", @"ingredientId": @"ingredientId" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"measures", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.h b/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.h deleted file mode 100644 index aa3be4117..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.h +++ /dev/null @@ -1,35 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h" -@protocol OAIParseIngredients200ResponseInnerNutritionWeightPerServing; -@class OAIParseIngredients200ResponseInnerNutritionWeightPerServing; - - - -@protocol OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures -@end - -@interface OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures : OAIObject - - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionWeightPerServing* original; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionWeightPerServing* metric; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionWeightPerServing* us; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.m b/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.m deleted file mode 100644 index d1b6c3aac..000000000 --- a/objc/OpenAPIClient/Model/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.h" - -@implementation OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"original": @"original", @"metric": @"metric", @"us": @"us" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.h b/objc/OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.h deleted file mode 100644 index dc6bc231b..000000000 --- a/objc/OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetSimilarRecipes200ResponseInner -@end - -@interface OAIGetSimilarRecipes200ResponseInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* readyInMinutes; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSString* sourceUrl; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.m b/objc/OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.m deleted file mode 100644 index 4367e2440..000000000 --- a/objc/OpenAPIClient/Model/OAIGetSimilarRecipes200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetSimilarRecipes200ResponseInner.h" - -@implementation OAIGetSimilarRecipes200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"imageType": @"imageType", @"readyInMinutes": @"readyInMinutes", @"servings": @"servings", @"sourceUrl": @"sourceUrl" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWineDescription200Response.h b/objc/OpenAPIClient/Model/OAIGetWineDescription200Response.h deleted file mode 100644 index 9c7f4b386..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWineDescription200Response.h +++ /dev/null @@ -1,28 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetWineDescription200Response -@end - -@interface OAIGetWineDescription200Response : OAIObject - - -@property(nonatomic) NSString* wineDescription; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWineDescription200Response.m b/objc/OpenAPIClient/Model/OAIGetWineDescription200Response.m deleted file mode 100644 index d2849999f..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWineDescription200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetWineDescription200Response.h" - -@implementation OAIGetWineDescription200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"wineDescription": @"wineDescription" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWinePairing200Response.h b/objc/OpenAPIClient/Model/OAIGetWinePairing200Response.h deleted file mode 100644 index a6b06a1cb..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWinePairing200Response.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetWinePairing200ResponseProductMatchesInner.h" -#import "OAISet.h" -@protocol OAIGetWinePairing200ResponseProductMatchesInner; -@class OAIGetWinePairing200ResponseProductMatchesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetWinePairing200Response -@end - -@interface OAIGetWinePairing200Response : OAIObject - - -@property(nonatomic) NSArray* pairedWines; - -@property(nonatomic) NSString* pairingText; - -@property(nonatomic) OAISet* productMatches; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWinePairing200Response.m b/objc/OpenAPIClient/Model/OAIGetWinePairing200Response.m deleted file mode 100644 index c9080ecfb..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWinePairing200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetWinePairing200Response.h" - -@implementation OAIGetWinePairing200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"pairedWines": @"pairedWines", @"pairingText": @"pairingText", @"productMatches": @"productMatches" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.h b/objc/OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.h deleted file mode 100644 index b1a38b56c..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.h +++ /dev/null @@ -1,44 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetWinePairing200ResponseProductMatchesInner -@end - -@interface OAIGetWinePairing200ResponseProductMatchesInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSNumber* averageRating; - -@property(nonatomic) NSString* _description; - -@property(nonatomic) NSString* imageUrl; - -@property(nonatomic) NSString* link; - -@property(nonatomic) NSString* price; - -@property(nonatomic) NSNumber* ratingCount; - -@property(nonatomic) NSNumber* score; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.m b/objc/OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.m deleted file mode 100644 index 746457311..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWinePairing200ResponseProductMatchesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetWinePairing200ResponseProductMatchesInner.h" - -@implementation OAIGetWinePairing200ResponseProductMatchesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"averageRating": @"averageRating", @"_description": @"description", @"imageUrl": @"imageUrl", @"link": @"link", @"price": @"price", @"ratingCount": @"ratingCount", @"score": @"score" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"_description", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200Response.h b/objc/OpenAPIClient/Model/OAIGetWineRecommendation200Response.h deleted file mode 100644 index 838cea73a..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200Response.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGetWineRecommendation200ResponseRecommendedWinesInner.h" -#import "OAISet.h" -@protocol OAIGetWineRecommendation200ResponseRecommendedWinesInner; -@class OAIGetWineRecommendation200ResponseRecommendedWinesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIGetWineRecommendation200Response -@end - -@interface OAIGetWineRecommendation200Response : OAIObject - - -@property(nonatomic) OAISet* recommendedWines; - -@property(nonatomic) NSNumber* totalFound; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200Response.m b/objc/OpenAPIClient/Model/OAIGetWineRecommendation200Response.m deleted file mode 100644 index e45b23dbc..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetWineRecommendation200Response.h" - -@implementation OAIGetWineRecommendation200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"recommendedWines": @"recommendedWines", @"totalFound": @"totalFound" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.h b/objc/OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.h deleted file mode 100644 index c42cb52fc..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.h +++ /dev/null @@ -1,44 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGetWineRecommendation200ResponseRecommendedWinesInner -@end - -@interface OAIGetWineRecommendation200ResponseRecommendedWinesInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSNumber* averageRating; - -@property(nonatomic) NSString* _description; - -@property(nonatomic) NSString* imageUrl; - -@property(nonatomic) NSString* link; - -@property(nonatomic) NSString* price; - -@property(nonatomic) NSNumber* ratingCount; - -@property(nonatomic) NSNumber* score; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.m b/objc/OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.m deleted file mode 100644 index 76af0c46f..000000000 --- a/objc/OpenAPIClient/Model/OAIGetWineRecommendation200ResponseRecommendedWinesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGetWineRecommendation200ResponseRecommendedWinesInner.h" - -@implementation OAIGetWineRecommendation200ResponseRecommendedWinesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"averageRating": @"averageRating", @"_description": @"description", @"imageUrl": @"imageUrl", @"link": @"link", @"price": @"price", @"ratingCount": @"ratingCount", @"score": @"score" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.h b/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.h deleted file mode 100644 index 38f57b3be..000000000 --- a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGuessNutritionByDishName200ResponseCalories.h" -@protocol OAIGuessNutritionByDishName200ResponseCalories; -@class OAIGuessNutritionByDishName200ResponseCalories; - - - -@protocol OAIGuessNutritionByDishName200Response -@end - -@interface OAIGuessNutritionByDishName200Response : OAIObject - - -@property(nonatomic) OAIGuessNutritionByDishName200ResponseCalories* calories; - -@property(nonatomic) OAIGuessNutritionByDishName200ResponseCalories* carbs; - -@property(nonatomic) OAIGuessNutritionByDishName200ResponseCalories* fat; - -@property(nonatomic) OAIGuessNutritionByDishName200ResponseCalories* protein; - -@property(nonatomic) NSNumber* recipesUsed; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.m b/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.m deleted file mode 100644 index 38187afbd..000000000 --- a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGuessNutritionByDishName200Response.h" - -@implementation OAIGuessNutritionByDishName200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"calories": @"calories", @"carbs": @"carbs", @"fat": @"fat", @"protein": @"protein", @"recipesUsed": @"recipesUsed" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.h b/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.h deleted file mode 100644 index ae59577bb..000000000 --- a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.h +++ /dev/null @@ -1,37 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.h" -@protocol OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent; -@class OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent; - - - -@protocol OAIGuessNutritionByDishName200ResponseCalories -@end - -@interface OAIGuessNutritionByDishName200ResponseCalories : OAIObject - - -@property(nonatomic) OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent* confidenceRange95Percent; - -@property(nonatomic) NSNumber* standardDeviation; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSNumber* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.m b/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.m deleted file mode 100644 index c092d80c4..000000000 --- a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCalories.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGuessNutritionByDishName200ResponseCalories.h" - -@implementation OAIGuessNutritionByDishName200ResponseCalories - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"confidenceRange95Percent": @"confidenceRange95Percent", @"standardDeviation": @"standardDeviation", @"unit": @"unit", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.h b/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.h deleted file mode 100644 index 42682acf1..000000000 --- a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent -@end - -@interface OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent : OAIObject - - -@property(nonatomic) NSNumber* max; - -@property(nonatomic) NSNumber* min; - -@end diff --git a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.m b/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.m deleted file mode 100644 index dd142a264..000000000 --- a/objc/OpenAPIClient/Model/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.h" - -@implementation OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"max": @"max", @"min": @"min" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200Response.h b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200Response.h deleted file mode 100644 index 4045911a4..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200Response.h +++ /dev/null @@ -1,44 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIImageAnalysisByURL200ResponseCategory.h" -#import "OAIImageAnalysisByURL200ResponseNutrition.h" -#import "OAIImageAnalysisByURL200ResponseRecipesInner.h" -#import "OAISet.h" -@protocol OAIImageAnalysisByURL200ResponseCategory; -@class OAIImageAnalysisByURL200ResponseCategory; -@protocol OAIImageAnalysisByURL200ResponseNutrition; -@class OAIImageAnalysisByURL200ResponseNutrition; -@protocol OAIImageAnalysisByURL200ResponseRecipesInner; -@class OAIImageAnalysisByURL200ResponseRecipesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIImageAnalysisByURL200Response -@end - -@interface OAIImageAnalysisByURL200Response : OAIObject - - -@property(nonatomic) OAIImageAnalysisByURL200ResponseNutrition* nutrition; - -@property(nonatomic) OAIImageAnalysisByURL200ResponseCategory* category; - -@property(nonatomic) OAISet* recipes; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200Response.m b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200Response.m deleted file mode 100644 index c113facbf..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageAnalysisByURL200Response.h" - -@implementation OAIImageAnalysisByURL200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutrition": @"nutrition", @"category": @"category", @"recipes": @"recipes" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.h b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.h deleted file mode 100644 index efa1d4b2c..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIImageAnalysisByURL200ResponseCategory -@end - -@interface OAIImageAnalysisByURL200ResponseCategory : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* probability; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.m b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.m deleted file mode 100644 index 8869b0cc7..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseCategory.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageAnalysisByURL200ResponseCategory.h" - -@implementation OAIImageAnalysisByURL200ResponseCategory - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"probability": @"probability" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.h b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.h deleted file mode 100644 index 8b05c921b..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIImageAnalysisByURL200ResponseNutritionCalories.h" -@protocol OAIImageAnalysisByURL200ResponseNutritionCalories; -@class OAIImageAnalysisByURL200ResponseNutritionCalories; - - - -@protocol OAIImageAnalysisByURL200ResponseNutrition -@end - -@interface OAIImageAnalysisByURL200ResponseNutrition : OAIObject - - -@property(nonatomic) NSNumber* recipesUsed; - -@property(nonatomic) OAIImageAnalysisByURL200ResponseNutritionCalories* calories; - -@property(nonatomic) OAIImageAnalysisByURL200ResponseNutritionCalories* fat; - -@property(nonatomic) OAIImageAnalysisByURL200ResponseNutritionCalories* protein; - -@property(nonatomic) OAIImageAnalysisByURL200ResponseNutritionCalories* carbs; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.m b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.m deleted file mode 100644 index be8df7c63..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutrition.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageAnalysisByURL200ResponseNutrition.h" - -@implementation OAIImageAnalysisByURL200ResponseNutrition - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"recipesUsed": @"recipesUsed", @"calories": @"calories", @"fat": @"fat", @"protein": @"protein", @"carbs": @"carbs" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.h b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.h deleted file mode 100644 index a8567ec53..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.h +++ /dev/null @@ -1,37 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.h" -@protocol OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent; -@class OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent; - - - -@protocol OAIImageAnalysisByURL200ResponseNutritionCalories -@end - -@interface OAIImageAnalysisByURL200ResponseNutritionCalories : OAIObject - - -@property(nonatomic) NSNumber* value; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent* confidenceRange95Percent; - -@property(nonatomic) NSNumber* standardDeviation; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.m b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.m deleted file mode 100644 index 0c7478404..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCalories.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageAnalysisByURL200ResponseNutritionCalories.h" - -@implementation OAIImageAnalysisByURL200ResponseNutritionCalories - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"value": @"value", @"unit": @"unit", @"confidenceRange95Percent": @"confidenceRange95Percent", @"standardDeviation": @"standardDeviation" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.h b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.h deleted file mode 100644 index 864d45fb5..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent -@end - -@interface OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent : OAIObject - - -@property(nonatomic) NSNumber* min; - -@property(nonatomic) NSNumber* max; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.m b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.m deleted file mode 100644 index 722943cd3..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.h" - -@implementation OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"min": @"min", @"max": @"max" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.h b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.h deleted file mode 100644 index cbc58c9d9..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIImageAnalysisByURL200ResponseRecipesInner -@end - -@interface OAIImageAnalysisByURL200ResponseRecipesInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSString* url; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.m b/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.m deleted file mode 100644 index 4fcf23af9..000000000 --- a/objc/OpenAPIClient/Model/OAIImageAnalysisByURL200ResponseRecipesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageAnalysisByURL200ResponseRecipesInner.h" - -@implementation OAIImageAnalysisByURL200ResponseRecipesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"imageType": @"imageType", @"url": @"url" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageClassificationByURL200Response.h b/objc/OpenAPIClient/Model/OAIImageClassificationByURL200Response.h deleted file mode 100644 index cbf768348..000000000 --- a/objc/OpenAPIClient/Model/OAIImageClassificationByURL200Response.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIImageClassificationByURL200Response -@end - -@interface OAIImageClassificationByURL200Response : OAIObject - - -@property(nonatomic) NSString* category; - -@property(nonatomic) NSNumber* probability; - -@end diff --git a/objc/OpenAPIClient/Model/OAIImageClassificationByURL200Response.m b/objc/OpenAPIClient/Model/OAIImageClassificationByURL200Response.m deleted file mode 100644 index 2a6f8d602..000000000 --- a/objc/OpenAPIClient/Model/OAIImageClassificationByURL200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIImageClassificationByURL200Response.h" - -@implementation OAIImageClassificationByURL200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"category": @"category", @"probability": @"probability" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIIngredientSearch200Response.h b/objc/OpenAPIClient/Model/OAIIngredientSearch200Response.h deleted file mode 100644 index 0191e0817..000000000 --- a/objc/OpenAPIClient/Model/OAIIngredientSearch200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIIngredientSearch200ResponseResultsInner.h" -#import "OAISet.h" -@protocol OAIIngredientSearch200ResponseResultsInner; -@class OAIIngredientSearch200ResponseResultsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIIngredientSearch200Response -@end - -@interface OAIIngredientSearch200Response : OAIObject - - -@property(nonatomic) OAISet* results; - -@property(nonatomic) NSNumber* offset; - -@property(nonatomic) NSNumber* number; - -@property(nonatomic) NSNumber* totalResults; - -@end diff --git a/objc/OpenAPIClient/Model/OAIIngredientSearch200Response.m b/objc/OpenAPIClient/Model/OAIIngredientSearch200Response.m deleted file mode 100644 index 10accf79d..000000000 --- a/objc/OpenAPIClient/Model/OAIIngredientSearch200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIIngredientSearch200Response.h" - -@implementation OAIIngredientSearch200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"results": @"results", @"offset": @"offset", @"number": @"number", @"totalResults": @"totalResults" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.h b/objc/OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.h deleted file mode 100644 index cb027d848..000000000 --- a/objc/OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIIngredientSearch200ResponseResultsInner -@end - -@interface OAIIngredientSearch200ResponseResultsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* image; - -@end diff --git a/objc/OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.m b/objc/OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.m deleted file mode 100644 index 514522083..000000000 --- a/objc/OpenAPIClient/Model/OAIIngredientSearch200ResponseResultsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIIngredientSearch200ResponseResultsInner.h" - -@implementation OAIIngredientSearch200ResponseResultsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name", @"image": @"image" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.h b/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.h deleted file mode 100644 index 8c5ed2154..000000000 --- a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.h +++ /dev/null @@ -1,42 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.h" -#import "OAISet.h" -@protocol OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner; -@class OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIMapIngredientsToGroceryProducts200ResponseInner -@end - -@interface OAIMapIngredientsToGroceryProducts200ResponseInner : OAIObject - - -@property(nonatomic) NSString* original; - -@property(nonatomic) NSString* originalName; - -@property(nonatomic) NSString* ingredientImage; - -@property(nonatomic) NSArray* meta; - -@property(nonatomic) OAISet* products; - -@end diff --git a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.m b/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.m deleted file mode 100644 index 87fc674f5..000000000 --- a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIMapIngredientsToGroceryProducts200ResponseInner.h" - -@implementation OAIMapIngredientsToGroceryProducts200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"original": @"original", @"originalName": @"originalName", @"ingredientImage": @"ingredientImage", @"meta": @"meta", @"products": @"products" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.h b/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.h deleted file mode 100644 index ba4defd3f..000000000 --- a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner -@end - -@interface OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* upc; - -@end diff --git a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.m b/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.m deleted file mode 100644 index a74f0be13..000000000 --- a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.h" - -@implementation OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"upc": @"upc" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.h b/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.h deleted file mode 100644 index b8d2b36b9..000000000 --- a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIMapIngredientsToGroceryProductsRequest -@end - -@interface OAIMapIngredientsToGroceryProductsRequest : OAIObject - - -@property(nonatomic) NSArray* ingredients; - -@property(nonatomic) NSNumber* servings; - -@end diff --git a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.m b/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.m deleted file mode 100644 index 12e1ad1e7..000000000 --- a/objc/OpenAPIClient/Model/OAIMapIngredientsToGroceryProductsRequest.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIMapIngredientsToGroceryProductsRequest.h" - -@implementation OAIMapIngredientsToGroceryProductsRequest - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"ingredients": @"ingredients", @"servings": @"servings" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInner.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInner.h deleted file mode 100644 index 36dacc502..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInner.h +++ /dev/null @@ -1,64 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIParseIngredients200ResponseInnerEstimatedCost.h" -#import "OAIParseIngredients200ResponseInnerNutrition.h" -@protocol OAIParseIngredients200ResponseInnerEstimatedCost; -@class OAIParseIngredients200ResponseInnerEstimatedCost; -@protocol OAIParseIngredients200ResponseInnerNutrition; -@class OAIParseIngredients200ResponseInnerNutrition; - - - -@protocol OAIParseIngredients200ResponseInner -@end - -@interface OAIParseIngredients200ResponseInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* original; - -@property(nonatomic) NSString* originalName; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* nameClean; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSString* unitShort; - -@property(nonatomic) NSString* unitLong; - -@property(nonatomic) NSArray* possibleUnits; - -@property(nonatomic) OAIParseIngredients200ResponseInnerEstimatedCost* estimatedCost; - -@property(nonatomic) NSString* consistency; - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSArray* meta; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutrition* nutrition; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInner.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInner.m deleted file mode 100644 index 185fb72ad..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInner.h" - -@implementation OAIParseIngredients200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"original": @"original", @"originalName": @"originalName", @"name": @"name", @"nameClean": @"nameClean", @"amount": @"amount", @"unit": @"unit", @"unitShort": @"unitShort", @"unitLong": @"unitLong", @"possibleUnits": @"possibleUnits", @"estimatedCost": @"estimatedCost", @"consistency": @"consistency", @"aisle": @"aisle", @"image": @"image", @"meta": @"meta", @"nutrition": @"nutrition" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.h deleted file mode 100644 index ece70e07a..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIParseIngredients200ResponseInnerEstimatedCost -@end - -@interface OAIParseIngredients200ResponseInnerEstimatedCost : OAIObject - - -@property(nonatomic) NSNumber* value; - -@property(nonatomic) NSString* unit; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.m deleted file mode 100644 index 7e9913b5d..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerEstimatedCost.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInnerEstimatedCost.h" - -@implementation OAIParseIngredients200ResponseInnerEstimatedCost - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"value": @"value", @"unit": @"unit" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.h deleted file mode 100644 index e8ffa6dda..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.h +++ /dev/null @@ -1,51 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h" -#import "OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h" -#import "OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h" -#import "OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h" -#import "OAISet.h" -@protocol OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown; -@class OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown; -@protocol OAIParseIngredients200ResponseInnerNutritionNutrientsInner; -@class OAIParseIngredients200ResponseInnerNutritionNutrientsInner; -@protocol OAIParseIngredients200ResponseInnerNutritionPropertiesInner; -@class OAIParseIngredients200ResponseInnerNutritionPropertiesInner; -@protocol OAIParseIngredients200ResponseInnerNutritionWeightPerServing; -@class OAIParseIngredients200ResponseInnerNutritionWeightPerServing; -@protocol OAISet; -@class OAISet; - - - -@protocol OAIParseIngredients200ResponseInnerNutrition -@end - -@interface OAIParseIngredients200ResponseInnerNutrition : OAIObject - - -@property(nonatomic) OAISet* nutrients; - -@property(nonatomic) OAISet* properties; - -@property(nonatomic) OAISet* flavonoids; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown* caloricBreakdown; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionWeightPerServing* weightPerServing; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.m deleted file mode 100644 index fc22a7dab..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutrition.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInnerNutrition.h" - -@implementation OAIParseIngredients200ResponseInnerNutrition - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutrients": @"nutrients", @"properties": @"properties", @"flavonoids": @"flavonoids", @"caloricBreakdown": @"caloricBreakdown", @"weightPerServing": @"weightPerServing" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h deleted file mode 100644 index f3245f6b9..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown -@end - -@interface OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown : OAIObject - - -@property(nonatomic) NSNumber* percentProtein; - -@property(nonatomic) NSNumber* percentFat; - -@property(nonatomic) NSNumber* percentCarbs; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.m deleted file mode 100644 index 2a010eac6..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h" - -@implementation OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"percentProtein": @"percentProtein", @"percentFat": @"percentFat", @"percentCarbs": @"percentCarbs" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h deleted file mode 100644 index 7904adf39..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIParseIngredients200ResponseInnerNutritionNutrientsInner -@end - -@interface OAIParseIngredients200ResponseInnerNutritionNutrientsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSNumber* percentOfDailyNeeds; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.m deleted file mode 100644 index 76aa34193..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h" - -@implementation OAIParseIngredients200ResponseInnerNutritionNutrientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"amount": @"amount", @"unit": @"unit", @"percentOfDailyNeeds": @"percentOfDailyNeeds" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h deleted file mode 100644 index 3d2192eaa..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIParseIngredients200ResponseInnerNutritionPropertiesInner -@end - -@interface OAIParseIngredients200ResponseInnerNutritionPropertiesInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.m deleted file mode 100644 index 7a529f549..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInnerNutritionPropertiesInner.h" - -@implementation OAIParseIngredients200ResponseInnerNutritionPropertiesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"amount": @"amount", @"unit": @"unit" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h deleted file mode 100644 index 9239240db..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIParseIngredients200ResponseInnerNutritionWeightPerServing -@end - -@interface OAIParseIngredients200ResponseInnerNutritionWeightPerServing : OAIObject - - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSString* unit; - -@end diff --git a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.m b/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.m deleted file mode 100644 index 97293f084..000000000 --- a/objc/OpenAPIClient/Model/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIParseIngredients200ResponseInnerNutritionWeightPerServing.h" - -@implementation OAIParseIngredients200ResponseInnerNutritionWeightPerServing - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"amount": @"amount", @"unit": @"unit" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAIQuickAnswer200Response.h b/objc/OpenAPIClient/Model/OAIQuickAnswer200Response.h deleted file mode 100644 index b3bc6e945..000000000 --- a/objc/OpenAPIClient/Model/OAIQuickAnswer200Response.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAIQuickAnswer200Response -@end - -@interface OAIQuickAnswer200Response : OAIObject - - -@property(nonatomic) NSString* answer; - -@property(nonatomic) NSString* image; - -@end diff --git a/objc/OpenAPIClient/Model/OAIQuickAnswer200Response.m b/objc/OpenAPIClient/Model/OAIQuickAnswer200Response.m deleted file mode 100644 index 8424b1b12..000000000 --- a/objc/OpenAPIClient/Model/OAIQuickAnswer200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAIQuickAnswer200Response.h" - -@implementation OAIQuickAnswer200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"answer": @"answer", @"image": @"image" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchAllFood200Response.h b/objc/OpenAPIClient/Model/OAISearchAllFood200Response.h deleted file mode 100644 index 647adacc3..000000000 --- a/objc/OpenAPIClient/Model/OAISearchAllFood200Response.h +++ /dev/null @@ -1,42 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchAllFood200ResponseSearchResultsInner.h" -#import "OAISet.h" -@protocol OAISearchAllFood200ResponseSearchResultsInner; -@class OAISearchAllFood200ResponseSearchResultsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchAllFood200Response -@end - -@interface OAISearchAllFood200Response : OAIObject - - -@property(nonatomic) NSString* query; - -@property(nonatomic) NSNumber* totalResults; - -@property(nonatomic) NSNumber* limit; - -@property(nonatomic) NSNumber* offset; - -@property(nonatomic) OAISet* searchResults; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchAllFood200Response.m b/objc/OpenAPIClient/Model/OAISearchAllFood200Response.m deleted file mode 100644 index 80efe9b24..000000000 --- a/objc/OpenAPIClient/Model/OAISearchAllFood200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchAllFood200Response.h" - -@implementation OAISearchAllFood200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"query": @"query", @"totalResults": @"totalResults", @"limit": @"limit", @"offset": @"offset", @"searchResults": @"searchResults" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.h b/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.h deleted file mode 100644 index 1cab27650..000000000 --- a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.h +++ /dev/null @@ -1,38 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchAllFood200ResponseSearchResultsInnerResultsInner.h" -#import "OAISet.h" -@protocol OAISearchAllFood200ResponseSearchResultsInnerResultsInner; -@class OAISearchAllFood200ResponseSearchResultsInnerResultsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchAllFood200ResponseSearchResultsInner -@end - -@interface OAISearchAllFood200ResponseSearchResultsInner : OAIObject - - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* totalResults; - -@property(nonatomic) OAISet* results; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.m b/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.m deleted file mode 100644 index 81173ba3e..000000000 --- a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchAllFood200ResponseSearchResultsInner.h" - -@implementation OAISearchAllFood200ResponseSearchResultsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"name": @"name", @"totalResults": @"totalResults", @"results": @"results" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"results"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.h b/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.h deleted file mode 100644 index 90046342f..000000000 --- a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchAllFood200ResponseSearchResultsInnerResultsInner -@end - -@interface OAISearchAllFood200ResponseSearchResultsInnerResultsInner : OAIObject - - -@property(nonatomic) NSString* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* link; - -@property(nonatomic) NSString* type; - -@property(nonatomic) NSNumber* relevance; - -@property(nonatomic) NSString* content; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.m b/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.m deleted file mode 100644 index 41070bf8a..000000000 --- a/objc/OpenAPIClient/Model/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchAllFood200ResponseSearchResultsInnerResultsInner.h" - -@implementation OAISearchAllFood200ResponseSearchResultsInnerResultsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"name": @"name", @"image": @"image", @"link": @"link", @"type": @"type", @"relevance": @"relevance", @"content": @"content" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchCustomFoods200Response.h b/objc/OpenAPIClient/Model/OAISearchCustomFoods200Response.h deleted file mode 100644 index 3483fd5de..000000000 --- a/objc/OpenAPIClient/Model/OAISearchCustomFoods200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchCustomFoods200ResponseCustomFoodsInner.h" -#import "OAISet.h" -@protocol OAISearchCustomFoods200ResponseCustomFoodsInner; -@class OAISearchCustomFoods200ResponseCustomFoodsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchCustomFoods200Response -@end - -@interface OAISearchCustomFoods200Response : OAIObject - - -@property(nonatomic) OAISet* customFoods; - -@property(nonatomic) NSString* type; - -@property(nonatomic) NSNumber* offset; - -@property(nonatomic) NSNumber* number; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchCustomFoods200Response.m b/objc/OpenAPIClient/Model/OAISearchCustomFoods200Response.m deleted file mode 100644 index 86b0c75dc..000000000 --- a/objc/OpenAPIClient/Model/OAISearchCustomFoods200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchCustomFoods200Response.h" - -@implementation OAISearchCustomFoods200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"customFoods": @"customFoods", @"type": @"type", @"offset": @"offset", @"number": @"number" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.h b/objc/OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.h deleted file mode 100644 index 93c3e187b..000000000 --- a/objc/OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchCustomFoods200ResponseCustomFoodsInner -@end - -@interface OAISearchCustomFoods200ResponseCustomFoodsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSNumber* servings; - -@property(nonatomic) NSString* imageUrl; - -@property(nonatomic) NSNumber* price; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.m b/objc/OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.m deleted file mode 100644 index 63c474cfc..000000000 --- a/objc/OpenAPIClient/Model/OAISearchCustomFoods200ResponseCustomFoodsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchCustomFoods200ResponseCustomFoodsInner.h" - -@implementation OAISearchCustomFoods200ResponseCustomFoodsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"servings": @"servings", @"imageUrl": @"imageUrl", @"price": @"price" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchFoodVideos200Response.h b/objc/OpenAPIClient/Model/OAISearchFoodVideos200Response.h deleted file mode 100644 index bfd554683..000000000 --- a/objc/OpenAPIClient/Model/OAISearchFoodVideos200Response.h +++ /dev/null @@ -1,36 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchFoodVideos200ResponseVideosInner.h" -#import "OAISet.h" -@protocol OAISearchFoodVideos200ResponseVideosInner; -@class OAISearchFoodVideos200ResponseVideosInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchFoodVideos200Response -@end - -@interface OAISearchFoodVideos200Response : OAIObject - - -@property(nonatomic) OAISet* videos; - -@property(nonatomic) NSNumber* totalResults; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchFoodVideos200Response.m b/objc/OpenAPIClient/Model/OAISearchFoodVideos200Response.m deleted file mode 100644 index 03036d812..000000000 --- a/objc/OpenAPIClient/Model/OAISearchFoodVideos200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchFoodVideos200Response.h" - -@implementation OAISearchFoodVideos200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"videos": @"videos", @"totalResults": @"totalResults" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.h b/objc/OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.h deleted file mode 100644 index c5bd01416..000000000 --- a/objc/OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchFoodVideos200ResponseVideosInner -@end - -@interface OAISearchFoodVideos200ResponseVideosInner : OAIObject - - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSNumber* length; - -@property(nonatomic) NSNumber* rating; - -@property(nonatomic) NSString* shortTitle; - -@property(nonatomic) NSString* thumbnail; - -@property(nonatomic) NSNumber* views; - -@property(nonatomic) NSString* youTubeId; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.m b/objc/OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.m deleted file mode 100644 index 3d5ff8a5c..000000000 --- a/objc/OpenAPIClient/Model/OAISearchFoodVideos200ResponseVideosInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchFoodVideos200ResponseVideosInner.h" - -@implementation OAISearchFoodVideos200ResponseVideosInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"title": @"title", @"length": @"length", @"rating": @"rating", @"shortTitle": @"shortTitle", @"thumbnail": @"thumbnail", @"views": @"views", @"youTubeId": @"youTubeId" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProducts200Response.h b/objc/OpenAPIClient/Model/OAISearchGroceryProducts200Response.h deleted file mode 100644 index ea56c91b0..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProducts200Response.h +++ /dev/null @@ -1,42 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIAutocompleteRecipeSearch200ResponseInner.h" -#import "OAISet.h" -@protocol OAIAutocompleteRecipeSearch200ResponseInner; -@class OAIAutocompleteRecipeSearch200ResponseInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchGroceryProducts200Response -@end - -@interface OAISearchGroceryProducts200Response : OAIObject - - -@property(nonatomic) OAISet* products; - -@property(nonatomic) NSNumber* totalProducts; - -@property(nonatomic) NSString* type; - -@property(nonatomic) NSNumber* offset; - -@property(nonatomic) NSNumber* number; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProducts200Response.m b/objc/OpenAPIClient/Model/OAISearchGroceryProducts200Response.m deleted file mode 100644 index caf9cb0fe..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProducts200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchGroceryProducts200Response.h" - -@implementation OAISearchGroceryProducts200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"products": @"products", @"totalProducts": @"totalProducts", @"type": @"type", @"offset": @"offset", @"number": @"number" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.h b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.h deleted file mode 100644 index 5f7c8ea1b..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.h +++ /dev/null @@ -1,68 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchGroceryProductsByUPC200ResponseIngredientsInner.h" -#import "OAISearchGroceryProductsByUPC200ResponseNutrition.h" -#import "OAISearchGroceryProductsByUPC200ResponseServings.h" -#import "OAISet.h" -@protocol OAISearchGroceryProductsByUPC200ResponseIngredientsInner; -@class OAISearchGroceryProductsByUPC200ResponseIngredientsInner; -@protocol OAISearchGroceryProductsByUPC200ResponseNutrition; -@class OAISearchGroceryProductsByUPC200ResponseNutrition; -@protocol OAISearchGroceryProductsByUPC200ResponseServings; -@class OAISearchGroceryProductsByUPC200ResponseServings; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchGroceryProductsByUPC200Response -@end - -@interface OAISearchGroceryProductsByUPC200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSArray* badges; - -@property(nonatomic) NSArray* importantBadges; - -@property(nonatomic) NSArray* breadcrumbs; - -@property(nonatomic) NSString* generatedText; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* ingredientCount; - -@property(nonatomic) NSString* ingredientList; - -@property(nonatomic) OAISet* ingredients; - -@property(nonatomic) NSNumber* likes; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseNutrition* nutrition; - -@property(nonatomic) NSNumber* price; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseServings* servings; - -@property(nonatomic) NSNumber* spoonacularScore; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.m b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.m deleted file mode 100644 index c9962fef5..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchGroceryProductsByUPC200Response.h" - -@implementation OAISearchGroceryProductsByUPC200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"badges": @"badges", @"importantBadges": @"importantBadges", @"breadcrumbs": @"breadcrumbs", @"generatedText": @"generatedText", @"imageType": @"imageType", @"ingredientCount": @"ingredientCount", @"ingredientList": @"ingredientList", @"ingredients": @"ingredients", @"likes": @"likes", @"nutrition": @"nutrition", @"price": @"price", @"servings": @"servings", @"spoonacularScore": @"spoonacularScore" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"ingredientCount", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.h b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.h deleted file mode 100644 index 3fc0ec37a..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchGroceryProductsByUPC200ResponseIngredientsInner -@end - -@interface OAISearchGroceryProductsByUPC200ResponseIngredientsInner : OAIObject - - -@property(nonatomic) NSString* _description; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* safetyLevel; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.m b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.m deleted file mode 100644 index a0cf98b0d..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchGroceryProductsByUPC200ResponseIngredientsInner.h" - -@implementation OAISearchGroceryProductsByUPC200ResponseIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_description": @"description", @"name": @"name", @"safetyLevel": @"safety_level" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"_description", @"safetyLevel"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.h b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.h deleted file mode 100644 index 9660842fe..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.h +++ /dev/null @@ -1,39 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.h" -#import "OAIParseIngredients200ResponseInnerNutritionNutrientsInner.h" -#import "OAISet.h" -@protocol OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown; -@class OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown; -@protocol OAIParseIngredients200ResponseInnerNutritionNutrientsInner; -@class OAIParseIngredients200ResponseInnerNutritionNutrientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchGroceryProductsByUPC200ResponseNutrition -@end - -@interface OAISearchGroceryProductsByUPC200ResponseNutrition : OAIObject - - -@property(nonatomic) OAISet* nutrients; - -@property(nonatomic) OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown* caloricBreakdown; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.m b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.m deleted file mode 100644 index 3485dd68f..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseNutrition.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchGroceryProductsByUPC200ResponseNutrition.h" - -@implementation OAISearchGroceryProductsByUPC200ResponseNutrition - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"nutrients": @"nutrients", @"caloricBreakdown": @"caloricBreakdown" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.h b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.h deleted file mode 100644 index 2a08a0f56..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchGroceryProductsByUPC200ResponseServings -@end - -@interface OAISearchGroceryProductsByUPC200ResponseServings : OAIObject - - -@property(nonatomic) NSNumber* number; - -@property(nonatomic) NSNumber* size; - -@property(nonatomic) NSString* unit; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.m b/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.m deleted file mode 100644 index eb6451463..000000000 --- a/objc/OpenAPIClient/Model/OAISearchGroceryProductsByUPC200ResponseServings.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchGroceryProductsByUPC200ResponseServings.h" - -@implementation OAISearchGroceryProductsByUPC200ResponseServings - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"number": @"number", @"size": @"size", @"unit": @"unit" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchMenuItems200Response.h b/objc/OpenAPIClient/Model/OAISearchMenuItems200Response.h deleted file mode 100644 index 27841dc0a..000000000 --- a/objc/OpenAPIClient/Model/OAISearchMenuItems200Response.h +++ /dev/null @@ -1,42 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchMenuItems200ResponseMenuItemsInner.h" -#import "OAISet.h" -@protocol OAISearchMenuItems200ResponseMenuItemsInner; -@class OAISearchMenuItems200ResponseMenuItemsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchMenuItems200Response -@end - -@interface OAISearchMenuItems200Response : OAIObject - - -@property(nonatomic) OAISet* menuItems; - -@property(nonatomic) NSNumber* totalMenuItems; - -@property(nonatomic) NSString* type; - -@property(nonatomic) NSNumber* offset; - -@property(nonatomic) NSNumber* number; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchMenuItems200Response.m b/objc/OpenAPIClient/Model/OAISearchMenuItems200Response.m deleted file mode 100644 index f35788a83..000000000 --- a/objc/OpenAPIClient/Model/OAISearchMenuItems200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchMenuItems200Response.h" - -@implementation OAISearchMenuItems200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"menuItems": @"menuItems", @"totalMenuItems": @"totalMenuItems", @"type": @"type", @"offset": @"offset", @"number": @"number" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.h b/objc/OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.h deleted file mode 100644 index 910b920cb..000000000 --- a/objc/OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.h +++ /dev/null @@ -1,41 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchGroceryProductsByUPC200ResponseServings.h" -@protocol OAISearchGroceryProductsByUPC200ResponseServings; -@class OAISearchGroceryProductsByUPC200ResponseServings; - - - -@protocol OAISearchMenuItems200ResponseMenuItemsInner -@end - -@interface OAISearchMenuItems200ResponseMenuItemsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* restaurantChain; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) OAISearchGroceryProductsByUPC200ResponseServings* servings; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.m b/objc/OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.m deleted file mode 100644 index 169a555a2..000000000 --- a/objc/OpenAPIClient/Model/OAISearchMenuItems200ResponseMenuItemsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchMenuItems200ResponseMenuItemsInner.h" - -@implementation OAISearchMenuItems200ResponseMenuItemsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"restaurantChain": @"restaurantChain", @"image": @"image", @"imageType": @"imageType", @"servings": @"servings" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"servings"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipes200Response.h b/objc/OpenAPIClient/Model/OAISearchRecipes200Response.h deleted file mode 100644 index 123cf00d9..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipes200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchRecipes200ResponseResultsInner.h" -#import "OAISet.h" -@protocol OAISearchRecipes200ResponseResultsInner; -@class OAISearchRecipes200ResponseResultsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchRecipes200Response -@end - -@interface OAISearchRecipes200Response : OAIObject - - -@property(nonatomic) NSNumber* offset; - -@property(nonatomic) NSNumber* number; - -@property(nonatomic) OAISet* results; - -@property(nonatomic) NSNumber* totalResults; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipes200Response.m b/objc/OpenAPIClient/Model/OAISearchRecipes200Response.m deleted file mode 100644 index 6ba7f9e7e..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipes200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRecipes200Response.h" - -@implementation OAISearchRecipes200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"offset": @"offset", @"number": @"number", @"results": @"results", @"totalResults": @"totalResults" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.h b/objc/OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.h deleted file mode 100644 index be887f9b4..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchRecipes200ResponseResultsInner -@end - -@interface OAISearchRecipes200ResponseResultsInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.m b/objc/OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.m deleted file mode 100644 index a76e0a7c8..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipes200ResponseResultsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRecipes200ResponseResultsInner.h" - -@implementation OAISearchRecipes200ResponseResultsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"title": @"title", @"image": @"image", @"imageType": @"imageType" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.h b/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.h deleted file mode 100644 index 511c44e5d..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.h +++ /dev/null @@ -1,52 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.h" -#import "OAISet.h" -@protocol OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner; -@class OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchRecipesByIngredients200ResponseInner -@end - -@interface OAISearchRecipesByIngredients200ResponseInner : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSNumber* likes; - -@property(nonatomic) NSNumber* missedIngredientCount; - -@property(nonatomic) OAISet* missedIngredients; - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSArray* unusedIngredients; - -@property(nonatomic) NSNumber* usedIngredientCount; - -@property(nonatomic) OAISet* usedIngredients; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.m b/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.m deleted file mode 100644 index 36132fe2d..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRecipesByIngredients200ResponseInner.h" - -@implementation OAISearchRecipesByIngredients200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"image": @"image", @"imageType": @"imageType", @"likes": @"likes", @"missedIngredientCount": @"missedIngredientCount", @"missedIngredients": @"missedIngredients", @"title": @"title", @"unusedIngredients": @"unusedIngredients", @"usedIngredientCount": @"usedIngredientCount", @"usedIngredients": @"usedIngredients" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.h b/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.h deleted file mode 100644 index 891a8d8c9..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.h +++ /dev/null @@ -1,50 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner -@end - -@interface OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner : OAIObject - - -@property(nonatomic) NSString* aisle; - -@property(nonatomic) NSNumber* amount; - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSArray* meta; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSString* extendedName; - -@property(nonatomic) NSString* original; - -@property(nonatomic) NSString* originalName; - -@property(nonatomic) NSString* unit; - -@property(nonatomic) NSString* unitLong; - -@property(nonatomic) NSString* unitShort; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.m b/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.m deleted file mode 100644 index 25f51f2f2..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.h" - -@implementation OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"aisle": @"aisle", @"amount": @"amount", @"_id": @"id", @"image": @"image", @"meta": @"meta", @"name": @"name", @"extendedName": @"extendedName", @"original": @"original", @"originalName": @"originalName", @"unit": @"unit", @"unitLong": @"unitLong", @"unitShort": @"unitShort" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"meta", @"extendedName", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.h b/objc/OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.h deleted file mode 100644 index 1e8fa4887..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.h +++ /dev/null @@ -1,42 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchRecipesByNutrients200ResponseInner -@end - -@interface OAISearchRecipesByNutrients200ResponseInner : OAIObject - - -@property(nonatomic) NSNumber* calories; - -@property(nonatomic) NSString* carbs; - -@property(nonatomic) NSString* fat; - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* imageType; - -@property(nonatomic) NSString* protein; - -@property(nonatomic) NSString* title; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.m b/objc/OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.m deleted file mode 100644 index 4a846f7fd..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRecipesByNutrients200ResponseInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRecipesByNutrients200ResponseInner.h" - -@implementation OAISearchRecipesByNutrients200ResponseInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"calories": @"calories", @"carbs": @"carbs", @"fat": @"fat", @"_id": @"id", @"image": @"image", @"imageType": @"imageType", @"protein": @"protein", @"title": @"title" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200Response.h b/objc/OpenAPIClient/Model/OAISearchRestaurants200Response.h deleted file mode 100644 index 9796a2b42..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200Response.h +++ /dev/null @@ -1,31 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchRestaurants200ResponseRestaurantsInner.h" -@protocol OAISearchRestaurants200ResponseRestaurantsInner; -@class OAISearchRestaurants200ResponseRestaurantsInner; - - - -@protocol OAISearchRestaurants200Response -@end - -@interface OAISearchRestaurants200Response : OAIObject - - -@property(nonatomic) NSArray* restaurants; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200Response.m b/objc/OpenAPIClient/Model/OAISearchRestaurants200Response.m deleted file mode 100644 index 79bae782c..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRestaurants200Response.h" - -@implementation OAISearchRestaurants200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"restaurants": @"restaurants" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"restaurants"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.h b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.h deleted file mode 100644 index 3882dbd00..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.h +++ /dev/null @@ -1,72 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchRestaurants200ResponseRestaurantsInnerAddress.h" -#import "OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.h" -@protocol OAISearchRestaurants200ResponseRestaurantsInnerAddress; -@class OAISearchRestaurants200ResponseRestaurantsInnerAddress; -@protocol OAISearchRestaurants200ResponseRestaurantsInnerLocalHours; -@class OAISearchRestaurants200ResponseRestaurantsInnerLocalHours; - - - -@protocol OAISearchRestaurants200ResponseRestaurantsInner -@end - -@interface OAISearchRestaurants200ResponseRestaurantsInner : OAIObject - - -@property(nonatomic) NSString* _id; - -@property(nonatomic) NSString* name; - -@property(nonatomic) NSNumber* phoneNumber; - -@property(nonatomic) OAISearchRestaurants200ResponseRestaurantsInnerAddress* address; - -@property(nonatomic) NSString* type; - -@property(nonatomic) NSString* _description; - -@property(nonatomic) OAISearchRestaurants200ResponseRestaurantsInnerLocalHours* localHours; - -@property(nonatomic) NSArray* cuisines; - -@property(nonatomic) NSArray* foodPhotos; - -@property(nonatomic) NSArray* logoPhotos; - -@property(nonatomic) NSArray* storePhotos; - -@property(nonatomic) NSNumber* dollarSigns; - -@property(nonatomic) NSNumber* pickupEnabled; - -@property(nonatomic) NSNumber* deliveryEnabled; - -@property(nonatomic) NSNumber* isOpen; - -@property(nonatomic) NSNumber* offersFirstPartyDelivery; - -@property(nonatomic) NSNumber* offersThirdPartyDelivery; - -@property(nonatomic) NSNumber* miles; - -@property(nonatomic) NSNumber* weightedRatingValue; - -@property(nonatomic) NSNumber* aggregatedRatingCount; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.m b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.m deleted file mode 100644 index 1b089f49c..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRestaurants200ResponseRestaurantsInner.h" - -@implementation OAISearchRestaurants200ResponseRestaurantsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"_id", @"name": @"name", @"phoneNumber": @"phone_number", @"address": @"address", @"type": @"type", @"_description": @"description", @"localHours": @"local_hours", @"cuisines": @"cuisines", @"foodPhotos": @"food_photos", @"logoPhotos": @"logo_photos", @"storePhotos": @"store_photos", @"dollarSigns": @"dollar_signs", @"pickupEnabled": @"pickup_enabled", @"deliveryEnabled": @"delivery_enabled", @"isOpen": @"is_open", @"offersFirstPartyDelivery": @"offers_first_party_delivery", @"offersThirdPartyDelivery": @"offers_third_party_delivery", @"miles": @"miles", @"weightedRatingValue": @"weighted_rating_value", @"aggregatedRatingCount": @"aggregated_rating_count" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"_id", @"name", @"phoneNumber", @"address", @"type", @"_description", @"localHours", @"cuisines", @"foodPhotos", @"logoPhotos", @"storePhotos", @"dollarSigns", @"pickupEnabled", @"deliveryEnabled", @"isOpen", @"offersFirstPartyDelivery", @"offersThirdPartyDelivery", @"miles", @"weightedRatingValue", @"aggregatedRatingCount"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.h b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.h deleted file mode 100644 index 0e82794a1..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.h +++ /dev/null @@ -1,46 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchRestaurants200ResponseRestaurantsInnerAddress -@end - -@interface OAISearchRestaurants200ResponseRestaurantsInnerAddress : OAIObject - - -@property(nonatomic) NSString* streetAddr; - -@property(nonatomic) NSString* city; - -@property(nonatomic) NSString* state; - -@property(nonatomic) NSString* zipcode; - -@property(nonatomic) NSString* country; - -@property(nonatomic) NSNumber* lat; - -@property(nonatomic) NSNumber* lon; - -@property(nonatomic) NSString* streetAddr2; - -@property(nonatomic) NSNumber* latitude; - -@property(nonatomic) NSNumber* longitude; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.m b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.m deleted file mode 100644 index 87e75df04..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerAddress.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRestaurants200ResponseRestaurantsInnerAddress.h" - -@implementation OAISearchRestaurants200ResponseRestaurantsInnerAddress - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"streetAddr": @"street_addr", @"city": @"city", @"state": @"state", @"zipcode": @"zipcode", @"country": @"country", @"lat": @"lat", @"lon": @"lon", @"streetAddr2": @"street_addr_2", @"latitude": @"latitude", @"longitude": @"longitude" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"streetAddr", @"city", @"state", @"zipcode", @"country", @"lat", @"lon", @"streetAddr2", @"latitude", @"longitude"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.h b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.h deleted file mode 100644 index 03e1bc974..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.h +++ /dev/null @@ -1,37 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.h" -@protocol OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational; -@class OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational; - - - -@protocol OAISearchRestaurants200ResponseRestaurantsInnerLocalHours -@end - -@interface OAISearchRestaurants200ResponseRestaurantsInnerLocalHours : OAIObject - - -@property(nonatomic) OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational* operational; - -@property(nonatomic) OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational* delivery; - -@property(nonatomic) OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational* pickup; - -@property(nonatomic) OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational* dineIn; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.m b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.m deleted file mode 100644 index 7f90acc19..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.h" - -@implementation OAISearchRestaurants200ResponseRestaurantsInnerLocalHours - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"operational": @"operational", @"delivery": @"delivery", @"pickup": @"pickup", @"dineIn": @"dine_in" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"operational", @"delivery", @"pickup", @"dineIn"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.h b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.h deleted file mode 100644 index badda55ba..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational -@end - -@interface OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational : OAIObject - - -@property(nonatomic) NSString* monday; - -@property(nonatomic) NSString* tuesday; - -@property(nonatomic) NSString* wednesday; - -@property(nonatomic) NSString* thursday; - -@property(nonatomic) NSString* friday; - -@property(nonatomic) NSString* saturday; - -@property(nonatomic) NSString* sunday; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.m b/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.m deleted file mode 100644 index f66693f1e..000000000 --- a/objc/OpenAPIClient/Model/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.h" - -@implementation OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"monday": @"Monday", @"tuesday": @"Tuesday", @"wednesday": @"Wednesday", @"thursday": @"Thursday", @"friday": @"Friday", @"saturday": @"Saturday", @"sunday": @"Sunday" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"monday", @"tuesday", @"wednesday", @"thursday", @"friday", @"saturday", @"sunday"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchSiteContent200Response.h b/objc/OpenAPIClient/Model/OAISearchSiteContent200Response.h deleted file mode 100644 index 8f1993058..000000000 --- a/objc/OpenAPIClient/Model/OAISearchSiteContent200Response.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchSiteContent200ResponseArticlesInner.h" -#import "OAISet.h" -@protocol OAISearchSiteContent200ResponseArticlesInner; -@class OAISearchSiteContent200ResponseArticlesInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchSiteContent200Response -@end - -@interface OAISearchSiteContent200Response : OAIObject - - -@property(nonatomic) OAISet* articles; - -@property(nonatomic) OAISet* groceryProducts; - -@property(nonatomic) OAISet* menuItems; - -@property(nonatomic) OAISet* recipes; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchSiteContent200Response.m b/objc/OpenAPIClient/Model/OAISearchSiteContent200Response.m deleted file mode 100644 index 48d6f1359..000000000 --- a/objc/OpenAPIClient/Model/OAISearchSiteContent200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchSiteContent200Response.h" - -@implementation OAISearchSiteContent200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"articles": @"Articles", @"groceryProducts": @"Grocery Products", @"menuItems": @"Menu Items", @"recipes": @"Recipes" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.h b/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.h deleted file mode 100644 index 4cab383e6..000000000 --- a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.h +++ /dev/null @@ -1,40 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.h" -#import "OAISet.h" -@protocol OAISearchSiteContent200ResponseArticlesInnerDataPointsInner; -@class OAISearchSiteContent200ResponseArticlesInnerDataPointsInner; -@protocol OAISet; -@class OAISet; - - - -@protocol OAISearchSiteContent200ResponseArticlesInner -@end - -@interface OAISearchSiteContent200ResponseArticlesInner : OAIObject - - -@property(nonatomic) OAISet* dataPoints; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* link; - -@property(nonatomic) NSString* name; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.m b/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.m deleted file mode 100644 index 14b430f5e..000000000 --- a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchSiteContent200ResponseArticlesInner.h" - -@implementation OAISearchSiteContent200ResponseArticlesInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"dataPoints": @"dataPoints", @"image": @"image", @"link": @"link", @"name": @"name" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"dataPoints", ]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.h b/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.h deleted file mode 100644 index 3584b0c83..000000000 --- a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.h +++ /dev/null @@ -1,30 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISearchSiteContent200ResponseArticlesInnerDataPointsInner -@end - -@interface OAISearchSiteContent200ResponseArticlesInnerDataPointsInner : OAIObject - - -@property(nonatomic) NSString* key; - -@property(nonatomic) NSString* value; - -@end diff --git a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.m b/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.m deleted file mode 100644 index f581acc76..000000000 --- a/objc/OpenAPIClient/Model/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.h" - -@implementation OAISearchSiteContent200ResponseArticlesInnerDataPointsInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"key": @"key", @"value": @"value" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAISummarizeRecipe200Response.h b/objc/OpenAPIClient/Model/OAISummarizeRecipe200Response.h deleted file mode 100644 index 15f2c549b..000000000 --- a/objc/OpenAPIClient/Model/OAISummarizeRecipe200Response.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAISummarizeRecipe200Response -@end - -@interface OAISummarizeRecipe200Response : OAIObject - - -@property(nonatomic) NSNumber* _id; - -@property(nonatomic) NSString* summary; - -@property(nonatomic) NSString* title; - -@end diff --git a/objc/OpenAPIClient/Model/OAISummarizeRecipe200Response.m b/objc/OpenAPIClient/Model/OAISummarizeRecipe200Response.m deleted file mode 100644 index 947f879d6..000000000 --- a/objc/OpenAPIClient/Model/OAISummarizeRecipe200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAISummarizeRecipe200Response.h" - -@implementation OAISummarizeRecipe200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"_id": @"id", @"summary": @"summary", @"title": @"title" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAITalkToChatbot200Response.h b/objc/OpenAPIClient/Model/OAITalkToChatbot200Response.h deleted file mode 100644 index e566399f9..000000000 --- a/objc/OpenAPIClient/Model/OAITalkToChatbot200Response.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - -#import "OAITalkToChatbot200ResponseMediaInner.h" -@protocol OAITalkToChatbot200ResponseMediaInner; -@class OAITalkToChatbot200ResponseMediaInner; - - - -@protocol OAITalkToChatbot200Response -@end - -@interface OAITalkToChatbot200Response : OAIObject - - -@property(nonatomic) NSString* answerText; - -@property(nonatomic) NSArray* media; - -@end diff --git a/objc/OpenAPIClient/Model/OAITalkToChatbot200Response.m b/objc/OpenAPIClient/Model/OAITalkToChatbot200Response.m deleted file mode 100644 index 6ac3dfcaa..000000000 --- a/objc/OpenAPIClient/Model/OAITalkToChatbot200Response.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAITalkToChatbot200Response.h" - -@implementation OAITalkToChatbot200Response - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"answerText": @"answerText", @"media": @"media" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.h b/objc/OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.h deleted file mode 100644 index bdf5e09b0..000000000 --- a/objc/OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "OAIObject.h" - -/** -* spoonacular API -* The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. -* -* The version of the OpenAPI document: 1.1 -* Contact: mail@spoonacular.com -* -* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). -* https://openapi-generator.tech -* Do not edit the class manually. -*/ - - - - - -@protocol OAITalkToChatbot200ResponseMediaInner -@end - -@interface OAITalkToChatbot200ResponseMediaInner : OAIObject - - -@property(nonatomic) NSString* title; - -@property(nonatomic) NSString* image; - -@property(nonatomic) NSString* link; - -@end diff --git a/objc/OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.m b/objc/OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.m deleted file mode 100644 index 155aed833..000000000 --- a/objc/OpenAPIClient/Model/OAITalkToChatbot200ResponseMediaInner.m +++ /dev/null @@ -1,34 +0,0 @@ -#import "OAITalkToChatbot200ResponseMediaInner.h" - -@implementation OAITalkToChatbot200ResponseMediaInner - -- (instancetype)init { - self = [super init]; - if (self) { - // initialize property's default value, if any - - } - return self; -} - - -/** - * Maps json key to property name. - * This method is used by `JSONModel`. - */ -+ (JSONKeyMapper *)keyMapper { - return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"title": @"title", @"image": @"image", @"link": @"link" }]; -} - -/** - * Indicates whether the property with the given name is optional. - * If `propertyName` is optional, then return `YES`, otherwise return `NO`. - * This method is used by `JSONModel`. - */ -+ (BOOL)propertyIsOptional:(NSString *)propertyName { - - NSArray *optionalProperties = @[@"title", @"image", @"link"]; - return [optionalProperties containsObject:propertyName]; -} - -@end diff --git a/objc/README.md b/objc/README.md deleted file mode 100644 index 42e7b07f8..000000000 --- a/objc/README.md +++ /dev/null @@ -1,533 +0,0 @@ -# OpenAPIClient - -The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. - -Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal. - -This ObjC package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 1.1 -- Package version: 1.1.1 -- Build package: org.openapitools.codegen.languages.ObjcClientCodegen -For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) - -## Requirements - -The SDK requires [**ARC (Automatic Reference Counting)**](http://stackoverflow.com/questions/7778356/how-to-enable-disable-automatic-reference-counting) to be enabled in the Xcode project. - -## Installation & Usage -### Install from Github using [CocoaPods](https://cocoapods.org/) - -Add the following to the Podfile: - -```ruby -pod 'OpenAPIClient', :git => 'https://github.com/ddsky/spoonacular-api-clients/tree/master/objc/.git' -``` - -To specify a particular branch, append `, :branch => 'branch-name-here'` - -To specify a particular commit, append `, :commit => '11aa22'` - -### Install from local path using [CocoaPods](https://cocoapods.org/) - -Put the SDK under your project folder (e.g. /path/to/objc_project/Vendor/OpenAPIClient) and then add the following to the Podfile: - -```ruby -pod 'OpenAPIClient', :path => 'Vendor/OpenAPIClient' -``` - -### Usage - -Import the following: - -```objc -#import -#import -// load models -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -// load API classes for accessing endpoints -#import -#import -#import -#import -#import -#import -#import -#import - -``` - -## Recommendation - -It's recommended to create an instance of ApiClient per thread in a multi-threaded environment to avoid any potential issues. - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```objc - -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAIAnalyzeRecipeRequest* *analyzeRecipeRequest = {"title":"Spaghetti Carbonara","servings":2,"ingredients":["1 lb spaghetti","3.5 oz pancetta","2 Tbsps olive oil","1 egg","0.5 cup parmesan cheese"],"instructions":"Bring a large pot of water to a boil and season generously with salt. Add the pasta to the water once boiling and cook until al dente. Reserve 2 cups of cooking water and drain the pasta. "}; // Example request body. -NSString* *language = en; // The input language, either \"en\" or \"de\". (optional) -NSNumber* *includeNutrition = false; // Whether nutrition data should be added to correctly parsed ingredients. (optional) -NSNumber* *includeTaste = false; // Whether taste data should be added to correctly parsed ingredients. (optional) - -OAIDefaultApi *apiInstance = [[OAIDefaultApi alloc] init]; - -// Analyze Recipe -[apiInstance analyzeRecipeWithAnalyzeRecipeRequest:analyzeRecipeRequest - language:language - includeNutrition:includeNutrition - includeTaste:includeTaste - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error: %@", error); - } - }]; - -``` - -## Documentation for API Endpoints - -All URIs are relative to *https://api.spoonacular.com* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*OAIDefaultApi* | [**analyzeRecipe**](docs/OAIDefaultApi.md#analyzerecipe) | **POST** /recipes/analyze | Analyze Recipe -*OAIDefaultApi* | [**createRecipeCardGet**](docs/OAIDefaultApi.md#createrecipecardget) | **GET** /recipes/{id}/card | Create Recipe Card -*OAIDefaultApi* | [**searchRestaurants**](docs/OAIDefaultApi.md#searchrestaurants) | **GET** /food/restaurants/search | Search Restaurants -*OAIIngredientsApi* | [**autocompleteIngredientSearch**](docs/OAIIngredientsApi.md#autocompleteingredientsearch) | **GET** /food/ingredients/autocomplete | Autocomplete Ingredient Search -*OAIIngredientsApi* | [**computeIngredientAmount**](docs/OAIIngredientsApi.md#computeingredientamount) | **GET** /food/ingredients/{id}/amount | Compute Ingredient Amount -*OAIIngredientsApi* | [**getIngredientInformation**](docs/OAIIngredientsApi.md#getingredientinformation) | **GET** /food/ingredients/{id}/information | Get Ingredient Information -*OAIIngredientsApi* | [**getIngredientSubstitutes**](docs/OAIIngredientsApi.md#getingredientsubstitutes) | **GET** /food/ingredients/substitutes | Get Ingredient Substitutes -*OAIIngredientsApi* | [**getIngredientSubstitutesByID**](docs/OAIIngredientsApi.md#getingredientsubstitutesbyid) | **GET** /food/ingredients/{id}/substitutes | Get Ingredient Substitutes by ID -*OAIIngredientsApi* | [**ingredientSearch**](docs/OAIIngredientsApi.md#ingredientsearch) | **GET** /food/ingredients/search | Ingredient Search -*OAIIngredientsApi* | [**ingredientsByIDImage**](docs/OAIIngredientsApi.md#ingredientsbyidimage) | **GET** /recipes/{id}/ingredientWidget.png | Ingredients by ID Image -*OAIIngredientsApi* | [**mapIngredientsToGroceryProducts**](docs/OAIIngredientsApi.md#mapingredientstogroceryproducts) | **POST** /food/ingredients/map | Map Ingredients to Grocery Products -*OAIIngredientsApi* | [**visualizeIngredients**](docs/OAIIngredientsApi.md#visualizeingredients) | **POST** /recipes/visualizeIngredients | Ingredients Widget -*OAIMealPlanningApi* | [**addMealPlanTemplate**](docs/OAIMealPlanningApi.md#addmealplantemplate) | **POST** /mealplanner/{username}/templates | Add Meal Plan Template -*OAIMealPlanningApi* | [**addToMealPlan**](docs/OAIMealPlanningApi.md#addtomealplan) | **POST** /mealplanner/{username}/items | Add to Meal Plan -*OAIMealPlanningApi* | [**addToShoppingList**](docs/OAIMealPlanningApi.md#addtoshoppinglist) | **POST** /mealplanner/{username}/shopping-list/items | Add to Shopping List -*OAIMealPlanningApi* | [**clearMealPlanDay**](docs/OAIMealPlanningApi.md#clearmealplanday) | **DELETE** /mealplanner/{username}/day/{date} | Clear Meal Plan Day -*OAIMealPlanningApi* | [**connectUser**](docs/OAIMealPlanningApi.md#connectuser) | **POST** /users/connect | Connect User -*OAIMealPlanningApi* | [**deleteFromMealPlan**](docs/OAIMealPlanningApi.md#deletefrommealplan) | **DELETE** /mealplanner/{username}/items/{id} | Delete from Meal Plan -*OAIMealPlanningApi* | [**deleteFromShoppingList**](docs/OAIMealPlanningApi.md#deletefromshoppinglist) | **DELETE** /mealplanner/{username}/shopping-list/items/{id} | Delete from Shopping List -*OAIMealPlanningApi* | [**deleteMealPlanTemplate**](docs/OAIMealPlanningApi.md#deletemealplantemplate) | **DELETE** /mealplanner/{username}/templates/{id} | Delete Meal Plan Template -*OAIMealPlanningApi* | [**generateMealPlan**](docs/OAIMealPlanningApi.md#generatemealplan) | **GET** /mealplanner/generate | Generate Meal Plan -*OAIMealPlanningApi* | [**generateShoppingList**](docs/OAIMealPlanningApi.md#generateshoppinglist) | **POST** /mealplanner/{username}/shopping-list/{start_date}/{end_date} | Generate Shopping List -*OAIMealPlanningApi* | [**getMealPlanTemplate**](docs/OAIMealPlanningApi.md#getmealplantemplate) | **GET** /mealplanner/{username}/templates/{id} | Get Meal Plan Template -*OAIMealPlanningApi* | [**getMealPlanTemplates**](docs/OAIMealPlanningApi.md#getmealplantemplates) | **GET** /mealplanner/{username}/templates | Get Meal Plan Templates -*OAIMealPlanningApi* | [**getMealPlanWeek**](docs/OAIMealPlanningApi.md#getmealplanweek) | **GET** /mealplanner/{username}/week/{start_date} | Get Meal Plan Week -*OAIMealPlanningApi* | [**getShoppingList**](docs/OAIMealPlanningApi.md#getshoppinglist) | **GET** /mealplanner/{username}/shopping-list | Get Shopping List -*OAIMenuItemsApi* | [**autocompleteMenuItemSearch**](docs/OAIMenuItemsApi.md#autocompletemenuitemsearch) | **GET** /food/menuItems/suggest | Autocomplete Menu Item Search -*OAIMenuItemsApi* | [**getMenuItemInformation**](docs/OAIMenuItemsApi.md#getmenuiteminformation) | **GET** /food/menuItems/{id} | Get Menu Item Information -*OAIMenuItemsApi* | [**menuItemNutritionByIDImage**](docs/OAIMenuItemsApi.md#menuitemnutritionbyidimage) | **GET** /food/menuItems/{id}/nutritionWidget.png | Menu Item Nutrition by ID Image -*OAIMenuItemsApi* | [**menuItemNutritionLabelImage**](docs/OAIMenuItemsApi.md#menuitemnutritionlabelimage) | **GET** /food/menuItems/{id}/nutritionLabel.png | Menu Item Nutrition Label Image -*OAIMenuItemsApi* | [**menuItemNutritionLabelWidget**](docs/OAIMenuItemsApi.md#menuitemnutritionlabelwidget) | **GET** /food/menuItems/{id}/nutritionLabel | Menu Item Nutrition Label Widget -*OAIMenuItemsApi* | [**searchMenuItems**](docs/OAIMenuItemsApi.md#searchmenuitems) | **GET** /food/menuItems/search | Search Menu Items -*OAIMenuItemsApi* | [**visualizeMenuItemNutritionByID**](docs/OAIMenuItemsApi.md#visualizemenuitemnutritionbyid) | **GET** /food/menuItems/{id}/nutritionWidget | Menu Item Nutrition by ID Widget -*OAIMiscApi* | [**detectFoodInText**](docs/OAIMiscApi.md#detectfoodintext) | **POST** /food/detect | Detect Food in Text -*OAIMiscApi* | [**getARandomFoodJoke**](docs/OAIMiscApi.md#getarandomfoodjoke) | **GET** /food/jokes/random | Random Food Joke -*OAIMiscApi* | [**getConversationSuggests**](docs/OAIMiscApi.md#getconversationsuggests) | **GET** /food/converse/suggest | Conversation Suggests -*OAIMiscApi* | [**getRandomFoodTrivia**](docs/OAIMiscApi.md#getrandomfoodtrivia) | **GET** /food/trivia/random | Random Food Trivia -*OAIMiscApi* | [**imageAnalysisByURL**](docs/OAIMiscApi.md#imageanalysisbyurl) | **GET** /food/images/analyze | Image Analysis by URL -*OAIMiscApi* | [**imageClassificationByURL**](docs/OAIMiscApi.md#imageclassificationbyurl) | **GET** /food/images/classify | Image Classification by URL -*OAIMiscApi* | [**searchAllFood**](docs/OAIMiscApi.md#searchallfood) | **GET** /food/search | Search All Food -*OAIMiscApi* | [**searchCustomFoods**](docs/OAIMiscApi.md#searchcustomfoods) | **GET** /food/customFoods/search | Search Custom Foods -*OAIMiscApi* | [**searchFoodVideos**](docs/OAIMiscApi.md#searchfoodvideos) | **GET** /food/videos/search | Search Food Videos -*OAIMiscApi* | [**searchSiteContent**](docs/OAIMiscApi.md#searchsitecontent) | **GET** /food/site/search | Search Site Content -*OAIMiscApi* | [**talkToChatbot**](docs/OAIMiscApi.md#talktochatbot) | **GET** /food/converse | Talk to Chatbot -*OAIProductsApi* | [**autocompleteProductSearch**](docs/OAIProductsApi.md#autocompleteproductsearch) | **GET** /food/products/suggest | Autocomplete Product Search -*OAIProductsApi* | [**classifyGroceryProduct**](docs/OAIProductsApi.md#classifygroceryproduct) | **POST** /food/products/classify | Classify Grocery Product -*OAIProductsApi* | [**classifyGroceryProductBulk**](docs/OAIProductsApi.md#classifygroceryproductbulk) | **POST** /food/products/classifyBatch | Classify Grocery Product Bulk -*OAIProductsApi* | [**getComparableProducts**](docs/OAIProductsApi.md#getcomparableproducts) | **GET** /food/products/upc/{upc}/comparable | Get Comparable Products -*OAIProductsApi* | [**getProductInformation**](docs/OAIProductsApi.md#getproductinformation) | **GET** /food/products/{id} | Get Product Information -*OAIProductsApi* | [**productNutritionByIDImage**](docs/OAIProductsApi.md#productnutritionbyidimage) | **GET** /food/products/{id}/nutritionWidget.png | Product Nutrition by ID Image -*OAIProductsApi* | [**productNutritionLabelImage**](docs/OAIProductsApi.md#productnutritionlabelimage) | **GET** /food/products/{id}/nutritionLabel.png | Product Nutrition Label Image -*OAIProductsApi* | [**productNutritionLabelWidget**](docs/OAIProductsApi.md#productnutritionlabelwidget) | **GET** /food/products/{id}/nutritionLabel | Product Nutrition Label Widget -*OAIProductsApi* | [**searchGroceryProducts**](docs/OAIProductsApi.md#searchgroceryproducts) | **GET** /food/products/search | Search Grocery Products -*OAIProductsApi* | [**searchGroceryProductsByUPC**](docs/OAIProductsApi.md#searchgroceryproductsbyupc) | **GET** /food/products/upc/{upc} | Search Grocery Products by UPC -*OAIProductsApi* | [**visualizeProductNutritionByID**](docs/OAIProductsApi.md#visualizeproductnutritionbyid) | **GET** /food/products/{id}/nutritionWidget | Product Nutrition by ID Widget -*OAIRecipesApi* | [**analyzeARecipeSearchQuery**](docs/OAIRecipesApi.md#analyzearecipesearchquery) | **GET** /recipes/queries/analyze | Analyze a Recipe Search Query -*OAIRecipesApi* | [**analyzeRecipeInstructions**](docs/OAIRecipesApi.md#analyzerecipeinstructions) | **POST** /recipes/analyzeInstructions | Analyze Recipe Instructions -*OAIRecipesApi* | [**autocompleteRecipeSearch**](docs/OAIRecipesApi.md#autocompleterecipesearch) | **GET** /recipes/autocomplete | Autocomplete Recipe Search -*OAIRecipesApi* | [**classifyCuisine**](docs/OAIRecipesApi.md#classifycuisine) | **POST** /recipes/cuisine | Classify Cuisine -*OAIRecipesApi* | [**computeGlycemicLoad**](docs/OAIRecipesApi.md#computeglycemicload) | **POST** /food/ingredients/glycemicLoad | Compute Glycemic Load -*OAIRecipesApi* | [**convertAmounts**](docs/OAIRecipesApi.md#convertamounts) | **GET** /recipes/convert | Convert Amounts -*OAIRecipesApi* | [**createRecipeCard**](docs/OAIRecipesApi.md#createrecipecard) | **POST** /recipes/visualizeRecipe | Create Recipe Card -*OAIRecipesApi* | [**equipmentByIDImage**](docs/OAIRecipesApi.md#equipmentbyidimage) | **GET** /recipes/{id}/equipmentWidget.png | Equipment by ID Image -*OAIRecipesApi* | [**extractRecipeFromWebsite**](docs/OAIRecipesApi.md#extractrecipefromwebsite) | **GET** /recipes/extract | Extract Recipe from Website -*OAIRecipesApi* | [**getAnalyzedRecipeInstructions**](docs/OAIRecipesApi.md#getanalyzedrecipeinstructions) | **GET** /recipes/{id}/analyzedInstructions | Get Analyzed Recipe Instructions -*OAIRecipesApi* | [**getRandomRecipes**](docs/OAIRecipesApi.md#getrandomrecipes) | **GET** /recipes/random | Get Random Recipes -*OAIRecipesApi* | [**getRecipeEquipmentByID**](docs/OAIRecipesApi.md#getrecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget.json | Equipment by ID -*OAIRecipesApi* | [**getRecipeInformation**](docs/OAIRecipesApi.md#getrecipeinformation) | **GET** /recipes/{id}/information | Get Recipe Information -*OAIRecipesApi* | [**getRecipeInformationBulk**](docs/OAIRecipesApi.md#getrecipeinformationbulk) | **GET** /recipes/informationBulk | Get Recipe Information Bulk -*OAIRecipesApi* | [**getRecipeIngredientsByID**](docs/OAIRecipesApi.md#getrecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget.json | Ingredients by ID -*OAIRecipesApi* | [**getRecipeNutritionWidgetByID**](docs/OAIRecipesApi.md#getrecipenutritionwidgetbyid) | **GET** /recipes/{id}/nutritionWidget.json | Nutrition by ID -*OAIRecipesApi* | [**getRecipePriceBreakdownByID**](docs/OAIRecipesApi.md#getrecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget.json | Price Breakdown by ID -*OAIRecipesApi* | [**getRecipeTasteByID**](docs/OAIRecipesApi.md#getrecipetastebyid) | **GET** /recipes/{id}/tasteWidget.json | Taste by ID -*OAIRecipesApi* | [**getSimilarRecipes**](docs/OAIRecipesApi.md#getsimilarrecipes) | **GET** /recipes/{id}/similar | Get Similar Recipes -*OAIRecipesApi* | [**guessNutritionByDishName**](docs/OAIRecipesApi.md#guessnutritionbydishname) | **GET** /recipes/guessNutrition | Guess Nutrition by Dish Name -*OAIRecipesApi* | [**parseIngredients**](docs/OAIRecipesApi.md#parseingredients) | **POST** /recipes/parseIngredients | Parse Ingredients -*OAIRecipesApi* | [**priceBreakdownByIDImage**](docs/OAIRecipesApi.md#pricebreakdownbyidimage) | **GET** /recipes/{id}/priceBreakdownWidget.png | Price Breakdown by ID Image -*OAIRecipesApi* | [**quickAnswer**](docs/OAIRecipesApi.md#quickanswer) | **GET** /recipes/quickAnswer | Quick Answer -*OAIRecipesApi* | [**recipeNutritionByIDImage**](docs/OAIRecipesApi.md#recipenutritionbyidimage) | **GET** /recipes/{id}/nutritionWidget.png | Recipe Nutrition by ID Image -*OAIRecipesApi* | [**recipeNutritionLabelImage**](docs/OAIRecipesApi.md#recipenutritionlabelimage) | **GET** /recipes/{id}/nutritionLabel.png | Recipe Nutrition Label Image -*OAIRecipesApi* | [**recipeNutritionLabelWidget**](docs/OAIRecipesApi.md#recipenutritionlabelwidget) | **GET** /recipes/{id}/nutritionLabel | Recipe Nutrition Label Widget -*OAIRecipesApi* | [**recipeTasteByIDImage**](docs/OAIRecipesApi.md#recipetastebyidimage) | **GET** /recipes/{id}/tasteWidget.png | Recipe Taste by ID Image -*OAIRecipesApi* | [**searchRecipes**](docs/OAIRecipesApi.md#searchrecipes) | **GET** /recipes/complexSearch | Search Recipes -*OAIRecipesApi* | [**searchRecipesByIngredients**](docs/OAIRecipesApi.md#searchrecipesbyingredients) | **GET** /recipes/findByIngredients | Search Recipes by Ingredients -*OAIRecipesApi* | [**searchRecipesByNutrients**](docs/OAIRecipesApi.md#searchrecipesbynutrients) | **GET** /recipes/findByNutrients | Search Recipes by Nutrients -*OAIRecipesApi* | [**summarizeRecipe**](docs/OAIRecipesApi.md#summarizerecipe) | **GET** /recipes/{id}/summary | Summarize Recipe -*OAIRecipesApi* | [**visualizeEquipment**](docs/OAIRecipesApi.md#visualizeequipment) | **POST** /recipes/visualizeEquipment | Equipment Widget -*OAIRecipesApi* | [**visualizePriceBreakdown**](docs/OAIRecipesApi.md#visualizepricebreakdown) | **POST** /recipes/visualizePriceEstimator | Price Breakdown Widget -*OAIRecipesApi* | [**visualizeRecipeEquipmentByID**](docs/OAIRecipesApi.md#visualizerecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget | Equipment by ID Widget -*OAIRecipesApi* | [**visualizeRecipeIngredientsByID**](docs/OAIRecipesApi.md#visualizerecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget | Ingredients by ID Widget -*OAIRecipesApi* | [**visualizeRecipeNutrition**](docs/OAIRecipesApi.md#visualizerecipenutrition) | **POST** /recipes/visualizeNutrition | Recipe Nutrition Widget -*OAIRecipesApi* | [**visualizeRecipeNutritionByID**](docs/OAIRecipesApi.md#visualizerecipenutritionbyid) | **GET** /recipes/{id}/nutritionWidget | Recipe Nutrition by ID Widget -*OAIRecipesApi* | [**visualizeRecipePriceBreakdownByID**](docs/OAIRecipesApi.md#visualizerecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget | Price Breakdown by ID Widget -*OAIRecipesApi* | [**visualizeRecipeTaste**](docs/OAIRecipesApi.md#visualizerecipetaste) | **POST** /recipes/visualizeTaste | Recipe Taste Widget -*OAIRecipesApi* | [**visualizeRecipeTasteByID**](docs/OAIRecipesApi.md#visualizerecipetastebyid) | **GET** /recipes/{id}/tasteWidget | Recipe Taste by ID Widget -*OAIWineApi* | [**getDishPairingForWine**](docs/OAIWineApi.md#getdishpairingforwine) | **GET** /food/wine/dishes | Dish Pairing for Wine -*OAIWineApi* | [**getWineDescription**](docs/OAIWineApi.md#getwinedescription) | **GET** /food/wine/description | Wine Description -*OAIWineApi* | [**getWinePairing**](docs/OAIWineApi.md#getwinepairing) | **GET** /food/wine/pairing | Wine Pairing -*OAIWineApi* | [**getWineRecommendation**](docs/OAIWineApi.md#getwinerecommendation) | **GET** /food/wine/recommendation | Wine Recommendation - - -## Documentation For Models - - - [OAIAddMealPlanTemplate200Response](docs/OAIAddMealPlanTemplate200Response.md) - - [OAIAddMealPlanTemplate200ResponseItemsInner](docs/OAIAddMealPlanTemplate200ResponseItemsInner.md) - - [OAIAddMealPlanTemplate200ResponseItemsInnerValue](docs/OAIAddMealPlanTemplate200ResponseItemsInnerValue.md) - - [OAIAddToMealPlanRequest](docs/OAIAddToMealPlanRequest.md) - - [OAIAddToMealPlanRequestValue](docs/OAIAddToMealPlanRequestValue.md) - - [OAIAddToMealPlanRequestValueIngredientsInner](docs/OAIAddToMealPlanRequestValueIngredientsInner.md) - - [OAIAddToShoppingListRequest](docs/OAIAddToShoppingListRequest.md) - - [OAIAnalyzeARecipeSearchQuery200Response](docs/OAIAnalyzeARecipeSearchQuery200Response.md) - - [OAIAnalyzeARecipeSearchQuery200ResponseDishesInner](docs/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.md) - - [OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner](docs/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.md) - - [OAIAnalyzeRecipeInstructions200Response](docs/OAIAnalyzeRecipeInstructions200Response.md) - - [OAIAnalyzeRecipeInstructions200ResponseIngredientsInner](docs/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md) - - [OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner](docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md) - - [OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner](docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) - - [OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner](docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) - - [OAIAnalyzeRecipeRequest](docs/OAIAnalyzeRecipeRequest.md) - - [OAIAutocompleteIngredientSearch200ResponseInner](docs/OAIAutocompleteIngredientSearch200ResponseInner.md) - - [OAIAutocompleteMenuItemSearch200Response](docs/OAIAutocompleteMenuItemSearch200Response.md) - - [OAIAutocompleteProductSearch200Response](docs/OAIAutocompleteProductSearch200Response.md) - - [OAIAutocompleteProductSearch200ResponseResultsInner](docs/OAIAutocompleteProductSearch200ResponseResultsInner.md) - - [OAIAutocompleteRecipeSearch200ResponseInner](docs/OAIAutocompleteRecipeSearch200ResponseInner.md) - - [OAIClassifyCuisine200Response](docs/OAIClassifyCuisine200Response.md) - - [OAIClassifyGroceryProduct200Response](docs/OAIClassifyGroceryProduct200Response.md) - - [OAIClassifyGroceryProductBulk200ResponseInner](docs/OAIClassifyGroceryProductBulk200ResponseInner.md) - - [OAIClassifyGroceryProductBulkRequestInner](docs/OAIClassifyGroceryProductBulkRequestInner.md) - - [OAIClassifyGroceryProductRequest](docs/OAIClassifyGroceryProductRequest.md) - - [OAIComputeGlycemicLoad200Response](docs/OAIComputeGlycemicLoad200Response.md) - - [OAIComputeGlycemicLoad200ResponseIngredientsInner](docs/OAIComputeGlycemicLoad200ResponseIngredientsInner.md) - - [OAIComputeGlycemicLoadRequest](docs/OAIComputeGlycemicLoadRequest.md) - - [OAIComputeIngredientAmount200Response](docs/OAIComputeIngredientAmount200Response.md) - - [OAIConnectUser200Response](docs/OAIConnectUser200Response.md) - - [OAIConnectUserRequest](docs/OAIConnectUserRequest.md) - - [OAIConvertAmounts200Response](docs/OAIConvertAmounts200Response.md) - - [OAICreateRecipeCard200Response](docs/OAICreateRecipeCard200Response.md) - - [OAIDetectFoodInText200Response](docs/OAIDetectFoodInText200Response.md) - - [OAIDetectFoodInText200ResponseAnnotationsInner](docs/OAIDetectFoodInText200ResponseAnnotationsInner.md) - - [OAIGenerateMealPlan200Response](docs/OAIGenerateMealPlan200Response.md) - - [OAIGenerateMealPlan200ResponseNutrients](docs/OAIGenerateMealPlan200ResponseNutrients.md) - - [OAIGenerateShoppingList200Response](docs/OAIGenerateShoppingList200Response.md) - - [OAIGetARandomFoodJoke200Response](docs/OAIGetARandomFoodJoke200Response.md) - - [OAIGetAnalyzedRecipeInstructions200Response](docs/OAIGetAnalyzedRecipeInstructions200Response.md) - - [OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner](docs/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) - - [OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner](docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md) - - [OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner](docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) - - [OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner](docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) - - [OAIGetComparableProducts200Response](docs/OAIGetComparableProducts200Response.md) - - [OAIGetComparableProducts200ResponseComparableProducts](docs/OAIGetComparableProducts200ResponseComparableProducts.md) - - [OAIGetComparableProducts200ResponseComparableProductsProteinInner](docs/OAIGetComparableProducts200ResponseComparableProductsProteinInner.md) - - [OAIGetConversationSuggests200Response](docs/OAIGetConversationSuggests200Response.md) - - [OAIGetConversationSuggests200ResponseSuggests](docs/OAIGetConversationSuggests200ResponseSuggests.md) - - [OAIGetConversationSuggests200ResponseSuggestsInner](docs/OAIGetConversationSuggests200ResponseSuggestsInner.md) - - [OAIGetDishPairingForWine200Response](docs/OAIGetDishPairingForWine200Response.md) - - [OAIGetIngredientInformation200Response](docs/OAIGetIngredientInformation200Response.md) - - [OAIGetIngredientInformation200ResponseNutrition](docs/OAIGetIngredientInformation200ResponseNutrition.md) - - [OAIGetIngredientSubstitutes200Response](docs/OAIGetIngredientSubstitutes200Response.md) - - [OAIGetMealPlanTemplate200Response](docs/OAIGetMealPlanTemplate200Response.md) - - [OAIGetMealPlanTemplate200ResponseDaysInner](docs/OAIGetMealPlanTemplate200ResponseDaysInner.md) - - [OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner](docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.md) - - [OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue](docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md) - - [OAIGetMealPlanTemplates200Response](docs/OAIGetMealPlanTemplates200Response.md) - - [OAIGetMealPlanWeek200Response](docs/OAIGetMealPlanWeek200Response.md) - - [OAIGetMealPlanWeek200ResponseDaysInner](docs/OAIGetMealPlanWeek200ResponseDaysInner.md) - - [OAIGetMealPlanWeek200ResponseDaysInnerItemsInner](docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.md) - - [OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue](docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md) - - [OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary](docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) - - [OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner](docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md) - - [OAIGetMenuItemInformation200Response](docs/OAIGetMenuItemInformation200Response.md) - - [OAIGetProductInformation200Response](docs/OAIGetProductInformation200Response.md) - - [OAIGetProductInformation200ResponseIngredientsInner](docs/OAIGetProductInformation200ResponseIngredientsInner.md) - - [OAIGetRandomFoodTrivia200Response](docs/OAIGetRandomFoodTrivia200Response.md) - - [OAIGetRandomRecipes200Response](docs/OAIGetRandomRecipes200Response.md) - - [OAIGetRandomRecipes200ResponseRecipesInner](docs/OAIGetRandomRecipes200ResponseRecipesInner.md) - - [OAIGetRecipeEquipmentByID200Response](docs/OAIGetRecipeEquipmentByID200Response.md) - - [OAIGetRecipeEquipmentByID200ResponseEquipmentInner](docs/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.md) - - [OAIGetRecipeInformation200Response](docs/OAIGetRecipeInformation200Response.md) - - [OAIGetRecipeInformation200ResponseExtendedIngredientsInner](docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md) - - [OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures](docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md) - - [OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric](docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) - - [OAIGetRecipeInformation200ResponseWinePairing](docs/OAIGetRecipeInformation200ResponseWinePairing.md) - - [OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner](docs/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.md) - - [OAIGetRecipeInformationBulk200ResponseInner](docs/OAIGetRecipeInformationBulk200ResponseInner.md) - - [OAIGetRecipeIngredientsByID200Response](docs/OAIGetRecipeIngredientsByID200Response.md) - - [OAIGetRecipeIngredientsByID200ResponseIngredientsInner](docs/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.md) - - [OAIGetRecipeNutritionWidgetByID200Response](docs/OAIGetRecipeNutritionWidgetByID200Response.md) - - [OAIGetRecipeNutritionWidgetByID200ResponseBadInner](docs/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.md) - - [OAIGetRecipeNutritionWidgetByID200ResponseGoodInner](docs/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.md) - - [OAIGetRecipePriceBreakdownByID200Response](docs/OAIGetRecipePriceBreakdownByID200Response.md) - - [OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner](docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.md) - - [OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount](docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) - - [OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric](docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) - - [OAIGetRecipeTasteByID200Response](docs/OAIGetRecipeTasteByID200Response.md) - - [OAIGetShoppingList200Response](docs/OAIGetShoppingList200Response.md) - - [OAIGetShoppingList200ResponseAislesInner](docs/OAIGetShoppingList200ResponseAislesInner.md) - - [OAIGetShoppingList200ResponseAislesInnerItemsInner](docs/OAIGetShoppingList200ResponseAislesInnerItemsInner.md) - - [OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures](docs/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.md) - - [OAIGetSimilarRecipes200ResponseInner](docs/OAIGetSimilarRecipes200ResponseInner.md) - - [OAIGetWineDescription200Response](docs/OAIGetWineDescription200Response.md) - - [OAIGetWinePairing200Response](docs/OAIGetWinePairing200Response.md) - - [OAIGetWinePairing200ResponseProductMatchesInner](docs/OAIGetWinePairing200ResponseProductMatchesInner.md) - - [OAIGetWineRecommendation200Response](docs/OAIGetWineRecommendation200Response.md) - - [OAIGetWineRecommendation200ResponseRecommendedWinesInner](docs/OAIGetWineRecommendation200ResponseRecommendedWinesInner.md) - - [OAIGuessNutritionByDishName200Response](docs/OAIGuessNutritionByDishName200Response.md) - - [OAIGuessNutritionByDishName200ResponseCalories](docs/OAIGuessNutritionByDishName200ResponseCalories.md) - - [OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent](docs/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md) - - [OAIImageAnalysisByURL200Response](docs/OAIImageAnalysisByURL200Response.md) - - [OAIImageAnalysisByURL200ResponseCategory](docs/OAIImageAnalysisByURL200ResponseCategory.md) - - [OAIImageAnalysisByURL200ResponseNutrition](docs/OAIImageAnalysisByURL200ResponseNutrition.md) - - [OAIImageAnalysisByURL200ResponseNutritionCalories](docs/OAIImageAnalysisByURL200ResponseNutritionCalories.md) - - [OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent](docs/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md) - - [OAIImageAnalysisByURL200ResponseRecipesInner](docs/OAIImageAnalysisByURL200ResponseRecipesInner.md) - - [OAIImageClassificationByURL200Response](docs/OAIImageClassificationByURL200Response.md) - - [OAIIngredientSearch200Response](docs/OAIIngredientSearch200Response.md) - - [OAIIngredientSearch200ResponseResultsInner](docs/OAIIngredientSearch200ResponseResultsInner.md) - - [OAIMapIngredientsToGroceryProducts200ResponseInner](docs/OAIMapIngredientsToGroceryProducts200ResponseInner.md) - - [OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner](docs/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.md) - - [OAIMapIngredientsToGroceryProductsRequest](docs/OAIMapIngredientsToGroceryProductsRequest.md) - - [OAIParseIngredients200ResponseInner](docs/OAIParseIngredients200ResponseInner.md) - - [OAIParseIngredients200ResponseInnerEstimatedCost](docs/OAIParseIngredients200ResponseInnerEstimatedCost.md) - - [OAIParseIngredients200ResponseInnerNutrition](docs/OAIParseIngredients200ResponseInnerNutrition.md) - - [OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown](docs/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) - - [OAIParseIngredients200ResponseInnerNutritionNutrientsInner](docs/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md) - - [OAIParseIngredients200ResponseInnerNutritionPropertiesInner](docs/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md) - - [OAIParseIngredients200ResponseInnerNutritionWeightPerServing](docs/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md) - - [OAIQuickAnswer200Response](docs/OAIQuickAnswer200Response.md) - - [OAISearchAllFood200Response](docs/OAISearchAllFood200Response.md) - - [OAISearchAllFood200ResponseSearchResultsInner](docs/OAISearchAllFood200ResponseSearchResultsInner.md) - - [OAISearchAllFood200ResponseSearchResultsInnerResultsInner](docs/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.md) - - [OAISearchCustomFoods200Response](docs/OAISearchCustomFoods200Response.md) - - [OAISearchCustomFoods200ResponseCustomFoodsInner](docs/OAISearchCustomFoods200ResponseCustomFoodsInner.md) - - [OAISearchFoodVideos200Response](docs/OAISearchFoodVideos200Response.md) - - [OAISearchFoodVideos200ResponseVideosInner](docs/OAISearchFoodVideos200ResponseVideosInner.md) - - [OAISearchGroceryProducts200Response](docs/OAISearchGroceryProducts200Response.md) - - [OAISearchGroceryProductsByUPC200Response](docs/OAISearchGroceryProductsByUPC200Response.md) - - [OAISearchGroceryProductsByUPC200ResponseIngredientsInner](docs/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.md) - - [OAISearchGroceryProductsByUPC200ResponseNutrition](docs/OAISearchGroceryProductsByUPC200ResponseNutrition.md) - - [OAISearchGroceryProductsByUPC200ResponseServings](docs/OAISearchGroceryProductsByUPC200ResponseServings.md) - - [OAISearchMenuItems200Response](docs/OAISearchMenuItems200Response.md) - - [OAISearchMenuItems200ResponseMenuItemsInner](docs/OAISearchMenuItems200ResponseMenuItemsInner.md) - - [OAISearchRecipes200Response](docs/OAISearchRecipes200Response.md) - - [OAISearchRecipes200ResponseResultsInner](docs/OAISearchRecipes200ResponseResultsInner.md) - - [OAISearchRecipesByIngredients200ResponseInner](docs/OAISearchRecipesByIngredients200ResponseInner.md) - - [OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner](docs/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) - - [OAISearchRecipesByNutrients200ResponseInner](docs/OAISearchRecipesByNutrients200ResponseInner.md) - - [OAISearchRestaurants200Response](docs/OAISearchRestaurants200Response.md) - - [OAISearchRestaurants200ResponseRestaurantsInner](docs/OAISearchRestaurants200ResponseRestaurantsInner.md) - - [OAISearchRestaurants200ResponseRestaurantsInnerAddress](docs/OAISearchRestaurants200ResponseRestaurantsInnerAddress.md) - - [OAISearchRestaurants200ResponseRestaurantsInnerLocalHours](docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.md) - - [OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational](docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) - - [OAISearchSiteContent200Response](docs/OAISearchSiteContent200Response.md) - - [OAISearchSiteContent200ResponseArticlesInner](docs/OAISearchSiteContent200ResponseArticlesInner.md) - - [OAISearchSiteContent200ResponseArticlesInnerDataPointsInner](docs/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.md) - - [OAISummarizeRecipe200Response](docs/OAISummarizeRecipe200Response.md) - - [OAITalkToChatbot200Response](docs/OAITalkToChatbot200Response.md) - - [OAITalkToChatbot200ResponseMediaInner](docs/OAITalkToChatbot200ResponseMediaInner.md) - - -## Documentation For Authorization - - -Authentication schemes defined for the API: -### apiKeyScheme - -- **Type**: API key -- **API key parameter name**: x-api-key -- **Location**: HTTP header - - -## Author - -mail@spoonacular.com - diff --git a/objc/docs/OAIAddMealPlanTemplate200Response.md b/objc/docs/OAIAddMealPlanTemplate200Response.md deleted file mode 100644 index e0d6de602..000000000 --- a/objc/docs/OAIAddMealPlanTemplate200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIAddMealPlanTemplate200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**items** | [**OAISet<OAIAddMealPlanTemplate200ResponseItemsInner>***](OAIAddMealPlanTemplate200ResponseItemsInner.md) | | -**publishAsPublic** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAddMealPlanTemplate200ResponseItemsInner.md b/objc/docs/OAIAddMealPlanTemplate200ResponseItemsInner.md deleted file mode 100644 index 016f8887c..000000000 --- a/objc/docs/OAIAddMealPlanTemplate200ResponseItemsInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIAddMealPlanTemplate200ResponseItemsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**day** | **NSNumber*** | | -**slot** | **NSNumber*** | | -**position** | **NSNumber*** | | -**type** | **NSString*** | | -**value** | [**OAIAddMealPlanTemplate200ResponseItemsInnerValue***](OAIAddMealPlanTemplate200ResponseItemsInnerValue.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAddMealPlanTemplate200ResponseItemsInnerValue.md b/objc/docs/OAIAddMealPlanTemplate200ResponseItemsInnerValue.md deleted file mode 100644 index 3cf1e023d..000000000 --- a/objc/docs/OAIAddMealPlanTemplate200ResponseItemsInnerValue.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIAddMealPlanTemplate200ResponseItemsInnerValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | [optional] -**servings** | **NSNumber*** | | [optional] -**title** | **NSString*** | | [optional] -**imageType** | **NSString*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAddToMealPlanRequest.md b/objc/docs/OAIAddToMealPlanRequest.md deleted file mode 100644 index 25d7e07ee..000000000 --- a/objc/docs/OAIAddToMealPlanRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIAddToMealPlanRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date** | **NSNumber*** | | -**slot** | **NSNumber*** | | -**position** | **NSNumber*** | | -**type** | **NSString*** | | -**value** | [**OAIAddToMealPlanRequestValue***](OAIAddToMealPlanRequestValue.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAddToMealPlanRequestValue.md b/objc/docs/OAIAddToMealPlanRequestValue.md deleted file mode 100644 index 2f41c88c0..000000000 --- a/objc/docs/OAIAddToMealPlanRequestValue.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIAddToMealPlanRequestValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | [**OAISet<OAIAddToMealPlanRequestValueIngredientsInner>***](OAIAddToMealPlanRequestValueIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAddToMealPlanRequestValueIngredientsInner.md b/objc/docs/OAIAddToMealPlanRequestValueIngredientsInner.md deleted file mode 100644 index 4363042bf..000000000 --- a/objc/docs/OAIAddToMealPlanRequestValueIngredientsInner.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIAddToMealPlanRequestValueIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAddToShoppingListRequest.md b/objc/docs/OAIAddToShoppingListRequest.md deleted file mode 100644 index 4c4eadeca..000000000 --- a/objc/docs/OAIAddToShoppingListRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIAddToShoppingListRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**item** | **NSString*** | | -**aisle** | **NSString*** | | -**parse** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeARecipeSearchQuery200Response.md b/objc/docs/OAIAnalyzeARecipeSearchQuery200Response.md deleted file mode 100644 index d063bf5ba..000000000 --- a/objc/docs/OAIAnalyzeARecipeSearchQuery200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIAnalyzeARecipeSearchQuery200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dishes** | [**OAISet<OAIAnalyzeARecipeSearchQuery200ResponseDishesInner>***](OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.md) | | -**ingredients** | [**OAISet<OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner>***](OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.md) | | -**cuisines** | **NSArray<NSString*>*** | | -**modifiers** | **NSArray<NSString*>*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.md b/objc/docs/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.md deleted file mode 100644 index d9c7f4261..000000000 --- a/objc/docs/OAIAnalyzeARecipeSearchQuery200ResponseDishesInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIAnalyzeARecipeSearchQuery200ResponseDishesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **NSString*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.md b/objc/docs/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.md deleted file mode 100644 index 35ce0f059..000000000 --- a/objc/docs/OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIAnalyzeARecipeSearchQuery200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **NSString*** | | -**include** | **NSNumber*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeRecipeInstructions200Response.md b/objc/docs/OAIAnalyzeRecipeInstructions200Response.md deleted file mode 100644 index aac5447b1..000000000 --- a/objc/docs/OAIAnalyzeRecipeInstructions200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIAnalyzeRecipeInstructions200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**parsedInstructions** | [**OAISet<OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner>***](OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md) | | -**ingredients** | [**OAISet<OAIAnalyzeRecipeInstructions200ResponseIngredientsInner>***](OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md) | | -**equipment** | [**OAISet<OAIAnalyzeRecipeInstructions200ResponseIngredientsInner>***](OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md b/objc/docs/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md deleted file mode 100644 index 2f776e5ff..000000000 --- a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseIngredientsInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIAnalyzeRecipeInstructions200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md b/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md deleted file mode 100644 index 69974f1f8..000000000 --- a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**steps** | [**OAISet<OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>***](OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md deleted file mode 100644 index c170ff20c..000000000 --- a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**number** | **NSNumber*** | | -**step** | **NSString*** | | -**ingredients** | [**OAISet<OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>***](OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] -**equipment** | [**OAISet<OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>***](OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md deleted file mode 100644 index 80186ecfb..000000000 --- a/objc/docs/OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | -**localizedName** | **NSString*** | | -**image** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAnalyzeRecipeRequest.md b/objc/docs/OAIAnalyzeRecipeRequest.md deleted file mode 100644 index 11f58965a..000000000 --- a/objc/docs/OAIAnalyzeRecipeRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIAnalyzeRecipeRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **NSString*** | | [optional] -**servings** | **NSNumber*** | | [optional] -**ingredients** | **NSArray<NSString*>*** | | [optional] -**instructions** | **NSString*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAutocompleteIngredientSearch200ResponseInner.md b/objc/docs/OAIAutocompleteIngredientSearch200ResponseInner.md deleted file mode 100644 index ef878a38d..000000000 --- a/objc/docs/OAIAutocompleteIngredientSearch200ResponseInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIAutocompleteIngredientSearch200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**image** | **NSString*** | | -**_id** | **NSNumber*** | | [optional] -**aisle** | **NSString*** | | [optional] -**possibleUnits** | **NSArray<NSString*>*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAutocompleteMenuItemSearch200Response.md b/objc/docs/OAIAutocompleteMenuItemSearch200Response.md deleted file mode 100644 index 4d3746e0e..000000000 --- a/objc/docs/OAIAutocompleteMenuItemSearch200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIAutocompleteMenuItemSearch200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**results** | [**OAISet<OAIAutocompleteProductSearch200ResponseResultsInner>***](OAIAutocompleteProductSearch200ResponseResultsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAutocompleteProductSearch200Response.md b/objc/docs/OAIAutocompleteProductSearch200Response.md deleted file mode 100644 index 62fc21c1a..000000000 --- a/objc/docs/OAIAutocompleteProductSearch200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIAutocompleteProductSearch200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**results** | [**OAISet<OAIAutocompleteProductSearch200ResponseResultsInner>***](OAIAutocompleteProductSearch200ResponseResultsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAutocompleteProductSearch200ResponseResultsInner.md b/objc/docs/OAIAutocompleteProductSearch200ResponseResultsInner.md deleted file mode 100644 index 36b312978..000000000 --- a/objc/docs/OAIAutocompleteProductSearch200ResponseResultsInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIAutocompleteProductSearch200ResponseResultsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIAutocompleteRecipeSearch200ResponseInner.md b/objc/docs/OAIAutocompleteRecipeSearch200ResponseInner.md deleted file mode 100644 index e024836e3..000000000 --- a/objc/docs/OAIAutocompleteRecipeSearch200ResponseInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIAutocompleteRecipeSearch200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**imageType** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIClassifyCuisine200Response.md b/objc/docs/OAIClassifyCuisine200Response.md deleted file mode 100644 index 18f963795..000000000 --- a/objc/docs/OAIClassifyCuisine200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIClassifyCuisine200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cuisine** | **NSString*** | | -**cuisines** | **NSArray<NSString*>*** | | -**confidence** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIClassifyGroceryProduct200Response.md b/objc/docs/OAIClassifyGroceryProduct200Response.md deleted file mode 100644 index 54def977c..000000000 --- a/objc/docs/OAIClassifyGroceryProduct200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIClassifyGroceryProduct200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cleanTitle** | **NSString*** | | -**image** | **NSString*** | | -**category** | **NSString*** | | -**breadcrumbs** | **NSArray<NSString*>*** | | -**usdaCode** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIClassifyGroceryProductBulk200ResponseInner.md b/objc/docs/OAIClassifyGroceryProductBulk200ResponseInner.md deleted file mode 100644 index 8a1a53144..000000000 --- a/objc/docs/OAIClassifyGroceryProductBulk200ResponseInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIClassifyGroceryProductBulk200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cleanTitle** | **NSString*** | | -**image** | **NSString*** | | -**category** | **NSString*** | | -**breadcrumbs** | **NSArray<NSString*>*** | | -**usdaCode** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIClassifyGroceryProductBulkRequestInner.md b/objc/docs/OAIClassifyGroceryProductBulkRequestInner.md deleted file mode 100644 index e8d83a803..000000000 --- a/objc/docs/OAIClassifyGroceryProductBulkRequestInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIClassifyGroceryProductBulkRequestInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **NSString*** | | -**upc** | **NSString*** | | -**pluCode** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIClassifyGroceryProductRequest.md b/objc/docs/OAIClassifyGroceryProductRequest.md deleted file mode 100644 index 445be00bb..000000000 --- a/objc/docs/OAIClassifyGroceryProductRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIClassifyGroceryProductRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **NSString*** | | -**upc** | **NSString*** | | -**pluCode** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIComputeGlycemicLoad200Response.md b/objc/docs/OAIComputeGlycemicLoad200Response.md deleted file mode 100644 index 2fd96bc7d..000000000 --- a/objc/docs/OAIComputeGlycemicLoad200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIComputeGlycemicLoad200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**totalGlycemicLoad** | **NSNumber*** | | -**ingredients** | [**OAISet<OAIComputeGlycemicLoad200ResponseIngredientsInner>***](OAIComputeGlycemicLoad200ResponseIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIComputeGlycemicLoad200ResponseIngredientsInner.md b/objc/docs/OAIComputeGlycemicLoad200ResponseIngredientsInner.md deleted file mode 100644 index 69c2b8017..000000000 --- a/objc/docs/OAIComputeGlycemicLoad200ResponseIngredientsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIComputeGlycemicLoad200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**original** | **NSString*** | | -**glycemicIndex** | **NSNumber*** | | -**glycemicLoad** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIComputeGlycemicLoadRequest.md b/objc/docs/OAIComputeGlycemicLoadRequest.md deleted file mode 100644 index 9f58a447a..000000000 --- a/objc/docs/OAIComputeGlycemicLoadRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIComputeGlycemicLoadRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | **NSArray<NSString*>*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIComputeIngredientAmount200Response.md b/objc/docs/OAIComputeIngredientAmount200Response.md deleted file mode 100644 index 3e9e53502..000000000 --- a/objc/docs/OAIComputeIngredientAmount200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIComputeIngredientAmount200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIConnectUser200Response.md b/objc/docs/OAIConnectUser200Response.md deleted file mode 100644 index 884fddcce..000000000 --- a/objc/docs/OAIConnectUser200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIConnectUser200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **NSString*** | | -**hash** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIConnectUserRequest.md b/objc/docs/OAIConnectUserRequest.md deleted file mode 100644 index f4085b25b..000000000 --- a/objc/docs/OAIConnectUserRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIConnectUserRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **NSString*** | | -**firstName** | **NSString*** | | -**lastName** | **NSString*** | | -**email** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIConvertAmounts200Response.md b/objc/docs/OAIConvertAmounts200Response.md deleted file mode 100644 index a04f95c93..000000000 --- a/objc/docs/OAIConvertAmounts200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIConvertAmounts200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sourceAmount** | **NSNumber*** | | -**sourceUnit** | **NSString*** | | -**targetAmount** | **NSNumber*** | | -**targetUnit** | **NSString*** | | -**answer** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAICreateRecipeCard200Response.md b/objc/docs/OAICreateRecipeCard200Response.md deleted file mode 100644 index af2f74656..000000000 --- a/objc/docs/OAICreateRecipeCard200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAICreateRecipeCard200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**url** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIDefaultApi.md b/objc/docs/OAIDefaultApi.md deleted file mode 100644 index 2d00379cd..000000000 --- a/objc/docs/OAIDefaultApi.md +++ /dev/null @@ -1,246 +0,0 @@ -# OAIDefaultApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**analyzeRecipe**](OAIDefaultApi.md#analyzerecipe) | **POST** /recipes/analyze | Analyze Recipe -[**createRecipeCardGet**](OAIDefaultApi.md#createrecipecardget) | **GET** /recipes/{id}/card | Create Recipe Card -[**searchRestaurants**](OAIDefaultApi.md#searchrestaurants) | **GET** /food/restaurants/search | Search Restaurants - - -# **analyzeRecipe** -```objc --(NSURLSessionTask*) analyzeRecipeWithAnalyzeRecipeRequest: (OAIAnalyzeRecipeRequest*) analyzeRecipeRequest - language: (NSString*) language - includeNutrition: (NSNumber*) includeNutrition - includeTaste: (NSNumber*) includeTaste - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Analyze Recipe - -This endpoint allows you to send raw recipe information, such as title, servings, and ingredients, to then see what we compute (badges, diets, nutrition, and more). This is useful if you have your own recipe data and want to enrich it with our semantic analysis. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAIAnalyzeRecipeRequest* analyzeRecipeRequest = {"title":"Spaghetti Carbonara","servings":2,"ingredients":["1 lb spaghetti","3.5 oz pancetta","2 Tbsps olive oil","1 egg","0.5 cup parmesan cheese"],"instructions":"Bring a large pot of water to a boil and season generously with salt. Add the pasta to the water once boiling and cook until al dente. Reserve 2 cups of cooking water and drain the pasta. "}; // Example request body. -NSString* language = en; // The input language, either \"en\" or \"de\". (optional) -NSNumber* includeNutrition = false; // Whether nutrition data should be added to correctly parsed ingredients. (optional) -NSNumber* includeTaste = false; // Whether taste data should be added to correctly parsed ingredients. (optional) - -OAIDefaultApi*apiInstance = [[OAIDefaultApi alloc] init]; - -// Analyze Recipe -[apiInstance analyzeRecipeWithAnalyzeRecipeRequest:analyzeRecipeRequest - language:language - includeNutrition:includeNutrition - includeTaste:includeTaste - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIDefaultApi->analyzeRecipe: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **analyzeRecipeRequest** | [**OAIAnalyzeRecipeRequest***](OAIAnalyzeRecipeRequest.md)| Example request body. | - **language** | **NSString***| The input language, either \"en\" or \"de\". | [optional] - **includeNutrition** | **NSNumber***| Whether nutrition data should be added to correctly parsed ingredients. | [optional] - **includeTaste** | **NSNumber***| Whether taste data should be added to correctly parsed ingredients. | [optional] - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **createRecipeCardGet** -```objc --(NSURLSessionTask*) createRecipeCardGetWithId: (NSNumber*) _id - mask: (NSString*) mask - backgroundImage: (NSString*) backgroundImage - backgroundColor: (NSString*) backgroundColor - fontColor: (NSString*) fontColor - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Create Recipe Card - -Generate a recipe card for a recipe. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 4632; // The recipe id. -NSString* mask = ellipseMask; // The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). (optional) -NSString* backgroundImage = background1; // The background image (\"none\",\"background1\", or \"background2\"). (optional) -NSString* backgroundColor = ffffff; // The background color for the recipe card as a hex-string. (optional) -NSString* fontColor = 333333; // The font color for the recipe card as a hex-string. (optional) - -OAIDefaultApi*apiInstance = [[OAIDefaultApi alloc] init]; - -// Create Recipe Card -[apiInstance createRecipeCardGetWithId:_id - mask:mask - backgroundImage:backgroundImage - backgroundColor:backgroundColor - fontColor:fontColor - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIDefaultApi->createRecipeCardGet: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - **mask** | **NSString***| The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). | [optional] - **backgroundImage** | **NSString***| The background image (\"none\",\"background1\", or \"background2\"). | [optional] - **backgroundColor** | **NSString***| The background color for the recipe card as a hex-string. | [optional] - **fontColor** | **NSString***| The font color for the recipe card as a hex-string. | [optional] - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchRestaurants** -```objc --(NSURLSessionTask*) searchRestaurantsWithQuery: (NSString*) query - lat: (NSNumber*) lat - lng: (NSNumber*) lng - distance: (NSNumber*) distance - budget: (NSNumber*) budget - cuisine: (NSString*) cuisine - minRating: (NSNumber*) minRating - isOpen: (NSNumber*) isOpen - sort: (NSString*) sort - page: (NSNumber*) page - completionHandler: (void (^)(OAISearchRestaurants200Response* output, NSError* error)) handler; -``` - -Search Restaurants - -Search through thousands of restaurants (in North America) by location, cuisine, budget, and more. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = beach cafe; // The search query. (optional) -NSNumber* lat = 37.7786357; // The latitude of the user's location. (optional) -NSNumber* lng = -122.3918135; // The longitude of the user's location.\". (optional) -NSNumber* distance = 2; // The distance around the location in miles. (optional) -NSNumber* budget = 20; // The user's budget for a meal in USD. (optional) -NSString* cuisine = italian; // The cuisine of the restaurant. (optional) -NSNumber* minRating = 4.4; // The minimum rating of the restaurant between 0 and 5. (optional) -NSNumber* isOpen = true; // Whether the restaurant must be open at the time of search. (optional) -NSString* sort = distance; // How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. (optional) -NSNumber* page = 0; // The page number of results. (optional) - -OAIDefaultApi*apiInstance = [[OAIDefaultApi alloc] init]; - -// Search Restaurants -[apiInstance searchRestaurantsWithQuery:query - lat:lat - lng:lng - distance:distance - budget:budget - cuisine:cuisine - minRating:minRating - isOpen:isOpen - sort:sort - page:page - completionHandler: ^(OAISearchRestaurants200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIDefaultApi->searchRestaurants: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The search query. | [optional] - **lat** | **NSNumber***| The latitude of the user's location. | [optional] - **lng** | **NSNumber***| The longitude of the user's location.\". | [optional] - **distance** | **NSNumber***| The distance around the location in miles. | [optional] - **budget** | **NSNumber***| The user's budget for a meal in USD. | [optional] - **cuisine** | **NSString***| The cuisine of the restaurant. | [optional] - **minRating** | **NSNumber***| The minimum rating of the restaurant between 0 and 5. | [optional] - **isOpen** | **NSNumber***| Whether the restaurant must be open at the time of search. | [optional] - **sort** | **NSString***| How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. | [optional] - **page** | **NSNumber***| The page number of results. | [optional] - -### Return type - -[**OAISearchRestaurants200Response***](OAISearchRestaurants200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAIDetectFoodInText200Response.md b/objc/docs/OAIDetectFoodInText200Response.md deleted file mode 100644 index db6dcda84..000000000 --- a/objc/docs/OAIDetectFoodInText200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIDetectFoodInText200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**annotations** | [**OAISet<OAIDetectFoodInText200ResponseAnnotationsInner>***](OAIDetectFoodInText200ResponseAnnotationsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIDetectFoodInText200ResponseAnnotationsInner.md b/objc/docs/OAIDetectFoodInText200ResponseAnnotationsInner.md deleted file mode 100644 index 690aa0d72..000000000 --- a/objc/docs/OAIDetectFoodInText200ResponseAnnotationsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIDetectFoodInText200ResponseAnnotationsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**annotation** | **NSString*** | | -**image** | **NSString*** | | -**tag** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGenerateMealPlan200Response.md b/objc/docs/OAIGenerateMealPlan200Response.md deleted file mode 100644 index 5a35a01dc..000000000 --- a/objc/docs/OAIGenerateMealPlan200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGenerateMealPlan200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**meals** | [**OAISet<OAIGetSimilarRecipes200ResponseInner>***](OAIGetSimilarRecipes200ResponseInner.md) | | -**nutrients** | [**OAIGenerateMealPlan200ResponseNutrients***](OAIGenerateMealPlan200ResponseNutrients.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGenerateMealPlan200ResponseNutrients.md b/objc/docs/OAIGenerateMealPlan200ResponseNutrients.md deleted file mode 100644 index 0a3b328ed..000000000 --- a/objc/docs/OAIGenerateMealPlan200ResponseNutrients.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGenerateMealPlan200ResponseNutrients - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | **NSNumber*** | | -**carbohydrates** | **NSNumber*** | | -**fat** | **NSNumber*** | | -**protein** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGenerateShoppingList200Response.md b/objc/docs/OAIGenerateShoppingList200Response.md deleted file mode 100644 index 0df735ba4..000000000 --- a/objc/docs/OAIGenerateShoppingList200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGenerateShoppingList200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisles** | [**OAISet<OAIGetShoppingList200ResponseAislesInner>***](OAIGetShoppingList200ResponseAislesInner.md) | | -**cost** | **NSNumber*** | | -**startDate** | **NSNumber*** | | -**endDate** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetARandomFoodJoke200Response.md b/objc/docs/OAIGetARandomFoodJoke200Response.md deleted file mode 100644 index 7582fa339..000000000 --- a/objc/docs/OAIGetARandomFoodJoke200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetARandomFoodJoke200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**text** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetAnalyzedRecipeInstructions200Response.md b/objc/docs/OAIGetAnalyzedRecipeInstructions200Response.md deleted file mode 100644 index 4f55a3b86..000000000 --- a/objc/docs/OAIGetAnalyzedRecipeInstructions200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetAnalyzedRecipeInstructions200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**parsedInstructions** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md) | | -**ingredients** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | -**equipment** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md b/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md deleted file mode 100644 index 1e97e4761..000000000 --- a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md b/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md deleted file mode 100644 index 5738542d7..000000000 --- a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**steps** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md deleted file mode 100644 index 156f873e6..000000000 --- a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**number** | **NSNumber*** | | -**step** | **NSString*** | | -**ingredients** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] -**equipment** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md deleted file mode 100644 index 62cdeb7c7..000000000 --- a/objc/docs/OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | -**localizedName** | **NSString*** | | -**image** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetComparableProducts200Response.md b/objc/docs/OAIGetComparableProducts200Response.md deleted file mode 100644 index 4b33f427b..000000000 --- a/objc/docs/OAIGetComparableProducts200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetComparableProducts200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comparableProducts** | [**OAIGetComparableProducts200ResponseComparableProducts***](OAIGetComparableProducts200ResponseComparableProducts.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetComparableProducts200ResponseComparableProducts.md b/objc/docs/OAIGetComparableProducts200ResponseComparableProducts.md deleted file mode 100644 index 960201c0e..000000000 --- a/objc/docs/OAIGetComparableProducts200ResponseComparableProducts.md +++ /dev/null @@ -1,15 +0,0 @@ -# OAIGetComparableProducts200ResponseComparableProducts - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | **NSArray<NSObject*>*** | | -**likes** | **NSArray<NSObject*>*** | | -**price** | **NSArray<NSObject*>*** | | -**protein** | [**OAISet<OAIGetComparableProducts200ResponseComparableProductsProteinInner>***](OAIGetComparableProducts200ResponseComparableProductsProteinInner.md) | | -**spoonacularScore** | [**OAISet<OAIGetComparableProducts200ResponseComparableProductsProteinInner>***](OAIGetComparableProducts200ResponseComparableProductsProteinInner.md) | | -**sugar** | **NSArray<NSObject*>*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetComparableProducts200ResponseComparableProductsProteinInner.md b/objc/docs/OAIGetComparableProducts200ResponseComparableProductsProteinInner.md deleted file mode 100644 index 50323d821..000000000 --- a/objc/docs/OAIGetComparableProducts200ResponseComparableProductsProteinInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetComparableProducts200ResponseComparableProductsProteinInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**difference** | **NSNumber*** | | -**_id** | **NSNumber*** | | -**image** | **NSString*** | | -**title** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetConversationSuggests200Response.md b/objc/docs/OAIGetConversationSuggests200Response.md deleted file mode 100644 index 9f2d5f113..000000000 --- a/objc/docs/OAIGetConversationSuggests200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetConversationSuggests200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**suggests** | [**OAIGetConversationSuggests200ResponseSuggests***](OAIGetConversationSuggests200ResponseSuggests.md) | | -**words** | **NSArray<NSString*>*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetConversationSuggests200ResponseSuggests.md b/objc/docs/OAIGetConversationSuggests200ResponseSuggests.md deleted file mode 100644 index 358b1d30c..000000000 --- a/objc/docs/OAIGetConversationSuggests200ResponseSuggests.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetConversationSuggests200ResponseSuggests - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_** | [**OAISet<OAIGetConversationSuggests200ResponseSuggestsInner>***](OAIGetConversationSuggests200ResponseSuggestsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetConversationSuggests200ResponseSuggestsInner.md b/objc/docs/OAIGetConversationSuggests200ResponseSuggestsInner.md deleted file mode 100644 index 694cfc0fb..000000000 --- a/objc/docs/OAIGetConversationSuggests200ResponseSuggestsInner.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetConversationSuggests200ResponseSuggestsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetDishPairingForWine200Response.md b/objc/docs/OAIGetDishPairingForWine200Response.md deleted file mode 100644 index 2ec057a7b..000000000 --- a/objc/docs/OAIGetDishPairingForWine200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetDishPairingForWine200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pairings** | **NSArray<NSString*>*** | | -**text** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetIngredientInformation200Response.md b/objc/docs/OAIGetIngredientInformation200Response.md deleted file mode 100644 index 9a314d108..000000000 --- a/objc/docs/OAIGetIngredientInformation200Response.md +++ /dev/null @@ -1,27 +0,0 @@ -# OAIGetIngredientInformation200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**original** | **NSString*** | | -**originalName** | **NSString*** | | -**name** | **NSString*** | | -**nameClean** | **NSString*** | | -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | -**unitShort** | **NSString*** | | -**unitLong** | **NSString*** | | -**possibleUnits** | **NSArray<NSString*>*** | | -**estimatedCost** | [**OAIParseIngredients200ResponseInnerEstimatedCost***](OAIParseIngredients200ResponseInnerEstimatedCost.md) | | -**consistency** | **NSString*** | | -**shoppingListUnits** | **NSArray<NSString*>*** | | -**aisle** | **NSString*** | | -**image** | **NSString*** | | -**meta** | **NSArray<NSObject*>*** | | -**nutrition** | [**OAIGetIngredientInformation200ResponseNutrition***](OAIGetIngredientInformation200ResponseNutrition.md) | | -**categoryPath** | **NSArray<NSString*>*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetIngredientInformation200ResponseNutrition.md b/objc/docs/OAIGetIngredientInformation200ResponseNutrition.md deleted file mode 100644 index 0429ad571..000000000 --- a/objc/docs/OAIGetIngredientInformation200ResponseNutrition.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetIngredientInformation200ResponseNutrition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**OAISet<OAIParseIngredients200ResponseInnerNutritionNutrientsInner>***](OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | -**properties** | [**OAISet<OAIParseIngredients200ResponseInnerNutritionPropertiesInner>***](OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | -**caloricBreakdown** | [**OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown***](OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | -**weightPerServing** | [**OAIParseIngredients200ResponseInnerNutritionWeightPerServing***](OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetIngredientSubstitutes200Response.md b/objc/docs/OAIGetIngredientSubstitutes200Response.md deleted file mode 100644 index e5926cf69..000000000 --- a/objc/docs/OAIGetIngredientSubstitutes200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetIngredientSubstitutes200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredient** | **NSString*** | | -**substitutes** | **NSArray<NSString*>*** | | -**message** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanTemplate200Response.md b/objc/docs/OAIGetMealPlanTemplate200Response.md deleted file mode 100644 index ae8f58b25..000000000 --- a/objc/docs/OAIGetMealPlanTemplate200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetMealPlanTemplate200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | -**days** | [**OAISet<OAIGetMealPlanTemplate200ResponseDaysInner>***](OAIGetMealPlanTemplate200ResponseDaysInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInner.md b/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInner.md deleted file mode 100644 index b5344ce63..000000000 --- a/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInner.md +++ /dev/null @@ -1,15 +0,0 @@ -# OAIGetMealPlanTemplate200ResponseDaysInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutritionSummary** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryBreakfast** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryLunch** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryDinner** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**day** | **NSString*** | | -**items** | [**OAISet<OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner>***](OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.md b/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.md deleted file mode 100644 index a6e14259d..000000000 --- a/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIGetMealPlanTemplate200ResponseDaysInnerItemsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**slot** | **NSNumber*** | | -**position** | **NSNumber*** | | -**type** | **NSString*** | | -**value** | [**OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue***](OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md b/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md deleted file mode 100644 index f98758d6b..000000000 --- a/objc/docs/OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**imageType** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanTemplates200Response.md b/objc/docs/OAIGetMealPlanTemplates200Response.md deleted file mode 100644 index 189cde73b..000000000 --- a/objc/docs/OAIGetMealPlanTemplates200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetMealPlanTemplates200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**templates** | [**OAISet<OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner>***](OAIGetAnalyzedRecipeInstructions200ResponseIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanWeek200Response.md b/objc/docs/OAIGetMealPlanWeek200Response.md deleted file mode 100644 index f217a98a2..000000000 --- a/objc/docs/OAIGetMealPlanWeek200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetMealPlanWeek200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**days** | [**OAISet<OAIGetMealPlanWeek200ResponseDaysInner>***](OAIGetMealPlanWeek200ResponseDaysInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInner.md b/objc/docs/OAIGetMealPlanWeek200ResponseDaysInner.md deleted file mode 100644 index 7be1ec7c7..000000000 --- a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInner.md +++ /dev/null @@ -1,16 +0,0 @@ -# OAIGetMealPlanWeek200ResponseDaysInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutritionSummary** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryBreakfast** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryLunch** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**nutritionSummaryDinner** | [**OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md) | | [optional] -**date** | **NSNumber*** | | -**day** | **NSString*** | | -**items** | [**OAISet<OAIGetMealPlanWeek200ResponseDaysInnerItemsInner>***](OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.md b/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.md deleted file mode 100644 index 218cf4674..000000000 --- a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIGetMealPlanWeek200ResponseDaysInnerItemsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**slot** | **NSNumber*** | | -**position** | **NSNumber*** | | -**type** | **NSString*** | | -**value** | [**OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue***](OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md b/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md deleted file mode 100644 index 4c6dc6f0b..000000000 --- a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetMealPlanWeek200ResponseDaysInnerItemsInnerValue - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**servings** | **NSNumber*** | | -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**imageType** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md b/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md deleted file mode 100644 index f989b1744..000000000 --- a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummary - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**OAISet<OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner>***](OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md b/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md deleted file mode 100644 index c48c00622..000000000 --- a/objc/docs/OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | -**percentDailyNeeds** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetMenuItemInformation200Response.md b/objc/docs/OAIGetMenuItemInformation200Response.md deleted file mode 100644 index 709bf2a4b..000000000 --- a/objc/docs/OAIGetMenuItemInformation200Response.md +++ /dev/null @@ -1,21 +0,0 @@ -# OAIGetMenuItemInformation200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**restaurantChain** | **NSString*** | | -**nutrition** | [**OAISearchGroceryProductsByUPC200ResponseNutrition***](OAISearchGroceryProductsByUPC200ResponseNutrition.md) | | -**badges** | **NSArray<NSString*>*** | | -**breadcrumbs** | **NSArray<NSString*>*** | | -**generatedText** | **NSString*** | | [optional] -**imageType** | **NSString*** | | -**likes** | **NSNumber*** | | -**servings** | [**OAISearchGroceryProductsByUPC200ResponseServings***](OAISearchGroceryProductsByUPC200ResponseServings.md) | | -**price** | **NSNumber*** | | [optional] -**spoonacularScore** | **NSNumber*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetProductInformation200Response.md b/objc/docs/OAIGetProductInformation200Response.md deleted file mode 100644 index 409dc894b..000000000 --- a/objc/docs/OAIGetProductInformation200Response.md +++ /dev/null @@ -1,25 +0,0 @@ -# OAIGetProductInformation200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**breadcrumbs** | **NSArray<NSString*>*** | | -**imageType** | **NSString*** | | -**badges** | **NSArray<NSString*>*** | | -**importantBadges** | **NSArray<NSString*>*** | | -**ingredientCount** | **NSNumber*** | | -**generatedText** | **NSString*** | | [optional] -**ingredientList** | **NSString*** | | -**ingredients** | [**NSArray<OAIGetProductInformation200ResponseIngredientsInner>***](OAIGetProductInformation200ResponseIngredientsInner.md) | | -**likes** | **NSNumber*** | | -**aisle** | **NSString*** | | -**nutrition** | [**OAISearchGroceryProductsByUPC200ResponseNutrition***](OAISearchGroceryProductsByUPC200ResponseNutrition.md) | | -**price** | **NSNumber*** | | -**servings** | [**OAISearchGroceryProductsByUPC200ResponseServings***](OAISearchGroceryProductsByUPC200ResponseServings.md) | | -**spoonacularScore** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetProductInformation200ResponseIngredientsInner.md b/objc/docs/OAIGetProductInformation200ResponseIngredientsInner.md deleted file mode 100644 index b3ddbea06..000000000 --- a/objc/docs/OAIGetProductInformation200ResponseIngredientsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetProductInformation200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_description** | **NSString*** | | [optional] -**name** | **NSString*** | | -**safetyLevel** | **NSString*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRandomFoodTrivia200Response.md b/objc/docs/OAIGetRandomFoodTrivia200Response.md deleted file mode 100644 index efdd5920f..000000000 --- a/objc/docs/OAIGetRandomFoodTrivia200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetRandomFoodTrivia200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**text** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRandomRecipes200Response.md b/objc/docs/OAIGetRandomRecipes200Response.md deleted file mode 100644 index d16e72194..000000000 --- a/objc/docs/OAIGetRandomRecipes200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetRandomRecipes200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recipes** | [**OAISet<OAIGetRandomRecipes200ResponseRecipesInner>***](OAIGetRandomRecipes200ResponseRecipesInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRandomRecipes200ResponseRecipesInner.md b/objc/docs/OAIGetRandomRecipes200ResponseRecipesInner.md deleted file mode 100644 index 1ff1aacf8..000000000 --- a/objc/docs/OAIGetRandomRecipes200ResponseRecipesInner.md +++ /dev/null @@ -1,46 +0,0 @@ -# OAIGetRandomRecipes200ResponseRecipesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | -**servings** | **NSNumber*** | | -**readyInMinutes** | **NSNumber*** | | -**license** | **NSString*** | | -**sourceName** | **NSString*** | | -**sourceUrl** | **NSString*** | | -**spoonacularSourceUrl** | **NSString*** | | -**aggregateLikes** | **NSNumber*** | | -**healthScore** | **NSNumber*** | | -**spoonacularScore** | **NSNumber*** | | -**pricePerServing** | **NSNumber*** | | -**analyzedInstructions** | **NSArray<NSObject*>*** | | [optional] -**cheap** | **NSNumber*** | | -**creditsText** | **NSString*** | | -**cuisines** | **NSArray<NSString*>*** | | [optional] -**dairyFree** | **NSNumber*** | | -**diets** | **NSArray<NSString*>*** | | [optional] -**gaps** | **NSString*** | | -**glutenFree** | **NSNumber*** | | -**instructions** | **NSString*** | | -**ketogenic** | **NSNumber*** | | -**lowFodmap** | **NSNumber*** | | -**occasions** | **NSArray<NSString*>*** | | [optional] -**sustainable** | **NSNumber*** | | -**vegan** | **NSNumber*** | | -**vegetarian** | **NSNumber*** | | -**veryHealthy** | **NSNumber*** | | -**veryPopular** | **NSNumber*** | | -**whole30** | **NSNumber*** | | -**weightWatcherSmartPoints** | **NSNumber*** | | -**dishTypes** | **NSArray<NSString*>*** | | [optional] -**extendedIngredients** | [**OAISet<OAIGetRecipeInformation200ResponseExtendedIngredientsInner>***](OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md) | | [optional] -**summary** | **NSString*** | | -**winePairing** | [**OAIGetRecipeInformation200ResponseWinePairing***](OAIGetRecipeInformation200ResponseWinePairing.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeEquipmentByID200Response.md b/objc/docs/OAIGetRecipeEquipmentByID200Response.md deleted file mode 100644 index d9f2adfdf..000000000 --- a/objc/docs/OAIGetRecipeEquipmentByID200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetRecipeEquipmentByID200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**equipment** | [**OAISet<OAIGetRecipeEquipmentByID200ResponseEquipmentInner>***](OAIGetRecipeEquipmentByID200ResponseEquipmentInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.md b/objc/docs/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.md deleted file mode 100644 index 4ebb33a6a..000000000 --- a/objc/docs/OAIGetRecipeEquipmentByID200ResponseEquipmentInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetRecipeEquipmentByID200ResponseEquipmentInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**image** | **NSString*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformation200Response.md b/objc/docs/OAIGetRecipeInformation200Response.md deleted file mode 100644 index 85dedbd3a..000000000 --- a/objc/docs/OAIGetRecipeInformation200Response.md +++ /dev/null @@ -1,46 +0,0 @@ -# OAIGetRecipeInformation200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | -**servings** | **NSNumber*** | | -**readyInMinutes** | **NSNumber*** | | -**license** | **NSString*** | | -**sourceName** | **NSString*** | | -**sourceUrl** | **NSString*** | | -**spoonacularSourceUrl** | **NSString*** | | -**aggregateLikes** | **NSNumber*** | | -**healthScore** | **NSNumber*** | | -**spoonacularScore** | **NSNumber*** | | -**pricePerServing** | **NSNumber*** | | -**analyzedInstructions** | **NSArray<NSObject*>*** | | -**cheap** | **NSNumber*** | | -**creditsText** | **NSString*** | | -**cuisines** | **NSArray<NSString*>*** | | -**dairyFree** | **NSNumber*** | | -**diets** | **NSArray<NSString*>*** | | -**gaps** | **NSString*** | | -**glutenFree** | **NSNumber*** | | -**instructions** | **NSString*** | | -**ketogenic** | **NSNumber*** | | -**lowFodmap** | **NSNumber*** | | -**occasions** | **NSArray<NSString*>*** | | -**sustainable** | **NSNumber*** | | -**vegan** | **NSNumber*** | | -**vegetarian** | **NSNumber*** | | -**veryHealthy** | **NSNumber*** | | -**veryPopular** | **NSNumber*** | | -**whole30** | **NSNumber*** | | -**weightWatcherSmartPoints** | **NSNumber*** | | -**dishTypes** | **NSArray<NSString*>*** | | -**extendedIngredients** | [**OAISet<OAIGetRecipeInformation200ResponseExtendedIngredientsInner>***](OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md) | | -**summary** | **NSString*** | | -**winePairing** | [**OAIGetRecipeInformation200ResponseWinePairing***](OAIGetRecipeInformation200ResponseWinePairing.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md b/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md deleted file mode 100644 index 46372121f..000000000 --- a/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md +++ /dev/null @@ -1,20 +0,0 @@ -# OAIGetRecipeInformation200ResponseExtendedIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisle** | **NSString*** | | -**amount** | **NSNumber*** | | -**consitency** | **NSString*** | | -**_id** | **NSNumber*** | | -**image** | **NSString*** | | -**measures** | [**OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures***](OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md) | | [optional] -**meta** | **NSArray<NSString*>*** | | [optional] -**name** | **NSString*** | | -**original** | **NSString*** | | -**originalName** | **NSString*** | | -**unit** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md b/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md deleted file mode 100644 index ca5bdc661..000000000 --- a/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metric** | [**OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric***](OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) | | -**us** | [**OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric***](OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md b/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md deleted file mode 100644 index 1ef8e9615..000000000 --- a/objc/docs/OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | **NSNumber*** | | -**unitLong** | **NSString*** | | -**unitShort** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformation200ResponseWinePairing.md b/objc/docs/OAIGetRecipeInformation200ResponseWinePairing.md deleted file mode 100644 index 19d9a172d..000000000 --- a/objc/docs/OAIGetRecipeInformation200ResponseWinePairing.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetRecipeInformation200ResponseWinePairing - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pairedWines** | **NSArray<NSString*>*** | | -**pairingText** | **NSString*** | | -**productMatches** | [**OAISet<OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner>***](OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.md b/objc/docs/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.md deleted file mode 100644 index 3d258e59e..000000000 --- a/objc/docs/OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner.md +++ /dev/null @@ -1,18 +0,0 @@ -# OAIGetRecipeInformation200ResponseWinePairingProductMatchesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**_description** | **NSString*** | | -**price** | **NSString*** | | -**imageUrl** | **NSString*** | | -**averageRating** | **NSNumber*** | | -**ratingCount** | **NSNumber*** | | -**score** | **NSNumber*** | | -**link** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeInformationBulk200ResponseInner.md b/objc/docs/OAIGetRecipeInformationBulk200ResponseInner.md deleted file mode 100644 index 59eb93de5..000000000 --- a/objc/docs/OAIGetRecipeInformationBulk200ResponseInner.md +++ /dev/null @@ -1,46 +0,0 @@ -# OAIGetRecipeInformationBulk200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | -**servings** | **NSNumber*** | | -**readyInMinutes** | **NSNumber*** | | -**license** | **NSString*** | | -**sourceName** | **NSString*** | | -**sourceUrl** | **NSString*** | | -**spoonacularSourceUrl** | **NSString*** | | -**aggregateLikes** | **NSNumber*** | | -**healthScore** | **NSNumber*** | | -**spoonacularScore** | **NSNumber*** | | -**pricePerServing** | **NSNumber*** | | -**analyzedInstructions** | **NSArray<NSString*>*** | | -**cheap** | **NSNumber*** | | -**creditsText** | **NSString*** | | -**cuisines** | **NSArray<NSString*>*** | | -**dairyFree** | **NSNumber*** | | -**diets** | **NSArray<NSString*>*** | | -**gaps** | **NSString*** | | -**glutenFree** | **NSNumber*** | | -**instructions** | **NSString*** | | -**ketogenic** | **NSNumber*** | | -**lowFodmap** | **NSNumber*** | | -**occasions** | **NSArray<NSString*>*** | | -**sustainable** | **NSNumber*** | | -**vegan** | **NSNumber*** | | -**vegetarian** | **NSNumber*** | | -**veryHealthy** | **NSNumber*** | | -**veryPopular** | **NSNumber*** | | -**whole30** | **NSNumber*** | | -**weightWatcherSmartPoints** | **NSNumber*** | | -**dishTypes** | **NSArray<NSString*>*** | | -**extendedIngredients** | [**OAISet<OAIGetRecipeInformation200ResponseExtendedIngredientsInner>***](OAIGetRecipeInformation200ResponseExtendedIngredientsInner.md) | | -**summary** | **NSString*** | | -**winePairing** | [**OAIGetRecipeInformation200ResponseWinePairing***](OAIGetRecipeInformation200ResponseWinePairing.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeIngredientsByID200Response.md b/objc/docs/OAIGetRecipeIngredientsByID200Response.md deleted file mode 100644 index ef505b782..000000000 --- a/objc/docs/OAIGetRecipeIngredientsByID200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetRecipeIngredientsByID200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | [**OAISet<OAIGetRecipeIngredientsByID200ResponseIngredientsInner>***](OAIGetRecipeIngredientsByID200ResponseIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.md b/objc/docs/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.md deleted file mode 100644 index 8e641d2b8..000000000 --- a/objc/docs/OAIGetRecipeIngredientsByID200ResponseIngredientsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetRecipeIngredientsByID200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | [**OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount***](OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) | | [optional] -**image** | **NSString*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeNutritionWidgetByID200Response.md b/objc/docs/OAIGetRecipeNutritionWidgetByID200Response.md deleted file mode 100644 index 6b1daf212..000000000 --- a/objc/docs/OAIGetRecipeNutritionWidgetByID200Response.md +++ /dev/null @@ -1,15 +0,0 @@ -# OAIGetRecipeNutritionWidgetByID200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | **NSString*** | | -**carbs** | **NSString*** | | -**fat** | **NSString*** | | -**protein** | **NSString*** | | -**bad** | [**OAISet<OAIGetRecipeNutritionWidgetByID200ResponseBadInner>***](OAIGetRecipeNutritionWidgetByID200ResponseBadInner.md) | | -**good** | [**OAISet<OAIGetRecipeNutritionWidgetByID200ResponseGoodInner>***](OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.md b/objc/docs/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.md deleted file mode 100644 index 673646e2d..000000000 --- a/objc/docs/OAIGetRecipeNutritionWidgetByID200ResponseBadInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetRecipeNutritionWidgetByID200ResponseBadInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**amount** | **NSString*** | | -**indented** | **NSNumber*** | | -**percentOfDailyNeeds** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.md b/objc/docs/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.md deleted file mode 100644 index b44878685..000000000 --- a/objc/docs/OAIGetRecipeNutritionWidgetByID200ResponseGoodInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetRecipeNutritionWidgetByID200ResponseGoodInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | **NSString*** | | -**indented** | **NSNumber*** | | -**percentOfDailyNeeds** | **NSNumber*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipePriceBreakdownByID200Response.md b/objc/docs/OAIGetRecipePriceBreakdownByID200Response.md deleted file mode 100644 index 1cf82ac93..000000000 --- a/objc/docs/OAIGetRecipePriceBreakdownByID200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetRecipePriceBreakdownByID200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | [**OAISet<OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner>***](OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.md) | | -**totalCost** | **NSNumber*** | | -**totalCostPerServing** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.md b/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.md deleted file mode 100644 index d4bbe88ba..000000000 --- a/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetRecipePriceBreakdownByID200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | [**OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount***](OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md) | | [optional] -**image** | **NSString*** | | -**name** | **NSString*** | | -**price** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md b/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md deleted file mode 100644 index 6b91a03cd..000000000 --- a/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metric** | [**OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric***](OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) | | -**us** | [**OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric***](OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md b/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md deleted file mode 100644 index 298c4dea2..000000000 --- a/objc/docs/OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**unit** | **NSString*** | | -**value** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetRecipeTasteByID200Response.md b/objc/docs/OAIGetRecipeTasteByID200Response.md deleted file mode 100644 index 26a0bf2d6..000000000 --- a/objc/docs/OAIGetRecipeTasteByID200Response.md +++ /dev/null @@ -1,16 +0,0 @@ -# OAIGetRecipeTasteByID200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sweetness** | **NSNumber*** | | -**saltiness** | **NSNumber*** | | -**sourness** | **NSNumber*** | | -**bitterness** | **NSNumber*** | | -**savoriness** | **NSNumber*** | | -**fattiness** | **NSNumber*** | | -**spiciness** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetShoppingList200Response.md b/objc/docs/OAIGetShoppingList200Response.md deleted file mode 100644 index ff138c5cd..000000000 --- a/objc/docs/OAIGetShoppingList200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGetShoppingList200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisles** | [**OAISet<OAIGetShoppingList200ResponseAislesInner>***](OAIGetShoppingList200ResponseAislesInner.md) | | -**cost** | **NSNumber*** | | -**startDate** | **NSNumber*** | | -**endDate** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetShoppingList200ResponseAislesInner.md b/objc/docs/OAIGetShoppingList200ResponseAislesInner.md deleted file mode 100644 index 5f2729436..000000000 --- a/objc/docs/OAIGetShoppingList200ResponseAislesInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetShoppingList200ResponseAislesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisle** | **NSString*** | | -**items** | [**OAISet<OAIGetShoppingList200ResponseAislesInnerItemsInner>***](OAIGetShoppingList200ResponseAislesInnerItemsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetShoppingList200ResponseAislesInnerItemsInner.md b/objc/docs/OAIGetShoppingList200ResponseAislesInnerItemsInner.md deleted file mode 100644 index b845c3816..000000000 --- a/objc/docs/OAIGetShoppingList200ResponseAislesInnerItemsInner.md +++ /dev/null @@ -1,16 +0,0 @@ -# OAIGetShoppingList200ResponseAislesInnerItemsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | -**measures** | [**OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures***](OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.md) | | [optional] -**pantryItem** | **NSNumber*** | | -**aisle** | **NSString*** | | -**cost** | **NSNumber*** | | -**ingredientId** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.md b/objc/docs/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.md deleted file mode 100644 index 71b635030..000000000 --- a/objc/docs/OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetShoppingList200ResponseAislesInnerItemsInnerMeasures - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**original** | [**OAIParseIngredients200ResponseInnerNutritionWeightPerServing***](OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | -**metric** | [**OAIParseIngredients200ResponseInnerNutritionWeightPerServing***](OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | -**us** | [**OAIParseIngredients200ResponseInnerNutritionWeightPerServing***](OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetSimilarRecipes200ResponseInner.md b/objc/docs/OAIGetSimilarRecipes200ResponseInner.md deleted file mode 100644 index f7765bb3f..000000000 --- a/objc/docs/OAIGetSimilarRecipes200ResponseInner.md +++ /dev/null @@ -1,15 +0,0 @@ -# OAIGetSimilarRecipes200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**imageType** | **NSString*** | | -**readyInMinutes** | **NSNumber*** | | -**servings** | **NSNumber*** | | -**sourceUrl** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetWineDescription200Response.md b/objc/docs/OAIGetWineDescription200Response.md deleted file mode 100644 index f6d123b9d..000000000 --- a/objc/docs/OAIGetWineDescription200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAIGetWineDescription200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**wineDescription** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetWinePairing200Response.md b/objc/docs/OAIGetWinePairing200Response.md deleted file mode 100644 index ef99fac3b..000000000 --- a/objc/docs/OAIGetWinePairing200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIGetWinePairing200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pairedWines** | **NSArray<NSString*>*** | | -**pairingText** | **NSString*** | | -**productMatches** | [**OAISet<OAIGetWinePairing200ResponseProductMatchesInner>***](OAIGetWinePairing200ResponseProductMatchesInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetWinePairing200ResponseProductMatchesInner.md b/objc/docs/OAIGetWinePairing200ResponseProductMatchesInner.md deleted file mode 100644 index 1aa63e46f..000000000 --- a/objc/docs/OAIGetWinePairing200ResponseProductMatchesInner.md +++ /dev/null @@ -1,18 +0,0 @@ -# OAIGetWinePairing200ResponseProductMatchesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**averageRating** | **NSNumber*** | | -**_description** | **NSString*** | | [optional] -**imageUrl** | **NSString*** | | -**link** | **NSString*** | | -**price** | **NSString*** | | -**ratingCount** | **NSNumber*** | | -**score** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetWineRecommendation200Response.md b/objc/docs/OAIGetWineRecommendation200Response.md deleted file mode 100644 index 970befb20..000000000 --- a/objc/docs/OAIGetWineRecommendation200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGetWineRecommendation200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recommendedWines** | [**OAISet<OAIGetWineRecommendation200ResponseRecommendedWinesInner>***](OAIGetWineRecommendation200ResponseRecommendedWinesInner.md) | | -**totalFound** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGetWineRecommendation200ResponseRecommendedWinesInner.md b/objc/docs/OAIGetWineRecommendation200ResponseRecommendedWinesInner.md deleted file mode 100644 index f856acd4a..000000000 --- a/objc/docs/OAIGetWineRecommendation200ResponseRecommendedWinesInner.md +++ /dev/null @@ -1,18 +0,0 @@ -# OAIGetWineRecommendation200ResponseRecommendedWinesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**averageRating** | **NSNumber*** | | -**_description** | **NSString*** | | -**imageUrl** | **NSString*** | | -**link** | **NSString*** | | -**price** | **NSString*** | | -**ratingCount** | **NSNumber*** | | -**score** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGuessNutritionByDishName200Response.md b/objc/docs/OAIGuessNutritionByDishName200Response.md deleted file mode 100644 index f6dfd9668..000000000 --- a/objc/docs/OAIGuessNutritionByDishName200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIGuessNutritionByDishName200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | [**OAIGuessNutritionByDishName200ResponseCalories***](OAIGuessNutritionByDishName200ResponseCalories.md) | | -**carbs** | [**OAIGuessNutritionByDishName200ResponseCalories***](OAIGuessNutritionByDishName200ResponseCalories.md) | | -**fat** | [**OAIGuessNutritionByDishName200ResponseCalories***](OAIGuessNutritionByDishName200ResponseCalories.md) | | -**protein** | [**OAIGuessNutritionByDishName200ResponseCalories***](OAIGuessNutritionByDishName200ResponseCalories.md) | | -**recipesUsed** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGuessNutritionByDishName200ResponseCalories.md b/objc/docs/OAIGuessNutritionByDishName200ResponseCalories.md deleted file mode 100644 index 1097cd3ce..000000000 --- a/objc/docs/OAIGuessNutritionByDishName200ResponseCalories.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIGuessNutritionByDishName200ResponseCalories - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**confidenceRange95Percent** | [**OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent***](OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md) | | -**standardDeviation** | **NSNumber*** | | -**unit** | **NSString*** | | -**value** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md b/objc/docs/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md deleted file mode 100644 index 68d84adfc..000000000 --- a/objc/docs/OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**max** | **NSNumber*** | | -**min** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageAnalysisByURL200Response.md b/objc/docs/OAIImageAnalysisByURL200Response.md deleted file mode 100644 index 8cac5cbe3..000000000 --- a/objc/docs/OAIImageAnalysisByURL200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIImageAnalysisByURL200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrition** | [**OAIImageAnalysisByURL200ResponseNutrition***](OAIImageAnalysisByURL200ResponseNutrition.md) | | -**category** | [**OAIImageAnalysisByURL200ResponseCategory***](OAIImageAnalysisByURL200ResponseCategory.md) | | -**recipes** | [**OAISet<OAIImageAnalysisByURL200ResponseRecipesInner>***](OAIImageAnalysisByURL200ResponseRecipesInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageAnalysisByURL200ResponseCategory.md b/objc/docs/OAIImageAnalysisByURL200ResponseCategory.md deleted file mode 100644 index 78fd44995..000000000 --- a/objc/docs/OAIImageAnalysisByURL200ResponseCategory.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIImageAnalysisByURL200ResponseCategory - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**probability** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageAnalysisByURL200ResponseNutrition.md b/objc/docs/OAIImageAnalysisByURL200ResponseNutrition.md deleted file mode 100644 index eee978687..000000000 --- a/objc/docs/OAIImageAnalysisByURL200ResponseNutrition.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIImageAnalysisByURL200ResponseNutrition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**recipesUsed** | **NSNumber*** | | -**calories** | [**OAIImageAnalysisByURL200ResponseNutritionCalories***](OAIImageAnalysisByURL200ResponseNutritionCalories.md) | | -**fat** | [**OAIImageAnalysisByURL200ResponseNutritionCalories***](OAIImageAnalysisByURL200ResponseNutritionCalories.md) | | -**protein** | [**OAIImageAnalysisByURL200ResponseNutritionCalories***](OAIImageAnalysisByURL200ResponseNutritionCalories.md) | | -**carbs** | [**OAIImageAnalysisByURL200ResponseNutritionCalories***](OAIImageAnalysisByURL200ResponseNutritionCalories.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageAnalysisByURL200ResponseNutritionCalories.md b/objc/docs/OAIImageAnalysisByURL200ResponseNutritionCalories.md deleted file mode 100644 index 7e9190bb6..000000000 --- a/objc/docs/OAIImageAnalysisByURL200ResponseNutritionCalories.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIImageAnalysisByURL200ResponseNutritionCalories - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **NSNumber*** | | -**unit** | **NSString*** | | -**confidenceRange95Percent** | [**OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent***](OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md) | | -**standardDeviation** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md b/objc/docs/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md deleted file mode 100644 index a2bd1d1a8..000000000 --- a/objc/docs/OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min** | **NSNumber*** | | -**max** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageAnalysisByURL200ResponseRecipesInner.md b/objc/docs/OAIImageAnalysisByURL200ResponseRecipesInner.md deleted file mode 100644 index 524e4f837..000000000 --- a/objc/docs/OAIImageAnalysisByURL200ResponseRecipesInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIImageAnalysisByURL200ResponseRecipesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**imageType** | **NSString*** | | -**url** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIImageClassificationByURL200Response.md b/objc/docs/OAIImageClassificationByURL200Response.md deleted file mode 100644 index c93b4facf..000000000 --- a/objc/docs/OAIImageClassificationByURL200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIImageClassificationByURL200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**category** | **NSString*** | | -**probability** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIIngredientSearch200Response.md b/objc/docs/OAIIngredientSearch200Response.md deleted file mode 100644 index 2845588da..000000000 --- a/objc/docs/OAIIngredientSearch200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIIngredientSearch200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**results** | [**OAISet<OAIIngredientSearch200ResponseResultsInner>***](OAIIngredientSearch200ResponseResultsInner.md) | | -**offset** | **NSNumber*** | | -**number** | **NSNumber*** | | -**totalResults** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIIngredientSearch200ResponseResultsInner.md b/objc/docs/OAIIngredientSearch200ResponseResultsInner.md deleted file mode 100644 index 5e2b7dcca..000000000 --- a/objc/docs/OAIIngredientSearch200ResponseResultsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIIngredientSearch200ResponseResultsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**name** | **NSString*** | | -**image** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIIngredientsApi.md b/objc/docs/OAIIngredientsApi.md deleted file mode 100644 index 078b4cfb3..000000000 --- a/objc/docs/OAIIngredientsApi.md +++ /dev/null @@ -1,650 +0,0 @@ -# OAIIngredientsApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**autocompleteIngredientSearch**](OAIIngredientsApi.md#autocompleteingredientsearch) | **GET** /food/ingredients/autocomplete | Autocomplete Ingredient Search -[**computeIngredientAmount**](OAIIngredientsApi.md#computeingredientamount) | **GET** /food/ingredients/{id}/amount | Compute Ingredient Amount -[**getIngredientInformation**](OAIIngredientsApi.md#getingredientinformation) | **GET** /food/ingredients/{id}/information | Get Ingredient Information -[**getIngredientSubstitutes**](OAIIngredientsApi.md#getingredientsubstitutes) | **GET** /food/ingredients/substitutes | Get Ingredient Substitutes -[**getIngredientSubstitutesByID**](OAIIngredientsApi.md#getingredientsubstitutesbyid) | **GET** /food/ingredients/{id}/substitutes | Get Ingredient Substitutes by ID -[**ingredientSearch**](OAIIngredientsApi.md#ingredientsearch) | **GET** /food/ingredients/search | Ingredient Search -[**ingredientsByIDImage**](OAIIngredientsApi.md#ingredientsbyidimage) | **GET** /recipes/{id}/ingredientWidget.png | Ingredients by ID Image -[**mapIngredientsToGroceryProducts**](OAIIngredientsApi.md#mapingredientstogroceryproducts) | **POST** /food/ingredients/map | Map Ingredients to Grocery Products -[**visualizeIngredients**](OAIIngredientsApi.md#visualizeingredients) | **POST** /recipes/visualizeIngredients | Ingredients Widget - - -# **autocompleteIngredientSearch** -```objc --(NSURLSessionTask*) autocompleteIngredientSearchWithQuery: (NSString*) query - number: (NSNumber*) number - metaInformation: (NSNumber*) metaInformation - intolerances: (NSString*) intolerances - language: (NSString*) language - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Autocomplete Ingredient Search - -Autocomplete the entry of an ingredient. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -NSNumber* metaInformation = false; // Whether to return more meta information about the ingredients. (optional) -NSString* intolerances = egg; // A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Autocomplete Ingredient Search -[apiInstance autocompleteIngredientSearchWithQuery:query - number:number - metaInformation:metaInformation - intolerances:intolerances - language:language - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->autocompleteIngredientSearch: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - **metaInformation** | **NSNumber***| Whether to return more meta information about the ingredients. | [optional] - **intolerances** | **NSString***| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - -### Return type - -[**OAISet***](OAIAutocompleteIngredientSearch200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **computeIngredientAmount** -```objc --(NSURLSessionTask*) computeIngredientAmountWithId: (NSNumber*) _id - nutrient: (NSString*) nutrient - target: (NSNumber*) target - unit: (NSString*) unit - completionHandler: (void (^)(OAIComputeIngredientAmount200Response* output, NSError* error)) handler; -``` - -Compute Ingredient Amount - -Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein? - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 9266; // The id of the ingredient you want the amount for. -NSString* nutrient = protein; // The target nutrient. See a list of supported nutrients. -NSNumber* target = 2; // The target number of the given nutrient. -NSString* unit = oz; // The target unit. (optional) - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Compute Ingredient Amount -[apiInstance computeIngredientAmountWithId:_id - nutrient:nutrient - target:target - unit:unit - completionHandler: ^(OAIComputeIngredientAmount200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->computeIngredientAmount: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The id of the ingredient you want the amount for. | - **nutrient** | **NSString***| The target nutrient. See a list of supported nutrients. | - **target** | **NSNumber***| The target number of the given nutrient. | - **unit** | **NSString***| The target unit. | [optional] - -### Return type - -[**OAIComputeIngredientAmount200Response***](OAIComputeIngredientAmount200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getIngredientInformation** -```objc --(NSURLSessionTask*) getIngredientInformationWithId: (NSNumber*) _id - amount: (NSNumber*) amount - unit: (NSString*) unit - completionHandler: (void (^)(OAIGetIngredientInformation200Response* output, NSError* error)) handler; -``` - -Get Ingredient Information - -Use an ingredient id to get all available information about an ingredient, such as its image and supermarket aisle. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* amount = 150; // The amount of this ingredient. (optional) -NSString* unit = grams; // The unit for the given amount. (optional) - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Get Ingredient Information -[apiInstance getIngredientInformationWithId:_id - amount:amount - unit:unit - completionHandler: ^(OAIGetIngredientInformation200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->getIngredientInformation: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **amount** | **NSNumber***| The amount of this ingredient. | [optional] - **unit** | **NSString***| The unit for the given amount. | [optional] - -### Return type - -[**OAIGetIngredientInformation200Response***](OAIGetIngredientInformation200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getIngredientSubstitutes** -```objc --(NSURLSessionTask*) getIngredientSubstitutesWithIngredientName: (NSString*) ingredientName - completionHandler: (void (^)(OAIGetIngredientSubstitutes200Response* output, NSError* error)) handler; -``` - -Get Ingredient Substitutes - -Search for substitutes for a given ingredient. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientName = butter; // The name of the ingredient you want to replace. - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Get Ingredient Substitutes -[apiInstance getIngredientSubstitutesWithIngredientName:ingredientName - completionHandler: ^(OAIGetIngredientSubstitutes200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->getIngredientSubstitutes: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientName** | **NSString***| The name of the ingredient you want to replace. | - -### Return type - -[**OAIGetIngredientSubstitutes200Response***](OAIGetIngredientSubstitutes200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getIngredientSubstitutesByID** -```objc --(NSURLSessionTask*) getIngredientSubstitutesByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetIngredientSubstitutes200Response* output, NSError* error)) handler; -``` - -Get Ingredient Substitutes by ID - -Search for substitutes for a given ingredient. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Get Ingredient Substitutes by ID -[apiInstance getIngredientSubstitutesByIDWithId:_id - completionHandler: ^(OAIGetIngredientSubstitutes200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->getIngredientSubstitutesByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetIngredientSubstitutes200Response***](OAIGetIngredientSubstitutes200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ingredientSearch** -```objc --(NSURLSessionTask*) ingredientSearchWithQuery: (NSString*) query - addChildren: (NSNumber*) addChildren - minProteinPercent: (NSNumber*) minProteinPercent - maxProteinPercent: (NSNumber*) maxProteinPercent - minFatPercent: (NSNumber*) minFatPercent - maxFatPercent: (NSNumber*) maxFatPercent - minCarbsPercent: (NSNumber*) minCarbsPercent - maxCarbsPercent: (NSNumber*) maxCarbsPercent - metaInformation: (NSNumber*) metaInformation - intolerances: (NSString*) intolerances - sort: (NSString*) sort - sortDirection: (NSString*) sortDirection - offset: (NSNumber*) offset - number: (NSNumber*) number - language: (NSString*) language - completionHandler: (void (^)(OAIIngredientSearch200Response* output, NSError* error)) handler; -``` - -Ingredient Search - -Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSNumber* addChildren = true; // Whether to add children of found foods. (optional) -NSNumber* minProteinPercent = 10; // The minimum percentage of protein the food must have (between 0 and 100). (optional) -NSNumber* maxProteinPercent = 90; // The maximum percentage of protein the food can have (between 0 and 100). (optional) -NSNumber* minFatPercent = 10; // The minimum percentage of fat the food must have (between 0 and 100). (optional) -NSNumber* maxFatPercent = 90; // The maximum percentage of fat the food can have (between 0 and 100). (optional) -NSNumber* minCarbsPercent = 10; // The minimum percentage of carbs the food must have (between 0 and 100). (optional) -NSNumber* maxCarbsPercent = 90; // The maximum percentage of carbs the food can have (between 0 and 100). (optional) -NSNumber* metaInformation = false; // Whether to return more meta information about the ingredients. (optional) -NSString* intolerances = egg; // A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -NSString* sort = calories; // The strategy to sort recipes by. See a full list of supported sorting options. (optional) -NSString* sortDirection = asc; // The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Ingredient Search -[apiInstance ingredientSearchWithQuery:query - addChildren:addChildren - minProteinPercent:minProteinPercent - maxProteinPercent:maxProteinPercent - minFatPercent:minFatPercent - maxFatPercent:maxFatPercent - minCarbsPercent:minCarbsPercent - maxCarbsPercent:maxCarbsPercent - metaInformation:metaInformation - intolerances:intolerances - sort:sort - sortDirection:sortDirection - offset:offset - number:number - language:language - completionHandler: ^(OAIIngredientSearch200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->ingredientSearch: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **addChildren** | **NSNumber***| Whether to add children of found foods. | [optional] - **minProteinPercent** | **NSNumber***| The minimum percentage of protein the food must have (between 0 and 100). | [optional] - **maxProteinPercent** | **NSNumber***| The maximum percentage of protein the food can have (between 0 and 100). | [optional] - **minFatPercent** | **NSNumber***| The minimum percentage of fat the food must have (between 0 and 100). | [optional] - **maxFatPercent** | **NSNumber***| The maximum percentage of fat the food can have (between 0 and 100). | [optional] - **minCarbsPercent** | **NSNumber***| The minimum percentage of carbs the food must have (between 0 and 100). | [optional] - **maxCarbsPercent** | **NSNumber***| The maximum percentage of carbs the food can have (between 0 and 100). | [optional] - **metaInformation** | **NSNumber***| Whether to return more meta information about the ingredients. | [optional] - **intolerances** | **NSString***| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] - **sort** | **NSString***| The strategy to sort recipes by. See a full list of supported sorting options. | [optional] - **sortDirection** | **NSString***| The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - -### Return type - -[**OAIIngredientSearch200Response***](OAIIngredientSearch200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ingredientsByIDImage** -```objc --(NSURLSessionTask*) ingredientsByIDImageWithId: (NSNumber*) _id - measure: (NSString*) measure - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Ingredients by ID Image - -Visualize a recipe's ingredient list. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1082038; // The recipe id. -NSString* measure = metric; // Whether the the measures should be 'us' or 'metric'. (optional) - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Ingredients by ID Image -[apiInstance ingredientsByIDImageWithId:_id - measure:measure - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->ingredientsByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - **measure** | **NSString***| Whether the the measures should be 'us' or 'metric'. | [optional] - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **mapIngredientsToGroceryProducts** -```objc --(NSURLSessionTask*) mapIngredientsToGroceryProductsWithMapIngredientsToGroceryProductsRequest: (OAIMapIngredientsToGroceryProductsRequest*) mapIngredientsToGroceryProductsRequest - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Map Ingredients to Grocery Products - -Map a set of ingredients to products you can buy in the grocery store. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAIMapIngredientsToGroceryProductsRequest* mapIngredientsToGroceryProductsRequest = {"ingredients":["eggs","bacon"],"servings":2}; // - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Map Ingredients to Grocery Products -[apiInstance mapIngredientsToGroceryProductsWithMapIngredientsToGroceryProductsRequest:mapIngredientsToGroceryProductsRequest - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->mapIngredientsToGroceryProducts: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **mapIngredientsToGroceryProductsRequest** | [**OAIMapIngredientsToGroceryProductsRequest***](OAIMapIngredientsToGroceryProductsRequest.md)| | - -### Return type - -[**OAISet***](OAIMapIngredientsToGroceryProducts200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeIngredients** -```objc --(NSURLSessionTask*) visualizeIngredientsWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - measure: (NSString*) measure - view: (NSString*) view - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Ingredients Widget - -Visualize ingredients of a recipe. You can play around with that endpoint! - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientList = @"ingredientList_example"; // The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -NSNumber* servings = @56; // The number of servings. -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) -NSString* measure = @"measure_example"; // The original system of measurement, either 'metric' or 'us'. (optional) -NSString* view = @"view_example"; // How to visualize the ingredients, either 'grid' or 'list'. (optional) -NSNumber* defaultCss = @56; // Whether the default CSS should be added to the response. (optional) -NSNumber* showBacklink = @56; // Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) - -OAIIngredientsApi*apiInstance = [[OAIIngredientsApi alloc] init]; - -// Ingredients Widget -[apiInstance visualizeIngredientsWithIngredientList:ingredientList - servings:servings - language:language - measure:measure - view:view - defaultCss:defaultCss - showBacklink:showBacklink - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIIngredientsApi->visualizeIngredients: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **NSString***| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | - **servings** | **NSNumber***| The number of servings. | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - **measure** | **NSString***| The original system of measurement, either 'metric' or 'us'. | [optional] - **view** | **NSString***| How to visualize the ingredients, either 'grid' or 'list'. | [optional] - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **NSNumber***| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAIMapIngredientsToGroceryProducts200ResponseInner.md b/objc/docs/OAIMapIngredientsToGroceryProducts200ResponseInner.md deleted file mode 100644 index 2a8579796..000000000 --- a/objc/docs/OAIMapIngredientsToGroceryProducts200ResponseInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIMapIngredientsToGroceryProducts200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**original** | **NSString*** | | -**originalName** | **NSString*** | | -**ingredientImage** | **NSString*** | | -**meta** | **NSArray<NSString*>*** | | -**products** | [**OAISet<OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner>***](OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.md b/objc/docs/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.md deleted file mode 100644 index 0afd98cee..000000000 --- a/objc/docs/OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIMapIngredientsToGroceryProducts200ResponseInnerProductsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**upc** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIMapIngredientsToGroceryProductsRequest.md b/objc/docs/OAIMapIngredientsToGroceryProductsRequest.md deleted file mode 100644 index 5413455b7..000000000 --- a/objc/docs/OAIMapIngredientsToGroceryProductsRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIMapIngredientsToGroceryProductsRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingredients** | **NSArray<NSString*>*** | | -**servings** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIMealPlanningApi.md b/objc/docs/OAIMealPlanningApi.md deleted file mode 100644 index 1cb0fb78e..000000000 --- a/objc/docs/OAIMealPlanningApi.md +++ /dev/null @@ -1,920 +0,0 @@ -# OAIMealPlanningApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**addMealPlanTemplate**](OAIMealPlanningApi.md#addmealplantemplate) | **POST** /mealplanner/{username}/templates | Add Meal Plan Template -[**addToMealPlan**](OAIMealPlanningApi.md#addtomealplan) | **POST** /mealplanner/{username}/items | Add to Meal Plan -[**addToShoppingList**](OAIMealPlanningApi.md#addtoshoppinglist) | **POST** /mealplanner/{username}/shopping-list/items | Add to Shopping List -[**clearMealPlanDay**](OAIMealPlanningApi.md#clearmealplanday) | **DELETE** /mealplanner/{username}/day/{date} | Clear Meal Plan Day -[**connectUser**](OAIMealPlanningApi.md#connectuser) | **POST** /users/connect | Connect User -[**deleteFromMealPlan**](OAIMealPlanningApi.md#deletefrommealplan) | **DELETE** /mealplanner/{username}/items/{id} | Delete from Meal Plan -[**deleteFromShoppingList**](OAIMealPlanningApi.md#deletefromshoppinglist) | **DELETE** /mealplanner/{username}/shopping-list/items/{id} | Delete from Shopping List -[**deleteMealPlanTemplate**](OAIMealPlanningApi.md#deletemealplantemplate) | **DELETE** /mealplanner/{username}/templates/{id} | Delete Meal Plan Template -[**generateMealPlan**](OAIMealPlanningApi.md#generatemealplan) | **GET** /mealplanner/generate | Generate Meal Plan -[**generateShoppingList**](OAIMealPlanningApi.md#generateshoppinglist) | **POST** /mealplanner/{username}/shopping-list/{start_date}/{end_date} | Generate Shopping List -[**getMealPlanTemplate**](OAIMealPlanningApi.md#getmealplantemplate) | **GET** /mealplanner/{username}/templates/{id} | Get Meal Plan Template -[**getMealPlanTemplates**](OAIMealPlanningApi.md#getmealplantemplates) | **GET** /mealplanner/{username}/templates | Get Meal Plan Templates -[**getMealPlanWeek**](OAIMealPlanningApi.md#getmealplanweek) | **GET** /mealplanner/{username}/week/{start_date} | Get Meal Plan Week -[**getShoppingList**](OAIMealPlanningApi.md#getshoppinglist) | **GET** /mealplanner/{username}/shopping-list | Get Shopping List - - -# **addMealPlanTemplate** -```objc --(NSURLSessionTask*) addMealPlanTemplateWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIAddMealPlanTemplate200Response* output, NSError* error)) handler; -``` - -Add Meal Plan Template - -Add a meal plan template for a user. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* hash = 4b5v4398573406; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Add Meal Plan Template -[apiInstance addMealPlanTemplateWithUsername:username - hash:hash - completionHandler: ^(OAIAddMealPlanTemplate200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->addMealPlanTemplate: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -[**OAIAddMealPlanTemplate200Response***](OAIAddMealPlanTemplate200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **addToMealPlan** -```objc --(NSURLSessionTask*) addToMealPlanWithUsername: (NSString*) username - hash: (NSString*) hash - addToMealPlanRequest: (OAIAddToMealPlanRequest*) addToMealPlanRequest - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Add to Meal Plan - -Add an item to the user's meal plan. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* hash = @"hash_example"; // The private hash for the username. -OAIAddToMealPlanRequest* addToMealPlanRequest = {"date":1589500800,"slot":1,"position":0,"type":"INGREDIENTS","value":{"ingredients":[{"name":"1 banana"}]}}; // - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Add to Meal Plan -[apiInstance addToMealPlanWithUsername:username - hash:hash - addToMealPlanRequest:addToMealPlanRequest - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->addToMealPlan: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **hash** | **NSString***| The private hash for the username. | - **addToMealPlanRequest** | [**OAIAddToMealPlanRequest***](OAIAddToMealPlanRequest.md)| | - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **addToShoppingList** -```objc --(NSURLSessionTask*) addToShoppingListWithUsername: (NSString*) username - hash: (NSString*) hash - addToShoppingListRequest: (OAIAddToShoppingListRequest*) addToShoppingListRequest - completionHandler: (void (^)(OAIGenerateShoppingList200Response* output, NSError* error)) handler; -``` - -Add to Shopping List - -Add an item to the current shopping list of a user. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* hash = @"hash_example"; // The private hash for the username. -OAIAddToShoppingListRequest* addToShoppingListRequest = {"item":"1 package baking powder","aisle":"Baking","parse":true}; // - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Add to Shopping List -[apiInstance addToShoppingListWithUsername:username - hash:hash - addToShoppingListRequest:addToShoppingListRequest - completionHandler: ^(OAIGenerateShoppingList200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->addToShoppingList: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **hash** | **NSString***| The private hash for the username. | - **addToShoppingListRequest** | [**OAIAddToShoppingListRequest***](OAIAddToShoppingListRequest.md)| | - -### Return type - -[**OAIGenerateShoppingList200Response***](OAIGenerateShoppingList200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **clearMealPlanDay** -```objc --(NSURLSessionTask*) clearMealPlanDayWithUsername: (NSString*) username - date: (NSString*) date - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Clear Meal Plan Day - -Delete all planned items from the user's meal plan for a specific day. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* date = 2020-06-01; // The date in the format yyyy-mm-dd. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Clear Meal Plan Day -[apiInstance clearMealPlanDayWithUsername:username - date:date - hash:hash - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->clearMealPlanDay: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **date** | **NSString***| The date in the format yyyy-mm-dd. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connectUser** -```objc --(NSURLSessionTask*) connectUserWithConnectUserRequest: (OAIConnectUserRequest*) connectUserRequest - completionHandler: (void (^)(OAIConnectUser200Response* output, NSError* error)) handler; -``` - -Connect User - -In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAIConnectUserRequest* connectUserRequest = {"username":"your user's name","firstName":"your user's first name","lastName":"your user's last name","email":"your user's email"}; // - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Connect User -[apiInstance connectUserWithConnectUserRequest:connectUserRequest - completionHandler: ^(OAIConnectUser200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->connectUser: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **connectUserRequest** | [**OAIConnectUserRequest***](OAIConnectUserRequest.md)| | - -### Return type - -[**OAIConnectUser200Response***](OAIConnectUser200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **deleteFromMealPlan** -```objc --(NSURLSessionTask*) deleteFromMealPlanWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Delete from Meal Plan - -Delete an item from the user's meal plan. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSNumber* _id = 15678; // The shopping list item id. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Delete from Meal Plan -[apiInstance deleteFromMealPlanWithUsername:username - _id:_id - hash:hash - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->deleteFromMealPlan: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **_id** | **NSNumber***| The shopping list item id. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **deleteFromShoppingList** -```objc --(NSURLSessionTask*) deleteFromShoppingListWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Delete from Shopping List - -Delete an item from the current shopping list of the user. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSNumber* _id = 1; // The item's id. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Delete from Shopping List -[apiInstance deleteFromShoppingListWithUsername:username - _id:_id - hash:hash - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->deleteFromShoppingList: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **_id** | **NSNumber***| The item's id. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **deleteMealPlanTemplate** -```objc --(NSURLSessionTask*) deleteMealPlanTemplateWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(NSObject* output, NSError* error)) handler; -``` - -Delete Meal Plan Template - -Delete a meal plan template for a user. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSNumber* _id = 1; // The item's id. -NSString* hash = 4b5v4398573406; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Delete Meal Plan Template -[apiInstance deleteMealPlanTemplateWithUsername:username - _id:_id - hash:hash - completionHandler: ^(NSObject* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->deleteMealPlanTemplate: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **_id** | **NSNumber***| The item's id. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -**NSObject*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **generateMealPlan** -```objc --(NSURLSessionTask*) generateMealPlanWithTimeFrame: (NSString*) timeFrame - targetCalories: (NSNumber*) targetCalories - diet: (NSString*) diet - exclude: (NSString*) exclude - completionHandler: (void (^)(OAIGenerateMealPlan200Response* output, NSError* error)) handler; -``` - -Generate Meal Plan - -Generate a meal plan with three meals per day (breakfast, lunch, and dinner). - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* timeFrame = day; // Either for one \"day\" or an entire \"week\". (optional) -NSNumber* targetCalories = 2000; // What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. (optional) -NSString* diet = vegetarian; // Enter a diet that the meal plan has to adhere to. See a full list of supported diets. (optional) -NSString* exclude = shellfish, olives; // A comma-separated list of allergens or ingredients that must be excluded. (optional) - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Generate Meal Plan -[apiInstance generateMealPlanWithTimeFrame:timeFrame - targetCalories:targetCalories - diet:diet - exclude:exclude - completionHandler: ^(OAIGenerateMealPlan200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->generateMealPlan: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **timeFrame** | **NSString***| Either for one \"day\" or an entire \"week\". | [optional] - **targetCalories** | **NSNumber***| What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. | [optional] - **diet** | **NSString***| Enter a diet that the meal plan has to adhere to. See a full list of supported diets. | [optional] - **exclude** | **NSString***| A comma-separated list of allergens or ingredients that must be excluded. | [optional] - -### Return type - -[**OAIGenerateMealPlan200Response***](OAIGenerateMealPlan200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **generateShoppingList** -```objc --(NSURLSessionTask*) generateShoppingListWithUsername: (NSString*) username - startDate: (NSString*) startDate - endDate: (NSString*) endDate - hash: (NSString*) hash - completionHandler: (void (^)(OAIGenerateShoppingList200Response* output, NSError* error)) handler; -``` - -Generate Shopping List - -Generate the shopping list for a user from the meal planner in a given time frame. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* startDate = 2020-06-01; // The start date in the format yyyy-mm-dd. -NSString* endDate = 2020-06-07; // The end date in the format yyyy-mm-dd. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Generate Shopping List -[apiInstance generateShoppingListWithUsername:username - startDate:startDate - endDate:endDate - hash:hash - completionHandler: ^(OAIGenerateShoppingList200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->generateShoppingList: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **startDate** | **NSString***| The start date in the format yyyy-mm-dd. | - **endDate** | **NSString***| The end date in the format yyyy-mm-dd. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -[**OAIGenerateShoppingList200Response***](OAIGenerateShoppingList200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getMealPlanTemplate** -```objc --(NSURLSessionTask*) getMealPlanTemplateWithUsername: (NSString*) username - _id: (NSNumber*) _id - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanTemplate200Response* output, NSError* error)) handler; -``` - -Get Meal Plan Template - -Get information about a meal plan template. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSNumber* _id = 1; // The item's id. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Get Meal Plan Template -[apiInstance getMealPlanTemplateWithUsername:username - _id:_id - hash:hash - completionHandler: ^(OAIGetMealPlanTemplate200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->getMealPlanTemplate: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **_id** | **NSNumber***| The item's id. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -[**OAIGetMealPlanTemplate200Response***](OAIGetMealPlanTemplate200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getMealPlanTemplates** -```objc --(NSURLSessionTask*) getMealPlanTemplatesWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanTemplates200Response* output, NSError* error)) handler; -``` - -Get Meal Plan Templates - -Get meal plan templates from user or public ones. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Get Meal Plan Templates -[apiInstance getMealPlanTemplatesWithUsername:username - hash:hash - completionHandler: ^(OAIGetMealPlanTemplates200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->getMealPlanTemplates: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -[**OAIGetMealPlanTemplates200Response***](OAIGetMealPlanTemplates200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getMealPlanWeek** -```objc --(NSURLSessionTask*) getMealPlanWeekWithUsername: (NSString*) username - startDate: (NSString*) startDate - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetMealPlanWeek200Response* output, NSError* error)) handler; -``` - -Get Meal Plan Week - -Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* startDate = 2020-06-01; // The start date of the meal planned week in the format yyyy-mm-dd. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Get Meal Plan Week -[apiInstance getMealPlanWeekWithUsername:username - startDate:startDate - hash:hash - completionHandler: ^(OAIGetMealPlanWeek200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->getMealPlanWeek: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **startDate** | **NSString***| The start date of the meal planned week in the format yyyy-mm-dd. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -[**OAIGetMealPlanWeek200Response***](OAIGetMealPlanWeek200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getShoppingList** -```objc --(NSURLSessionTask*) getShoppingListWithUsername: (NSString*) username - hash: (NSString*) hash - completionHandler: (void (^)(OAIGetShoppingList200Response* output, NSError* error)) handler; -``` - -Get Shopping List - -Get the current shopping list for the given user. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* hash = @"hash_example"; // The private hash for the username. - -OAIMealPlanningApi*apiInstance = [[OAIMealPlanningApi alloc] init]; - -// Get Shopping List -[apiInstance getShoppingListWithUsername:username - hash:hash - completionHandler: ^(OAIGetShoppingList200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMealPlanningApi->getShoppingList: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **hash** | **NSString***| The private hash for the username. | - -### Return type - -[**OAIGetShoppingList200Response***](OAIGetShoppingList200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAIMenuItemsApi.md b/objc/docs/OAIMenuItemsApi.md deleted file mode 100644 index 9ef819501..000000000 --- a/objc/docs/OAIMenuItemsApi.md +++ /dev/null @@ -1,494 +0,0 @@ -# OAIMenuItemsApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**autocompleteMenuItemSearch**](OAIMenuItemsApi.md#autocompletemenuitemsearch) | **GET** /food/menuItems/suggest | Autocomplete Menu Item Search -[**getMenuItemInformation**](OAIMenuItemsApi.md#getmenuiteminformation) | **GET** /food/menuItems/{id} | Get Menu Item Information -[**menuItemNutritionByIDImage**](OAIMenuItemsApi.md#menuitemnutritionbyidimage) | **GET** /food/menuItems/{id}/nutritionWidget.png | Menu Item Nutrition by ID Image -[**menuItemNutritionLabelImage**](OAIMenuItemsApi.md#menuitemnutritionlabelimage) | **GET** /food/menuItems/{id}/nutritionLabel.png | Menu Item Nutrition Label Image -[**menuItemNutritionLabelWidget**](OAIMenuItemsApi.md#menuitemnutritionlabelwidget) | **GET** /food/menuItems/{id}/nutritionLabel | Menu Item Nutrition Label Widget -[**searchMenuItems**](OAIMenuItemsApi.md#searchmenuitems) | **GET** /food/menuItems/search | Search Menu Items -[**visualizeMenuItemNutritionByID**](OAIMenuItemsApi.md#visualizemenuitemnutritionbyid) | **GET** /food/menuItems/{id}/nutritionWidget | Menu Item Nutrition by ID Widget - - -# **autocompleteMenuItemSearch** -```objc --(NSURLSessionTask*) autocompleteMenuItemSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIAutocompleteMenuItemSearch200Response* output, NSError* error)) handler; -``` - -Autocomplete Menu Item Search - -Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = chicke; // The (partial) search query. -NSNumber* number = 10; // The number of results to return (between 1 and 25). (optional) - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Autocomplete Menu Item Search -[apiInstance autocompleteMenuItemSearchWithQuery:query - number:number - completionHandler: ^(OAIAutocompleteMenuItemSearch200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->autocompleteMenuItemSearch: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (partial) search query. | - **number** | **NSNumber***| The number of results to return (between 1 and 25). | [optional] - -### Return type - -[**OAIAutocompleteMenuItemSearch200Response***](OAIAutocompleteMenuItemSearch200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getMenuItemInformation** -```objc --(NSURLSessionTask*) getMenuItemInformationWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetMenuItemInformation200Response* output, NSError* error)) handler; -``` - -Get Menu Item Information - -Use a menu item id to get all available information about a menu item, such as nutrition. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Get Menu Item Information -[apiInstance getMenuItemInformationWithId:_id - completionHandler: ^(OAIGetMenuItemInformation200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->getMenuItemInformation: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetMenuItemInformation200Response***](OAIGetMenuItemInformation200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **menuItemNutritionByIDImage** -```objc --(NSURLSessionTask*) menuItemNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Menu Item Nutrition by ID Image - -Visualize a menu item's nutritional information as HTML including CSS. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 424571; // The menu item id. - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Menu Item Nutrition by ID Image -[apiInstance menuItemNutritionByIDImageWithId:_id - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->menuItemNutritionByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The menu item id. | - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **menuItemNutritionLabelImage** -```objc --(NSURLSessionTask*) menuItemNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Menu Item Nutrition Label Image - -Visualize a menu item's nutritional label information as an image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 342313; // The menu item id. -NSNumber* showOptionalNutrients = false; // Whether to show optional nutrients. (optional) -NSNumber* showZeroValues = false; // Whether to show zero values. (optional) -NSNumber* showIngredients = false; // Whether to show a list of ingredients. (optional) - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Menu Item Nutrition Label Image -[apiInstance menuItemNutritionLabelImageWithId:_id - showOptionalNutrients:showOptionalNutrients - showZeroValues:showZeroValues - showIngredients:showIngredients - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->menuItemNutritionLabelImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The menu item id. | - **showOptionalNutrients** | **NSNumber***| Whether to show optional nutrients. | [optional] - **showZeroValues** | **NSNumber***| Whether to show zero values. | [optional] - **showIngredients** | **NSNumber***| Whether to show a list of ingredients. | [optional] - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **menuItemNutritionLabelWidget** -```objc --(NSURLSessionTask*) menuItemNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Menu Item Nutrition Label Widget - -Visualize a menu item's nutritional label information as HTML including CSS. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 342313; // The menu item id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) -NSNumber* showOptionalNutrients = false; // Whether to show optional nutrients. (optional) -NSNumber* showZeroValues = false; // Whether to show zero values. (optional) -NSNumber* showIngredients = false; // Whether to show a list of ingredients. (optional) - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Menu Item Nutrition Label Widget -[apiInstance menuItemNutritionLabelWidgetWithId:_id - defaultCss:defaultCss - showOptionalNutrients:showOptionalNutrients - showZeroValues:showZeroValues - showIngredients:showIngredients - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->menuItemNutritionLabelWidget: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The menu item id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - **showOptionalNutrients** | **NSNumber***| Whether to show optional nutrients. | [optional] - **showZeroValues** | **NSNumber***| Whether to show zero values. | [optional] - **showIngredients** | **NSNumber***| Whether to show a list of ingredients. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchMenuItems** -```objc --(NSURLSessionTask*) searchMenuItemsWithQuery: (NSString*) query - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - addMenuItemInformation: (NSNumber*) addMenuItemInformation - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchMenuItems200Response* output, NSError* error)) handler; -``` - -Search Menu Items - -Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSNumber* minCalories = 50; // The minimum amount of calories the menu item must have. (optional) -NSNumber* maxCalories = 800; // The maximum amount of calories the menu item can have. (optional) -NSNumber* minCarbs = 10; // The minimum amount of carbohydrates in grams the menu item must have. (optional) -NSNumber* maxCarbs = 100; // The maximum amount of carbohydrates in grams the menu item can have. (optional) -NSNumber* minProtein = 10; // The minimum amount of protein in grams the menu item must have. (optional) -NSNumber* maxProtein = 100; // The maximum amount of protein in grams the menu item can have. (optional) -NSNumber* minFat = 1; // The minimum amount of fat in grams the menu item must have. (optional) -NSNumber* maxFat = 100; // The maximum amount of fat in grams the menu item can have. (optional) -NSNumber* addMenuItemInformation = true; // If set to true, you get more information about the menu items returned. (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Search Menu Items -[apiInstance searchMenuItemsWithQuery:query - minCalories:minCalories - maxCalories:maxCalories - minCarbs:minCarbs - maxCarbs:maxCarbs - minProtein:minProtein - maxProtein:maxProtein - minFat:minFat - maxFat:maxFat - addMenuItemInformation:addMenuItemInformation - offset:offset - number:number - completionHandler: ^(OAISearchMenuItems200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->searchMenuItems: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **minCalories** | **NSNumber***| The minimum amount of calories the menu item must have. | [optional] - **maxCalories** | **NSNumber***| The maximum amount of calories the menu item can have. | [optional] - **minCarbs** | **NSNumber***| The minimum amount of carbohydrates in grams the menu item must have. | [optional] - **maxCarbs** | **NSNumber***| The maximum amount of carbohydrates in grams the menu item can have. | [optional] - **minProtein** | **NSNumber***| The minimum amount of protein in grams the menu item must have. | [optional] - **maxProtein** | **NSNumber***| The maximum amount of protein in grams the menu item can have. | [optional] - **minFat** | **NSNumber***| The minimum amount of fat in grams the menu item must have. | [optional] - **maxFat** | **NSNumber***| The maximum amount of fat in grams the menu item can have. | [optional] - **addMenuItemInformation** | **NSNumber***| If set to true, you get more information about the menu items returned. | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAISearchMenuItems200Response***](OAISearchMenuItems200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeMenuItemNutritionByID** -```objc --(NSURLSessionTask*) visualizeMenuItemNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Menu Item Nutrition by ID Widget - -Visualize a menu item's nutritional information as HTML including CSS. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) - -OAIMenuItemsApi*apiInstance = [[OAIMenuItemsApi alloc] init]; - -// Menu Item Nutrition by ID Widget -[apiInstance visualizeMenuItemNutritionByIDWithId:_id - defaultCss:defaultCss - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMenuItemsApi->visualizeMenuItemNutritionByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAIMiscApi.md b/objc/docs/OAIMiscApi.md deleted file mode 100644 index fef50d9e3..000000000 --- a/objc/docs/OAIMiscApi.md +++ /dev/null @@ -1,706 +0,0 @@ -# OAIMiscApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**detectFoodInText**](OAIMiscApi.md#detectfoodintext) | **POST** /food/detect | Detect Food in Text -[**getARandomFoodJoke**](OAIMiscApi.md#getarandomfoodjoke) | **GET** /food/jokes/random | Random Food Joke -[**getConversationSuggests**](OAIMiscApi.md#getconversationsuggests) | **GET** /food/converse/suggest | Conversation Suggests -[**getRandomFoodTrivia**](OAIMiscApi.md#getrandomfoodtrivia) | **GET** /food/trivia/random | Random Food Trivia -[**imageAnalysisByURL**](OAIMiscApi.md#imageanalysisbyurl) | **GET** /food/images/analyze | Image Analysis by URL -[**imageClassificationByURL**](OAIMiscApi.md#imageclassificationbyurl) | **GET** /food/images/classify | Image Classification by URL -[**searchAllFood**](OAIMiscApi.md#searchallfood) | **GET** /food/search | Search All Food -[**searchCustomFoods**](OAIMiscApi.md#searchcustomfoods) | **GET** /food/customFoods/search | Search Custom Foods -[**searchFoodVideos**](OAIMiscApi.md#searchfoodvideos) | **GET** /food/videos/search | Search Food Videos -[**searchSiteContent**](OAIMiscApi.md#searchsitecontent) | **GET** /food/site/search | Search Site Content -[**talkToChatbot**](OAIMiscApi.md#talktochatbot) | **GET** /food/converse | Talk to Chatbot - - -# **detectFoodInText** -```objc --(NSURLSessionTask*) detectFoodInTextWithText: (NSString*) text - completionHandler: (void (^)(OAIDetectFoodInText200Response* output, NSError* error)) handler; -``` - -Detect Food in Text - -Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* text = @"text_example"; // - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Detect Food in Text -[apiInstance detectFoodInTextWithText:text - completionHandler: ^(OAIDetectFoodInText200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->detectFoodInText: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **text** | **NSString***| | - -### Return type - -[**OAIDetectFoodInText200Response***](OAIDetectFoodInText200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getARandomFoodJoke** -```objc --(NSURLSessionTask*) getARandomFoodJokeWithCompletionHandler: - (void (^)(OAIGetARandomFoodJoke200Response* output, NSError* error)) handler; -``` - -Random Food Joke - -Get a random joke that is related to food. Caution: this is an endpoint for adults! - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Random Food Joke -[apiInstance getARandomFoodJokeWithCompletionHandler: - ^(OAIGetARandomFoodJoke200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->getARandomFoodJoke: %@", error); - } - }]; -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**OAIGetARandomFoodJoke200Response***](OAIGetARandomFoodJoke200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getConversationSuggests** -```objc --(NSURLSessionTask*) getConversationSuggestsWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetConversationSuggests200Response* output, NSError* error)) handler; -``` - -Conversation Suggests - -This endpoint returns suggestions for things the user can say or ask the chatbot. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = tell; // A (partial) query from the user. The endpoint will return if it matches topics it can talk about. -NSNumber* number = 5; // The number of suggestions to return (between 1 and 25). (optional) - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Conversation Suggests -[apiInstance getConversationSuggestsWithQuery:query - number:number - completionHandler: ^(OAIGetConversationSuggests200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->getConversationSuggests: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| A (partial) query from the user. The endpoint will return if it matches topics it can talk about. | - **number** | **NSNumber***| The number of suggestions to return (between 1 and 25). | [optional] - -### Return type - -[**OAIGetConversationSuggests200Response***](OAIGetConversationSuggests200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRandomFoodTrivia** -```objc --(NSURLSessionTask*) getRandomFoodTriviaWithCompletionHandler: - (void (^)(OAIGetRandomFoodTrivia200Response* output, NSError* error)) handler; -``` - -Random Food Trivia - -Returns random food trivia. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Random Food Trivia -[apiInstance getRandomFoodTriviaWithCompletionHandler: - ^(OAIGetRandomFoodTrivia200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->getRandomFoodTrivia: %@", error); - } - }]; -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**OAIGetRandomFoodTrivia200Response***](OAIGetRandomFoodTrivia200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **imageAnalysisByURL** -```objc --(NSURLSessionTask*) imageAnalysisByURLWithImageUrl: (NSString*) imageUrl - completionHandler: (void (^)(OAIImageAnalysisByURL200Response* output, NSError* error)) handler; -``` - -Image Analysis by URL - -Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* imageUrl = https://spoonacular.com/recipeImages/635350-240x150.jpg; // The URL of the image to be analyzed. - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Image Analysis by URL -[apiInstance imageAnalysisByURLWithImageUrl:imageUrl - completionHandler: ^(OAIImageAnalysisByURL200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->imageAnalysisByURL: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **imageUrl** | **NSString***| The URL of the image to be analyzed. | - -### Return type - -[**OAIImageAnalysisByURL200Response***](OAIImageAnalysisByURL200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **imageClassificationByURL** -```objc --(NSURLSessionTask*) imageClassificationByURLWithImageUrl: (NSString*) imageUrl - completionHandler: (void (^)(OAIImageClassificationByURL200Response* output, NSError* error)) handler; -``` - -Image Classification by URL - -Classify a food image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* imageUrl = https://spoonacular.com/recipeImages/635350-240x150.jpg; // The URL of the image to be classified. - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Image Classification by URL -[apiInstance imageClassificationByURLWithImageUrl:imageUrl - completionHandler: ^(OAIImageClassificationByURL200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->imageClassificationByURL: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **imageUrl** | **NSString***| The URL of the image to be classified. | - -### Return type - -[**OAIImageClassificationByURL200Response***](OAIImageClassificationByURL200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchAllFood** -```objc --(NSURLSessionTask*) searchAllFoodWithQuery: (NSString*) query - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchAllFood200Response* output, NSError* error)) handler; -``` - -Search All Food - -Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = apple; // The search query. -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Search All Food -[apiInstance searchAllFoodWithQuery:query - offset:offset - number:number - completionHandler: ^(OAISearchAllFood200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->searchAllFood: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The search query. | - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAISearchAllFood200Response***](OAISearchAllFood200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchCustomFoods** -```objc --(NSURLSessionTask*) searchCustomFoodsWithUsername: (NSString*) username - hash: (NSString*) hash - query: (NSString*) query - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchCustomFoods200Response* output, NSError* error)) handler; -``` - -Search Custom Foods - -Search custom foods in a user's account. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* username = dsky; // The username. -NSString* hash = 4b5v4398573406; // The private hash for the username. -NSString* query = burger; // The (natural language) search query. (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Search Custom Foods -[apiInstance searchCustomFoodsWithUsername:username - hash:hash - query:query - offset:offset - number:number - completionHandler: ^(OAISearchCustomFoods200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->searchCustomFoods: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **NSString***| The username. | - **hash** | **NSString***| The private hash for the username. | - **query** | **NSString***| The (natural language) search query. | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAISearchCustomFoods200Response***](OAISearchCustomFoods200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchFoodVideos** -```objc --(NSURLSessionTask*) searchFoodVideosWithQuery: (NSString*) query - type: (NSString*) type - cuisine: (NSString*) cuisine - diet: (NSString*) diet - includeIngredients: (NSString*) includeIngredients - excludeIngredients: (NSString*) excludeIngredients - minLength: (NSNumber*) minLength - maxLength: (NSNumber*) maxLength - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchFoodVideos200Response* output, NSError* error)) handler; -``` - -Search Food Videos - -Find recipe and other food related videos. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSString* type = main course; // The type of the recipes. See a full list of supported meal types. (optional) -NSString* cuisine = italian; // The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. (optional) -NSString* diet = vegetarian; // The diet for which the recipes must be suitable. See a full list of supported diets. (optional) -NSString* includeIngredients = tomato,cheese; // A comma-separated list of ingredients that the recipes should contain. (optional) -NSString* excludeIngredients = eggs; // A comma-separated list of ingredients or ingredient types that the recipes must not contain. (optional) -NSNumber* minLength = 0; // Minimum video length in seconds. (optional) -NSNumber* maxLength = 999; // Maximum video length in seconds. (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Search Food Videos -[apiInstance searchFoodVideosWithQuery:query - type:type - cuisine:cuisine - diet:diet - includeIngredients:includeIngredients - excludeIngredients:excludeIngredients - minLength:minLength - maxLength:maxLength - offset:offset - number:number - completionHandler: ^(OAISearchFoodVideos200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->searchFoodVideos: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **type** | **NSString***| The type of the recipes. See a full list of supported meal types. | [optional] - **cuisine** | **NSString***| The cuisine(s) of the recipes. One or more, comma separated. See a full list of supported cuisines. | [optional] - **diet** | **NSString***| The diet for which the recipes must be suitable. See a full list of supported diets. | [optional] - **includeIngredients** | **NSString***| A comma-separated list of ingredients that the recipes should contain. | [optional] - **excludeIngredients** | **NSString***| A comma-separated list of ingredients or ingredient types that the recipes must not contain. | [optional] - **minLength** | **NSNumber***| Minimum video length in seconds. | [optional] - **maxLength** | **NSNumber***| Maximum video length in seconds. | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAISearchFoodVideos200Response***](OAISearchFoodVideos200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchSiteContent** -```objc --(NSURLSessionTask*) searchSiteContentWithQuery: (NSString*) query - completionHandler: (void (^)(OAISearchSiteContent200Response* output, NSError* error)) handler; -``` - -Search Site Content - -Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = past; // The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Search Site Content -[apiInstance searchSiteContentWithQuery:query - completionHandler: ^(OAISearchSiteContent200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->searchSiteContent: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content. | - -### Return type - -[**OAISearchSiteContent200Response***](OAISearchSiteContent200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **talkToChatbot** -```objc --(NSURLSessionTask*) talkToChatbotWithText: (NSString*) text - contextId: (NSString*) contextId - completionHandler: (void (^)(OAITalkToChatbot200Response* output, NSError* error)) handler; -``` - -Talk to Chatbot - -This endpoint can be used to have a conversation about food with the spoonacular chatbot. Use the \"Get Conversation Suggests\" endpoint to show your user what he or she can say. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* text = donut recipes; // The request / question / answer from the user to the chatbot. -NSString* contextId = 342938; // An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. (optional) - -OAIMiscApi*apiInstance = [[OAIMiscApi alloc] init]; - -// Talk to Chatbot -[apiInstance talkToChatbotWithText:text - contextId:contextId - completionHandler: ^(OAITalkToChatbot200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIMiscApi->talkToChatbot: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **text** | **NSString***| The request / question / answer from the user to the chatbot. | - **contextId** | **NSString***| An arbitrary globally unique id for your conversation. The conversation can contain states so you should pass your context id if you want the bot to be able to remember the conversation. | [optional] - -### Return type - -[**OAITalkToChatbot200Response***](OAITalkToChatbot200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAIParseIngredients200ResponseInner.md b/objc/docs/OAIParseIngredients200ResponseInner.md deleted file mode 100644 index 6ffcfd8ad..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInner.md +++ /dev/null @@ -1,25 +0,0 @@ -# OAIParseIngredients200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**original** | **NSString*** | | -**originalName** | **NSString*** | | -**name** | **NSString*** | | -**nameClean** | **NSString*** | | -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | -**unitShort** | **NSString*** | | -**unitLong** | **NSString*** | | -**possibleUnits** | **NSArray<NSString*>*** | | -**estimatedCost** | [**OAIParseIngredients200ResponseInnerEstimatedCost***](OAIParseIngredients200ResponseInnerEstimatedCost.md) | | -**consistency** | **NSString*** | | -**aisle** | **NSString*** | | -**image** | **NSString*** | | -**meta** | **NSArray<NSString*>*** | | -**nutrition** | [**OAIParseIngredients200ResponseInnerNutrition***](OAIParseIngredients200ResponseInnerNutrition.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIParseIngredients200ResponseInnerEstimatedCost.md b/objc/docs/OAIParseIngredients200ResponseInnerEstimatedCost.md deleted file mode 100644 index 60e373bd1..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInnerEstimatedCost.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIParseIngredients200ResponseInnerEstimatedCost - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **NSNumber*** | | -**unit** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIParseIngredients200ResponseInnerNutrition.md b/objc/docs/OAIParseIngredients200ResponseInnerNutrition.md deleted file mode 100644 index f86b45f21..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInnerNutrition.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAIParseIngredients200ResponseInnerNutrition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**OAISet<OAIParseIngredients200ResponseInnerNutritionNutrientsInner>***](OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | -**properties** | [**OAISet<OAIParseIngredients200ResponseInnerNutritionPropertiesInner>***](OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | -**flavonoids** | [**OAISet<OAIParseIngredients200ResponseInnerNutritionPropertiesInner>***](OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md) | | -**caloricBreakdown** | [**OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown***](OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | -**weightPerServing** | [**OAIParseIngredients200ResponseInnerNutritionWeightPerServing***](OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md b/objc/docs/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md deleted file mode 100644 index 2809900d6..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**percentProtein** | **NSNumber*** | | -**percentFat** | **NSNumber*** | | -**percentCarbs** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md b/objc/docs/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md deleted file mode 100644 index e2d950daa..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAIParseIngredients200ResponseInnerNutritionNutrientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | -**percentOfDailyNeeds** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md b/objc/docs/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md deleted file mode 100644 index 12e236954..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInnerNutritionPropertiesInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAIParseIngredients200ResponseInnerNutritionPropertiesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md b/objc/docs/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md deleted file mode 100644 index 8816a4353..000000000 --- a/objc/docs/OAIParseIngredients200ResponseInnerNutritionWeightPerServing.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIParseIngredients200ResponseInnerNutritionWeightPerServing - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | **NSNumber*** | | -**unit** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIProductsApi.md b/objc/docs/OAIProductsApi.md deleted file mode 100644 index faf278bfa..000000000 --- a/objc/docs/OAIProductsApi.md +++ /dev/null @@ -1,734 +0,0 @@ -# OAIProductsApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**autocompleteProductSearch**](OAIProductsApi.md#autocompleteproductsearch) | **GET** /food/products/suggest | Autocomplete Product Search -[**classifyGroceryProduct**](OAIProductsApi.md#classifygroceryproduct) | **POST** /food/products/classify | Classify Grocery Product -[**classifyGroceryProductBulk**](OAIProductsApi.md#classifygroceryproductbulk) | **POST** /food/products/classifyBatch | Classify Grocery Product Bulk -[**getComparableProducts**](OAIProductsApi.md#getcomparableproducts) | **GET** /food/products/upc/{upc}/comparable | Get Comparable Products -[**getProductInformation**](OAIProductsApi.md#getproductinformation) | **GET** /food/products/{id} | Get Product Information -[**productNutritionByIDImage**](OAIProductsApi.md#productnutritionbyidimage) | **GET** /food/products/{id}/nutritionWidget.png | Product Nutrition by ID Image -[**productNutritionLabelImage**](OAIProductsApi.md#productnutritionlabelimage) | **GET** /food/products/{id}/nutritionLabel.png | Product Nutrition Label Image -[**productNutritionLabelWidget**](OAIProductsApi.md#productnutritionlabelwidget) | **GET** /food/products/{id}/nutritionLabel | Product Nutrition Label Widget -[**searchGroceryProducts**](OAIProductsApi.md#searchgroceryproducts) | **GET** /food/products/search | Search Grocery Products -[**searchGroceryProductsByUPC**](OAIProductsApi.md#searchgroceryproductsbyupc) | **GET** /food/products/upc/{upc} | Search Grocery Products by UPC -[**visualizeProductNutritionByID**](OAIProductsApi.md#visualizeproductnutritionbyid) | **GET** /food/products/{id}/nutritionWidget | Product Nutrition by ID Widget - - -# **autocompleteProductSearch** -```objc --(NSURLSessionTask*) autocompleteProductSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAIAutocompleteProductSearch200Response* output, NSError* error)) handler; -``` - -Autocomplete Product Search - -Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = chicke; // The (partial) search query. -NSNumber* number = 10; // The number of results to return (between 1 and 25). (optional) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Autocomplete Product Search -[apiInstance autocompleteProductSearchWithQuery:query - number:number - completionHandler: ^(OAIAutocompleteProductSearch200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->autocompleteProductSearch: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (partial) search query. | - **number** | **NSNumber***| The number of results to return (between 1 and 25). | [optional] - -### Return type - -[**OAIAutocompleteProductSearch200Response***](OAIAutocompleteProductSearch200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **classifyGroceryProduct** -```objc --(NSURLSessionTask*) classifyGroceryProductWithClassifyGroceryProductRequest: (OAIClassifyGroceryProductRequest*) classifyGroceryProductRequest - locale: (NSString*) locale - completionHandler: (void (^)(OAIClassifyGroceryProduct200Response* output, NSError* error)) handler; -``` - -Classify Grocery Product - -This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAIClassifyGroceryProductRequest* classifyGroceryProductRequest = {"title":"Kroger Vitamin A & D Reduced Fat 2% Milk","upc":"","plu_code":""}; // -NSString* locale = en_US; // The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). (optional) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Classify Grocery Product -[apiInstance classifyGroceryProductWithClassifyGroceryProductRequest:classifyGroceryProductRequest - locale:locale - completionHandler: ^(OAIClassifyGroceryProduct200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->classifyGroceryProduct: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **classifyGroceryProductRequest** | [**OAIClassifyGroceryProductRequest***](OAIClassifyGroceryProductRequest.md)| | - **locale** | **NSString***| The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | [optional] - -### Return type - -[**OAIClassifyGroceryProduct200Response***](OAIClassifyGroceryProduct200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **classifyGroceryProductBulk** -```objc --(NSURLSessionTask*) classifyGroceryProductBulkWithClassifyGroceryProductBulkRequestInner: (OAISet*) classifyGroceryProductBulkRequestInner - locale: (NSString*) locale - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Classify Grocery Product Bulk - -Provide a set of product jsons, get back classified products. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAISet* classifyGroceryProductBulkRequestInner = [{"title":"Kroger Vitamin A & D Reduced Fat 2% Milk","upc":"","plu_code":""}]; // -NSString* locale = en_US; // The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). (optional) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Classify Grocery Product Bulk -[apiInstance classifyGroceryProductBulkWithClassifyGroceryProductBulkRequestInner:classifyGroceryProductBulkRequestInner - locale:locale - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->classifyGroceryProductBulk: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **classifyGroceryProductBulkRequestInner** | [**OAISet<OAIClassifyGroceryProductBulkRequestInner>***](OAIClassifyGroceryProductBulkRequestInner.md)| | - **locale** | **NSString***| The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | [optional] - -### Return type - -[**OAISet***](OAIClassifyGroceryProductBulk200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getComparableProducts** -```objc --(NSURLSessionTask*) getComparableProductsWithUpc: (NSNumber*) upc - completionHandler: (void (^)(OAIGetComparableProducts200Response* output, NSError* error)) handler; -``` - -Get Comparable Products - -Find comparable products to the given one. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* upc = 33698816271; // The UPC of the product for which you want to find comparable products. - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Get Comparable Products -[apiInstance getComparableProductsWithUpc:upc - completionHandler: ^(OAIGetComparableProducts200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->getComparableProducts: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **upc** | **NSNumber***| The UPC of the product for which you want to find comparable products. | - -### Return type - -[**OAIGetComparableProducts200Response***](OAIGetComparableProducts200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getProductInformation** -```objc --(NSURLSessionTask*) getProductInformationWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetProductInformation200Response* output, NSError* error)) handler; -``` - -Get Product Information - -Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Get Product Information -[apiInstance getProductInformationWithId:_id - completionHandler: ^(OAIGetProductInformation200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->getProductInformation: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetProductInformation200Response***](OAIGetProductInformation200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **productNutritionByIDImage** -```objc --(NSURLSessionTask*) productNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Product Nutrition by ID Image - -Visualize a product's nutritional information as an image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 7657; // The id of the product. - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Product Nutrition by ID Image -[apiInstance productNutritionByIDImageWithId:_id - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->productNutritionByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The id of the product. | - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **productNutritionLabelImage** -```objc --(NSURLSessionTask*) productNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Product Nutrition Label Image - -Get a product's nutrition label as an image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 22347; // The product id. -NSNumber* showOptionalNutrients = false; // Whether to show optional nutrients. (optional) -NSNumber* showZeroValues = false; // Whether to show zero values. (optional) -NSNumber* showIngredients = false; // Whether to show a list of ingredients. (optional) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Product Nutrition Label Image -[apiInstance productNutritionLabelImageWithId:_id - showOptionalNutrients:showOptionalNutrients - showZeroValues:showZeroValues - showIngredients:showIngredients - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->productNutritionLabelImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The product id. | - **showOptionalNutrients** | **NSNumber***| Whether to show optional nutrients. | [optional] - **showZeroValues** | **NSNumber***| Whether to show zero values. | [optional] - **showIngredients** | **NSNumber***| Whether to show a list of ingredients. | [optional] - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **productNutritionLabelWidget** -```objc --(NSURLSessionTask*) productNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Product Nutrition Label Widget - -Get a product's nutrition label as an HTML widget. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 22347; // The product id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) -NSNumber* showOptionalNutrients = false; // Whether to show optional nutrients. (optional) -NSNumber* showZeroValues = false; // Whether to show zero values. (optional) -NSNumber* showIngredients = false; // Whether to show a list of ingredients. (optional) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Product Nutrition Label Widget -[apiInstance productNutritionLabelWidgetWithId:_id - defaultCss:defaultCss - showOptionalNutrients:showOptionalNutrients - showZeroValues:showZeroValues - showIngredients:showIngredients - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->productNutritionLabelWidget: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The product id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - **showOptionalNutrients** | **NSNumber***| Whether to show optional nutrients. | [optional] - **showZeroValues** | **NSNumber***| Whether to show zero values. | [optional] - **showIngredients** | **NSNumber***| Whether to show a list of ingredients. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchGroceryProducts** -```objc --(NSURLSessionTask*) searchGroceryProductsWithQuery: (NSString*) query - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - addProductInformation: (NSNumber*) addProductInformation - offset: (NSNumber*) offset - number: (NSNumber*) number - completionHandler: (void (^)(OAISearchGroceryProducts200Response* output, NSError* error)) handler; -``` - -Search Grocery Products - -Search packaged food products, such as frozen pizza or Greek yogurt. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSNumber* minCalories = 50; // The minimum amount of calories the product must have. (optional) -NSNumber* maxCalories = 800; // The maximum amount of calories the product can have. (optional) -NSNumber* minCarbs = 10; // The minimum amount of carbohydrates in grams the product must have. (optional) -NSNumber* maxCarbs = 100; // The maximum amount of carbohydrates in grams the product can have. (optional) -NSNumber* minProtein = 10; // The minimum amount of protein in grams the product must have. (optional) -NSNumber* maxProtein = 100; // The maximum amount of protein in grams the product can have. (optional) -NSNumber* minFat = 1; // The minimum amount of fat in grams the product must have. (optional) -NSNumber* maxFat = 100; // The maximum amount of fat in grams the product can have. (optional) -NSNumber* addProductInformation = true; // If set to true, you get more information about the products returned. (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Search Grocery Products -[apiInstance searchGroceryProductsWithQuery:query - minCalories:minCalories - maxCalories:maxCalories - minCarbs:minCarbs - maxCarbs:maxCarbs - minProtein:minProtein - maxProtein:maxProtein - minFat:minFat - maxFat:maxFat - addProductInformation:addProductInformation - offset:offset - number:number - completionHandler: ^(OAISearchGroceryProducts200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->searchGroceryProducts: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **minCalories** | **NSNumber***| The minimum amount of calories the product must have. | [optional] - **maxCalories** | **NSNumber***| The maximum amount of calories the product can have. | [optional] - **minCarbs** | **NSNumber***| The minimum amount of carbohydrates in grams the product must have. | [optional] - **maxCarbs** | **NSNumber***| The maximum amount of carbohydrates in grams the product can have. | [optional] - **minProtein** | **NSNumber***| The minimum amount of protein in grams the product must have. | [optional] - **maxProtein** | **NSNumber***| The maximum amount of protein in grams the product can have. | [optional] - **minFat** | **NSNumber***| The minimum amount of fat in grams the product must have. | [optional] - **maxFat** | **NSNumber***| The maximum amount of fat in grams the product can have. | [optional] - **addProductInformation** | **NSNumber***| If set to true, you get more information about the products returned. | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAISearchGroceryProducts200Response***](OAISearchGroceryProducts200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchGroceryProductsByUPC** -```objc --(NSURLSessionTask*) searchGroceryProductsByUPCWithUpc: (NSNumber*) upc - completionHandler: (void (^)(OAISearchGroceryProductsByUPC200Response* output, NSError* error)) handler; -``` - -Search Grocery Products by UPC - -Get information about a packaged food using its UPC. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* upc = 41631000564; // The product's UPC. - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Search Grocery Products by UPC -[apiInstance searchGroceryProductsByUPCWithUpc:upc - completionHandler: ^(OAISearchGroceryProductsByUPC200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->searchGroceryProductsByUPC: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **upc** | **NSNumber***| The product's UPC. | - -### Return type - -[**OAISearchGroceryProductsByUPC200Response***](OAISearchGroceryProductsByUPC200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeProductNutritionByID** -```objc --(NSURLSessionTask*) visualizeProductNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Product Nutrition by ID Widget - -Visualize a product's nutritional information as HTML including CSS. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) - -OAIProductsApi*apiInstance = [[OAIProductsApi alloc] init]; - -// Product Nutrition by ID Widget -[apiInstance visualizeProductNutritionByIDWithId:_id - defaultCss:defaultCss - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIProductsApi->visualizeProductNutritionByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAIQuickAnswer200Response.md b/objc/docs/OAIQuickAnswer200Response.md deleted file mode 100644 index 631f01151..000000000 --- a/objc/docs/OAIQuickAnswer200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAIQuickAnswer200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**answer** | **NSString*** | | -**image** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIRecipesApi.md b/objc/docs/OAIRecipesApi.md deleted file mode 100644 index 7a4951e35..000000000 --- a/objc/docs/OAIRecipesApi.md +++ /dev/null @@ -1,3300 +0,0 @@ -# OAIRecipesApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**analyzeARecipeSearchQuery**](OAIRecipesApi.md#analyzearecipesearchquery) | **GET** /recipes/queries/analyze | Analyze a Recipe Search Query -[**analyzeRecipeInstructions**](OAIRecipesApi.md#analyzerecipeinstructions) | **POST** /recipes/analyzeInstructions | Analyze Recipe Instructions -[**autocompleteRecipeSearch**](OAIRecipesApi.md#autocompleterecipesearch) | **GET** /recipes/autocomplete | Autocomplete Recipe Search -[**classifyCuisine**](OAIRecipesApi.md#classifycuisine) | **POST** /recipes/cuisine | Classify Cuisine -[**computeGlycemicLoad**](OAIRecipesApi.md#computeglycemicload) | **POST** /food/ingredients/glycemicLoad | Compute Glycemic Load -[**convertAmounts**](OAIRecipesApi.md#convertamounts) | **GET** /recipes/convert | Convert Amounts -[**createRecipeCard**](OAIRecipesApi.md#createrecipecard) | **POST** /recipes/visualizeRecipe | Create Recipe Card -[**equipmentByIDImage**](OAIRecipesApi.md#equipmentbyidimage) | **GET** /recipes/{id}/equipmentWidget.png | Equipment by ID Image -[**extractRecipeFromWebsite**](OAIRecipesApi.md#extractrecipefromwebsite) | **GET** /recipes/extract | Extract Recipe from Website -[**getAnalyzedRecipeInstructions**](OAIRecipesApi.md#getanalyzedrecipeinstructions) | **GET** /recipes/{id}/analyzedInstructions | Get Analyzed Recipe Instructions -[**getRandomRecipes**](OAIRecipesApi.md#getrandomrecipes) | **GET** /recipes/random | Get Random Recipes -[**getRecipeEquipmentByID**](OAIRecipesApi.md#getrecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget.json | Equipment by ID -[**getRecipeInformation**](OAIRecipesApi.md#getrecipeinformation) | **GET** /recipes/{id}/information | Get Recipe Information -[**getRecipeInformationBulk**](OAIRecipesApi.md#getrecipeinformationbulk) | **GET** /recipes/informationBulk | Get Recipe Information Bulk -[**getRecipeIngredientsByID**](OAIRecipesApi.md#getrecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget.json | Ingredients by ID -[**getRecipeNutritionWidgetByID**](OAIRecipesApi.md#getrecipenutritionwidgetbyid) | **GET** /recipes/{id}/nutritionWidget.json | Nutrition by ID -[**getRecipePriceBreakdownByID**](OAIRecipesApi.md#getrecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget.json | Price Breakdown by ID -[**getRecipeTasteByID**](OAIRecipesApi.md#getrecipetastebyid) | **GET** /recipes/{id}/tasteWidget.json | Taste by ID -[**getSimilarRecipes**](OAIRecipesApi.md#getsimilarrecipes) | **GET** /recipes/{id}/similar | Get Similar Recipes -[**guessNutritionByDishName**](OAIRecipesApi.md#guessnutritionbydishname) | **GET** /recipes/guessNutrition | Guess Nutrition by Dish Name -[**parseIngredients**](OAIRecipesApi.md#parseingredients) | **POST** /recipes/parseIngredients | Parse Ingredients -[**priceBreakdownByIDImage**](OAIRecipesApi.md#pricebreakdownbyidimage) | **GET** /recipes/{id}/priceBreakdownWidget.png | Price Breakdown by ID Image -[**quickAnswer**](OAIRecipesApi.md#quickanswer) | **GET** /recipes/quickAnswer | Quick Answer -[**recipeNutritionByIDImage**](OAIRecipesApi.md#recipenutritionbyidimage) | **GET** /recipes/{id}/nutritionWidget.png | Recipe Nutrition by ID Image -[**recipeNutritionLabelImage**](OAIRecipesApi.md#recipenutritionlabelimage) | **GET** /recipes/{id}/nutritionLabel.png | Recipe Nutrition Label Image -[**recipeNutritionLabelWidget**](OAIRecipesApi.md#recipenutritionlabelwidget) | **GET** /recipes/{id}/nutritionLabel | Recipe Nutrition Label Widget -[**recipeTasteByIDImage**](OAIRecipesApi.md#recipetastebyidimage) | **GET** /recipes/{id}/tasteWidget.png | Recipe Taste by ID Image -[**searchRecipes**](OAIRecipesApi.md#searchrecipes) | **GET** /recipes/complexSearch | Search Recipes -[**searchRecipesByIngredients**](OAIRecipesApi.md#searchrecipesbyingredients) | **GET** /recipes/findByIngredients | Search Recipes by Ingredients -[**searchRecipesByNutrients**](OAIRecipesApi.md#searchrecipesbynutrients) | **GET** /recipes/findByNutrients | Search Recipes by Nutrients -[**summarizeRecipe**](OAIRecipesApi.md#summarizerecipe) | **GET** /recipes/{id}/summary | Summarize Recipe -[**visualizeEquipment**](OAIRecipesApi.md#visualizeequipment) | **POST** /recipes/visualizeEquipment | Equipment Widget -[**visualizePriceBreakdown**](OAIRecipesApi.md#visualizepricebreakdown) | **POST** /recipes/visualizePriceEstimator | Price Breakdown Widget -[**visualizeRecipeEquipmentByID**](OAIRecipesApi.md#visualizerecipeequipmentbyid) | **GET** /recipes/{id}/equipmentWidget | Equipment by ID Widget -[**visualizeRecipeIngredientsByID**](OAIRecipesApi.md#visualizerecipeingredientsbyid) | **GET** /recipes/{id}/ingredientWidget | Ingredients by ID Widget -[**visualizeRecipeNutrition**](OAIRecipesApi.md#visualizerecipenutrition) | **POST** /recipes/visualizeNutrition | Recipe Nutrition Widget -[**visualizeRecipeNutritionByID**](OAIRecipesApi.md#visualizerecipenutritionbyid) | **GET** /recipes/{id}/nutritionWidget | Recipe Nutrition by ID Widget -[**visualizeRecipePriceBreakdownByID**](OAIRecipesApi.md#visualizerecipepricebreakdownbyid) | **GET** /recipes/{id}/priceBreakdownWidget | Price Breakdown by ID Widget -[**visualizeRecipeTaste**](OAIRecipesApi.md#visualizerecipetaste) | **POST** /recipes/visualizeTaste | Recipe Taste Widget -[**visualizeRecipeTasteByID**](OAIRecipesApi.md#visualizerecipetastebyid) | **GET** /recipes/{id}/tasteWidget | Recipe Taste by ID Widget - - -# **analyzeARecipeSearchQuery** -```objc --(NSURLSessionTask*) analyzeARecipeSearchQueryWithQ: (NSString*) q - completionHandler: (void (^)(OAIAnalyzeARecipeSearchQuery200Response* output, NSError* error)) handler; -``` - -Analyze a Recipe Search Query - -Parse a recipe search query to find out its intention. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* q = salmon with fusilli and no nuts; // The recipe search query. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Analyze a Recipe Search Query -[apiInstance analyzeARecipeSearchQueryWithQ:q - completionHandler: ^(OAIAnalyzeARecipeSearchQuery200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->analyzeARecipeSearchQuery: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **q** | **NSString***| The recipe search query. | - -### Return type - -[**OAIAnalyzeARecipeSearchQuery200Response***](OAIAnalyzeARecipeSearchQuery200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **analyzeRecipeInstructions** -```objc --(NSURLSessionTask*) analyzeRecipeInstructionsWithInstructions: (NSString*) instructions - completionHandler: (void (^)(OAIAnalyzeRecipeInstructions200Response* output, NSError* error)) handler; -``` - -Analyze Recipe Instructions - -This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used in. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* instructions = @"instructions_example"; // The recipe's instructions. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Analyze Recipe Instructions -[apiInstance analyzeRecipeInstructionsWithInstructions:instructions - completionHandler: ^(OAIAnalyzeRecipeInstructions200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->analyzeRecipeInstructions: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **instructions** | **NSString***| The recipe's instructions. | - -### Return type - -[**OAIAnalyzeRecipeInstructions200Response***](OAIAnalyzeRecipeInstructions200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **autocompleteRecipeSearch** -```objc --(NSURLSessionTask*) autocompleteRecipeSearchWithQuery: (NSString*) query - number: (NSNumber*) number - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Autocomplete Recipe Search - -Autocomplete a partial input to suggest possible recipe names. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Autocomplete Recipe Search -[apiInstance autocompleteRecipeSearchWithQuery:query - number:number - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->autocompleteRecipeSearch: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAISet***](OAIAutocompleteRecipeSearch200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **classifyCuisine** -```objc --(NSURLSessionTask*) classifyCuisineWithTitle: (NSString*) title - ingredientList: (NSString*) ingredientList - language: (NSString*) language - completionHandler: (void (^)(OAIClassifyCuisine200Response* output, NSError* error)) handler; -``` - -Classify Cuisine - -Classify the recipe's cuisine. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* title = @"title_example"; // The title of the recipe. -NSString* ingredientList = @"ingredientList_example"; // The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Classify Cuisine -[apiInstance classifyCuisineWithTitle:title - ingredientList:ingredientList - language:language - completionHandler: ^(OAIClassifyCuisine200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->classifyCuisine: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **title** | **NSString***| The title of the recipe. | - **ingredientList** | **NSString***| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - -### Return type - -[**OAIClassifyCuisine200Response***](OAIClassifyCuisine200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **computeGlycemicLoad** -```objc --(NSURLSessionTask*) computeGlycemicLoadWithComputeGlycemicLoadRequest: (OAIComputeGlycemicLoadRequest*) computeGlycemicLoadRequest - language: (NSString*) language - completionHandler: (void (^)(OAIComputeGlycemicLoad200Response* output, NSError* error)) handler; -``` - -Compute Glycemic Load - -Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -OAIComputeGlycemicLoadRequest* computeGlycemicLoadRequest = {"ingredients":["1 kiwi","2 cups rice","2 glasses of water"]}; // -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Compute Glycemic Load -[apiInstance computeGlycemicLoadWithComputeGlycemicLoadRequest:computeGlycemicLoadRequest - language:language - completionHandler: ^(OAIComputeGlycemicLoad200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->computeGlycemicLoad: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **computeGlycemicLoadRequest** | [**OAIComputeGlycemicLoadRequest***](OAIComputeGlycemicLoadRequest.md)| | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - -### Return type - -[**OAIComputeGlycemicLoad200Response***](OAIComputeGlycemicLoad200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **convertAmounts** -```objc --(NSURLSessionTask*) convertAmountsWithIngredientName: (NSString*) ingredientName - sourceAmount: (NSNumber*) sourceAmount - sourceUnit: (NSString*) sourceUnit - targetUnit: (NSString*) targetUnit - completionHandler: (void (^)(OAIConvertAmounts200Response* output, NSError* error)) handler; -``` - -Convert Amounts - -Convert amounts like \"2 cups of flour to grams\". - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientName = flour; // The ingredient which you want to convert. -NSNumber* sourceAmount = 2.5; // The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". -NSString* sourceUnit = cups; // The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" -NSString* targetUnit = grams; // The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Convert Amounts -[apiInstance convertAmountsWithIngredientName:ingredientName - sourceAmount:sourceAmount - sourceUnit:sourceUnit - targetUnit:targetUnit - completionHandler: ^(OAIConvertAmounts200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->convertAmounts: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientName** | **NSString***| The ingredient which you want to convert. | - **sourceAmount** | **NSNumber***| The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". | - **sourceUnit** | **NSString***| The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | - **targetUnit** | **NSString***| The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | - -### Return type - -[**OAIConvertAmounts200Response***](OAIConvertAmounts200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **createRecipeCard** -```objc --(NSURLSessionTask*) createRecipeCardWithTitle: (NSString*) title - ingredients: (NSString*) ingredients - instructions: (NSString*) instructions - readyInMinutes: (NSNumber*) readyInMinutes - servings: (NSNumber*) servings - mask: (NSString*) mask - backgroundImage: (NSString*) backgroundImage - image: (NSURL*) image - imageUrl: (NSString*) imageUrl - author: (NSString*) author - backgroundColor: (NSString*) backgroundColor - fontColor: (NSString*) fontColor - source: (NSString*) source - completionHandler: (void (^)(OAICreateRecipeCard200Response* output, NSError* error)) handler; -``` - -Create Recipe Card - -Generate a recipe card for a recipe. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* title = @"title_example"; // The title of the recipe. -NSString* ingredients = @"ingredients_example"; // The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). -NSString* instructions = @"instructions_example"; // The instructions to make the recipe. One step per line (separate lines with \\\\n). -NSNumber* readyInMinutes = @56; // The number of minutes it takes to get the recipe on the table. -NSNumber* servings = @56; // The number of servings the recipe makes. -NSString* mask = @"mask_example"; // The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). -NSString* backgroundImage = @"backgroundImage_example"; // The background image ('none', 'background1', or 'background2'). -NSURL* image = [NSURL fileURLWithPath:@"/path/to/file"]; // The binary image of the recipe as jpg. (optional) -NSString* imageUrl = @"imageUrl_example"; // If you do not sent a binary image you can also pass the image URL. (optional) -NSString* author = @"author_example"; // The author of the recipe. (optional) -NSString* backgroundColor = @"backgroundColor_example"; // The background color for the recipe card as a hex-string. (optional) -NSString* fontColor = @"fontColor_example"; // The font color for the recipe card as a hex-string. (optional) -NSString* source = @"source_example"; // The source of the recipe. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Create Recipe Card -[apiInstance createRecipeCardWithTitle:title - ingredients:ingredients - instructions:instructions - readyInMinutes:readyInMinutes - servings:servings - mask:mask - backgroundImage:backgroundImage - image:image - imageUrl:imageUrl - author:author - backgroundColor:backgroundColor - fontColor:fontColor - source:source - completionHandler: ^(OAICreateRecipeCard200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->createRecipeCard: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **title** | **NSString***| The title of the recipe. | - **ingredients** | **NSString***| The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | - **instructions** | **NSString***| The instructions to make the recipe. One step per line (separate lines with \\\\n). | - **readyInMinutes** | **NSNumber***| The number of minutes it takes to get the recipe on the table. | - **servings** | **NSNumber***| The number of servings the recipe makes. | - **mask** | **NSString***| The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). | - **backgroundImage** | **NSString***| The background image ('none', 'background1', or 'background2'). | - **image** | **NSURL*****NSURL***| The binary image of the recipe as jpg. | [optional] - **imageUrl** | **NSString***| If you do not sent a binary image you can also pass the image URL. | [optional] - **author** | **NSString***| The author of the recipe. | [optional] - **backgroundColor** | **NSString***| The background color for the recipe card as a hex-string. | [optional] - **fontColor** | **NSString***| The font color for the recipe card as a hex-string. | [optional] - **source** | **NSString***| The source of the recipe. | [optional] - -### Return type - -[**OAICreateRecipeCard200Response***](OAICreateRecipeCard200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: multipart/form-data - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **equipmentByIDImage** -```objc --(NSURLSessionTask*) equipmentByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Equipment by ID Image - -Visualize a recipe's equipment list as an image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 44860; // The recipe id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Equipment by ID Image -[apiInstance equipmentByIDImageWithId:_id - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->equipmentByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **extractRecipeFromWebsite** -```objc --(NSURLSessionTask*) extractRecipeFromWebsiteWithUrl: (NSString*) url - forceExtraction: (NSNumber*) forceExtraction - analyze: (NSNumber*) analyze - includeNutrition: (NSNumber*) includeNutrition - includeTaste: (NSNumber*) includeTaste - completionHandler: (void (^)(OAIGetRecipeInformation200Response* output, NSError* error)) handler; -``` - -Extract Recipe from Website - -This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* url = https://foodista.com/recipe/ZHK4KPB6/chocolate-crinkle-cookies; // The URL of the recipe page. -NSNumber* forceExtraction = true; // If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. (optional) -NSNumber* analyze = false; // If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. (optional) -NSNumber* includeNutrition = @(NO); // Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) -NSNumber* includeTaste = false; // Whether taste data should be added to correctly parsed ingredients. (optional) (default to @(NO)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Extract Recipe from Website -[apiInstance extractRecipeFromWebsiteWithUrl:url - forceExtraction:forceExtraction - analyze:analyze - includeNutrition:includeNutrition - includeTaste:includeTaste - completionHandler: ^(OAIGetRecipeInformation200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->extractRecipeFromWebsite: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **url** | **NSString***| The URL of the recipe page. | - **forceExtraction** | **NSNumber***| If true, the extraction will be triggered whether we already know the recipe or not. Use this only if information is missing as this operation is slower. | [optional] - **analyze** | **NSNumber***| If true, the recipe will be analyzed and classified resolving in more data such as cuisines, dish types, and more. | [optional] - **includeNutrition** | **NSNumber***| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to @(NO)] - **includeTaste** | **NSNumber***| Whether taste data should be added to correctly parsed ingredients. | [optional] [default to @(NO)] - -### Return type - -[**OAIGetRecipeInformation200Response***](OAIGetRecipeInformation200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getAnalyzedRecipeInstructions** -```objc --(NSURLSessionTask*) getAnalyzedRecipeInstructionsWithId: (NSNumber*) _id - stepBreakdown: (NSNumber*) stepBreakdown - completionHandler: (void (^)(OAIGetAnalyzedRecipeInstructions200Response* output, NSError* error)) handler; -``` - -Get Analyzed Recipe Instructions - -Get an analyzed breakdown of a recipe's instructions. Each step is enriched with the ingredients and equipment required. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* stepBreakdown = true; // Whether to break down the recipe steps even more. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Get Analyzed Recipe Instructions -[apiInstance getAnalyzedRecipeInstructionsWithId:_id - stepBreakdown:stepBreakdown - completionHandler: ^(OAIGetAnalyzedRecipeInstructions200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getAnalyzedRecipeInstructions: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **stepBreakdown** | **NSNumber***| Whether to break down the recipe steps even more. | [optional] - -### Return type - -[**OAIGetAnalyzedRecipeInstructions200Response***](OAIGetAnalyzedRecipeInstructions200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRandomRecipes** -```objc --(NSURLSessionTask*) getRandomRecipesWithLimitLicense: (NSNumber*) limitLicense - includeNutrition: (NSNumber*) includeNutrition - includeTags: (NSString*) includeTags - excludeTags: (NSString*) excludeTags - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetRandomRecipes200Response* output, NSError* error)) handler; -``` - -Get Random Recipes - -Find random (popular) recipes. If you need to filter recipes by diet, nutrition etc. you might want to consider using the complex recipe search endpoint and set the sort request parameter to random. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* limitLicense = true; // Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -NSNumber* includeNutrition = @(NO); // Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) -NSString* includeTags = vegetarian,gluten; // A comma-separated list of tags that the random recipe(s) must adhere to. (optional) -NSString* excludeTags = meat,dairy; // A comma-separated list of tags that the random recipe(s) must not adhere to. (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Get Random Recipes -[apiInstance getRandomRecipesWithLimitLicense:limitLicense - includeNutrition:includeNutrition - includeTags:includeTags - excludeTags:excludeTags - number:number - completionHandler: ^(OAIGetRandomRecipes200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRandomRecipes: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limitLicense** | **NSNumber***| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to @(YES)] - **includeNutrition** | **NSNumber***| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to @(NO)] - **includeTags** | **NSString***| A comma-separated list of tags that the random recipe(s) must adhere to. | [optional] - **excludeTags** | **NSString***| A comma-separated list of tags that the random recipe(s) must not adhere to. | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - -### Return type - -[**OAIGetRandomRecipes200Response***](OAIGetRandomRecipes200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipeEquipmentByID** -```objc --(NSURLSessionTask*) getRecipeEquipmentByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeEquipmentByID200Response* output, NSError* error)) handler; -``` - -Equipment by ID - -Get a recipe's equipment list. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Equipment by ID -[apiInstance getRecipeEquipmentByIDWithId:_id - completionHandler: ^(OAIGetRecipeEquipmentByID200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipeEquipmentByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetRecipeEquipmentByID200Response***](OAIGetRecipeEquipmentByID200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipeInformation** -```objc --(NSURLSessionTask*) getRecipeInformationWithId: (NSNumber*) _id - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAIGetRecipeInformation200Response* output, NSError* error)) handler; -``` - -Get Recipe Information - -Use a recipe id to get full information about a recipe, such as ingredients, nutrition, diet and allergen information, etc. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* includeNutrition = @(NO); // Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Get Recipe Information -[apiInstance getRecipeInformationWithId:_id - includeNutrition:includeNutrition - completionHandler: ^(OAIGetRecipeInformation200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipeInformation: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **includeNutrition** | **NSNumber***| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to @(NO)] - -### Return type - -[**OAIGetRecipeInformation200Response***](OAIGetRecipeInformation200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipeInformationBulk** -```objc --(NSURLSessionTask*) getRecipeInformationBulkWithIds: (NSString*) ids - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Get Recipe Information Bulk - -Get information about multiple recipes at once. This is equivalent to calling the Get Recipe Information endpoint multiple times, but faster. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ids = 715538,716429; // A comma-separated list of recipe ids. -NSNumber* includeNutrition = @(NO); // Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. (optional) (default to @(NO)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Get Recipe Information Bulk -[apiInstance getRecipeInformationBulkWithIds:ids - includeNutrition:includeNutrition - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipeInformationBulk: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ids** | **NSString***| A comma-separated list of recipe ids. | - **includeNutrition** | **NSNumber***| Include nutrition data in the recipe information. Nutrition data is per serving. If you want the nutrition data for the entire recipe, just multiply by the number of servings. | [optional] [default to @(NO)] - -### Return type - -[**OAISet***](OAIGetRecipeInformationBulk200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipeIngredientsByID** -```objc --(NSURLSessionTask*) getRecipeIngredientsByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeIngredientsByID200Response* output, NSError* error)) handler; -``` - -Ingredients by ID - -Get a recipe's ingredient list. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Ingredients by ID -[apiInstance getRecipeIngredientsByIDWithId:_id - completionHandler: ^(OAIGetRecipeIngredientsByID200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipeIngredientsByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetRecipeIngredientsByID200Response***](OAIGetRecipeIngredientsByID200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipeNutritionWidgetByID** -```objc --(NSURLSessionTask*) getRecipeNutritionWidgetByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipeNutritionWidgetByID200Response* output, NSError* error)) handler; -``` - -Nutrition by ID - -Get a recipe's nutrition data. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Nutrition by ID -[apiInstance getRecipeNutritionWidgetByIDWithId:_id - completionHandler: ^(OAIGetRecipeNutritionWidgetByID200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipeNutritionWidgetByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetRecipeNutritionWidgetByID200Response***](OAIGetRecipeNutritionWidgetByID200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipePriceBreakdownByID** -```objc --(NSURLSessionTask*) getRecipePriceBreakdownByIDWithId: (NSNumber*) _id - completionHandler: (void (^)(OAIGetRecipePriceBreakdownByID200Response* output, NSError* error)) handler; -``` - -Price Breakdown by ID - -Get a recipe's price breakdown data. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Price Breakdown by ID -[apiInstance getRecipePriceBreakdownByIDWithId:_id - completionHandler: ^(OAIGetRecipePriceBreakdownByID200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipePriceBreakdownByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAIGetRecipePriceBreakdownByID200Response***](OAIGetRecipePriceBreakdownByID200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getRecipeTasteByID** -```objc --(NSURLSessionTask*) getRecipeTasteByIDWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - completionHandler: (void (^)(OAIGetRecipeTasteByID200Response* output, NSError* error)) handler; -``` - -Taste by ID - -Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* normalize = true; // Normalize to the strongest taste. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Taste by ID -[apiInstance getRecipeTasteByIDWithId:_id - normalize:normalize - completionHandler: ^(OAIGetRecipeTasteByID200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getRecipeTasteByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **normalize** | **NSNumber***| Normalize to the strongest taste. | [optional] [default to @(YES)] - -### Return type - -[**OAIGetRecipeTasteByID200Response***](OAIGetRecipeTasteByID200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getSimilarRecipes** -```objc --(NSURLSessionTask*) getSimilarRecipesWithId: (NSNumber*) _id - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Get Similar Recipes - -Find recipes which are similar to the given one. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -NSNumber* limitLicense = true; // Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Get Similar Recipes -[apiInstance getSimilarRecipesWithId:_id - number:number - limitLicense:limitLicense - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->getSimilarRecipes: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - **limitLicense** | **NSNumber***| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to @(YES)] - -### Return type - -[**OAISet***](OAIGetSimilarRecipes200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **guessNutritionByDishName** -```objc --(NSURLSessionTask*) guessNutritionByDishNameWithTitle: (NSString*) title - completionHandler: (void (^)(OAIGuessNutritionByDishName200Response* output, NSError* error)) handler; -``` - -Guess Nutrition by Dish Name - -Estimate the macronutrients of a dish based on its title. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* title = Spaghetti Aglio et Olio; // The title of the dish. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Guess Nutrition by Dish Name -[apiInstance guessNutritionByDishNameWithTitle:title - completionHandler: ^(OAIGuessNutritionByDishName200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->guessNutritionByDishName: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **title** | **NSString***| The title of the dish. | - -### Return type - -[**OAIGuessNutritionByDishName200Response***](OAIGuessNutritionByDishName200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **parseIngredients** -```objc --(NSURLSessionTask*) parseIngredientsWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - includeNutrition: (NSNumber*) includeNutrition - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Parse Ingredients - -Extract an ingredient from plain text. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientList = @"ingredientList_example"; // The ingredient list of the recipe, one ingredient per line. -NSNumber* servings = @56; // The number of servings that you can make from the ingredients. -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) -NSNumber* includeNutrition = @56; // (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Parse Ingredients -[apiInstance parseIngredientsWithIngredientList:ingredientList - servings:servings - language:language - includeNutrition:includeNutrition - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->parseIngredients: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **NSString***| The ingredient list of the recipe, one ingredient per line. | - **servings** | **NSNumber***| The number of servings that you can make from the ingredients. | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - **includeNutrition** | **NSNumber***| | [optional] - -### Return type - -[**OAISet***](OAIParseIngredients200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **priceBreakdownByIDImage** -```objc --(NSURLSessionTask*) priceBreakdownByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Price Breakdown by ID Image - -Visualize a recipe's price breakdown. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1082038; // The recipe id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Price Breakdown by ID Image -[apiInstance priceBreakdownByIDImageWithId:_id - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->priceBreakdownByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **quickAnswer** -```objc --(NSURLSessionTask*) quickAnswerWithQ: (NSString*) q - completionHandler: (void (^)(OAIQuickAnswer200Response* output, NSError* error)) handler; -``` - -Quick Answer - -Answer a nutrition related natural language question. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* q = How much vitamin c is in 2 apples?; // The nutrition related question. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Quick Answer -[apiInstance quickAnswerWithQ:q - completionHandler: ^(OAIQuickAnswer200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->quickAnswer: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **q** | **NSString***| The nutrition related question. | - -### Return type - -[**OAIQuickAnswer200Response***](OAIQuickAnswer200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **recipeNutritionByIDImage** -```objc --(NSURLSessionTask*) recipeNutritionByIDImageWithId: (NSNumber*) _id - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Recipe Nutrition by ID Image - -Visualize a recipe's nutritional information as an image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1082038; // The recipe id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Nutrition by ID Image -[apiInstance recipeNutritionByIDImageWithId:_id - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->recipeNutritionByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **recipeNutritionLabelImage** -```objc --(NSURLSessionTask*) recipeNutritionLabelImageWithId: (NSNumber*) _id - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Recipe Nutrition Label Image - -Get a recipe's nutrition label as an image. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 641166; // The recipe id. -NSNumber* showOptionalNutrients = false; // Whether to show optional nutrients. (optional) -NSNumber* showZeroValues = false; // Whether to show zero values. (optional) -NSNumber* showIngredients = false; // Whether to show a list of ingredients. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Nutrition Label Image -[apiInstance recipeNutritionLabelImageWithId:_id - showOptionalNutrients:showOptionalNutrients - showZeroValues:showZeroValues - showIngredients:showIngredients - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->recipeNutritionLabelImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - **showOptionalNutrients** | **NSNumber***| Whether to show optional nutrients. | [optional] - **showZeroValues** | **NSNumber***| Whether to show zero values. | [optional] - **showIngredients** | **NSNumber***| Whether to show a list of ingredients. | [optional] - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **recipeNutritionLabelWidget** -```objc --(NSURLSessionTask*) recipeNutritionLabelWidgetWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - showOptionalNutrients: (NSNumber*) showOptionalNutrients - showZeroValues: (NSNumber*) showZeroValues - showIngredients: (NSNumber*) showIngredients - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Recipe Nutrition Label Widget - -Get a recipe's nutrition label as an HTML widget. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 641166; // The recipe id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) -NSNumber* showOptionalNutrients = false; // Whether to show optional nutrients. (optional) -NSNumber* showZeroValues = false; // Whether to show zero values. (optional) -NSNumber* showIngredients = false; // Whether to show a list of ingredients. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Nutrition Label Widget -[apiInstance recipeNutritionLabelWidgetWithId:_id - defaultCss:defaultCss - showOptionalNutrients:showOptionalNutrients - showZeroValues:showZeroValues - showIngredients:showIngredients - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->recipeNutritionLabelWidget: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - **showOptionalNutrients** | **NSNumber***| Whether to show optional nutrients. | [optional] - **showZeroValues** | **NSNumber***| Whether to show zero values. | [optional] - **showIngredients** | **NSNumber***| Whether to show a list of ingredients. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **recipeTasteByIDImage** -```objc --(NSURLSessionTask*) recipeTasteByIDImageWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSURL* output, NSError* error)) handler; -``` - -Recipe Taste by ID Image - -Get a recipe's taste as an image. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 69095; // The recipe id. -NSNumber* normalize = false; // Normalize to the strongest taste. (optional) -NSString* rgb = 75,192,192; // Red, green, blue values for the chart color. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Taste by ID Image -[apiInstance recipeTasteByIDImageWithId:_id - normalize:normalize - rgb:rgb - completionHandler: ^(NSURL* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->recipeTasteByIDImage: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The recipe id. | - **normalize** | **NSNumber***| Normalize to the strongest taste. | [optional] - **rgb** | **NSString***| Red, green, blue values for the chart color. | [optional] - -### Return type - -**NSURL*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: image/png - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchRecipes** -```objc --(NSURLSessionTask*) searchRecipesWithQuery: (NSString*) query - cuisine: (NSString*) cuisine - excludeCuisine: (NSString*) excludeCuisine - diet: (NSString*) diet - intolerances: (NSString*) intolerances - equipment: (NSString*) equipment - includeIngredients: (NSString*) includeIngredients - excludeIngredients: (NSString*) excludeIngredients - type: (NSString*) type - instructionsRequired: (NSNumber*) instructionsRequired - fillIngredients: (NSNumber*) fillIngredients - addRecipeInformation: (NSNumber*) addRecipeInformation - addRecipeNutrition: (NSNumber*) addRecipeNutrition - author: (NSString*) author - tags: (NSString*) tags - recipeBoxId: (NSNumber*) recipeBoxId - titleMatch: (NSString*) titleMatch - maxReadyTime: (NSNumber*) maxReadyTime - minServings: (NSNumber*) minServings - maxServings: (NSNumber*) maxServings - ignorePantry: (NSNumber*) ignorePantry - sort: (NSString*) sort - sortDirection: (NSString*) sortDirection - minCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - minAlcohol: (NSNumber*) minAlcohol - maxAlcohol: (NSNumber*) maxAlcohol - minCaffeine: (NSNumber*) minCaffeine - maxCaffeine: (NSNumber*) maxCaffeine - minCopper: (NSNumber*) minCopper - maxCopper: (NSNumber*) maxCopper - minCalcium: (NSNumber*) minCalcium - maxCalcium: (NSNumber*) maxCalcium - minCholine: (NSNumber*) minCholine - maxCholine: (NSNumber*) maxCholine - minCholesterol: (NSNumber*) minCholesterol - maxCholesterol: (NSNumber*) maxCholesterol - minFluoride: (NSNumber*) minFluoride - maxFluoride: (NSNumber*) maxFluoride - minSaturatedFat: (NSNumber*) minSaturatedFat - maxSaturatedFat: (NSNumber*) maxSaturatedFat - minVitaminA: (NSNumber*) minVitaminA - maxVitaminA: (NSNumber*) maxVitaminA - minVitaminC: (NSNumber*) minVitaminC - maxVitaminC: (NSNumber*) maxVitaminC - minVitaminD: (NSNumber*) minVitaminD - maxVitaminD: (NSNumber*) maxVitaminD - minVitaminE: (NSNumber*) minVitaminE - maxVitaminE: (NSNumber*) maxVitaminE - minVitaminK: (NSNumber*) minVitaminK - maxVitaminK: (NSNumber*) maxVitaminK - minVitaminB1: (NSNumber*) minVitaminB1 - maxVitaminB1: (NSNumber*) maxVitaminB1 - minVitaminB2: (NSNumber*) minVitaminB2 - maxVitaminB2: (NSNumber*) maxVitaminB2 - minVitaminB5: (NSNumber*) minVitaminB5 - maxVitaminB5: (NSNumber*) maxVitaminB5 - minVitaminB3: (NSNumber*) minVitaminB3 - maxVitaminB3: (NSNumber*) maxVitaminB3 - minVitaminB6: (NSNumber*) minVitaminB6 - maxVitaminB6: (NSNumber*) maxVitaminB6 - minVitaminB12: (NSNumber*) minVitaminB12 - maxVitaminB12: (NSNumber*) maxVitaminB12 - minFiber: (NSNumber*) minFiber - maxFiber: (NSNumber*) maxFiber - minFolate: (NSNumber*) minFolate - maxFolate: (NSNumber*) maxFolate - minFolicAcid: (NSNumber*) minFolicAcid - maxFolicAcid: (NSNumber*) maxFolicAcid - minIodine: (NSNumber*) minIodine - maxIodine: (NSNumber*) maxIodine - minIron: (NSNumber*) minIron - maxIron: (NSNumber*) maxIron - minMagnesium: (NSNumber*) minMagnesium - maxMagnesium: (NSNumber*) maxMagnesium - minManganese: (NSNumber*) minManganese - maxManganese: (NSNumber*) maxManganese - minPhosphorus: (NSNumber*) minPhosphorus - maxPhosphorus: (NSNumber*) maxPhosphorus - minPotassium: (NSNumber*) minPotassium - maxPotassium: (NSNumber*) maxPotassium - minSelenium: (NSNumber*) minSelenium - maxSelenium: (NSNumber*) maxSelenium - minSodium: (NSNumber*) minSodium - maxSodium: (NSNumber*) maxSodium - minSugar: (NSNumber*) minSugar - maxSugar: (NSNumber*) maxSugar - minZinc: (NSNumber*) minZinc - maxZinc: (NSNumber*) maxZinc - offset: (NSNumber*) offset - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISearchRecipes200Response* output, NSError* error)) handler; -``` - -Search Recipes - -Search through hundreds of thousands of recipes using advanced filtering and ranking. NOTE: This method combines searching by query, by ingredients, and by nutrients into one endpoint. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* query = burger; // The (natural language) search query. (optional) -NSString* cuisine = italian; // The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. (optional) -NSString* excludeCuisine = greek; // The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. (optional) -NSString* diet = vegetarian; // The diet for which the recipes must be suitable. See a full list of supported diets. (optional) -NSString* intolerances = gluten; // A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. (optional) -NSString* equipment = pan; // The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". (optional) -NSString* includeIngredients = tomato,cheese; // A comma-separated list of ingredients that should/must be used in the recipes. (optional) -NSString* excludeIngredients = eggs; // A comma-separated list of ingredients or ingredient types that the recipes must not contain. (optional) -NSString* type = main course; // The type of recipe. See a full list of supported meal types. (optional) -NSNumber* instructionsRequired = true; // Whether the recipes must have instructions. (optional) -NSNumber* fillIngredients = false; // Add information about the ingredients and whether they are used or missing in relation to the query. (optional) -NSNumber* addRecipeInformation = false; // If set to true, you get more information about the recipes returned. (optional) -NSNumber* addRecipeNutrition = false; // If set to true, you get nutritional information about each recipes returned. (optional) -NSString* author = coffeebean; // The username of the recipe author. (optional) -NSString* tags = @"tags_example"; // The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. (optional) -NSNumber* recipeBoxId = 2468; // The id of the recipe box to which the search should be limited to. (optional) -NSString* titleMatch = Crock Pot; // Enter text that must be found in the title of the recipes. (optional) -NSNumber* maxReadyTime = 20; // The maximum time in minutes it should take to prepare and cook the recipe. (optional) -NSNumber* minServings = 1; // The minimum amount of servings the recipe is for. (optional) -NSNumber* maxServings = 8; // The maximum amount of servings the recipe is for. (optional) -NSNumber* ignorePantry = false; // Whether to ignore typical pantry items, such as water, salt, flour, etc. (optional) (default to @(NO)) -NSString* sort = calories; // The strategy to sort recipes by. See a full list of supported sorting options. (optional) -NSString* sortDirection = asc; // The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). (optional) -NSNumber* minCarbs = 10; // The minimum amount of carbohydrates in grams the recipe must have. (optional) -NSNumber* maxCarbs = 100; // The maximum amount of carbohydrates in grams the recipe can have. (optional) -NSNumber* minProtein = 10; // The minimum amount of protein in grams the recipe must have. (optional) -NSNumber* maxProtein = 100; // The maximum amount of protein in grams the recipe can have. (optional) -NSNumber* minCalories = 50; // The minimum amount of calories the recipe must have. (optional) -NSNumber* maxCalories = 800; // The maximum amount of calories the recipe can have. (optional) -NSNumber* minFat = 1; // The minimum amount of fat in grams the recipe must have. (optional) -NSNumber* maxFat = 100; // The maximum amount of fat in grams the recipe can have. (optional) -NSNumber* minAlcohol = 0; // The minimum amount of alcohol in grams the recipe must have. (optional) -NSNumber* maxAlcohol = 100; // The maximum amount of alcohol in grams the recipe can have. (optional) -NSNumber* minCaffeine = 0; // The minimum amount of caffeine in milligrams the recipe must have. (optional) -NSNumber* maxCaffeine = 100; // The maximum amount of caffeine in milligrams the recipe can have. (optional) -NSNumber* minCopper = 0; // The minimum amount of copper in milligrams the recipe must have. (optional) -NSNumber* maxCopper = 100; // The maximum amount of copper in milligrams the recipe can have. (optional) -NSNumber* minCalcium = 0; // The minimum amount of calcium in milligrams the recipe must have. (optional) -NSNumber* maxCalcium = 100; // The maximum amount of calcium in milligrams the recipe can have. (optional) -NSNumber* minCholine = 0; // The minimum amount of choline in milligrams the recipe must have. (optional) -NSNumber* maxCholine = 100; // The maximum amount of choline in milligrams the recipe can have. (optional) -NSNumber* minCholesterol = 0; // The minimum amount of cholesterol in milligrams the recipe must have. (optional) -NSNumber* maxCholesterol = 100; // The maximum amount of cholesterol in milligrams the recipe can have. (optional) -NSNumber* minFluoride = 0; // The minimum amount of fluoride in milligrams the recipe must have. (optional) -NSNumber* maxFluoride = 100; // The maximum amount of fluoride in milligrams the recipe can have. (optional) -NSNumber* minSaturatedFat = 0; // The minimum amount of saturated fat in grams the recipe must have. (optional) -NSNumber* maxSaturatedFat = 100; // The maximum amount of saturated fat in grams the recipe can have. (optional) -NSNumber* minVitaminA = 0; // The minimum amount of Vitamin A in IU the recipe must have. (optional) -NSNumber* maxVitaminA = 100; // The maximum amount of Vitamin A in IU the recipe can have. (optional) -NSNumber* minVitaminC = 0; // The minimum amount of Vitamin C milligrams the recipe must have. (optional) -NSNumber* maxVitaminC = 100; // The maximum amount of Vitamin C in milligrams the recipe can have. (optional) -NSNumber* minVitaminD = 0; // The minimum amount of Vitamin D in micrograms the recipe must have. (optional) -NSNumber* maxVitaminD = 100; // The maximum amount of Vitamin D in micrograms the recipe can have. (optional) -NSNumber* minVitaminE = 0; // The minimum amount of Vitamin E in milligrams the recipe must have. (optional) -NSNumber* maxVitaminE = 100; // The maximum amount of Vitamin E in milligrams the recipe can have. (optional) -NSNumber* minVitaminK = 0; // The minimum amount of Vitamin K in micrograms the recipe must have. (optional) -NSNumber* maxVitaminK = 100; // The maximum amount of Vitamin K in micrograms the recipe can have. (optional) -NSNumber* minVitaminB1 = 0; // The minimum amount of Vitamin B1 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB1 = 100; // The maximum amount of Vitamin B1 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB2 = 0; // The minimum amount of Vitamin B2 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB2 = 100; // The maximum amount of Vitamin B2 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB5 = 0; // The minimum amount of Vitamin B5 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB5 = 100; // The maximum amount of Vitamin B5 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB3 = 0; // The minimum amount of Vitamin B3 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB3 = 100; // The maximum amount of Vitamin B3 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB6 = 0; // The minimum amount of Vitamin B6 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB6 = 100; // The maximum amount of Vitamin B6 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB12 = 0; // The minimum amount of Vitamin B12 in micrograms the recipe must have. (optional) -NSNumber* maxVitaminB12 = 100; // The maximum amount of Vitamin B12 in micrograms the recipe can have. (optional) -NSNumber* minFiber = 0; // The minimum amount of fiber in grams the recipe must have. (optional) -NSNumber* maxFiber = 100; // The maximum amount of fiber in grams the recipe can have. (optional) -NSNumber* minFolate = 0; // The minimum amount of folate in micrograms the recipe must have. (optional) -NSNumber* maxFolate = 100; // The maximum amount of folate in micrograms the recipe can have. (optional) -NSNumber* minFolicAcid = 0; // The minimum amount of folic acid in micrograms the recipe must have. (optional) -NSNumber* maxFolicAcid = 100; // The maximum amount of folic acid in micrograms the recipe can have. (optional) -NSNumber* minIodine = 0; // The minimum amount of iodine in micrograms the recipe must have. (optional) -NSNumber* maxIodine = 100; // The maximum amount of iodine in micrograms the recipe can have. (optional) -NSNumber* minIron = 0; // The minimum amount of iron in milligrams the recipe must have. (optional) -NSNumber* maxIron = 100; // The maximum amount of iron in milligrams the recipe can have. (optional) -NSNumber* minMagnesium = 0; // The minimum amount of magnesium in milligrams the recipe must have. (optional) -NSNumber* maxMagnesium = 100; // The maximum amount of magnesium in milligrams the recipe can have. (optional) -NSNumber* minManganese = 0; // The minimum amount of manganese in milligrams the recipe must have. (optional) -NSNumber* maxManganese = 100; // The maximum amount of manganese in milligrams the recipe can have. (optional) -NSNumber* minPhosphorus = 0; // The minimum amount of phosphorus in milligrams the recipe must have. (optional) -NSNumber* maxPhosphorus = 100; // The maximum amount of phosphorus in milligrams the recipe can have. (optional) -NSNumber* minPotassium = 0; // The minimum amount of potassium in milligrams the recipe must have. (optional) -NSNumber* maxPotassium = 100; // The maximum amount of potassium in milligrams the recipe can have. (optional) -NSNumber* minSelenium = 0; // The minimum amount of selenium in micrograms the recipe must have. (optional) -NSNumber* maxSelenium = 100; // The maximum amount of selenium in micrograms the recipe can have. (optional) -NSNumber* minSodium = 0; // The minimum amount of sodium in milligrams the recipe must have. (optional) -NSNumber* maxSodium = 100; // The maximum amount of sodium in milligrams the recipe can have. (optional) -NSNumber* minSugar = 0; // The minimum amount of sugar in grams the recipe must have. (optional) -NSNumber* maxSugar = 100; // The maximum amount of sugar in grams the recipe can have. (optional) -NSNumber* minZinc = 0; // The minimum amount of zinc in milligrams the recipe must have. (optional) -NSNumber* maxZinc = 100; // The maximum amount of zinc in milligrams the recipe can have. (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -NSNumber* limitLicense = true; // Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Search Recipes -[apiInstance searchRecipesWithQuery:query - cuisine:cuisine - excludeCuisine:excludeCuisine - diet:diet - intolerances:intolerances - equipment:equipment - includeIngredients:includeIngredients - excludeIngredients:excludeIngredients - type:type - instructionsRequired:instructionsRequired - fillIngredients:fillIngredients - addRecipeInformation:addRecipeInformation - addRecipeNutrition:addRecipeNutrition - author:author - tags:tags - recipeBoxId:recipeBoxId - titleMatch:titleMatch - maxReadyTime:maxReadyTime - minServings:minServings - maxServings:maxServings - ignorePantry:ignorePantry - sort:sort - sortDirection:sortDirection - minCarbs:minCarbs - maxCarbs:maxCarbs - minProtein:minProtein - maxProtein:maxProtein - minCalories:minCalories - maxCalories:maxCalories - minFat:minFat - maxFat:maxFat - minAlcohol:minAlcohol - maxAlcohol:maxAlcohol - minCaffeine:minCaffeine - maxCaffeine:maxCaffeine - minCopper:minCopper - maxCopper:maxCopper - minCalcium:minCalcium - maxCalcium:maxCalcium - minCholine:minCholine - maxCholine:maxCholine - minCholesterol:minCholesterol - maxCholesterol:maxCholesterol - minFluoride:minFluoride - maxFluoride:maxFluoride - minSaturatedFat:minSaturatedFat - maxSaturatedFat:maxSaturatedFat - minVitaminA:minVitaminA - maxVitaminA:maxVitaminA - minVitaminC:minVitaminC - maxVitaminC:maxVitaminC - minVitaminD:minVitaminD - maxVitaminD:maxVitaminD - minVitaminE:minVitaminE - maxVitaminE:maxVitaminE - minVitaminK:minVitaminK - maxVitaminK:maxVitaminK - minVitaminB1:minVitaminB1 - maxVitaminB1:maxVitaminB1 - minVitaminB2:minVitaminB2 - maxVitaminB2:maxVitaminB2 - minVitaminB5:minVitaminB5 - maxVitaminB5:maxVitaminB5 - minVitaminB3:minVitaminB3 - maxVitaminB3:maxVitaminB3 - minVitaminB6:minVitaminB6 - maxVitaminB6:maxVitaminB6 - minVitaminB12:minVitaminB12 - maxVitaminB12:maxVitaminB12 - minFiber:minFiber - maxFiber:maxFiber - minFolate:minFolate - maxFolate:maxFolate - minFolicAcid:minFolicAcid - maxFolicAcid:maxFolicAcid - minIodine:minIodine - maxIodine:maxIodine - minIron:minIron - maxIron:maxIron - minMagnesium:minMagnesium - maxMagnesium:maxMagnesium - minManganese:minManganese - maxManganese:maxManganese - minPhosphorus:minPhosphorus - maxPhosphorus:maxPhosphorus - minPotassium:minPotassium - maxPotassium:maxPotassium - minSelenium:minSelenium - maxSelenium:maxSelenium - minSodium:minSodium - maxSodium:maxSodium - minSugar:minSugar - maxSugar:maxSugar - minZinc:minZinc - maxZinc:maxZinc - offset:offset - number:number - limitLicense:limitLicense - completionHandler: ^(OAISearchRecipes200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->searchRecipes: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **query** | **NSString***| The (natural language) search query. | [optional] - **cuisine** | **NSString***| The cuisine(s) of the recipes. One or more, comma separated (will be interpreted as 'OR'). See a full list of supported cuisines. | [optional] - **excludeCuisine** | **NSString***| The cuisine(s) the recipes must not match. One or more, comma separated (will be interpreted as 'AND'). See a full list of supported cuisines. | [optional] - **diet** | **NSString***| The diet for which the recipes must be suitable. See a full list of supported diets. | [optional] - **intolerances** | **NSString***| A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | [optional] - **equipment** | **NSString***| The equipment required. Multiple values will be interpreted as 'or'. For example, value could be \"blender, frying pan, bowl\". | [optional] - **includeIngredients** | **NSString***| A comma-separated list of ingredients that should/must be used in the recipes. | [optional] - **excludeIngredients** | **NSString***| A comma-separated list of ingredients or ingredient types that the recipes must not contain. | [optional] - **type** | **NSString***| The type of recipe. See a full list of supported meal types. | [optional] - **instructionsRequired** | **NSNumber***| Whether the recipes must have instructions. | [optional] - **fillIngredients** | **NSNumber***| Add information about the ingredients and whether they are used or missing in relation to the query. | [optional] - **addRecipeInformation** | **NSNumber***| If set to true, you get more information about the recipes returned. | [optional] - **addRecipeNutrition** | **NSNumber***| If set to true, you get nutritional information about each recipes returned. | [optional] - **author** | **NSString***| The username of the recipe author. | [optional] - **tags** | **NSString***| The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. | [optional] - **recipeBoxId** | **NSNumber***| The id of the recipe box to which the search should be limited to. | [optional] - **titleMatch** | **NSString***| Enter text that must be found in the title of the recipes. | [optional] - **maxReadyTime** | **NSNumber***| The maximum time in minutes it should take to prepare and cook the recipe. | [optional] - **minServings** | **NSNumber***| The minimum amount of servings the recipe is for. | [optional] - **maxServings** | **NSNumber***| The maximum amount of servings the recipe is for. | [optional] - **ignorePantry** | **NSNumber***| Whether to ignore typical pantry items, such as water, salt, flour, etc. | [optional] [default to @(NO)] - **sort** | **NSString***| The strategy to sort recipes by. See a full list of supported sorting options. | [optional] - **sortDirection** | **NSString***| The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | [optional] - **minCarbs** | **NSNumber***| The minimum amount of carbohydrates in grams the recipe must have. | [optional] - **maxCarbs** | **NSNumber***| The maximum amount of carbohydrates in grams the recipe can have. | [optional] - **minProtein** | **NSNumber***| The minimum amount of protein in grams the recipe must have. | [optional] - **maxProtein** | **NSNumber***| The maximum amount of protein in grams the recipe can have. | [optional] - **minCalories** | **NSNumber***| The minimum amount of calories the recipe must have. | [optional] - **maxCalories** | **NSNumber***| The maximum amount of calories the recipe can have. | [optional] - **minFat** | **NSNumber***| The minimum amount of fat in grams the recipe must have. | [optional] - **maxFat** | **NSNumber***| The maximum amount of fat in grams the recipe can have. | [optional] - **minAlcohol** | **NSNumber***| The minimum amount of alcohol in grams the recipe must have. | [optional] - **maxAlcohol** | **NSNumber***| The maximum amount of alcohol in grams the recipe can have. | [optional] - **minCaffeine** | **NSNumber***| The minimum amount of caffeine in milligrams the recipe must have. | [optional] - **maxCaffeine** | **NSNumber***| The maximum amount of caffeine in milligrams the recipe can have. | [optional] - **minCopper** | **NSNumber***| The minimum amount of copper in milligrams the recipe must have. | [optional] - **maxCopper** | **NSNumber***| The maximum amount of copper in milligrams the recipe can have. | [optional] - **minCalcium** | **NSNumber***| The minimum amount of calcium in milligrams the recipe must have. | [optional] - **maxCalcium** | **NSNumber***| The maximum amount of calcium in milligrams the recipe can have. | [optional] - **minCholine** | **NSNumber***| The minimum amount of choline in milligrams the recipe must have. | [optional] - **maxCholine** | **NSNumber***| The maximum amount of choline in milligrams the recipe can have. | [optional] - **minCholesterol** | **NSNumber***| The minimum amount of cholesterol in milligrams the recipe must have. | [optional] - **maxCholesterol** | **NSNumber***| The maximum amount of cholesterol in milligrams the recipe can have. | [optional] - **minFluoride** | **NSNumber***| The minimum amount of fluoride in milligrams the recipe must have. | [optional] - **maxFluoride** | **NSNumber***| The maximum amount of fluoride in milligrams the recipe can have. | [optional] - **minSaturatedFat** | **NSNumber***| The minimum amount of saturated fat in grams the recipe must have. | [optional] - **maxSaturatedFat** | **NSNumber***| The maximum amount of saturated fat in grams the recipe can have. | [optional] - **minVitaminA** | **NSNumber***| The minimum amount of Vitamin A in IU the recipe must have. | [optional] - **maxVitaminA** | **NSNumber***| The maximum amount of Vitamin A in IU the recipe can have. | [optional] - **minVitaminC** | **NSNumber***| The minimum amount of Vitamin C milligrams the recipe must have. | [optional] - **maxVitaminC** | **NSNumber***| The maximum amount of Vitamin C in milligrams the recipe can have. | [optional] - **minVitaminD** | **NSNumber***| The minimum amount of Vitamin D in micrograms the recipe must have. | [optional] - **maxVitaminD** | **NSNumber***| The maximum amount of Vitamin D in micrograms the recipe can have. | [optional] - **minVitaminE** | **NSNumber***| The minimum amount of Vitamin E in milligrams the recipe must have. | [optional] - **maxVitaminE** | **NSNumber***| The maximum amount of Vitamin E in milligrams the recipe can have. | [optional] - **minVitaminK** | **NSNumber***| The minimum amount of Vitamin K in micrograms the recipe must have. | [optional] - **maxVitaminK** | **NSNumber***| The maximum amount of Vitamin K in micrograms the recipe can have. | [optional] - **minVitaminB1** | **NSNumber***| The minimum amount of Vitamin B1 in milligrams the recipe must have. | [optional] - **maxVitaminB1** | **NSNumber***| The maximum amount of Vitamin B1 in milligrams the recipe can have. | [optional] - **minVitaminB2** | **NSNumber***| The minimum amount of Vitamin B2 in milligrams the recipe must have. | [optional] - **maxVitaminB2** | **NSNumber***| The maximum amount of Vitamin B2 in milligrams the recipe can have. | [optional] - **minVitaminB5** | **NSNumber***| The minimum amount of Vitamin B5 in milligrams the recipe must have. | [optional] - **maxVitaminB5** | **NSNumber***| The maximum amount of Vitamin B5 in milligrams the recipe can have. | [optional] - **minVitaminB3** | **NSNumber***| The minimum amount of Vitamin B3 in milligrams the recipe must have. | [optional] - **maxVitaminB3** | **NSNumber***| The maximum amount of Vitamin B3 in milligrams the recipe can have. | [optional] - **minVitaminB6** | **NSNumber***| The minimum amount of Vitamin B6 in milligrams the recipe must have. | [optional] - **maxVitaminB6** | **NSNumber***| The maximum amount of Vitamin B6 in milligrams the recipe can have. | [optional] - **minVitaminB12** | **NSNumber***| The minimum amount of Vitamin B12 in micrograms the recipe must have. | [optional] - **maxVitaminB12** | **NSNumber***| The maximum amount of Vitamin B12 in micrograms the recipe can have. | [optional] - **minFiber** | **NSNumber***| The minimum amount of fiber in grams the recipe must have. | [optional] - **maxFiber** | **NSNumber***| The maximum amount of fiber in grams the recipe can have. | [optional] - **minFolate** | **NSNumber***| The minimum amount of folate in micrograms the recipe must have. | [optional] - **maxFolate** | **NSNumber***| The maximum amount of folate in micrograms the recipe can have. | [optional] - **minFolicAcid** | **NSNumber***| The minimum amount of folic acid in micrograms the recipe must have. | [optional] - **maxFolicAcid** | **NSNumber***| The maximum amount of folic acid in micrograms the recipe can have. | [optional] - **minIodine** | **NSNumber***| The minimum amount of iodine in micrograms the recipe must have. | [optional] - **maxIodine** | **NSNumber***| The maximum amount of iodine in micrograms the recipe can have. | [optional] - **minIron** | **NSNumber***| The minimum amount of iron in milligrams the recipe must have. | [optional] - **maxIron** | **NSNumber***| The maximum amount of iron in milligrams the recipe can have. | [optional] - **minMagnesium** | **NSNumber***| The minimum amount of magnesium in milligrams the recipe must have. | [optional] - **maxMagnesium** | **NSNumber***| The maximum amount of magnesium in milligrams the recipe can have. | [optional] - **minManganese** | **NSNumber***| The minimum amount of manganese in milligrams the recipe must have. | [optional] - **maxManganese** | **NSNumber***| The maximum amount of manganese in milligrams the recipe can have. | [optional] - **minPhosphorus** | **NSNumber***| The minimum amount of phosphorus in milligrams the recipe must have. | [optional] - **maxPhosphorus** | **NSNumber***| The maximum amount of phosphorus in milligrams the recipe can have. | [optional] - **minPotassium** | **NSNumber***| The minimum amount of potassium in milligrams the recipe must have. | [optional] - **maxPotassium** | **NSNumber***| The maximum amount of potassium in milligrams the recipe can have. | [optional] - **minSelenium** | **NSNumber***| The minimum amount of selenium in micrograms the recipe must have. | [optional] - **maxSelenium** | **NSNumber***| The maximum amount of selenium in micrograms the recipe can have. | [optional] - **minSodium** | **NSNumber***| The minimum amount of sodium in milligrams the recipe must have. | [optional] - **maxSodium** | **NSNumber***| The maximum amount of sodium in milligrams the recipe can have. | [optional] - **minSugar** | **NSNumber***| The minimum amount of sugar in grams the recipe must have. | [optional] - **maxSugar** | **NSNumber***| The maximum amount of sugar in grams the recipe can have. | [optional] - **minZinc** | **NSNumber***| The minimum amount of zinc in milligrams the recipe must have. | [optional] - **maxZinc** | **NSNumber***| The maximum amount of zinc in milligrams the recipe can have. | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - **limitLicense** | **NSNumber***| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to @(YES)] - -### Return type - -[**OAISearchRecipes200Response***](OAISearchRecipes200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchRecipesByIngredients** -```objc --(NSURLSessionTask*) searchRecipesByIngredientsWithIngredients: (NSString*) ingredients - number: (NSNumber*) number - limitLicense: (NSNumber*) limitLicense - ranking: (NSNumber*) ranking - ignorePantry: (NSNumber*) ignorePantry - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Search Recipes by Ingredients - - Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post shopping). - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredients = carrots,tomatoes; // A comma-separated list of ingredients that the recipes should contain. (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -NSNumber* limitLicense = true; // Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) -NSNumber* ranking = 1; // Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. (optional) -NSNumber* ignorePantry = false; // Whether to ignore typical pantry items, such as water, salt, flour, etc. (optional) (default to @(NO)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Search Recipes by Ingredients -[apiInstance searchRecipesByIngredientsWithIngredients:ingredients - number:number - limitLicense:limitLicense - ranking:ranking - ignorePantry:ignorePantry - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->searchRecipesByIngredients: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredients** | **NSString***| A comma-separated list of ingredients that the recipes should contain. | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - **limitLicense** | **NSNumber***| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to @(YES)] - **ranking** | **NSNumber***| Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. | [optional] - **ignorePantry** | **NSNumber***| Whether to ignore typical pantry items, such as water, salt, flour, etc. | [optional] [default to @(NO)] - -### Return type - -[**OAISet***](OAISearchRecipesByIngredients200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **searchRecipesByNutrients** -```objc --(NSURLSessionTask*) searchRecipesByNutrientsWithMinCarbs: (NSNumber*) minCarbs - maxCarbs: (NSNumber*) maxCarbs - minProtein: (NSNumber*) minProtein - maxProtein: (NSNumber*) maxProtein - minCalories: (NSNumber*) minCalories - maxCalories: (NSNumber*) maxCalories - minFat: (NSNumber*) minFat - maxFat: (NSNumber*) maxFat - minAlcohol: (NSNumber*) minAlcohol - maxAlcohol: (NSNumber*) maxAlcohol - minCaffeine: (NSNumber*) minCaffeine - maxCaffeine: (NSNumber*) maxCaffeine - minCopper: (NSNumber*) minCopper - maxCopper: (NSNumber*) maxCopper - minCalcium: (NSNumber*) minCalcium - maxCalcium: (NSNumber*) maxCalcium - minCholine: (NSNumber*) minCholine - maxCholine: (NSNumber*) maxCholine - minCholesterol: (NSNumber*) minCholesterol - maxCholesterol: (NSNumber*) maxCholesterol - minFluoride: (NSNumber*) minFluoride - maxFluoride: (NSNumber*) maxFluoride - minSaturatedFat: (NSNumber*) minSaturatedFat - maxSaturatedFat: (NSNumber*) maxSaturatedFat - minVitaminA: (NSNumber*) minVitaminA - maxVitaminA: (NSNumber*) maxVitaminA - minVitaminC: (NSNumber*) minVitaminC - maxVitaminC: (NSNumber*) maxVitaminC - minVitaminD: (NSNumber*) minVitaminD - maxVitaminD: (NSNumber*) maxVitaminD - minVitaminE: (NSNumber*) minVitaminE - maxVitaminE: (NSNumber*) maxVitaminE - minVitaminK: (NSNumber*) minVitaminK - maxVitaminK: (NSNumber*) maxVitaminK - minVitaminB1: (NSNumber*) minVitaminB1 - maxVitaminB1: (NSNumber*) maxVitaminB1 - minVitaminB2: (NSNumber*) minVitaminB2 - maxVitaminB2: (NSNumber*) maxVitaminB2 - minVitaminB5: (NSNumber*) minVitaminB5 - maxVitaminB5: (NSNumber*) maxVitaminB5 - minVitaminB3: (NSNumber*) minVitaminB3 - maxVitaminB3: (NSNumber*) maxVitaminB3 - minVitaminB6: (NSNumber*) minVitaminB6 - maxVitaminB6: (NSNumber*) maxVitaminB6 - minVitaminB12: (NSNumber*) minVitaminB12 - maxVitaminB12: (NSNumber*) maxVitaminB12 - minFiber: (NSNumber*) minFiber - maxFiber: (NSNumber*) maxFiber - minFolate: (NSNumber*) minFolate - maxFolate: (NSNumber*) maxFolate - minFolicAcid: (NSNumber*) minFolicAcid - maxFolicAcid: (NSNumber*) maxFolicAcid - minIodine: (NSNumber*) minIodine - maxIodine: (NSNumber*) maxIodine - minIron: (NSNumber*) minIron - maxIron: (NSNumber*) maxIron - minMagnesium: (NSNumber*) minMagnesium - maxMagnesium: (NSNumber*) maxMagnesium - minManganese: (NSNumber*) minManganese - maxManganese: (NSNumber*) maxManganese - minPhosphorus: (NSNumber*) minPhosphorus - maxPhosphorus: (NSNumber*) maxPhosphorus - minPotassium: (NSNumber*) minPotassium - maxPotassium: (NSNumber*) maxPotassium - minSelenium: (NSNumber*) minSelenium - maxSelenium: (NSNumber*) maxSelenium - minSodium: (NSNumber*) minSodium - maxSodium: (NSNumber*) maxSodium - minSugar: (NSNumber*) minSugar - maxSugar: (NSNumber*) maxSugar - minZinc: (NSNumber*) minZinc - maxZinc: (NSNumber*) maxZinc - offset: (NSNumber*) offset - number: (NSNumber*) number - random: (NSNumber*) random - limitLicense: (NSNumber*) limitLicense - completionHandler: (void (^)(OAISet* output, NSError* error)) handler; -``` - -Search Recipes by Nutrients - -Find a set of recipes that adhere to the given nutritional limits. You may set limits for macronutrients (calories, protein, fat, and carbohydrate) and/or many micronutrients. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* minCarbs = 10; // The minimum amount of carbohydrates in grams the recipe must have. (optional) -NSNumber* maxCarbs = 100; // The maximum amount of carbohydrates in grams the recipe can have. (optional) -NSNumber* minProtein = 10; // The minimum amount of protein in grams the recipe must have. (optional) -NSNumber* maxProtein = 100; // The maximum amount of protein in grams the recipe can have. (optional) -NSNumber* minCalories = 50; // The minimum amount of calories the recipe must have. (optional) -NSNumber* maxCalories = 800; // The maximum amount of calories the recipe can have. (optional) -NSNumber* minFat = 1; // The minimum amount of fat in grams the recipe must have. (optional) -NSNumber* maxFat = 100; // The maximum amount of fat in grams the recipe can have. (optional) -NSNumber* minAlcohol = 0; // The minimum amount of alcohol in grams the recipe must have. (optional) -NSNumber* maxAlcohol = 100; // The maximum amount of alcohol in grams the recipe can have. (optional) -NSNumber* minCaffeine = 0; // The minimum amount of caffeine in milligrams the recipe must have. (optional) -NSNumber* maxCaffeine = 100; // The maximum amount of caffeine in milligrams the recipe can have. (optional) -NSNumber* minCopper = 0; // The minimum amount of copper in milligrams the recipe must have. (optional) -NSNumber* maxCopper = 100; // The maximum amount of copper in milligrams the recipe can have. (optional) -NSNumber* minCalcium = 0; // The minimum amount of calcium in milligrams the recipe must have. (optional) -NSNumber* maxCalcium = 100; // The maximum amount of calcium in milligrams the recipe can have. (optional) -NSNumber* minCholine = 0; // The minimum amount of choline in milligrams the recipe must have. (optional) -NSNumber* maxCholine = 100; // The maximum amount of choline in milligrams the recipe can have. (optional) -NSNumber* minCholesterol = 0; // The minimum amount of cholesterol in milligrams the recipe must have. (optional) -NSNumber* maxCholesterol = 100; // The maximum amount of cholesterol in milligrams the recipe can have. (optional) -NSNumber* minFluoride = 0; // The minimum amount of fluoride in milligrams the recipe must have. (optional) -NSNumber* maxFluoride = 100; // The maximum amount of fluoride in milligrams the recipe can have. (optional) -NSNumber* minSaturatedFat = 0; // The minimum amount of saturated fat in grams the recipe must have. (optional) -NSNumber* maxSaturatedFat = 100; // The maximum amount of saturated fat in grams the recipe can have. (optional) -NSNumber* minVitaminA = 0; // The minimum amount of Vitamin A in IU the recipe must have. (optional) -NSNumber* maxVitaminA = 100; // The maximum amount of Vitamin A in IU the recipe can have. (optional) -NSNumber* minVitaminC = 0; // The minimum amount of Vitamin C in milligrams the recipe must have. (optional) -NSNumber* maxVitaminC = 100; // The maximum amount of Vitamin C in milligrams the recipe can have. (optional) -NSNumber* minVitaminD = 0; // The minimum amount of Vitamin D in micrograms the recipe must have. (optional) -NSNumber* maxVitaminD = 100; // The maximum amount of Vitamin D in micrograms the recipe can have. (optional) -NSNumber* minVitaminE = 0; // The minimum amount of Vitamin E in milligrams the recipe must have. (optional) -NSNumber* maxVitaminE = 100; // The maximum amount of Vitamin E in milligrams the recipe can have. (optional) -NSNumber* minVitaminK = 0; // The minimum amount of Vitamin K in micrograms the recipe must have. (optional) -NSNumber* maxVitaminK = 100; // The maximum amount of Vitamin K in micrograms the recipe can have. (optional) -NSNumber* minVitaminB1 = 0; // The minimum amount of Vitamin B1 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB1 = 100; // The maximum amount of Vitamin B1 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB2 = 0; // The minimum amount of Vitamin B2 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB2 = 100; // The maximum amount of Vitamin B2 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB5 = 0; // The minimum amount of Vitamin B5 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB5 = 100; // The maximum amount of Vitamin B5 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB3 = 0; // The minimum amount of Vitamin B3 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB3 = 100; // The maximum amount of Vitamin B3 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB6 = 0; // The minimum amount of Vitamin B6 in milligrams the recipe must have. (optional) -NSNumber* maxVitaminB6 = 100; // The maximum amount of Vitamin B6 in milligrams the recipe can have. (optional) -NSNumber* minVitaminB12 = 0; // The minimum amount of Vitamin B12 in micrograms the recipe must have. (optional) -NSNumber* maxVitaminB12 = 100; // The maximum amount of Vitamin B12 in micrograms the recipe can have. (optional) -NSNumber* minFiber = 0; // The minimum amount of fiber in grams the recipe must have. (optional) -NSNumber* maxFiber = 100; // The maximum amount of fiber in grams the recipe can have. (optional) -NSNumber* minFolate = 0; // The minimum amount of folate in micrograms the recipe must have. (optional) -NSNumber* maxFolate = 100; // The maximum amount of folate in micrograms the recipe can have. (optional) -NSNumber* minFolicAcid = 0; // The minimum amount of folic acid in micrograms the recipe must have. (optional) -NSNumber* maxFolicAcid = 100; // The maximum amount of folic acid in micrograms the recipe can have. (optional) -NSNumber* minIodine = 0; // The minimum amount of iodine in micrograms the recipe must have. (optional) -NSNumber* maxIodine = 100; // The maximum amount of iodine in micrograms the recipe can have. (optional) -NSNumber* minIron = 0; // The minimum amount of iron in milligrams the recipe must have. (optional) -NSNumber* maxIron = 100; // The maximum amount of iron in milligrams the recipe can have. (optional) -NSNumber* minMagnesium = 0; // The minimum amount of magnesium in milligrams the recipe must have. (optional) -NSNumber* maxMagnesium = 100; // The maximum amount of magnesium in milligrams the recipe can have. (optional) -NSNumber* minManganese = 0; // The minimum amount of manganese in milligrams the recipe must have. (optional) -NSNumber* maxManganese = 100; // The maximum amount of manganese in milligrams the recipe can have. (optional) -NSNumber* minPhosphorus = 0; // The minimum amount of phosphorus in milligrams the recipe must have. (optional) -NSNumber* maxPhosphorus = 100; // The maximum amount of phosphorus in milligrams the recipe can have. (optional) -NSNumber* minPotassium = 0; // The minimum amount of potassium in milligrams the recipe must have. (optional) -NSNumber* maxPotassium = 100; // The maximum amount of potassium in milligrams the recipe can have. (optional) -NSNumber* minSelenium = 0; // The minimum amount of selenium in micrograms the recipe must have. (optional) -NSNumber* maxSelenium = 100; // The maximum amount of selenium in micrograms the recipe can have. (optional) -NSNumber* minSodium = 0; // The minimum amount of sodium in milligrams the recipe must have. (optional) -NSNumber* maxSodium = 100; // The maximum amount of sodium in milligrams the recipe can have. (optional) -NSNumber* minSugar = 0; // The minimum amount of sugar in grams the recipe must have. (optional) -NSNumber* maxSugar = 100; // The maximum amount of sugar in grams the recipe can have. (optional) -NSNumber* minZinc = 0; // The minimum amount of zinc in milligrams the recipe must have. (optional) -NSNumber* maxZinc = 100; // The maximum amount of zinc in milligrams the recipe can have. (optional) -NSNumber* offset = @56; // The number of results to skip (between 0 and 900). (optional) -NSNumber* number = 10; // The maximum number of items to return (between 1 and 100). Defaults to 10. (optional) (default to @10) -NSNumber* random = false; // If true, every request will give you a random set of recipes within the requested limits. (optional) -NSNumber* limitLicense = true; // Whether the recipes should have an open license that allows display with proper attribution. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Search Recipes by Nutrients -[apiInstance searchRecipesByNutrientsWithMinCarbs:minCarbs - maxCarbs:maxCarbs - minProtein:minProtein - maxProtein:maxProtein - minCalories:minCalories - maxCalories:maxCalories - minFat:minFat - maxFat:maxFat - minAlcohol:minAlcohol - maxAlcohol:maxAlcohol - minCaffeine:minCaffeine - maxCaffeine:maxCaffeine - minCopper:minCopper - maxCopper:maxCopper - minCalcium:minCalcium - maxCalcium:maxCalcium - minCholine:minCholine - maxCholine:maxCholine - minCholesterol:minCholesterol - maxCholesterol:maxCholesterol - minFluoride:minFluoride - maxFluoride:maxFluoride - minSaturatedFat:minSaturatedFat - maxSaturatedFat:maxSaturatedFat - minVitaminA:minVitaminA - maxVitaminA:maxVitaminA - minVitaminC:minVitaminC - maxVitaminC:maxVitaminC - minVitaminD:minVitaminD - maxVitaminD:maxVitaminD - minVitaminE:minVitaminE - maxVitaminE:maxVitaminE - minVitaminK:minVitaminK - maxVitaminK:maxVitaminK - minVitaminB1:minVitaminB1 - maxVitaminB1:maxVitaminB1 - minVitaminB2:minVitaminB2 - maxVitaminB2:maxVitaminB2 - minVitaminB5:minVitaminB5 - maxVitaminB5:maxVitaminB5 - minVitaminB3:minVitaminB3 - maxVitaminB3:maxVitaminB3 - minVitaminB6:minVitaminB6 - maxVitaminB6:maxVitaminB6 - minVitaminB12:minVitaminB12 - maxVitaminB12:maxVitaminB12 - minFiber:minFiber - maxFiber:maxFiber - minFolate:minFolate - maxFolate:maxFolate - minFolicAcid:minFolicAcid - maxFolicAcid:maxFolicAcid - minIodine:minIodine - maxIodine:maxIodine - minIron:minIron - maxIron:maxIron - minMagnesium:minMagnesium - maxMagnesium:maxMagnesium - minManganese:minManganese - maxManganese:maxManganese - minPhosphorus:minPhosphorus - maxPhosphorus:maxPhosphorus - minPotassium:minPotassium - maxPotassium:maxPotassium - minSelenium:minSelenium - maxSelenium:maxSelenium - minSodium:minSodium - maxSodium:maxSodium - minSugar:minSugar - maxSugar:maxSugar - minZinc:minZinc - maxZinc:maxZinc - offset:offset - number:number - random:random - limitLicense:limitLicense - completionHandler: ^(OAISet* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->searchRecipesByNutrients: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **minCarbs** | **NSNumber***| The minimum amount of carbohydrates in grams the recipe must have. | [optional] - **maxCarbs** | **NSNumber***| The maximum amount of carbohydrates in grams the recipe can have. | [optional] - **minProtein** | **NSNumber***| The minimum amount of protein in grams the recipe must have. | [optional] - **maxProtein** | **NSNumber***| The maximum amount of protein in grams the recipe can have. | [optional] - **minCalories** | **NSNumber***| The minimum amount of calories the recipe must have. | [optional] - **maxCalories** | **NSNumber***| The maximum amount of calories the recipe can have. | [optional] - **minFat** | **NSNumber***| The minimum amount of fat in grams the recipe must have. | [optional] - **maxFat** | **NSNumber***| The maximum amount of fat in grams the recipe can have. | [optional] - **minAlcohol** | **NSNumber***| The minimum amount of alcohol in grams the recipe must have. | [optional] - **maxAlcohol** | **NSNumber***| The maximum amount of alcohol in grams the recipe can have. | [optional] - **minCaffeine** | **NSNumber***| The minimum amount of caffeine in milligrams the recipe must have. | [optional] - **maxCaffeine** | **NSNumber***| The maximum amount of caffeine in milligrams the recipe can have. | [optional] - **minCopper** | **NSNumber***| The minimum amount of copper in milligrams the recipe must have. | [optional] - **maxCopper** | **NSNumber***| The maximum amount of copper in milligrams the recipe can have. | [optional] - **minCalcium** | **NSNumber***| The minimum amount of calcium in milligrams the recipe must have. | [optional] - **maxCalcium** | **NSNumber***| The maximum amount of calcium in milligrams the recipe can have. | [optional] - **minCholine** | **NSNumber***| The minimum amount of choline in milligrams the recipe must have. | [optional] - **maxCholine** | **NSNumber***| The maximum amount of choline in milligrams the recipe can have. | [optional] - **minCholesterol** | **NSNumber***| The minimum amount of cholesterol in milligrams the recipe must have. | [optional] - **maxCholesterol** | **NSNumber***| The maximum amount of cholesterol in milligrams the recipe can have. | [optional] - **minFluoride** | **NSNumber***| The minimum amount of fluoride in milligrams the recipe must have. | [optional] - **maxFluoride** | **NSNumber***| The maximum amount of fluoride in milligrams the recipe can have. | [optional] - **minSaturatedFat** | **NSNumber***| The minimum amount of saturated fat in grams the recipe must have. | [optional] - **maxSaturatedFat** | **NSNumber***| The maximum amount of saturated fat in grams the recipe can have. | [optional] - **minVitaminA** | **NSNumber***| The minimum amount of Vitamin A in IU the recipe must have. | [optional] - **maxVitaminA** | **NSNumber***| The maximum amount of Vitamin A in IU the recipe can have. | [optional] - **minVitaminC** | **NSNumber***| The minimum amount of Vitamin C in milligrams the recipe must have. | [optional] - **maxVitaminC** | **NSNumber***| The maximum amount of Vitamin C in milligrams the recipe can have. | [optional] - **minVitaminD** | **NSNumber***| The minimum amount of Vitamin D in micrograms the recipe must have. | [optional] - **maxVitaminD** | **NSNumber***| The maximum amount of Vitamin D in micrograms the recipe can have. | [optional] - **minVitaminE** | **NSNumber***| The minimum amount of Vitamin E in milligrams the recipe must have. | [optional] - **maxVitaminE** | **NSNumber***| The maximum amount of Vitamin E in milligrams the recipe can have. | [optional] - **minVitaminK** | **NSNumber***| The minimum amount of Vitamin K in micrograms the recipe must have. | [optional] - **maxVitaminK** | **NSNumber***| The maximum amount of Vitamin K in micrograms the recipe can have. | [optional] - **minVitaminB1** | **NSNumber***| The minimum amount of Vitamin B1 in milligrams the recipe must have. | [optional] - **maxVitaminB1** | **NSNumber***| The maximum amount of Vitamin B1 in milligrams the recipe can have. | [optional] - **minVitaminB2** | **NSNumber***| The minimum amount of Vitamin B2 in milligrams the recipe must have. | [optional] - **maxVitaminB2** | **NSNumber***| The maximum amount of Vitamin B2 in milligrams the recipe can have. | [optional] - **minVitaminB5** | **NSNumber***| The minimum amount of Vitamin B5 in milligrams the recipe must have. | [optional] - **maxVitaminB5** | **NSNumber***| The maximum amount of Vitamin B5 in milligrams the recipe can have. | [optional] - **minVitaminB3** | **NSNumber***| The minimum amount of Vitamin B3 in milligrams the recipe must have. | [optional] - **maxVitaminB3** | **NSNumber***| The maximum amount of Vitamin B3 in milligrams the recipe can have. | [optional] - **minVitaminB6** | **NSNumber***| The minimum amount of Vitamin B6 in milligrams the recipe must have. | [optional] - **maxVitaminB6** | **NSNumber***| The maximum amount of Vitamin B6 in milligrams the recipe can have. | [optional] - **minVitaminB12** | **NSNumber***| The minimum amount of Vitamin B12 in micrograms the recipe must have. | [optional] - **maxVitaminB12** | **NSNumber***| The maximum amount of Vitamin B12 in micrograms the recipe can have. | [optional] - **minFiber** | **NSNumber***| The minimum amount of fiber in grams the recipe must have. | [optional] - **maxFiber** | **NSNumber***| The maximum amount of fiber in grams the recipe can have. | [optional] - **minFolate** | **NSNumber***| The minimum amount of folate in micrograms the recipe must have. | [optional] - **maxFolate** | **NSNumber***| The maximum amount of folate in micrograms the recipe can have. | [optional] - **minFolicAcid** | **NSNumber***| The minimum amount of folic acid in micrograms the recipe must have. | [optional] - **maxFolicAcid** | **NSNumber***| The maximum amount of folic acid in micrograms the recipe can have. | [optional] - **minIodine** | **NSNumber***| The minimum amount of iodine in micrograms the recipe must have. | [optional] - **maxIodine** | **NSNumber***| The maximum amount of iodine in micrograms the recipe can have. | [optional] - **minIron** | **NSNumber***| The minimum amount of iron in milligrams the recipe must have. | [optional] - **maxIron** | **NSNumber***| The maximum amount of iron in milligrams the recipe can have. | [optional] - **minMagnesium** | **NSNumber***| The minimum amount of magnesium in milligrams the recipe must have. | [optional] - **maxMagnesium** | **NSNumber***| The maximum amount of magnesium in milligrams the recipe can have. | [optional] - **minManganese** | **NSNumber***| The minimum amount of manganese in milligrams the recipe must have. | [optional] - **maxManganese** | **NSNumber***| The maximum amount of manganese in milligrams the recipe can have. | [optional] - **minPhosphorus** | **NSNumber***| The minimum amount of phosphorus in milligrams the recipe must have. | [optional] - **maxPhosphorus** | **NSNumber***| The maximum amount of phosphorus in milligrams the recipe can have. | [optional] - **minPotassium** | **NSNumber***| The minimum amount of potassium in milligrams the recipe must have. | [optional] - **maxPotassium** | **NSNumber***| The maximum amount of potassium in milligrams the recipe can have. | [optional] - **minSelenium** | **NSNumber***| The minimum amount of selenium in micrograms the recipe must have. | [optional] - **maxSelenium** | **NSNumber***| The maximum amount of selenium in micrograms the recipe can have. | [optional] - **minSodium** | **NSNumber***| The minimum amount of sodium in milligrams the recipe must have. | [optional] - **maxSodium** | **NSNumber***| The maximum amount of sodium in milligrams the recipe can have. | [optional] - **minSugar** | **NSNumber***| The minimum amount of sugar in grams the recipe must have. | [optional] - **maxSugar** | **NSNumber***| The maximum amount of sugar in grams the recipe can have. | [optional] - **minZinc** | **NSNumber***| The minimum amount of zinc in milligrams the recipe must have. | [optional] - **maxZinc** | **NSNumber***| The maximum amount of zinc in milligrams the recipe can have. | [optional] - **offset** | **NSNumber***| The number of results to skip (between 0 and 900). | [optional] - **number** | **NSNumber***| The maximum number of items to return (between 1 and 100). Defaults to 10. | [optional] [default to @10] - **random** | **NSNumber***| If true, every request will give you a random set of recipes within the requested limits. | [optional] - **limitLicense** | **NSNumber***| Whether the recipes should have an open license that allows display with proper attribution. | [optional] [default to @(YES)] - -### Return type - -[**OAISet***](OAISearchRecipesByNutrients200ResponseInner.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **summarizeRecipe** -```objc --(NSURLSessionTask*) summarizeRecipeWithId: (NSNumber*) _id - completionHandler: (void (^)(OAISummarizeRecipe200Response* output, NSError* error)) handler; -``` - -Summarize Recipe - -Automatically generate a short description that summarizes key information about the recipe. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Summarize Recipe -[apiInstance summarizeRecipeWithId:_id - completionHandler: ^(OAISummarizeRecipe200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->summarizeRecipe: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - -### Return type - -[**OAISummarizeRecipe200Response***](OAISummarizeRecipe200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeEquipment** -```objc --(NSURLSessionTask*) visualizeEquipmentWithInstructions: (NSString*) instructions - view: (NSString*) view - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Equipment Widget - -Visualize the equipment used to make a recipe. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* instructions = @"instructions_example"; // The recipe's instructions. -NSString* view = @"view_example"; // How to visualize the ingredients, either 'grid' or 'list'. (optional) -NSNumber* defaultCss = @56; // Whether the default CSS should be added to the response. (optional) -NSNumber* showBacklink = @56; // Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Equipment Widget -[apiInstance visualizeEquipmentWithInstructions:instructions - view:view - defaultCss:defaultCss - showBacklink:showBacklink - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeEquipment: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **instructions** | **NSString***| The recipe's instructions. | - **view** | **NSString***| How to visualize the ingredients, either 'grid' or 'list'. | [optional] - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **NSNumber***| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizePriceBreakdown** -```objc --(NSURLSessionTask*) visualizePriceBreakdownWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - mode: (NSNumber*) mode - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Price Breakdown Widget - -Visualize the price breakdown of a recipe. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientList = @"ingredientList_example"; // The ingredient list of the recipe, one ingredient per line. -NSNumber* servings = @56; // The number of servings. -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) -NSNumber* mode = @56; // The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). (optional) -NSNumber* defaultCss = @56; // Whether the default CSS should be added to the response. (optional) -NSNumber* showBacklink = @56; // Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Price Breakdown Widget -[apiInstance visualizePriceBreakdownWithIngredientList:ingredientList - servings:servings - language:language - mode:mode - defaultCss:defaultCss - showBacklink:showBacklink - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizePriceBreakdown: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **NSString***| The ingredient list of the recipe, one ingredient per line. | - **servings** | **NSNumber***| The number of servings. | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - **mode** | **NSNumber***| The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). | [optional] - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **NSNumber***| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipeEquipmentByID** -```objc --(NSURLSessionTask*) visualizeRecipeEquipmentByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Equipment by ID Widget - -Visualize a recipe's equipment list. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Equipment by ID Widget -[apiInstance visualizeRecipeEquipmentByIDWithId:_id - defaultCss:defaultCss - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipeEquipmentByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipeIngredientsByID** -```objc --(NSURLSessionTask*) visualizeRecipeIngredientsByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - measure: (NSString*) measure - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Ingredients by ID Widget - -Visualize a recipe's ingredient list. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) -NSString* measure = metric; // Whether the the measures should be 'us' or 'metric'. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Ingredients by ID Widget -[apiInstance visualizeRecipeIngredientsByIDWithId:_id - defaultCss:defaultCss - measure:measure - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipeIngredientsByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - **measure** | **NSString***| Whether the the measures should be 'us' or 'metric'. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipeNutrition** -```objc --(NSURLSessionTask*) visualizeRecipeNutritionWithIngredientList: (NSString*) ingredientList - servings: (NSNumber*) servings - language: (NSString*) language - defaultCss: (NSNumber*) defaultCss - showBacklink: (NSNumber*) showBacklink - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Recipe Nutrition Widget - -Visualize a recipe's nutritional information as HTML including CSS. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientList = @"ingredientList_example"; // The ingredient list of the recipe, one ingredient per line. -NSNumber* servings = @56; // The number of servings. -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) -NSNumber* defaultCss = @56; // Whether the default CSS should be added to the response. (optional) -NSNumber* showBacklink = @56; // Whether to show a backlink to spoonacular. If set false, this call counts against your quota. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Nutrition Widget -[apiInstance visualizeRecipeNutritionWithIngredientList:ingredientList - servings:servings - language:language - defaultCss:defaultCss - showBacklink:showBacklink - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipeNutrition: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **NSString***| The ingredient list of the recipe, one ingredient per line. | - **servings** | **NSNumber***| The number of servings. | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] - **showBacklink** | **NSNumber***| Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipeNutritionByID** -```objc --(NSURLSessionTask*) visualizeRecipeNutritionByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Recipe Nutrition by ID Widget - -Visualize a recipe's nutritional information as HTML including CSS. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Nutrition by ID Widget -[apiInstance visualizeRecipeNutritionByIDWithId:_id - defaultCss:defaultCss - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipeNutritionByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipePriceBreakdownByID** -```objc --(NSURLSessionTask*) visualizeRecipePriceBreakdownByIDWithId: (NSNumber*) _id - defaultCss: (NSNumber*) defaultCss - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Price Breakdown by ID Widget - -Visualize a recipe's price breakdown. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* defaultCss = false; // Whether the default CSS should be added to the response. (optional) (default to @(YES)) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Price Breakdown by ID Widget -[apiInstance visualizeRecipePriceBreakdownByIDWithId:_id - defaultCss:defaultCss - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipePriceBreakdownByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **defaultCss** | **NSNumber***| Whether the default CSS should be added to the response. | [optional] [default to @(YES)] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipeTaste** -```objc --(NSURLSessionTask*) visualizeRecipeTasteWithIngredientList: (NSString*) ingredientList - language: (NSString*) language - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Recipe Taste Widget - -Visualize a recipe's taste information as HTML including CSS. You can play around with that endpoint! - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* ingredientList = @"ingredientList_example"; // The ingredient list of the recipe, one ingredient per line. -NSString* language = en; // The language of the input. Either 'en' or 'de'. (optional) -NSNumber* normalize = @56; // Normalize to the strongest taste. (optional) -NSString* rgb = @"rgb_example"; // Red, green, blue values for the chart color. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Taste Widget -[apiInstance visualizeRecipeTasteWithIngredientList:ingredientList - language:language - normalize:normalize - rgb:rgb - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipeTaste: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ingredientList** | **NSString***| The ingredient list of the recipe, one ingredient per line. | - **language** | **NSString***| The language of the input. Either 'en' or 'de'. | [optional] - **normalize** | **NSNumber***| Normalize to the strongest taste. | [optional] - **rgb** | **NSString***| Red, green, blue values for the chart color. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: application/x-www-form-urlencoded - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **visualizeRecipeTasteByID** -```objc --(NSURLSessionTask*) visualizeRecipeTasteByIDWithId: (NSNumber*) _id - normalize: (NSNumber*) normalize - rgb: (NSString*) rgb - completionHandler: (void (^)(NSString* output, NSError* error)) handler; -``` - -Recipe Taste by ID Widget - -Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSNumber* _id = 1; // The item's id. -NSNumber* normalize = true; // Whether to normalize to the strongest taste. (optional) (default to @(YES)) -NSString* rgb = 75,192,192; // Red, green, blue values for the chart color. (optional) - -OAIRecipesApi*apiInstance = [[OAIRecipesApi alloc] init]; - -// Recipe Taste by ID Widget -[apiInstance visualizeRecipeTasteByIDWithId:_id - normalize:normalize - rgb:rgb - completionHandler: ^(NSString* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIRecipesApi->visualizeRecipeTasteByID: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_id** | **NSNumber***| The item's id. | - **normalize** | **NSNumber***| Whether to normalize to the strongest taste. | [optional] [default to @(YES)] - **rgb** | **NSString***| Red, green, blue values for the chart color. | [optional] - -### Return type - -**NSString*** - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/html - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/docs/OAISearchAllFood200Response.md b/objc/docs/OAISearchAllFood200Response.md deleted file mode 100644 index 1fce196c0..000000000 --- a/objc/docs/OAISearchAllFood200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAISearchAllFood200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**query** | **NSString*** | | -**totalResults** | **NSNumber*** | | -**limit** | **NSNumber*** | | -**offset** | **NSNumber*** | | -**searchResults** | [**OAISet<OAISearchAllFood200ResponseSearchResultsInner>***](OAISearchAllFood200ResponseSearchResultsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchAllFood200ResponseSearchResultsInner.md b/objc/docs/OAISearchAllFood200ResponseSearchResultsInner.md deleted file mode 100644 index 688bf22de..000000000 --- a/objc/docs/OAISearchAllFood200ResponseSearchResultsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAISearchAllFood200ResponseSearchResultsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **NSString*** | | -**totalResults** | **NSNumber*** | | -**results** | [**OAISet<OAISearchAllFood200ResponseSearchResultsInnerResultsInner>***](OAISearchAllFood200ResponseSearchResultsInnerResultsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.md b/objc/docs/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.md deleted file mode 100644 index c2a26973b..000000000 --- a/objc/docs/OAISearchAllFood200ResponseSearchResultsInnerResultsInner.md +++ /dev/null @@ -1,16 +0,0 @@ -# OAISearchAllFood200ResponseSearchResultsInnerResultsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSString*** | | -**name** | **NSString*** | | -**image** | **NSString*** | | -**link** | **NSString*** | | -**type** | **NSString*** | | -**relevance** | **NSNumber*** | | -**content** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchCustomFoods200Response.md b/objc/docs/OAISearchCustomFoods200Response.md deleted file mode 100644 index a4e0ec4e5..000000000 --- a/objc/docs/OAISearchCustomFoods200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAISearchCustomFoods200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**customFoods** | [**OAISet<OAISearchCustomFoods200ResponseCustomFoodsInner>***](OAISearchCustomFoods200ResponseCustomFoodsInner.md) | | -**type** | **NSString*** | | -**offset** | **NSNumber*** | | -**number** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchCustomFoods200ResponseCustomFoodsInner.md b/objc/docs/OAISearchCustomFoods200ResponseCustomFoodsInner.md deleted file mode 100644 index dec7d8189..000000000 --- a/objc/docs/OAISearchCustomFoods200ResponseCustomFoodsInner.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAISearchCustomFoods200ResponseCustomFoodsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**servings** | **NSNumber*** | | -**imageUrl** | **NSString*** | | -**price** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchFoodVideos200Response.md b/objc/docs/OAISearchFoodVideos200Response.md deleted file mode 100644 index 7be7c0769..000000000 --- a/objc/docs/OAISearchFoodVideos200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAISearchFoodVideos200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**videos** | [**OAISet<OAISearchFoodVideos200ResponseVideosInner>***](OAISearchFoodVideos200ResponseVideosInner.md) | | -**totalResults** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchFoodVideos200ResponseVideosInner.md b/objc/docs/OAISearchFoodVideos200ResponseVideosInner.md deleted file mode 100644 index 2f8648aa2..000000000 --- a/objc/docs/OAISearchFoodVideos200ResponseVideosInner.md +++ /dev/null @@ -1,16 +0,0 @@ -# OAISearchFoodVideos200ResponseVideosInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **NSString*** | | -**length** | **NSNumber*** | | -**rating** | **NSNumber*** | | -**shortTitle** | **NSString*** | | -**thumbnail** | **NSString*** | | -**views** | **NSNumber*** | | -**youTubeId** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchGroceryProducts200Response.md b/objc/docs/OAISearchGroceryProducts200Response.md deleted file mode 100644 index 88743fe8b..000000000 --- a/objc/docs/OAISearchGroceryProducts200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAISearchGroceryProducts200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**products** | [**OAISet<OAIAutocompleteRecipeSearch200ResponseInner>***](OAIAutocompleteRecipeSearch200ResponseInner.md) | | -**totalProducts** | **NSNumber*** | | -**type** | **NSString*** | | -**offset** | **NSNumber*** | | -**number** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchGroceryProductsByUPC200Response.md b/objc/docs/OAISearchGroceryProductsByUPC200Response.md deleted file mode 100644 index 3bfe44d12..000000000 --- a/objc/docs/OAISearchGroceryProductsByUPC200Response.md +++ /dev/null @@ -1,24 +0,0 @@ -# OAISearchGroceryProductsByUPC200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**badges** | **NSArray<NSString*>*** | | -**importantBadges** | **NSArray<NSString*>*** | | -**breadcrumbs** | **NSArray<NSString*>*** | | -**generatedText** | **NSString*** | | -**imageType** | **NSString*** | | -**ingredientCount** | **NSNumber*** | | [optional] -**ingredientList** | **NSString*** | | -**ingredients** | [**OAISet<OAISearchGroceryProductsByUPC200ResponseIngredientsInner>***](OAISearchGroceryProductsByUPC200ResponseIngredientsInner.md) | | -**likes** | **NSNumber*** | | -**nutrition** | [**OAISearchGroceryProductsByUPC200ResponseNutrition***](OAISearchGroceryProductsByUPC200ResponseNutrition.md) | | -**price** | **NSNumber*** | | -**servings** | [**OAISearchGroceryProductsByUPC200ResponseServings***](OAISearchGroceryProductsByUPC200ResponseServings.md) | | -**spoonacularScore** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.md b/objc/docs/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.md deleted file mode 100644 index 46e2a3245..000000000 --- a/objc/docs/OAISearchGroceryProductsByUPC200ResponseIngredientsInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAISearchGroceryProductsByUPC200ResponseIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_description** | **NSString*** | | [optional] -**name** | **NSString*** | | -**safetyLevel** | **NSString*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchGroceryProductsByUPC200ResponseNutrition.md b/objc/docs/OAISearchGroceryProductsByUPC200ResponseNutrition.md deleted file mode 100644 index 1824855e7..000000000 --- a/objc/docs/OAISearchGroceryProductsByUPC200ResponseNutrition.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAISearchGroceryProductsByUPC200ResponseNutrition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nutrients** | [**OAISet<OAIParseIngredients200ResponseInnerNutritionNutrientsInner>***](OAIParseIngredients200ResponseInnerNutritionNutrientsInner.md) | | -**caloricBreakdown** | [**OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown***](OAIParseIngredients200ResponseInnerNutritionCaloricBreakdown.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchGroceryProductsByUPC200ResponseServings.md b/objc/docs/OAISearchGroceryProductsByUPC200ResponseServings.md deleted file mode 100644 index c2b78e57f..000000000 --- a/objc/docs/OAISearchGroceryProductsByUPC200ResponseServings.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAISearchGroceryProductsByUPC200ResponseServings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**number** | **NSNumber*** | | -**size** | **NSNumber*** | | -**unit** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchMenuItems200Response.md b/objc/docs/OAISearchMenuItems200Response.md deleted file mode 100644 index ace72f646..000000000 --- a/objc/docs/OAISearchMenuItems200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# OAISearchMenuItems200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**menuItems** | [**OAISet<OAISearchMenuItems200ResponseMenuItemsInner>***](OAISearchMenuItems200ResponseMenuItemsInner.md) | | -**totalMenuItems** | **NSNumber*** | | -**type** | **NSString*** | | -**offset** | **NSNumber*** | | -**number** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchMenuItems200ResponseMenuItemsInner.md b/objc/docs/OAISearchMenuItems200ResponseMenuItemsInner.md deleted file mode 100644 index 6f7750c95..000000000 --- a/objc/docs/OAISearchMenuItems200ResponseMenuItemsInner.md +++ /dev/null @@ -1,15 +0,0 @@ -# OAISearchMenuItems200ResponseMenuItemsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**restaurantChain** | **NSString*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | -**servings** | [**OAISearchGroceryProductsByUPC200ResponseServings***](OAISearchGroceryProductsByUPC200ResponseServings.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRecipes200Response.md b/objc/docs/OAISearchRecipes200Response.md deleted file mode 100644 index e5364cb7d..000000000 --- a/objc/docs/OAISearchRecipes200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAISearchRecipes200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**offset** | **NSNumber*** | | -**number** | **NSNumber*** | | -**results** | [**OAISet<OAISearchRecipes200ResponseResultsInner>***](OAISearchRecipes200ResponseResultsInner.md) | | -**totalResults** | **NSNumber*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRecipes200ResponseResultsInner.md b/objc/docs/OAISearchRecipes200ResponseResultsInner.md deleted file mode 100644 index ace8e92a5..000000000 --- a/objc/docs/OAISearchRecipes200ResponseResultsInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAISearchRecipes200ResponseResultsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**title** | **NSString*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRecipesByIngredients200ResponseInner.md b/objc/docs/OAISearchRecipesByIngredients200ResponseInner.md deleted file mode 100644 index 37ab1c024..000000000 --- a/objc/docs/OAISearchRecipesByIngredients200ResponseInner.md +++ /dev/null @@ -1,19 +0,0 @@ -# OAISearchRecipesByIngredients200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | -**likes** | **NSNumber*** | | -**missedIngredientCount** | **NSNumber*** | | -**missedIngredients** | [**OAISet<OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner>***](OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) | | -**title** | **NSString*** | | -**unusedIngredients** | **NSArray<NSObject*>*** | | -**usedIngredientCount** | **NSNumber*** | | -**usedIngredients** | [**OAISet<OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner>***](OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md b/objc/docs/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md deleted file mode 100644 index 13bcb9c6b..000000000 --- a/objc/docs/OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md +++ /dev/null @@ -1,21 +0,0 @@ -# OAISearchRecipesByIngredients200ResponseInnerMissedIngredientsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aisle** | **NSString*** | | -**amount** | **NSNumber*** | | -**_id** | **NSNumber*** | | -**image** | **NSString*** | | -**meta** | **NSArray<NSString*>*** | | [optional] -**name** | **NSString*** | | -**extendedName** | **NSString*** | | [optional] -**original** | **NSString*** | | -**originalName** | **NSString*** | | -**unit** | **NSString*** | | -**unitLong** | **NSString*** | | -**unitShort** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRecipesByNutrients200ResponseInner.md b/objc/docs/OAISearchRecipesByNutrients200ResponseInner.md deleted file mode 100644 index 033881200..000000000 --- a/objc/docs/OAISearchRecipesByNutrients200ResponseInner.md +++ /dev/null @@ -1,17 +0,0 @@ -# OAISearchRecipesByNutrients200ResponseInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**calories** | **NSNumber*** | | -**carbs** | **NSString*** | | -**fat** | **NSString*** | | -**_id** | **NSNumber*** | | -**image** | **NSString*** | | -**imageType** | **NSString*** | | -**protein** | **NSString*** | | -**title** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRestaurants200Response.md b/objc/docs/OAISearchRestaurants200Response.md deleted file mode 100644 index d06a3853e..000000000 --- a/objc/docs/OAISearchRestaurants200Response.md +++ /dev/null @@ -1,10 +0,0 @@ -# OAISearchRestaurants200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**restaurants** | [**NSArray<OAISearchRestaurants200ResponseRestaurantsInner>***](OAISearchRestaurants200ResponseRestaurantsInner.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInner.md b/objc/docs/OAISearchRestaurants200ResponseRestaurantsInner.md deleted file mode 100644 index 00de2394f..000000000 --- a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInner.md +++ /dev/null @@ -1,29 +0,0 @@ -# OAISearchRestaurants200ResponseRestaurantsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSString*** | | [optional] -**name** | **NSString*** | | [optional] -**phoneNumber** | **NSNumber*** | | [optional] -**address** | [**OAISearchRestaurants200ResponseRestaurantsInnerAddress***](OAISearchRestaurants200ResponseRestaurantsInnerAddress.md) | | [optional] -**type** | **NSString*** | | [optional] -**_description** | **NSString*** | | [optional] -**localHours** | [**OAISearchRestaurants200ResponseRestaurantsInnerLocalHours***](OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.md) | | [optional] -**cuisines** | **NSArray<NSString*>*** | | [optional] -**foodPhotos** | **NSArray<NSString*>*** | | [optional] -**logoPhotos** | **NSArray<NSString*>*** | | [optional] -**storePhotos** | **NSArray<NSString*>*** | | [optional] -**dollarSigns** | **NSNumber*** | | [optional] -**pickupEnabled** | **NSNumber*** | | [optional] -**deliveryEnabled** | **NSNumber*** | | [optional] -**isOpen** | **NSNumber*** | | [optional] -**offersFirstPartyDelivery** | **NSNumber*** | | [optional] -**offersThirdPartyDelivery** | **NSNumber*** | | [optional] -**miles** | **NSNumber*** | | [optional] -**weightedRatingValue** | **NSNumber*** | | [optional] -**aggregatedRatingCount** | **NSNumber*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerAddress.md b/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerAddress.md deleted file mode 100644 index 7b226f95a..000000000 --- a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerAddress.md +++ /dev/null @@ -1,19 +0,0 @@ -# OAISearchRestaurants200ResponseRestaurantsInnerAddress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**streetAddr** | **NSString*** | | [optional] -**city** | **NSString*** | | [optional] -**state** | **NSString*** | | [optional] -**zipcode** | **NSString*** | | [optional] -**country** | **NSString*** | | [optional] -**lat** | **NSNumber*** | | [optional] -**lon** | **NSNumber*** | | [optional] -**streetAddr2** | **NSString*** | | [optional] -**latitude** | **NSNumber*** | | [optional] -**longitude** | **NSNumber*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.md b/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.md deleted file mode 100644 index 4e5c88bda..000000000 --- a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHours.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAISearchRestaurants200ResponseRestaurantsInnerLocalHours - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**operational** | [**OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational***](OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] -**delivery** | [**OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational***](OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] -**pickup** | [**OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational***](OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] -**dineIn** | [**OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational***](OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md b/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md deleted file mode 100644 index 1f4a9900d..000000000 --- a/objc/docs/OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md +++ /dev/null @@ -1,16 +0,0 @@ -# OAISearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**monday** | **NSString*** | | [optional] -**tuesday** | **NSString*** | | [optional] -**wednesday** | **NSString*** | | [optional] -**thursday** | **NSString*** | | [optional] -**friday** | **NSString*** | | [optional] -**saturday** | **NSString*** | | [optional] -**sunday** | **NSString*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchSiteContent200Response.md b/objc/docs/OAISearchSiteContent200Response.md deleted file mode 100644 index 76a353234..000000000 --- a/objc/docs/OAISearchSiteContent200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAISearchSiteContent200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**articles** | [**OAISet<OAISearchSiteContent200ResponseArticlesInner>***](OAISearchSiteContent200ResponseArticlesInner.md) | | -**groceryProducts** | [**OAISet<OAISearchSiteContent200ResponseArticlesInner>***](OAISearchSiteContent200ResponseArticlesInner.md) | | -**menuItems** | [**OAISet<OAISearchSiteContent200ResponseArticlesInner>***](OAISearchSiteContent200ResponseArticlesInner.md) | | -**recipes** | [**OAISet<OAISearchSiteContent200ResponseArticlesInner>***](OAISearchSiteContent200ResponseArticlesInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchSiteContent200ResponseArticlesInner.md b/objc/docs/OAISearchSiteContent200ResponseArticlesInner.md deleted file mode 100644 index e30ae3608..000000000 --- a/objc/docs/OAISearchSiteContent200ResponseArticlesInner.md +++ /dev/null @@ -1,13 +0,0 @@ -# OAISearchSiteContent200ResponseArticlesInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dataPoints** | [**OAISet<OAISearchSiteContent200ResponseArticlesInnerDataPointsInner>***](OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.md) | | [optional] -**image** | **NSString*** | | -**link** | **NSString*** | | -**name** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.md b/objc/docs/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.md deleted file mode 100644 index a9d2ca024..000000000 --- a/objc/docs/OAISearchSiteContent200ResponseArticlesInnerDataPointsInner.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAISearchSiteContent200ResponseArticlesInnerDataPointsInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **NSString*** | | -**value** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAISummarizeRecipe200Response.md b/objc/docs/OAISummarizeRecipe200Response.md deleted file mode 100644 index ee9c77477..000000000 --- a/objc/docs/OAISummarizeRecipe200Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAISummarizeRecipe200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_id** | **NSNumber*** | | -**summary** | **NSString*** | | -**title** | **NSString*** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAITalkToChatbot200Response.md b/objc/docs/OAITalkToChatbot200Response.md deleted file mode 100644 index 1ba3fb2b5..000000000 --- a/objc/docs/OAITalkToChatbot200Response.md +++ /dev/null @@ -1,11 +0,0 @@ -# OAITalkToChatbot200Response - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**answerText** | **NSString*** | | -**media** | [**NSArray<OAITalkToChatbot200ResponseMediaInner>***](OAITalkToChatbot200ResponseMediaInner.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAITalkToChatbot200ResponseMediaInner.md b/objc/docs/OAITalkToChatbot200ResponseMediaInner.md deleted file mode 100644 index 722170c85..000000000 --- a/objc/docs/OAITalkToChatbot200ResponseMediaInner.md +++ /dev/null @@ -1,12 +0,0 @@ -# OAITalkToChatbot200ResponseMediaInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **NSString*** | | [optional] -**image** | **NSString*** | | [optional] -**link** | **NSString*** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/objc/docs/OAIWineApi.md b/objc/docs/OAIWineApi.md deleted file mode 100644 index 64d3bd062..000000000 --- a/objc/docs/OAIWineApi.md +++ /dev/null @@ -1,256 +0,0 @@ -# OAIWineApi - -All URIs are relative to *https://api.spoonacular.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getDishPairingForWine**](OAIWineApi.md#getdishpairingforwine) | **GET** /food/wine/dishes | Dish Pairing for Wine -[**getWineDescription**](OAIWineApi.md#getwinedescription) | **GET** /food/wine/description | Wine Description -[**getWinePairing**](OAIWineApi.md#getwinepairing) | **GET** /food/wine/pairing | Wine Pairing -[**getWineRecommendation**](OAIWineApi.md#getwinerecommendation) | **GET** /food/wine/recommendation | Wine Recommendation - - -# **getDishPairingForWine** -```objc --(NSURLSessionTask*) getDishPairingForWineWithWine: (NSString*) wine - completionHandler: (void (^)(OAIGetDishPairingForWine200Response* output, NSError* error)) handler; -``` - -Dish Pairing for Wine - -Find a dish that goes well with a given wine. - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* wine = malbec; // The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". - -OAIWineApi*apiInstance = [[OAIWineApi alloc] init]; - -// Dish Pairing for Wine -[apiInstance getDishPairingForWineWithWine:wine - completionHandler: ^(OAIGetDishPairingForWine200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIWineApi->getDishPairingForWine: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **wine** | **NSString***| The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". | - -### Return type - -[**OAIGetDishPairingForWine200Response***](OAIGetDishPairingForWine200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getWineDescription** -```objc --(NSURLSessionTask*) getWineDescriptionWithWine: (NSString*) wine - completionHandler: (void (^)(OAIGetWineDescription200Response* output, NSError* error)) handler; -``` - -Wine Description - -Get a simple description of a certain wine, e.g. \"malbec\", \"riesling\", or \"merlot\". - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* wine = merlot; // The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". - -OAIWineApi*apiInstance = [[OAIWineApi alloc] init]; - -// Wine Description -[apiInstance getWineDescriptionWithWine:wine - completionHandler: ^(OAIGetWineDescription200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIWineApi->getWineDescription: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **wine** | **NSString***| The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\". | - -### Return type - -[**OAIGetWineDescription200Response***](OAIGetWineDescription200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getWinePairing** -```objc --(NSURLSessionTask*) getWinePairingWithFood: (NSString*) food - maxPrice: (NSNumber*) maxPrice - completionHandler: (void (^)(OAIGetWinePairing200Response* output, NSError* error)) handler; -``` - -Wine Pairing - -Find a wine that goes well with a food. Food can be a dish name (\"steak\"), an ingredient name (\"salmon\"), or a cuisine (\"italian\"). - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* food = steak; // The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). -NSNumber* maxPrice = 50; // The maximum price for the specific wine recommendation in USD. (optional) - -OAIWineApi*apiInstance = [[OAIWineApi alloc] init]; - -// Wine Pairing -[apiInstance getWinePairingWithFood:food - maxPrice:maxPrice - completionHandler: ^(OAIGetWinePairing200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIWineApi->getWinePairing: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **food** | **NSString***| The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). | - **maxPrice** | **NSNumber***| The maximum price for the specific wine recommendation in USD. | [optional] - -### Return type - -[**OAIGetWinePairing200Response***](OAIGetWinePairing200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **getWineRecommendation** -```objc --(NSURLSessionTask*) getWineRecommendationWithWine: (NSString*) wine - maxPrice: (NSNumber*) maxPrice - minRating: (NSNumber*) minRating - number: (NSNumber*) number - completionHandler: (void (^)(OAIGetWineRecommendation200Response* output, NSError* error)) handler; -``` - -Wine Recommendation - -Get a specific wine recommendation (concrete product) for a given wine type, e.g. \"merlot\". - -### Example -```objc -OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig]; - -// Configure API key authorization: (authentication scheme: apiKeyScheme) -[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"]; -// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"]; - - -NSString* wine = merlot; // The type of wine to get a specific product recommendation for. -NSNumber* maxPrice = 50; // The maximum price for the specific wine recommendation in USD. (optional) -NSNumber* minRating = 0.7; // The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. (optional) -NSNumber* number = 3; // The number of wine recommendations expected (between 1 and 100). (optional) (default to @10) - -OAIWineApi*apiInstance = [[OAIWineApi alloc] init]; - -// Wine Recommendation -[apiInstance getWineRecommendationWithWine:wine - maxPrice:maxPrice - minRating:minRating - number:number - completionHandler: ^(OAIGetWineRecommendation200Response* output, NSError* error) { - if (output) { - NSLog(@"%@", output); - } - if (error) { - NSLog(@"Error calling OAIWineApi->getWineRecommendation: %@", error); - } - }]; -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **wine** | **NSString***| The type of wine to get a specific product recommendation for. | - **maxPrice** | **NSNumber***| The maximum price for the specific wine recommendation in USD. | [optional] - **minRating** | **NSNumber***| The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. | [optional] - **number** | **NSNumber***| The number of wine recommendations expected (between 1 and 100). | [optional] [default to @10] - -### Return type - -[**OAIGetWineRecommendation200Response***](OAIGetWineRecommendation200Response.md) - -### Authorization - -[apiKeyScheme](../README.md#apiKeyScheme) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/objc/git_push.sh b/objc/git_push.sh deleted file mode 100644 index b5ef54c28..000000000 --- a/objc/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="ddsky" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="spoonacular-api-clients/tree/master/objc/" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/openapi-generator-cli-7.7.0-20240612.084912-80.jar b/openapi-generator-cli-7.7.0-20240612.084912-80.jar new file mode 100644 index 000000000..e9b8276d6 --- /dev/null +++ b/openapi-generator-cli-7.7.0-20240612.084912-80.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fee951550884b0120a306de9ede91f3c86013e6fae3a4e5cdf27304fc0bb5906 +size 29686771 diff --git a/perl/.openapi-generator/VERSION b/perl/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/perl/.openapi-generator/VERSION +++ b/perl/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/perl/README.md b/perl/README.md index f8aceec19..c50113b7e 100644 --- a/perl/README.md +++ b/perl/README.md @@ -12,6 +12,7 @@ Automatically generated by the [OpenAPI Generator](https://openapi-generator.tec - API version: 1.1 - Package version: 1.0.0 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.PerlClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/perl/lib/WWW/OpenAPIClient/Role.pm b/perl/lib/WWW/OpenAPIClient/Role.pm index a4ec83b6a..836c95252 100644 --- a/perl/lib/WWW/OpenAPIClient/Role.pm +++ b/perl/lib/WWW/OpenAPIClient/Role.pm @@ -56,6 +56,7 @@ has version_info => ( is => 'ro', default => sub { { app_name => 'spoonacular API', app_version => '1.1', + generator_version => '7.7.0-SNAPSHOT', generator_class => 'org.openapitools.codegen.languages.PerlClientCodegen', } }, documentation => 'Information about the application version and the codegen codebase version' @@ -120,6 +121,9 @@ WWW::OpenAPIClient::Role - a Moose role for the spoonacular API Automatically generated by the Perl OpenAPI Generator project: =over 4 + +=item Generator version: 7.7.0-SNAPSHOT + =item Build package: org.openapitools.codegen.languages.PerlClientCodegen =item Codegen version: diff --git a/perl/lib/WWW/OpenAPIClient/Role/AutoDoc.pm b/perl/lib/WWW/OpenAPIClient/Role/AutoDoc.pm index 6474e3131..4bd9b1564 100644 --- a/perl/lib/WWW/OpenAPIClient/Role/AutoDoc.pm +++ b/perl/lib/WWW/OpenAPIClient/Role/AutoDoc.pm @@ -50,6 +50,7 @@ sub _printisa { my $app_name = $self->version_info->{app_name}; my $app_version = $self->version_info->{app_version}; my $generated_date = $self->version_info->{generated_date}; + my $generator_version = $self->version_info->{generator_version}; my $generator_class = $self->version_info->{generator_class}; $~ = $how eq 'pod' ? 'INHERIT_POD' : 'INHERIT'; @@ -87,6 +88,8 @@ $myclass $app_name, $app_version Generated on: @* $generated_date + Generator version: @* + $generator_version Generator class: @* $generator_class @@ -118,6 +121,9 @@ Automatically generated by the Perl Generator in the OpenAPI Generator project: =item Build date: @* $generated_date +=item Generator version: @* + $generator_version + =item Build package: @* $generator_class diff --git a/php/.openapi-generator/FILES b/php/.openapi-generator/FILES index f12308fa1..c13ea7890 100644 --- a/php/.openapi-generator/FILES +++ b/php/.openapi-generator/FILES @@ -167,6 +167,7 @@ docs/Model/SummarizeRecipe200Response.md docs/Model/TalkToChatbot200Response.md docs/Model/TalkToChatbot200ResponseMediaInner.md git_push.sh +lib/ApiException.php lib/Api/DefaultApi.php lib/Api/IngredientsApi.php lib/Api/MealPlanningApi.php @@ -175,7 +176,6 @@ lib/Api/MiscApi.php lib/Api/ProductsApi.php lib/Api/RecipesApi.php lib/Api/WineApi.php -lib/ApiException.php lib/Configuration.php lib/HeaderSelector.php lib/Model/AddMealPlanTemplate200Response.php diff --git a/php/.openapi-generator/VERSION b/php/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/php/.openapi-generator/VERSION +++ b/php/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/php/README.md b/php/README.md index 28b68925b..cc9f2b464 100644 --- a/php/README.md +++ b/php/README.md @@ -369,5 +369,6 @@ mail@spoonacular.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `1.1` - - Package version: `1.1.1` + - Package version: `1.1.2` + - Generator version: `7.7.0-SNAPSHOT` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/php/composer.json b/php/composer.json index 63816197e..71ba2a90a 100644 --- a/php/composer.json +++ b/php/composer.json @@ -1,5 +1,5 @@ { - "version": "1.1.1", + "version": "1.1.2", "description": "The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal.", "keywords": [ "openapitools", diff --git a/php/lib/Api/DefaultApi.php b/php/lib/Api/DefaultApi.php index f26582fa0..ec6d26cfa 100644 --- a/php/lib/Api/DefaultApi.php +++ b/php/lib/Api/DefaultApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/IngredientsApi.php b/php/lib/Api/IngredientsApi.php index 9491cfc0d..716d08de1 100644 --- a/php/lib/Api/IngredientsApi.php +++ b/php/lib/Api/IngredientsApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/MealPlanningApi.php b/php/lib/Api/MealPlanningApi.php index 05f3f84a8..4e5eff7a1 100644 --- a/php/lib/Api/MealPlanningApi.php +++ b/php/lib/Api/MealPlanningApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/MenuItemsApi.php b/php/lib/Api/MenuItemsApi.php index ebd60ff70..3a75d08c9 100644 --- a/php/lib/Api/MenuItemsApi.php +++ b/php/lib/Api/MenuItemsApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/MiscApi.php b/php/lib/Api/MiscApi.php index e61318ae6..07220137c 100644 --- a/php/lib/Api/MiscApi.php +++ b/php/lib/Api/MiscApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/ProductsApi.php b/php/lib/Api/ProductsApi.php index 6e850e38a..0b238066a 100644 --- a/php/lib/Api/ProductsApi.php +++ b/php/lib/Api/ProductsApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/RecipesApi.php b/php/lib/Api/RecipesApi.php index bf73e8890..86b4a7d40 100644 --- a/php/lib/Api/RecipesApi.php +++ b/php/lib/Api/RecipesApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Api/WineApi.php b/php/lib/Api/WineApi.php index dbc56e698..2e355dfba 100644 --- a/php/lib/Api/WineApi.php +++ b/php/lib/Api/WineApi.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/ApiException.php b/php/lib/ApiException.php index 09c1a811a..71aa31da7 100644 --- a/php/lib/ApiException.php +++ b/php/lib/ApiException.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Configuration.php b/php/lib/Configuration.php index 176f7ee07..adf49873e 100644 --- a/php/lib/Configuration.php +++ b/php/lib/Configuration.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -101,7 +101,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/1.1.1/PHP'; + protected $userAgent = 'OpenAPI-Generator/1.1.2/PHP'; /** * Debug switch (default set to false) @@ -434,7 +434,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 1.1' . PHP_EOL; - $report .= ' SDK Package Version: 1.1.1' . PHP_EOL; + $report .= ' SDK Package Version: 1.1.2' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/php/lib/HeaderSelector.php b/php/lib/HeaderSelector.php index 2104e04da..b1d30ea98 100644 --- a/php/lib/HeaderSelector.php +++ b/php/lib/HeaderSelector.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddMealPlanTemplate200Response.php b/php/lib/Model/AddMealPlanTemplate200Response.php index 423c73337..5d41815bb 100644 --- a/php/lib/Model/AddMealPlanTemplate200Response.php +++ b/php/lib/Model/AddMealPlanTemplate200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddMealPlanTemplate200ResponseItemsInner.php b/php/lib/Model/AddMealPlanTemplate200ResponseItemsInner.php index f22512110..a86ad2393 100644 --- a/php/lib/Model/AddMealPlanTemplate200ResponseItemsInner.php +++ b/php/lib/Model/AddMealPlanTemplate200ResponseItemsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddMealPlanTemplate200ResponseItemsInnerValue.php b/php/lib/Model/AddMealPlanTemplate200ResponseItemsInnerValue.php index 87c5ba878..b66328673 100644 --- a/php/lib/Model/AddMealPlanTemplate200ResponseItemsInnerValue.php +++ b/php/lib/Model/AddMealPlanTemplate200ResponseItemsInnerValue.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddToMealPlanRequest.php b/php/lib/Model/AddToMealPlanRequest.php index d40808d32..f70e3ccf6 100644 --- a/php/lib/Model/AddToMealPlanRequest.php +++ b/php/lib/Model/AddToMealPlanRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddToMealPlanRequestValue.php b/php/lib/Model/AddToMealPlanRequestValue.php index 81122a6ad..06618b633 100644 --- a/php/lib/Model/AddToMealPlanRequestValue.php +++ b/php/lib/Model/AddToMealPlanRequestValue.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddToMealPlanRequestValueIngredientsInner.php b/php/lib/Model/AddToMealPlanRequestValueIngredientsInner.php index ff0d8b2cb..493a63f14 100644 --- a/php/lib/Model/AddToMealPlanRequestValueIngredientsInner.php +++ b/php/lib/Model/AddToMealPlanRequestValueIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AddToShoppingListRequest.php b/php/lib/Model/AddToShoppingListRequest.php index 8eb8fb231..fe278f4cb 100644 --- a/php/lib/Model/AddToShoppingListRequest.php +++ b/php/lib/Model/AddToShoppingListRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeARecipeSearchQuery200Response.php b/php/lib/Model/AnalyzeARecipeSearchQuery200Response.php index c776a119b..12fd3deec 100644 --- a/php/lib/Model/AnalyzeARecipeSearchQuery200Response.php +++ b/php/lib/Model/AnalyzeARecipeSearchQuery200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.php b/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.php index 6cec0eae6..d3fda9542 100644 --- a/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.php +++ b/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseDishesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.php b/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.php index ca11eb37d..e43ed8ae4 100644 --- a/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.php +++ b/php/lib/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeRecipeInstructions200Response.php b/php/lib/Model/AnalyzeRecipeInstructions200Response.php index 4caa6fa03..8429e0025 100644 --- a/php/lib/Model/AnalyzeRecipeInstructions200Response.php +++ b/php/lib/Model/AnalyzeRecipeInstructions200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.php b/php/lib/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.php index 8f45fdce8..3b87b9c03 100644 --- a/php/lib/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.php +++ b/php/lib/Model/AnalyzeRecipeInstructions200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.php b/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.php index 2a0392b54..373b53432 100644 --- a/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.php +++ b/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php b/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php index e72e36ac4..2c45b9f3c 100644 --- a/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php +++ b/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php b/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php index a01159a1a..728cbe440 100644 --- a/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php +++ b/php/lib/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AnalyzeRecipeRequest.php b/php/lib/Model/AnalyzeRecipeRequest.php index 0a4d64681..e4f0a1188 100644 --- a/php/lib/Model/AnalyzeRecipeRequest.php +++ b/php/lib/Model/AnalyzeRecipeRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AutocompleteIngredientSearch200ResponseInner.php b/php/lib/Model/AutocompleteIngredientSearch200ResponseInner.php index 0f01462a6..1b2e919d3 100644 --- a/php/lib/Model/AutocompleteIngredientSearch200ResponseInner.php +++ b/php/lib/Model/AutocompleteIngredientSearch200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AutocompleteMenuItemSearch200Response.php b/php/lib/Model/AutocompleteMenuItemSearch200Response.php index e3cbb1f6a..a520686e6 100644 --- a/php/lib/Model/AutocompleteMenuItemSearch200Response.php +++ b/php/lib/Model/AutocompleteMenuItemSearch200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AutocompleteProductSearch200Response.php b/php/lib/Model/AutocompleteProductSearch200Response.php index af8fb42e5..b098e6c47 100644 --- a/php/lib/Model/AutocompleteProductSearch200Response.php +++ b/php/lib/Model/AutocompleteProductSearch200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AutocompleteProductSearch200ResponseResultsInner.php b/php/lib/Model/AutocompleteProductSearch200ResponseResultsInner.php index 2be1f7c5d..56d204acd 100644 --- a/php/lib/Model/AutocompleteProductSearch200ResponseResultsInner.php +++ b/php/lib/Model/AutocompleteProductSearch200ResponseResultsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/AutocompleteRecipeSearch200ResponseInner.php b/php/lib/Model/AutocompleteRecipeSearch200ResponseInner.php index 90dfab9a6..5868c3ab6 100644 --- a/php/lib/Model/AutocompleteRecipeSearch200ResponseInner.php +++ b/php/lib/Model/AutocompleteRecipeSearch200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ClassifyCuisine200Response.php b/php/lib/Model/ClassifyCuisine200Response.php index bad423bfb..58f55be95 100644 --- a/php/lib/Model/ClassifyCuisine200Response.php +++ b/php/lib/Model/ClassifyCuisine200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ClassifyGroceryProduct200Response.php b/php/lib/Model/ClassifyGroceryProduct200Response.php index a838d9a03..d2fed61d7 100644 --- a/php/lib/Model/ClassifyGroceryProduct200Response.php +++ b/php/lib/Model/ClassifyGroceryProduct200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ClassifyGroceryProductBulk200ResponseInner.php b/php/lib/Model/ClassifyGroceryProductBulk200ResponseInner.php index 43f079f02..57548d772 100644 --- a/php/lib/Model/ClassifyGroceryProductBulk200ResponseInner.php +++ b/php/lib/Model/ClassifyGroceryProductBulk200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ClassifyGroceryProductBulkRequestInner.php b/php/lib/Model/ClassifyGroceryProductBulkRequestInner.php index d127fd38c..3ac98c5ef 100644 --- a/php/lib/Model/ClassifyGroceryProductBulkRequestInner.php +++ b/php/lib/Model/ClassifyGroceryProductBulkRequestInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ClassifyGroceryProductRequest.php b/php/lib/Model/ClassifyGroceryProductRequest.php index bc97ac23f..749df6eb1 100644 --- a/php/lib/Model/ClassifyGroceryProductRequest.php +++ b/php/lib/Model/ClassifyGroceryProductRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ComputeGlycemicLoad200Response.php b/php/lib/Model/ComputeGlycemicLoad200Response.php index 521ecba91..095e4566a 100644 --- a/php/lib/Model/ComputeGlycemicLoad200Response.php +++ b/php/lib/Model/ComputeGlycemicLoad200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ComputeGlycemicLoad200ResponseIngredientsInner.php b/php/lib/Model/ComputeGlycemicLoad200ResponseIngredientsInner.php index eb3ed31b4..19d5e7d48 100644 --- a/php/lib/Model/ComputeGlycemicLoad200ResponseIngredientsInner.php +++ b/php/lib/Model/ComputeGlycemicLoad200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ComputeGlycemicLoadRequest.php b/php/lib/Model/ComputeGlycemicLoadRequest.php index fdd99271b..bd2ae1bec 100644 --- a/php/lib/Model/ComputeGlycemicLoadRequest.php +++ b/php/lib/Model/ComputeGlycemicLoadRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ComputeIngredientAmount200Response.php b/php/lib/Model/ComputeIngredientAmount200Response.php index 38417fb46..e410c1b19 100644 --- a/php/lib/Model/ComputeIngredientAmount200Response.php +++ b/php/lib/Model/ComputeIngredientAmount200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ConnectUser200Response.php b/php/lib/Model/ConnectUser200Response.php index 591183442..183fa6cae 100644 --- a/php/lib/Model/ConnectUser200Response.php +++ b/php/lib/Model/ConnectUser200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ConnectUserRequest.php b/php/lib/Model/ConnectUserRequest.php index f4f05e5ee..549ad0959 100644 --- a/php/lib/Model/ConnectUserRequest.php +++ b/php/lib/Model/ConnectUserRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ConvertAmounts200Response.php b/php/lib/Model/ConvertAmounts200Response.php index dd30b3b42..71efdbe49 100644 --- a/php/lib/Model/ConvertAmounts200Response.php +++ b/php/lib/Model/ConvertAmounts200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/CreateRecipeCard200Response.php b/php/lib/Model/CreateRecipeCard200Response.php index f0e0f39d5..f9671f992 100644 --- a/php/lib/Model/CreateRecipeCard200Response.php +++ b/php/lib/Model/CreateRecipeCard200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/DetectFoodInText200Response.php b/php/lib/Model/DetectFoodInText200Response.php index c9648778f..5e67af2db 100644 --- a/php/lib/Model/DetectFoodInText200Response.php +++ b/php/lib/Model/DetectFoodInText200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/DetectFoodInText200ResponseAnnotationsInner.php b/php/lib/Model/DetectFoodInText200ResponseAnnotationsInner.php index 5b426fab4..a673b188c 100644 --- a/php/lib/Model/DetectFoodInText200ResponseAnnotationsInner.php +++ b/php/lib/Model/DetectFoodInText200ResponseAnnotationsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GenerateMealPlan200Response.php b/php/lib/Model/GenerateMealPlan200Response.php index a6f6f62dd..a7d65021e 100644 --- a/php/lib/Model/GenerateMealPlan200Response.php +++ b/php/lib/Model/GenerateMealPlan200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GenerateMealPlan200ResponseNutrients.php b/php/lib/Model/GenerateMealPlan200ResponseNutrients.php index 061f32aeb..7c98bbd36 100644 --- a/php/lib/Model/GenerateMealPlan200ResponseNutrients.php +++ b/php/lib/Model/GenerateMealPlan200ResponseNutrients.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GenerateShoppingList200Response.php b/php/lib/Model/GenerateShoppingList200Response.php index ecd8d48b0..1fdd5029e 100644 --- a/php/lib/Model/GenerateShoppingList200Response.php +++ b/php/lib/Model/GenerateShoppingList200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetARandomFoodJoke200Response.php b/php/lib/Model/GetARandomFoodJoke200Response.php index e3b9c891a..47f6bdf9e 100644 --- a/php/lib/Model/GetARandomFoodJoke200Response.php +++ b/php/lib/Model/GetARandomFoodJoke200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetAnalyzedRecipeInstructions200Response.php b/php/lib/Model/GetAnalyzedRecipeInstructions200Response.php index e8bfd4ab4..c3c7b02f8 100644 --- a/php/lib/Model/GetAnalyzedRecipeInstructions200Response.php +++ b/php/lib/Model/GetAnalyzedRecipeInstructions200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.php b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.php index 1f7973c10..cddfcd144 100644 --- a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.php +++ b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.php b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.php index 91d5f9141..53e40affd 100644 --- a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.php +++ b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php index eb9a5cc04..3fa6fca60 100644 --- a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php +++ b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php index b69b316fb..1ed8ecb02 100644 --- a/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php +++ b/php/lib/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetComparableProducts200Response.php b/php/lib/Model/GetComparableProducts200Response.php index 4d7146544..5e45b81ec 100644 --- a/php/lib/Model/GetComparableProducts200Response.php +++ b/php/lib/Model/GetComparableProducts200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetComparableProducts200ResponseComparableProducts.php b/php/lib/Model/GetComparableProducts200ResponseComparableProducts.php index 2bf74d4a7..4f441275d 100644 --- a/php/lib/Model/GetComparableProducts200ResponseComparableProducts.php +++ b/php/lib/Model/GetComparableProducts200ResponseComparableProducts.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetComparableProducts200ResponseComparableProductsProteinInner.php b/php/lib/Model/GetComparableProducts200ResponseComparableProductsProteinInner.php index 92c373963..01afc4c00 100644 --- a/php/lib/Model/GetComparableProducts200ResponseComparableProductsProteinInner.php +++ b/php/lib/Model/GetComparableProducts200ResponseComparableProductsProteinInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetConversationSuggests200Response.php b/php/lib/Model/GetConversationSuggests200Response.php index bef6f447f..aac270c58 100644 --- a/php/lib/Model/GetConversationSuggests200Response.php +++ b/php/lib/Model/GetConversationSuggests200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetConversationSuggests200ResponseSuggests.php b/php/lib/Model/GetConversationSuggests200ResponseSuggests.php index aa604848a..f80314792 100644 --- a/php/lib/Model/GetConversationSuggests200ResponseSuggests.php +++ b/php/lib/Model/GetConversationSuggests200ResponseSuggests.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetConversationSuggests200ResponseSuggestsInner.php b/php/lib/Model/GetConversationSuggests200ResponseSuggestsInner.php index 5d0354820..9287cb9c8 100644 --- a/php/lib/Model/GetConversationSuggests200ResponseSuggestsInner.php +++ b/php/lib/Model/GetConversationSuggests200ResponseSuggestsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetDishPairingForWine200Response.php b/php/lib/Model/GetDishPairingForWine200Response.php index 178f34460..f1e1e89cf 100644 --- a/php/lib/Model/GetDishPairingForWine200Response.php +++ b/php/lib/Model/GetDishPairingForWine200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetIngredientInformation200Response.php b/php/lib/Model/GetIngredientInformation200Response.php index 7aedf7ae2..36228e1e5 100644 --- a/php/lib/Model/GetIngredientInformation200Response.php +++ b/php/lib/Model/GetIngredientInformation200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetIngredientInformation200ResponseNutrition.php b/php/lib/Model/GetIngredientInformation200ResponseNutrition.php index b7083af13..05e00d7cd 100644 --- a/php/lib/Model/GetIngredientInformation200ResponseNutrition.php +++ b/php/lib/Model/GetIngredientInformation200ResponseNutrition.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetIngredientSubstitutes200Response.php b/php/lib/Model/GetIngredientSubstitutes200Response.php index 2f872c3a6..39b39f0be 100644 --- a/php/lib/Model/GetIngredientSubstitutes200Response.php +++ b/php/lib/Model/GetIngredientSubstitutes200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanTemplate200Response.php b/php/lib/Model/GetMealPlanTemplate200Response.php index f17a448c7..dcd8752ea 100644 --- a/php/lib/Model/GetMealPlanTemplate200Response.php +++ b/php/lib/Model/GetMealPlanTemplate200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanTemplate200ResponseDaysInner.php b/php/lib/Model/GetMealPlanTemplate200ResponseDaysInner.php index b5e90a1b0..79204b84a 100644 --- a/php/lib/Model/GetMealPlanTemplate200ResponseDaysInner.php +++ b/php/lib/Model/GetMealPlanTemplate200ResponseDaysInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.php b/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.php index 3b29f243a..781dcfb21 100644 --- a/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.php +++ b/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.php b/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.php index d9607e645..7ef348167 100644 --- a/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.php +++ b/php/lib/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanTemplates200Response.php b/php/lib/Model/GetMealPlanTemplates200Response.php index 8b57dcf10..5678def04 100644 --- a/php/lib/Model/GetMealPlanTemplates200Response.php +++ b/php/lib/Model/GetMealPlanTemplates200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanWeek200Response.php b/php/lib/Model/GetMealPlanWeek200Response.php index 9cc990d57..59f5b6229 100644 --- a/php/lib/Model/GetMealPlanWeek200Response.php +++ b/php/lib/Model/GetMealPlanWeek200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanWeek200ResponseDaysInner.php b/php/lib/Model/GetMealPlanWeek200ResponseDaysInner.php index f196f852c..637d09420 100644 --- a/php/lib/Model/GetMealPlanWeek200ResponseDaysInner.php +++ b/php/lib/Model/GetMealPlanWeek200ResponseDaysInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.php b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.php index 9d06000a4..2ebb6e747 100644 --- a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.php +++ b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.php b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.php index f99f77055..70347e7a3 100644 --- a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.php +++ b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.php b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.php index e11e9f4f1..0bf23415f 100644 --- a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.php +++ b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.php b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.php index 5f790d699..9178be6c9 100644 --- a/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.php +++ b/php/lib/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetMenuItemInformation200Response.php b/php/lib/Model/GetMenuItemInformation200Response.php index 2f02ab68c..e8e3ced72 100644 --- a/php/lib/Model/GetMenuItemInformation200Response.php +++ b/php/lib/Model/GetMenuItemInformation200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetProductInformation200Response.php b/php/lib/Model/GetProductInformation200Response.php index c0cc3d553..46d15230a 100644 --- a/php/lib/Model/GetProductInformation200Response.php +++ b/php/lib/Model/GetProductInformation200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetProductInformation200ResponseIngredientsInner.php b/php/lib/Model/GetProductInformation200ResponseIngredientsInner.php index ba87eca58..5eccaf555 100644 --- a/php/lib/Model/GetProductInformation200ResponseIngredientsInner.php +++ b/php/lib/Model/GetProductInformation200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRandomFoodTrivia200Response.php b/php/lib/Model/GetRandomFoodTrivia200Response.php index 1f23bd18f..11d441a2d 100644 --- a/php/lib/Model/GetRandomFoodTrivia200Response.php +++ b/php/lib/Model/GetRandomFoodTrivia200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRandomRecipes200Response.php b/php/lib/Model/GetRandomRecipes200Response.php index d582742bb..3474ed4e7 100644 --- a/php/lib/Model/GetRandomRecipes200Response.php +++ b/php/lib/Model/GetRandomRecipes200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRandomRecipes200ResponseRecipesInner.php b/php/lib/Model/GetRandomRecipes200ResponseRecipesInner.php index 07bf32e5f..99b85f519 100644 --- a/php/lib/Model/GetRandomRecipes200ResponseRecipesInner.php +++ b/php/lib/Model/GetRandomRecipes200ResponseRecipesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeEquipmentByID200Response.php b/php/lib/Model/GetRecipeEquipmentByID200Response.php index 323e27a64..483022fb9 100644 --- a/php/lib/Model/GetRecipeEquipmentByID200Response.php +++ b/php/lib/Model/GetRecipeEquipmentByID200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.php b/php/lib/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.php index b7e0de23a..c63fe3960 100644 --- a/php/lib/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.php +++ b/php/lib/Model/GetRecipeEquipmentByID200ResponseEquipmentInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformation200Response.php b/php/lib/Model/GetRecipeInformation200Response.php index 0364c92c5..d5999d7b0 100644 --- a/php/lib/Model/GetRecipeInformation200Response.php +++ b/php/lib/Model/GetRecipeInformation200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.php b/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.php index 980ff7697..21abfac25 100644 --- a/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.php +++ b/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.php b/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.php index 225e30227..20b934fbc 100644 --- a/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.php +++ b/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.php b/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.php index 165968138..86d98ad6b 100644 --- a/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.php +++ b/php/lib/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformation200ResponseWinePairing.php b/php/lib/Model/GetRecipeInformation200ResponseWinePairing.php index ac6c11aa1..93ba5f568 100644 --- a/php/lib/Model/GetRecipeInformation200ResponseWinePairing.php +++ b/php/lib/Model/GetRecipeInformation200ResponseWinePairing.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.php b/php/lib/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.php index 33e8bc00d..f424c4110 100644 --- a/php/lib/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.php +++ b/php/lib/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeInformationBulk200ResponseInner.php b/php/lib/Model/GetRecipeInformationBulk200ResponseInner.php index e0b28c2d1..1abb26b7b 100644 --- a/php/lib/Model/GetRecipeInformationBulk200ResponseInner.php +++ b/php/lib/Model/GetRecipeInformationBulk200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeIngredientsByID200Response.php b/php/lib/Model/GetRecipeIngredientsByID200Response.php index b946e0f9f..f1b96d011 100644 --- a/php/lib/Model/GetRecipeIngredientsByID200Response.php +++ b/php/lib/Model/GetRecipeIngredientsByID200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.php b/php/lib/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.php index 504953c47..572f7e531 100644 --- a/php/lib/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.php +++ b/php/lib/Model/GetRecipeIngredientsByID200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeNutritionWidgetByID200Response.php b/php/lib/Model/GetRecipeNutritionWidgetByID200Response.php index 77be16f62..967f8413a 100644 --- a/php/lib/Model/GetRecipeNutritionWidgetByID200Response.php +++ b/php/lib/Model/GetRecipeNutritionWidgetByID200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.php b/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.php index 6837f9ac7..c805c5780 100644 --- a/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.php +++ b/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseBadInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.php b/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.php index f54fb8e62..e613a8b70 100644 --- a/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.php +++ b/php/lib/Model/GetRecipeNutritionWidgetByID200ResponseGoodInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipePriceBreakdownByID200Response.php b/php/lib/Model/GetRecipePriceBreakdownByID200Response.php index 1b28be4f3..ff1e7dbf5 100644 --- a/php/lib/Model/GetRecipePriceBreakdownByID200Response.php +++ b/php/lib/Model/GetRecipePriceBreakdownByID200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.php b/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.php index bd2f64398..56c52fc04 100644 --- a/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.php +++ b/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.php b/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.php index fc3c4432c..1c4534648 100644 --- a/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.php +++ b/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.php b/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.php index 69db3bb3a..d26eb889c 100644 --- a/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.php +++ b/php/lib/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetRecipeTasteByID200Response.php b/php/lib/Model/GetRecipeTasteByID200Response.php index a5bce0816..33d3f6c44 100644 --- a/php/lib/Model/GetRecipeTasteByID200Response.php +++ b/php/lib/Model/GetRecipeTasteByID200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetShoppingList200Response.php b/php/lib/Model/GetShoppingList200Response.php index 3b34ef1da..bfcc69607 100644 --- a/php/lib/Model/GetShoppingList200Response.php +++ b/php/lib/Model/GetShoppingList200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetShoppingList200ResponseAislesInner.php b/php/lib/Model/GetShoppingList200ResponseAislesInner.php index 0d43e0672..6e6726909 100644 --- a/php/lib/Model/GetShoppingList200ResponseAislesInner.php +++ b/php/lib/Model/GetShoppingList200ResponseAislesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInner.php b/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInner.php index 537e6151e..6ed4601e9 100644 --- a/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInner.php +++ b/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.php b/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.php index 0ec88b067..05f335c6f 100644 --- a/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.php +++ b/php/lib/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetSimilarRecipes200ResponseInner.php b/php/lib/Model/GetSimilarRecipes200ResponseInner.php index d9d20d39c..a249e1d2d 100644 --- a/php/lib/Model/GetSimilarRecipes200ResponseInner.php +++ b/php/lib/Model/GetSimilarRecipes200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetWineDescription200Response.php b/php/lib/Model/GetWineDescription200Response.php index 11b228a99..4ab0595c8 100644 --- a/php/lib/Model/GetWineDescription200Response.php +++ b/php/lib/Model/GetWineDescription200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetWinePairing200Response.php b/php/lib/Model/GetWinePairing200Response.php index 94449bb97..7459be3cf 100644 --- a/php/lib/Model/GetWinePairing200Response.php +++ b/php/lib/Model/GetWinePairing200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetWinePairing200ResponseProductMatchesInner.php b/php/lib/Model/GetWinePairing200ResponseProductMatchesInner.php index e112ae8a8..a0d4df386 100644 --- a/php/lib/Model/GetWinePairing200ResponseProductMatchesInner.php +++ b/php/lib/Model/GetWinePairing200ResponseProductMatchesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetWineRecommendation200Response.php b/php/lib/Model/GetWineRecommendation200Response.php index 502ad6e14..c7459bde2 100644 --- a/php/lib/Model/GetWineRecommendation200Response.php +++ b/php/lib/Model/GetWineRecommendation200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GetWineRecommendation200ResponseRecommendedWinesInner.php b/php/lib/Model/GetWineRecommendation200ResponseRecommendedWinesInner.php index 96cf1a9b3..b763ec8d8 100644 --- a/php/lib/Model/GetWineRecommendation200ResponseRecommendedWinesInner.php +++ b/php/lib/Model/GetWineRecommendation200ResponseRecommendedWinesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GuessNutritionByDishName200Response.php b/php/lib/Model/GuessNutritionByDishName200Response.php index d14a65df2..7d2eb9998 100644 --- a/php/lib/Model/GuessNutritionByDishName200Response.php +++ b/php/lib/Model/GuessNutritionByDishName200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GuessNutritionByDishName200ResponseCalories.php b/php/lib/Model/GuessNutritionByDishName200ResponseCalories.php index a9dd1d347..b195a939c 100644 --- a/php/lib/Model/GuessNutritionByDishName200ResponseCalories.php +++ b/php/lib/Model/GuessNutritionByDishName200ResponseCalories.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.php b/php/lib/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.php index 2113a50b2..e264b786b 100644 --- a/php/lib/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.php +++ b/php/lib/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageAnalysisByURL200Response.php b/php/lib/Model/ImageAnalysisByURL200Response.php index e0c5c411c..92e446d7b 100644 --- a/php/lib/Model/ImageAnalysisByURL200Response.php +++ b/php/lib/Model/ImageAnalysisByURL200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageAnalysisByURL200ResponseCategory.php b/php/lib/Model/ImageAnalysisByURL200ResponseCategory.php index cb111cb99..80ace42ce 100644 --- a/php/lib/Model/ImageAnalysisByURL200ResponseCategory.php +++ b/php/lib/Model/ImageAnalysisByURL200ResponseCategory.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageAnalysisByURL200ResponseNutrition.php b/php/lib/Model/ImageAnalysisByURL200ResponseNutrition.php index 0dc750083..9f80f39f5 100644 --- a/php/lib/Model/ImageAnalysisByURL200ResponseNutrition.php +++ b/php/lib/Model/ImageAnalysisByURL200ResponseNutrition.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCalories.php b/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCalories.php index c87642e48..f1270dc3e 100644 --- a/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCalories.php +++ b/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCalories.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.php b/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.php index 48d6c19af..9d79e5581 100644 --- a/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.php +++ b/php/lib/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageAnalysisByURL200ResponseRecipesInner.php b/php/lib/Model/ImageAnalysisByURL200ResponseRecipesInner.php index 3c388a520..f50d1ebdd 100644 --- a/php/lib/Model/ImageAnalysisByURL200ResponseRecipesInner.php +++ b/php/lib/Model/ImageAnalysisByURL200ResponseRecipesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ImageClassificationByURL200Response.php b/php/lib/Model/ImageClassificationByURL200Response.php index 0d22afe1e..b80922337 100644 --- a/php/lib/Model/ImageClassificationByURL200Response.php +++ b/php/lib/Model/ImageClassificationByURL200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/IngredientSearch200Response.php b/php/lib/Model/IngredientSearch200Response.php index 04f4b9b7e..24dc4cf77 100644 --- a/php/lib/Model/IngredientSearch200Response.php +++ b/php/lib/Model/IngredientSearch200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/IngredientSearch200ResponseResultsInner.php b/php/lib/Model/IngredientSearch200ResponseResultsInner.php index dfa4f3241..ad9952b67 100644 --- a/php/lib/Model/IngredientSearch200ResponseResultsInner.php +++ b/php/lib/Model/IngredientSearch200ResponseResultsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInner.php b/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInner.php index 9bb3405a3..800e1f633 100644 --- a/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInner.php +++ b/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.php b/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.php index 14a3b01a4..ad807346f 100644 --- a/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.php +++ b/php/lib/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/MapIngredientsToGroceryProductsRequest.php b/php/lib/Model/MapIngredientsToGroceryProductsRequest.php index 4784a00e4..22127d3ba 100644 --- a/php/lib/Model/MapIngredientsToGroceryProductsRequest.php +++ b/php/lib/Model/MapIngredientsToGroceryProductsRequest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ModelInterface.php b/php/lib/Model/ModelInterface.php index c84a0ac7a..d5db5b727 100644 --- a/php/lib/Model/ModelInterface.php +++ b/php/lib/Model/ModelInterface.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInner.php b/php/lib/Model/ParseIngredients200ResponseInner.php index e4417bfdb..d2d481630 100644 --- a/php/lib/Model/ParseIngredients200ResponseInner.php +++ b/php/lib/Model/ParseIngredients200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInnerEstimatedCost.php b/php/lib/Model/ParseIngredients200ResponseInnerEstimatedCost.php index 6efd67d73..ca42aa52b 100644 --- a/php/lib/Model/ParseIngredients200ResponseInnerEstimatedCost.php +++ b/php/lib/Model/ParseIngredients200ResponseInnerEstimatedCost.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInnerNutrition.php b/php/lib/Model/ParseIngredients200ResponseInnerNutrition.php index 319ad03f0..95718b6e2 100644 --- a/php/lib/Model/ParseIngredients200ResponseInnerNutrition.php +++ b/php/lib/Model/ParseIngredients200ResponseInnerNutrition.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.php b/php/lib/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.php index 894cd9e47..6f870a500 100644 --- a/php/lib/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.php +++ b/php/lib/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.php b/php/lib/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.php index bdac4e932..bda3be63e 100644 --- a/php/lib/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.php +++ b/php/lib/Model/ParseIngredients200ResponseInnerNutritionNutrientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.php b/php/lib/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.php index 5b684aba0..b8d1e7930 100644 --- a/php/lib/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.php +++ b/php/lib/Model/ParseIngredients200ResponseInnerNutritionPropertiesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.php b/php/lib/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.php index b32a5ec1b..70f146114 100644 --- a/php/lib/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.php +++ b/php/lib/Model/ParseIngredients200ResponseInnerNutritionWeightPerServing.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/QuickAnswer200Response.php b/php/lib/Model/QuickAnswer200Response.php index 61a42cfc6..9d5139c08 100644 --- a/php/lib/Model/QuickAnswer200Response.php +++ b/php/lib/Model/QuickAnswer200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchAllFood200Response.php b/php/lib/Model/SearchAllFood200Response.php index 1f68b6bf1..433852b34 100644 --- a/php/lib/Model/SearchAllFood200Response.php +++ b/php/lib/Model/SearchAllFood200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchAllFood200ResponseSearchResultsInner.php b/php/lib/Model/SearchAllFood200ResponseSearchResultsInner.php index b28934e6c..ccb88229c 100644 --- a/php/lib/Model/SearchAllFood200ResponseSearchResultsInner.php +++ b/php/lib/Model/SearchAllFood200ResponseSearchResultsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.php b/php/lib/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.php index 0ea013350..13cbbe1d7 100644 --- a/php/lib/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.php +++ b/php/lib/Model/SearchAllFood200ResponseSearchResultsInnerResultsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchCustomFoods200Response.php b/php/lib/Model/SearchCustomFoods200Response.php index 0cd0cd789..a41423655 100644 --- a/php/lib/Model/SearchCustomFoods200Response.php +++ b/php/lib/Model/SearchCustomFoods200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchCustomFoods200ResponseCustomFoodsInner.php b/php/lib/Model/SearchCustomFoods200ResponseCustomFoodsInner.php index 2ccd59163..f154a7f38 100644 --- a/php/lib/Model/SearchCustomFoods200ResponseCustomFoodsInner.php +++ b/php/lib/Model/SearchCustomFoods200ResponseCustomFoodsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchFoodVideos200Response.php b/php/lib/Model/SearchFoodVideos200Response.php index 243a50af6..d6cb87ada 100644 --- a/php/lib/Model/SearchFoodVideos200Response.php +++ b/php/lib/Model/SearchFoodVideos200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchFoodVideos200ResponseVideosInner.php b/php/lib/Model/SearchFoodVideos200ResponseVideosInner.php index 00cdfeb2a..def2168a2 100644 --- a/php/lib/Model/SearchFoodVideos200ResponseVideosInner.php +++ b/php/lib/Model/SearchFoodVideos200ResponseVideosInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchGroceryProducts200Response.php b/php/lib/Model/SearchGroceryProducts200Response.php index 9f3c84ad7..ccf673cdb 100644 --- a/php/lib/Model/SearchGroceryProducts200Response.php +++ b/php/lib/Model/SearchGroceryProducts200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchGroceryProductsByUPC200Response.php b/php/lib/Model/SearchGroceryProductsByUPC200Response.php index 924f5887f..a310ad894 100644 --- a/php/lib/Model/SearchGroceryProductsByUPC200Response.php +++ b/php/lib/Model/SearchGroceryProductsByUPC200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.php b/php/lib/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.php index d8e5029cb..58b0f8f01 100644 --- a/php/lib/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.php +++ b/php/lib/Model/SearchGroceryProductsByUPC200ResponseIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchGroceryProductsByUPC200ResponseNutrition.php b/php/lib/Model/SearchGroceryProductsByUPC200ResponseNutrition.php index d7c04643e..e03961a58 100644 --- a/php/lib/Model/SearchGroceryProductsByUPC200ResponseNutrition.php +++ b/php/lib/Model/SearchGroceryProductsByUPC200ResponseNutrition.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchGroceryProductsByUPC200ResponseServings.php b/php/lib/Model/SearchGroceryProductsByUPC200ResponseServings.php index 265d8ca77..d24aca6a5 100644 --- a/php/lib/Model/SearchGroceryProductsByUPC200ResponseServings.php +++ b/php/lib/Model/SearchGroceryProductsByUPC200ResponseServings.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchMenuItems200Response.php b/php/lib/Model/SearchMenuItems200Response.php index fd792c9a7..d9db6561e 100644 --- a/php/lib/Model/SearchMenuItems200Response.php +++ b/php/lib/Model/SearchMenuItems200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchMenuItems200ResponseMenuItemsInner.php b/php/lib/Model/SearchMenuItems200ResponseMenuItemsInner.php index 872f18223..afe362ea0 100644 --- a/php/lib/Model/SearchMenuItems200ResponseMenuItemsInner.php +++ b/php/lib/Model/SearchMenuItems200ResponseMenuItemsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRecipes200Response.php b/php/lib/Model/SearchRecipes200Response.php index cf69d9fee..58bce8fb6 100644 --- a/php/lib/Model/SearchRecipes200Response.php +++ b/php/lib/Model/SearchRecipes200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRecipes200ResponseResultsInner.php b/php/lib/Model/SearchRecipes200ResponseResultsInner.php index fae7cef57..84a44c8f9 100644 --- a/php/lib/Model/SearchRecipes200ResponseResultsInner.php +++ b/php/lib/Model/SearchRecipes200ResponseResultsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRecipesByIngredients200ResponseInner.php b/php/lib/Model/SearchRecipesByIngredients200ResponseInner.php index 3eb886b7e..3edad9b47 100644 --- a/php/lib/Model/SearchRecipesByIngredients200ResponseInner.php +++ b/php/lib/Model/SearchRecipesByIngredients200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.php b/php/lib/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.php index 44d51f8a7..061d0dd72 100644 --- a/php/lib/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.php +++ b/php/lib/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRecipesByNutrients200ResponseInner.php b/php/lib/Model/SearchRecipesByNutrients200ResponseInner.php index a16edb561..5df0439a5 100644 --- a/php/lib/Model/SearchRecipesByNutrients200ResponseInner.php +++ b/php/lib/Model/SearchRecipesByNutrients200ResponseInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRestaurants200Response.php b/php/lib/Model/SearchRestaurants200Response.php index 7b210a61a..f9f9d0a24 100644 --- a/php/lib/Model/SearchRestaurants200Response.php +++ b/php/lib/Model/SearchRestaurants200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInner.php b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInner.php index 4de8d8651..3d9aee05b 100644 --- a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInner.php +++ b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.php b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.php index e666d26b0..c6ce55cb9 100644 --- a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.php +++ b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerAddress.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.php b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.php index 4d576e5fb..f77e52b6e 100644 --- a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.php +++ b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHours.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.php b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.php index d9e1f46eb..d5287e093 100644 --- a/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.php +++ b/php/lib/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchSiteContent200Response.php b/php/lib/Model/SearchSiteContent200Response.php index 6bfa9e5fb..c85bcd68e 100644 --- a/php/lib/Model/SearchSiteContent200Response.php +++ b/php/lib/Model/SearchSiteContent200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchSiteContent200ResponseArticlesInner.php b/php/lib/Model/SearchSiteContent200ResponseArticlesInner.php index 4a8bb4e37..aa6017739 100644 --- a/php/lib/Model/SearchSiteContent200ResponseArticlesInner.php +++ b/php/lib/Model/SearchSiteContent200ResponseArticlesInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.php b/php/lib/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.php index c4d12cf19..4853e817a 100644 --- a/php/lib/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.php +++ b/php/lib/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/SummarizeRecipe200Response.php b/php/lib/Model/SummarizeRecipe200Response.php index 9d7bd1bec..332ad6c96 100644 --- a/php/lib/Model/SummarizeRecipe200Response.php +++ b/php/lib/Model/SummarizeRecipe200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/TalkToChatbot200Response.php b/php/lib/Model/TalkToChatbot200Response.php index 9dcf6b80e..789769b4e 100644 --- a/php/lib/Model/TalkToChatbot200Response.php +++ b/php/lib/Model/TalkToChatbot200Response.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/Model/TalkToChatbot200ResponseMediaInner.php b/php/lib/Model/TalkToChatbot200ResponseMediaInner.php index 416abc6b2..2ec851ca7 100644 --- a/php/lib/Model/TalkToChatbot200ResponseMediaInner.php +++ b/php/lib/Model/TalkToChatbot200ResponseMediaInner.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** diff --git a/php/lib/ObjectSerializer.php b/php/lib/ObjectSerializer.php index a8adb2164..345c3f58e 100644 --- a/php/lib/ObjectSerializer.php +++ b/php/lib/ObjectSerializer.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -339,7 +339,7 @@ public static function toFormValue($value) * If it's a datetime object, format it in ISO8601 * If it's a boolean, convert it to "true" or "false". * - * @param string|bool|\DateTime $value the value of the parameter + * @param float|int|bool|\DateTime $value the value of the parameter * * @return string the header string */ @@ -397,7 +397,6 @@ public static function serializeCollection(array $collection, $style, $allowColl * @param mixed $data object or primitive to be deserialized * @param string $class class name is passed as a string * @param string[] $httpHeaders HTTP headers - * @param string $discriminator discriminator if polymorphism is used * * @return object|array|null a single or an array of $class instances */ @@ -547,22 +546,64 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** - * Native `http_build_query` wrapper. - * @see https://www.php.net/manual/en/function.http-build-query - * - * @param array|object $data May be an array or object containing properties. - * @param string $numeric_prefix If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only. - * @param string|null $arg_separator arg_separator.output is used to separate arguments but may be overridden by specifying this parameter. - * @param int $encoding_type Encoding type. By default, PHP_QUERY_RFC1738. - * - * @return string - */ - public static function buildQuery( - $data, - string $numeric_prefix = '', - ?string $arg_separator = null, - int $encoding_type = \PHP_QUERY_RFC3986 - ): string { - return \GuzzleHttp\Psr7\Query::build($data, $encoding_type); + * Build a query string from an array of key value pairs. + * + * This function can use the return value of `parse()` to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like `http_build_query()` would). + * + * The function is copied from https://github.com/guzzle/psr7/blob/a243f80a1ca7fe8ceed4deee17f12c1930efe662/src/Query.php#L59-L112 + * with a modification which is described in https://github.com/guzzle/psr7/pull/603 + * + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 + * to encode using RFC3986, or PHP_QUERY_RFC1738 + * to encode using RFC1738. + */ + public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986): string + { + if (!$params) { + return ''; + } + + if ($encoding === false) { + $encoder = function (string $str): string { + return $str; + }; + } elseif ($encoding === PHP_QUERY_RFC3986) { + $encoder = 'rawurlencode'; + } elseif ($encoding === PHP_QUERY_RFC1738) { + $encoder = 'urlencode'; + } else { + throw new \InvalidArgumentException('Invalid type'); + } + + $castBool = Configuration::BOOLEAN_FORMAT_INT == Configuration::getDefaultConfiguration()->getBooleanFormatForQueryString() + ? function ($v) { return (int) $v; } + : function ($v) { return $v ? 'true' : 'false'; }; + + $qs = ''; + foreach ($params as $k => $v) { + $k = $encoder((string) $k); + if (!is_array($v)) { + $qs .= $k; + $v = is_bool($v) ? $castBool($v) : $v; + if ($v !== null) { + $qs .= '='.$encoder((string) $v); + } + $qs .= '&'; + } else { + foreach ($v as $vv) { + $qs .= $k; + $vv = is_bool($vv) ? $castBool($vv) : $vv; + if ($vv !== null) { + $qs .= '='.$encoder((string) $vv); + } + $qs .= '&'; + } + } + } + + return $qs ? (string) substr($qs, 0, -1) : ''; } } diff --git a/php/test/Api/DefaultApiTest.php b/php/test/Api/DefaultApiTest.php index 94051d5b9..01bf63199 100644 --- a/php/test/Api/DefaultApiTest.php +++ b/php/test/Api/DefaultApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipe() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testAnalyzeRecipe() public function testCreateRecipeCardGet() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,6 +105,6 @@ public function testCreateRecipeCardGet() public function testSearchRestaurants() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/IngredientsApiTest.php b/php/test/Api/IngredientsApiTest.php index fd1eae031..f7258b186 100644 --- a/php/test/Api/IngredientsApiTest.php +++ b/php/test/Api/IngredientsApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteIngredientSearch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testAutocompleteIngredientSearch() public function testComputeIngredientAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testComputeIngredientAmount() public function testGetIngredientInformation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,7 +117,7 @@ public function testGetIngredientInformation() public function testGetIngredientSubstitutes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -129,7 +129,7 @@ public function testGetIngredientSubstitutes() public function testGetIngredientSubstitutesByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -141,7 +141,7 @@ public function testGetIngredientSubstitutesByID() public function testIngredientSearch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -153,7 +153,7 @@ public function testIngredientSearch() public function testIngredientsByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -165,7 +165,7 @@ public function testIngredientsByIDImage() public function testMapIngredientsToGroceryProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -177,6 +177,6 @@ public function testMapIngredientsToGroceryProducts() public function testVisualizeIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/MealPlanningApiTest.php b/php/test/Api/MealPlanningApiTest.php index e9575e51a..d45bbaaeb 100644 --- a/php/test/Api/MealPlanningApiTest.php +++ b/php/test/Api/MealPlanningApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testAddMealPlanTemplate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testAddMealPlanTemplate() public function testAddToMealPlan() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testAddToMealPlan() public function testAddToShoppingList() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,7 +117,7 @@ public function testAddToShoppingList() public function testClearMealPlanDay() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -129,7 +129,7 @@ public function testClearMealPlanDay() public function testConnectUser() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -141,7 +141,7 @@ public function testConnectUser() public function testDeleteFromMealPlan() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -153,7 +153,7 @@ public function testDeleteFromMealPlan() public function testDeleteFromShoppingList() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -165,7 +165,7 @@ public function testDeleteFromShoppingList() public function testDeleteMealPlanTemplate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -177,7 +177,7 @@ public function testDeleteMealPlanTemplate() public function testGenerateMealPlan() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -189,7 +189,7 @@ public function testGenerateMealPlan() public function testGenerateShoppingList() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -201,7 +201,7 @@ public function testGenerateShoppingList() public function testGetMealPlanTemplate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -213,7 +213,7 @@ public function testGetMealPlanTemplate() public function testGetMealPlanTemplates() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -225,7 +225,7 @@ public function testGetMealPlanTemplates() public function testGetMealPlanWeek() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -237,6 +237,6 @@ public function testGetMealPlanWeek() public function testGetShoppingList() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/MenuItemsApiTest.php b/php/test/Api/MenuItemsApiTest.php index 271a4c563..69b82aa36 100644 --- a/php/test/Api/MenuItemsApiTest.php +++ b/php/test/Api/MenuItemsApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteMenuItemSearch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testAutocompleteMenuItemSearch() public function testGetMenuItemInformation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testGetMenuItemInformation() public function testMenuItemNutritionByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,7 +117,7 @@ public function testMenuItemNutritionByIDImage() public function testMenuItemNutritionLabelImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -129,7 +129,7 @@ public function testMenuItemNutritionLabelImage() public function testMenuItemNutritionLabelWidget() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -141,7 +141,7 @@ public function testMenuItemNutritionLabelWidget() public function testSearchMenuItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -153,6 +153,6 @@ public function testSearchMenuItems() public function testVisualizeMenuItemNutritionByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/MiscApiTest.php b/php/test/Api/MiscApiTest.php index d97d74b97..90a8eca90 100644 --- a/php/test/Api/MiscApiTest.php +++ b/php/test/Api/MiscApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testDetectFoodInText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testDetectFoodInText() public function testGetARandomFoodJoke() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testGetARandomFoodJoke() public function testGetConversationSuggests() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,7 +117,7 @@ public function testGetConversationSuggests() public function testGetRandomFoodTrivia() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -129,7 +129,7 @@ public function testGetRandomFoodTrivia() public function testImageAnalysisByURL() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -141,7 +141,7 @@ public function testImageAnalysisByURL() public function testImageClassificationByURL() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -153,7 +153,7 @@ public function testImageClassificationByURL() public function testSearchAllFood() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -165,7 +165,7 @@ public function testSearchAllFood() public function testSearchCustomFoods() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -177,7 +177,7 @@ public function testSearchCustomFoods() public function testSearchFoodVideos() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -189,7 +189,7 @@ public function testSearchFoodVideos() public function testSearchSiteContent() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -201,6 +201,6 @@ public function testSearchSiteContent() public function testTalkToChatbot() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/ProductsApiTest.php b/php/test/Api/ProductsApiTest.php index e799d5d96..8f17d9b4a 100644 --- a/php/test/Api/ProductsApiTest.php +++ b/php/test/Api/ProductsApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteProductSearch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testAutocompleteProductSearch() public function testClassifyGroceryProduct() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testClassifyGroceryProduct() public function testClassifyGroceryProductBulk() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,7 +117,7 @@ public function testClassifyGroceryProductBulk() public function testGetComparableProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -129,7 +129,7 @@ public function testGetComparableProducts() public function testGetProductInformation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -141,7 +141,7 @@ public function testGetProductInformation() public function testProductNutritionByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -153,7 +153,7 @@ public function testProductNutritionByIDImage() public function testProductNutritionLabelImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -165,7 +165,7 @@ public function testProductNutritionLabelImage() public function testProductNutritionLabelWidget() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -177,7 +177,7 @@ public function testProductNutritionLabelWidget() public function testSearchGroceryProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -189,7 +189,7 @@ public function testSearchGroceryProducts() public function testSearchGroceryProductsByUPC() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -201,6 +201,6 @@ public function testSearchGroceryProductsByUPC() public function testVisualizeProductNutritionByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/RecipesApiTest.php b/php/test/Api/RecipesApiTest.php index d41b6d0bf..6268b4885 100644 --- a/php/test/Api/RecipesApiTest.php +++ b/php/test/Api/RecipesApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeARecipeSearchQuery() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testAnalyzeARecipeSearchQuery() public function testAnalyzeRecipeInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testAnalyzeRecipeInstructions() public function testAutocompleteRecipeSearch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,7 +117,7 @@ public function testAutocompleteRecipeSearch() public function testClassifyCuisine() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -129,7 +129,7 @@ public function testClassifyCuisine() public function testComputeGlycemicLoad() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -141,7 +141,7 @@ public function testComputeGlycemicLoad() public function testConvertAmounts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -153,7 +153,7 @@ public function testConvertAmounts() public function testCreateRecipeCard() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -165,7 +165,7 @@ public function testCreateRecipeCard() public function testEquipmentByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -177,7 +177,7 @@ public function testEquipmentByIDImage() public function testExtractRecipeFromWebsite() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -189,7 +189,7 @@ public function testExtractRecipeFromWebsite() public function testGetAnalyzedRecipeInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -201,7 +201,7 @@ public function testGetAnalyzedRecipeInstructions() public function testGetRandomRecipes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -213,7 +213,7 @@ public function testGetRandomRecipes() public function testGetRecipeEquipmentByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -225,7 +225,7 @@ public function testGetRecipeEquipmentByID() public function testGetRecipeInformation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -237,7 +237,7 @@ public function testGetRecipeInformation() public function testGetRecipeInformationBulk() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -249,7 +249,7 @@ public function testGetRecipeInformationBulk() public function testGetRecipeIngredientsByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -261,7 +261,7 @@ public function testGetRecipeIngredientsByID() public function testGetRecipeNutritionWidgetByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -273,7 +273,7 @@ public function testGetRecipeNutritionWidgetByID() public function testGetRecipePriceBreakdownByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -285,7 +285,7 @@ public function testGetRecipePriceBreakdownByID() public function testGetRecipeTasteByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -297,7 +297,7 @@ public function testGetRecipeTasteByID() public function testGetSimilarRecipes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -309,7 +309,7 @@ public function testGetSimilarRecipes() public function testGuessNutritionByDishName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -321,7 +321,7 @@ public function testGuessNutritionByDishName() public function testParseIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -333,7 +333,7 @@ public function testParseIngredients() public function testPriceBreakdownByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -345,7 +345,7 @@ public function testPriceBreakdownByIDImage() public function testQuickAnswer() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -357,7 +357,7 @@ public function testQuickAnswer() public function testRecipeNutritionByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -369,7 +369,7 @@ public function testRecipeNutritionByIDImage() public function testRecipeNutritionLabelImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -381,7 +381,7 @@ public function testRecipeNutritionLabelImage() public function testRecipeNutritionLabelWidget() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -393,7 +393,7 @@ public function testRecipeNutritionLabelWidget() public function testRecipeTasteByIDImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -405,7 +405,7 @@ public function testRecipeTasteByIDImage() public function testSearchRecipes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -417,7 +417,7 @@ public function testSearchRecipes() public function testSearchRecipesByIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -429,7 +429,7 @@ public function testSearchRecipesByIngredients() public function testSearchRecipesByNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -441,7 +441,7 @@ public function testSearchRecipesByNutrients() public function testSummarizeRecipe() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -453,7 +453,7 @@ public function testSummarizeRecipe() public function testVisualizeEquipment() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -465,7 +465,7 @@ public function testVisualizeEquipment() public function testVisualizePriceBreakdown() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -477,7 +477,7 @@ public function testVisualizePriceBreakdown() public function testVisualizeRecipeEquipmentByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -489,7 +489,7 @@ public function testVisualizeRecipeEquipmentByID() public function testVisualizeRecipeIngredientsByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -501,7 +501,7 @@ public function testVisualizeRecipeIngredientsByID() public function testVisualizeRecipeNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -513,7 +513,7 @@ public function testVisualizeRecipeNutrition() public function testVisualizeRecipeNutritionByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -525,7 +525,7 @@ public function testVisualizeRecipeNutritionByID() public function testVisualizeRecipePriceBreakdownByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -537,7 +537,7 @@ public function testVisualizeRecipePriceBreakdownByID() public function testVisualizeRecipeTaste() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -549,6 +549,6 @@ public function testVisualizeRecipeTaste() public function testVisualizeRecipeTasteByID() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Api/WineApiTest.php b/php/test/Api/WineApiTest.php index 42f2ae875..ee951a968 100644 --- a/php/test/Api/WineApiTest.php +++ b/php/test/Api/WineApiTest.php @@ -17,7 +17,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -81,7 +81,7 @@ public static function tearDownAfterClass(): void public function testGetDishPairingForWine() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -93,7 +93,7 @@ public function testGetDishPairingForWine() public function testGetWineDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -105,7 +105,7 @@ public function testGetWineDescription() public function testGetWinePairing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -117,6 +117,6 @@ public function testGetWinePairing() public function testGetWineRecommendation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerTest.php b/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerTest.php index a7882def7..86393b73f 100644 --- a/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerTest.php +++ b/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddMealPlanTemplate200ResponseItemsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAddMealPlanTemplate200ResponseItemsInner() public function testPropertyDay() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDay() public function testPropertySlot() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertySlot() public function testPropertyPosition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyPosition() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyType() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerValueTest.php b/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerValueTest.php index 35b13c0f0..cd59d0e63 100644 --- a/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerValueTest.php +++ b/php/test/Model/AddMealPlanTemplate200ResponseItemsInnerValueTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddMealPlanTemplate200ResponseItemsInnerValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAddMealPlanTemplate200ResponseItemsInnerValue() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyServings() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyTitle() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddMealPlanTemplate200ResponseTest.php b/php/test/Model/AddMealPlanTemplate200ResponseTest.php index 5cf650c3b..bf452d02e 100644 --- a/php/test/Model/AddMealPlanTemplate200ResponseTest.php +++ b/php/test/Model/AddMealPlanTemplate200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddMealPlanTemplate200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAddMealPlanTemplate200Response() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyItems() public function testPropertyPublishAsPublic() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddToMealPlanRequestTest.php b/php/test/Model/AddToMealPlanRequestTest.php index eeadbcf19..752da65ec 100644 --- a/php/test/Model/AddToMealPlanRequestTest.php +++ b/php/test/Model/AddToMealPlanRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddToMealPlanRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAddToMealPlanRequest() public function testPropertyDate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDate() public function testPropertySlot() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertySlot() public function testPropertyPosition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyPosition() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyType() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddToMealPlanRequestValueIngredientsInnerTest.php b/php/test/Model/AddToMealPlanRequestValueIngredientsInnerTest.php index f30aebed9..fd3ed81bc 100644 --- a/php/test/Model/AddToMealPlanRequestValueIngredientsInnerTest.php +++ b/php/test/Model/AddToMealPlanRequestValueIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddToMealPlanRequestValueIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testAddToMealPlanRequestValueIngredientsInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddToMealPlanRequestValueTest.php b/php/test/Model/AddToMealPlanRequestValueTest.php index f3f3a54cc..c5bfa7e76 100644 --- a/php/test/Model/AddToMealPlanRequestValueTest.php +++ b/php/test/Model/AddToMealPlanRequestValueTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddToMealPlanRequestValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testAddToMealPlanRequestValue() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AddToShoppingListRequestTest.php b/php/test/Model/AddToShoppingListRequestTest.php index 863e0f290..424b05573 100644 --- a/php/test/Model/AddToShoppingListRequestTest.php +++ b/php/test/Model/AddToShoppingListRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAddToShoppingListRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAddToShoppingListRequest() public function testPropertyItem() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyItem() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyAisle() public function testPropertyParse() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.php b/php/test/Model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.php index 9f5f10774..73fa3be59 100644 --- a/php/test/Model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.php +++ b/php/test/Model/AnalyzeARecipeSearchQuery200ResponseDishesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeARecipeSearchQuery200ResponseDishesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeARecipeSearchQuery200ResponseDishesInner() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyImage() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.php b/php/test/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.php index 4d82ae5c1..be9e36e22 100644 --- a/php/test/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.php +++ b/php/test/Model/AnalyzeARecipeSearchQuery200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeARecipeSearchQuery200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeARecipeSearchQuery200ResponseIngredientsInner() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyImage() public function testPropertyInclude() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyInclude() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeARecipeSearchQuery200ResponseTest.php b/php/test/Model/AnalyzeARecipeSearchQuery200ResponseTest.php index 3ecc7035d..ae493adcf 100644 --- a/php/test/Model/AnalyzeARecipeSearchQuery200ResponseTest.php +++ b/php/test/Model/AnalyzeARecipeSearchQuery200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeARecipeSearchQuery200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeARecipeSearchQuery200Response() public function testPropertyDishes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDishes() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyIngredients() public function testPropertyCuisines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyCuisines() public function testPropertyModifiers() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.php b/php/test/Model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.php index 486c2613f..3d39570e9 100644 --- a/php/test/Model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.php +++ b/php/test/Model/AnalyzeRecipeInstructions200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipeInstructions200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeRecipeInstructions200ResponseIngredientsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php b/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php index ae7cf01fa..39d4d782f 100644 --- a/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php +++ b/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerS public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyName() public function testPropertyLocalizedName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyLocalizedName() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php b/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php index 074c24cb1..c797cc6e0 100644 --- a/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php +++ b/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeRecipeInstructions200ResponseParsedInstructionsInnerS public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNumber() public function testPropertyStep() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyStep() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyIngredients() public function testPropertyEquipment() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.php b/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.php index f54cb32cf..62a5eca2b 100644 --- a/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.php +++ b/php/test/Model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipeInstructions200ResponseParsedInstructionsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeRecipeInstructions200ResponseParsedInstructionsInner( public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyName() public function testPropertySteps() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeRecipeInstructions200ResponseTest.php b/php/test/Model/AnalyzeRecipeInstructions200ResponseTest.php index a24acc434..13dda6c8d 100644 --- a/php/test/Model/AnalyzeRecipeInstructions200ResponseTest.php +++ b/php/test/Model/AnalyzeRecipeInstructions200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipeInstructions200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeRecipeInstructions200Response() public function testPropertyParsedInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyParsedInstructions() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyIngredients() public function testPropertyEquipment() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AnalyzeRecipeRequestTest.php b/php/test/Model/AnalyzeRecipeRequestTest.php index 01e42d929..e03c711ff 100644 --- a/php/test/Model/AnalyzeRecipeRequestTest.php +++ b/php/test/Model/AnalyzeRecipeRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAnalyzeRecipeRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAnalyzeRecipeRequest() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyTitle() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyServings() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyIngredients() public function testPropertyInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AutocompleteIngredientSearch200ResponseInnerTest.php b/php/test/Model/AutocompleteIngredientSearch200ResponseInnerTest.php index daf67b6a7..2a5a0b55d 100644 --- a/php/test/Model/AutocompleteIngredientSearch200ResponseInnerTest.php +++ b/php/test/Model/AutocompleteIngredientSearch200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteIngredientSearch200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAutocompleteIngredientSearch200ResponseInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyImage() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyId() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyAisle() public function testPropertyPossibleUnits() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AutocompleteMenuItemSearch200ResponseTest.php b/php/test/Model/AutocompleteMenuItemSearch200ResponseTest.php index 13d601ddf..9ea89591c 100644 --- a/php/test/Model/AutocompleteMenuItemSearch200ResponseTest.php +++ b/php/test/Model/AutocompleteMenuItemSearch200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteMenuItemSearch200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testAutocompleteMenuItemSearch200Response() public function testPropertyResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AutocompleteProductSearch200ResponseResultsInnerTest.php b/php/test/Model/AutocompleteProductSearch200ResponseResultsInnerTest.php index 3b24f8bd3..9080c3b7d 100644 --- a/php/test/Model/AutocompleteProductSearch200ResponseResultsInnerTest.php +++ b/php/test/Model/AutocompleteProductSearch200ResponseResultsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteProductSearch200ResponseResultsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAutocompleteProductSearch200ResponseResultsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AutocompleteProductSearch200ResponseTest.php b/php/test/Model/AutocompleteProductSearch200ResponseTest.php index cfaf71f8c..4ae43d058 100644 --- a/php/test/Model/AutocompleteProductSearch200ResponseTest.php +++ b/php/test/Model/AutocompleteProductSearch200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteProductSearch200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testAutocompleteProductSearch200Response() public function testPropertyResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/AutocompleteRecipeSearch200ResponseInnerTest.php b/php/test/Model/AutocompleteRecipeSearch200ResponseInnerTest.php index 02864b177..bba3523d0 100644 --- a/php/test/Model/AutocompleteRecipeSearch200ResponseInnerTest.php +++ b/php/test/Model/AutocompleteRecipeSearch200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testAutocompleteRecipeSearch200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testAutocompleteRecipeSearch200ResponseInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyTitle() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ClassifyCuisine200ResponseTest.php b/php/test/Model/ClassifyCuisine200ResponseTest.php index 635b094a6..b90efbe71 100644 --- a/php/test/Model/ClassifyCuisine200ResponseTest.php +++ b/php/test/Model/ClassifyCuisine200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testClassifyCuisine200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testClassifyCuisine200Response() public function testPropertyCuisine() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCuisine() public function testPropertyCuisines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyCuisines() public function testPropertyConfidence() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ClassifyGroceryProduct200ResponseTest.php b/php/test/Model/ClassifyGroceryProduct200ResponseTest.php index 4dd4124f3..4575c63c2 100644 --- a/php/test/Model/ClassifyGroceryProduct200ResponseTest.php +++ b/php/test/Model/ClassifyGroceryProduct200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testClassifyGroceryProduct200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testClassifyGroceryProduct200Response() public function testPropertyCleanTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCleanTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyImage() public function testPropertyCategory() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyCategory() public function testPropertyBreadcrumbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyBreadcrumbs() public function testPropertyUsdaCode() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ClassifyGroceryProductBulk200ResponseInnerTest.php b/php/test/Model/ClassifyGroceryProductBulk200ResponseInnerTest.php index 904743a3c..bea0c8642 100644 --- a/php/test/Model/ClassifyGroceryProductBulk200ResponseInnerTest.php +++ b/php/test/Model/ClassifyGroceryProductBulk200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testClassifyGroceryProductBulk200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testClassifyGroceryProductBulk200ResponseInner() public function testPropertyCleanTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCleanTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyImage() public function testPropertyCategory() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyCategory() public function testPropertyBreadcrumbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyBreadcrumbs() public function testPropertyUsdaCode() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ClassifyGroceryProductBulkRequestInnerTest.php b/php/test/Model/ClassifyGroceryProductBulkRequestInnerTest.php index ff98d1d4f..ae7f0a00e 100644 --- a/php/test/Model/ClassifyGroceryProductBulkRequestInnerTest.php +++ b/php/test/Model/ClassifyGroceryProductBulkRequestInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testClassifyGroceryProductBulkRequestInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testClassifyGroceryProductBulkRequestInner() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyTitle() public function testPropertyUpc() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyUpc() public function testPropertyPluCode() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ClassifyGroceryProductRequestTest.php b/php/test/Model/ClassifyGroceryProductRequestTest.php index 6a31108e6..074d0dd3a 100644 --- a/php/test/Model/ClassifyGroceryProductRequestTest.php +++ b/php/test/Model/ClassifyGroceryProductRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testClassifyGroceryProductRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testClassifyGroceryProductRequest() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyTitle() public function testPropertyUpc() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyUpc() public function testPropertyPluCode() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.php b/php/test/Model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.php index 0738f1faa..142621510 100644 --- a/php/test/Model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.php +++ b/php/test/Model/ComputeGlycemicLoad200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testComputeGlycemicLoad200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testComputeGlycemicLoad200ResponseIngredientsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyOriginal() public function testPropertyGlycemicIndex() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyGlycemicIndex() public function testPropertyGlycemicLoad() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ComputeGlycemicLoad200ResponseTest.php b/php/test/Model/ComputeGlycemicLoad200ResponseTest.php index 609f94a08..37fbe92bf 100644 --- a/php/test/Model/ComputeGlycemicLoad200ResponseTest.php +++ b/php/test/Model/ComputeGlycemicLoad200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testComputeGlycemicLoad200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testComputeGlycemicLoad200Response() public function testPropertyTotalGlycemicLoad() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyTotalGlycemicLoad() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ComputeGlycemicLoadRequestTest.php b/php/test/Model/ComputeGlycemicLoadRequestTest.php index 481285961..1de233eed 100644 --- a/php/test/Model/ComputeGlycemicLoadRequestTest.php +++ b/php/test/Model/ComputeGlycemicLoadRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testComputeGlycemicLoadRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testComputeGlycemicLoadRequest() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ComputeIngredientAmount200ResponseTest.php b/php/test/Model/ComputeIngredientAmount200ResponseTest.php index d97f2ab3a..fcf3694e9 100644 --- a/php/test/Model/ComputeIngredientAmount200ResponseTest.php +++ b/php/test/Model/ComputeIngredientAmount200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testComputeIngredientAmount200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testComputeIngredientAmount200Response() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ConnectUser200ResponseTest.php b/php/test/Model/ConnectUser200ResponseTest.php index 8d00a7754..c01f0e99b 100644 --- a/php/test/Model/ConnectUser200ResponseTest.php +++ b/php/test/Model/ConnectUser200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testConnectUser200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testConnectUser200Response() public function testPropertyUsername() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyUsername() public function testPropertyHash() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ConnectUserRequestTest.php b/php/test/Model/ConnectUserRequestTest.php index 1d33c9942..2327a2cb9 100644 --- a/php/test/Model/ConnectUserRequestTest.php +++ b/php/test/Model/ConnectUserRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testConnectUserRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testConnectUserRequest() public function testPropertyUsername() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyUsername() public function testPropertyFirstName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyFirstName() public function testPropertyLastName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyLastName() public function testPropertyEmail() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ConvertAmounts200ResponseTest.php b/php/test/Model/ConvertAmounts200ResponseTest.php index 978269c73..b37f77437 100644 --- a/php/test/Model/ConvertAmounts200ResponseTest.php +++ b/php/test/Model/ConvertAmounts200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testConvertAmounts200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testConvertAmounts200Response() public function testPropertySourceAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertySourceAmount() public function testPropertySourceUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertySourceUnit() public function testPropertyTargetAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyTargetAmount() public function testPropertyTargetUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyTargetUnit() public function testPropertyAnswer() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/CreateRecipeCard200ResponseTest.php b/php/test/Model/CreateRecipeCard200ResponseTest.php index fa4fbb90c..791ff9b49 100644 --- a/php/test/Model/CreateRecipeCard200ResponseTest.php +++ b/php/test/Model/CreateRecipeCard200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testCreateRecipeCard200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testCreateRecipeCard200Response() public function testPropertyUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/DetectFoodInText200ResponseAnnotationsInnerTest.php b/php/test/Model/DetectFoodInText200ResponseAnnotationsInnerTest.php index 693c4baf5..11a5cafef 100644 --- a/php/test/Model/DetectFoodInText200ResponseAnnotationsInnerTest.php +++ b/php/test/Model/DetectFoodInText200ResponseAnnotationsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testDetectFoodInText200ResponseAnnotationsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testDetectFoodInText200ResponseAnnotationsInner() public function testPropertyAnnotation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAnnotation() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyImage() public function testPropertyTag() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/DetectFoodInText200ResponseTest.php b/php/test/Model/DetectFoodInText200ResponseTest.php index 5e99d81a5..4fe15efc1 100644 --- a/php/test/Model/DetectFoodInText200ResponseTest.php +++ b/php/test/Model/DetectFoodInText200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testDetectFoodInText200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testDetectFoodInText200Response() public function testPropertyAnnotations() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GenerateMealPlan200ResponseNutrientsTest.php b/php/test/Model/GenerateMealPlan200ResponseNutrientsTest.php index 5330760ee..667fad634 100644 --- a/php/test/Model/GenerateMealPlan200ResponseNutrientsTest.php +++ b/php/test/Model/GenerateMealPlan200ResponseNutrientsTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGenerateMealPlan200ResponseNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGenerateMealPlan200ResponseNutrients() public function testPropertyCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCalories() public function testPropertyCarbohydrates() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCarbohydrates() public function testPropertyFat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyFat() public function testPropertyProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GenerateMealPlan200ResponseTest.php b/php/test/Model/GenerateMealPlan200ResponseTest.php index ed2a68494..f447b2ecb 100644 --- a/php/test/Model/GenerateMealPlan200ResponseTest.php +++ b/php/test/Model/GenerateMealPlan200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGenerateMealPlan200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGenerateMealPlan200Response() public function testPropertyMeals() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyMeals() public function testPropertyNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GenerateShoppingList200ResponseTest.php b/php/test/Model/GenerateShoppingList200ResponseTest.php index 4128ac547..6b92bbbb3 100644 --- a/php/test/Model/GenerateShoppingList200ResponseTest.php +++ b/php/test/Model/GenerateShoppingList200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGenerateShoppingList200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGenerateShoppingList200Response() public function testPropertyAisles() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAisles() public function testPropertyCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCost() public function testPropertyStartDate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyStartDate() public function testPropertyEndDate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetARandomFoodJoke200ResponseTest.php b/php/test/Model/GetARandomFoodJoke200ResponseTest.php index 447ddc63f..bc0fd340c 100644 --- a/php/test/Model/GetARandomFoodJoke200ResponseTest.php +++ b/php/test/Model/GetARandomFoodJoke200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetARandomFoodJoke200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetARandomFoodJoke200Response() public function testPropertyText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.php b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.php index 869aa8a83..b3a224a92 100644 --- a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.php +++ b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetAnalyzedRecipeInstructions200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetAnalyzedRecipeInstructions200ResponseIngredientsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php index 4f8df3749..3d970ef0c 100644 --- a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php +++ b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetAnalyzedRecipeInstructions200ResponseParsedInstructionsIn public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyName() public function testPropertyLocalizedName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyLocalizedName() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php index 8953f8256..dc88af832 100644 --- a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php +++ b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetAnalyzedRecipeInstructions200ResponseParsedInstructionsIn public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNumber() public function testPropertyStep() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyStep() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyIngredients() public function testPropertyEquipment() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.php b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.php index 0383182a3..16854b80b 100644 --- a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.php +++ b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetAnalyzedRecipeInstructions200ResponseParsedInstructionsIn public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyName() public function testPropertySteps() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseTest.php b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseTest.php index 9fc15a4cd..1f17d3150 100644 --- a/php/test/Model/GetAnalyzedRecipeInstructions200ResponseTest.php +++ b/php/test/Model/GetAnalyzedRecipeInstructions200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetAnalyzedRecipeInstructions200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetAnalyzedRecipeInstructions200Response() public function testPropertyParsedInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyParsedInstructions() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyIngredients() public function testPropertyEquipment() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.php b/php/test/Model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.php index 119676034..fac7ac975 100644 --- a/php/test/Model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.php +++ b/php/test/Model/GetComparableProducts200ResponseComparableProductsProteinInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetComparableProducts200ResponseComparableProductsProteinInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetComparableProducts200ResponseComparableProductsProteinInn public function testPropertyDifference() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDifference() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyId() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyImage() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetComparableProducts200ResponseComparableProductsTest.php b/php/test/Model/GetComparableProducts200ResponseComparableProductsTest.php index ca2d620a6..2b8ec764b 100644 --- a/php/test/Model/GetComparableProducts200ResponseComparableProductsTest.php +++ b/php/test/Model/GetComparableProducts200ResponseComparableProductsTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetComparableProducts200ResponseComparableProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetComparableProducts200ResponseComparableProducts() public function testPropertyCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCalories() public function testPropertyLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyLikes() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyPrice() public function testPropertyProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyProtein() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,6 +131,6 @@ public function testPropertySpoonacularScore() public function testPropertySugar() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetComparableProducts200ResponseTest.php b/php/test/Model/GetComparableProducts200ResponseTest.php index d306d1d93..731196e6d 100644 --- a/php/test/Model/GetComparableProducts200ResponseTest.php +++ b/php/test/Model/GetComparableProducts200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetComparableProducts200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetComparableProducts200Response() public function testPropertyComparableProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetConversationSuggests200ResponseSuggestsInnerTest.php b/php/test/Model/GetConversationSuggests200ResponseSuggestsInnerTest.php index 8333e34fa..2db01bd2d 100644 --- a/php/test/Model/GetConversationSuggests200ResponseSuggestsInnerTest.php +++ b/php/test/Model/GetConversationSuggests200ResponseSuggestsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetConversationSuggests200ResponseSuggestsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetConversationSuggests200ResponseSuggestsInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetConversationSuggests200ResponseSuggestsTest.php b/php/test/Model/GetConversationSuggests200ResponseSuggestsTest.php index fdbe4d43c..9e99f8302 100644 --- a/php/test/Model/GetConversationSuggests200ResponseSuggestsTest.php +++ b/php/test/Model/GetConversationSuggests200ResponseSuggestsTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetConversationSuggests200ResponseSuggests() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetConversationSuggests200ResponseSuggests() public function testProperty() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetConversationSuggests200ResponseTest.php b/php/test/Model/GetConversationSuggests200ResponseTest.php index 35578a9b9..e80d2ba3a 100644 --- a/php/test/Model/GetConversationSuggests200ResponseTest.php +++ b/php/test/Model/GetConversationSuggests200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetConversationSuggests200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetConversationSuggests200Response() public function testPropertySuggests() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertySuggests() public function testPropertyWords() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetDishPairingForWine200ResponseTest.php b/php/test/Model/GetDishPairingForWine200ResponseTest.php index 34485c563..b73396923 100644 --- a/php/test/Model/GetDishPairingForWine200ResponseTest.php +++ b/php/test/Model/GetDishPairingForWine200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetDishPairingForWine200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetDishPairingForWine200Response() public function testPropertyPairings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyPairings() public function testPropertyText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetIngredientInformation200ResponseNutritionTest.php b/php/test/Model/GetIngredientInformation200ResponseNutritionTest.php index 7f4c43b72..999670332 100644 --- a/php/test/Model/GetIngredientInformation200ResponseNutritionTest.php +++ b/php/test/Model/GetIngredientInformation200ResponseNutritionTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetIngredientInformation200ResponseNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetIngredientInformation200ResponseNutrition() public function testPropertyNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNutrients() public function testPropertyProperties() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyProperties() public function testPropertyCaloricBreakdown() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyCaloricBreakdown() public function testPropertyWeightPerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetIngredientInformation200ResponseTest.php b/php/test/Model/GetIngredientInformation200ResponseTest.php index 4ea16c7c9..2d968bd71 100644 --- a/php/test/Model/GetIngredientInformation200ResponseTest.php +++ b/php/test/Model/GetIngredientInformation200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetIngredientInformation200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetIngredientInformation200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyOriginal() public function testPropertyOriginalName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyOriginalName() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyName() public function testPropertyNameClean() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyNameClean() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyUnit() public function testPropertyUnitShort() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyUnitShort() public function testPropertyUnitLong() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyUnitLong() public function testPropertyPossibleUnits() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyPossibleUnits() public function testPropertyEstimatedCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyEstimatedCost() public function testPropertyConsistency() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyConsistency() public function testPropertyShoppingListUnits() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertyShoppingListUnits() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyAisle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,7 +221,7 @@ public function testPropertyImage() public function testPropertyMeta() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -230,7 +230,7 @@ public function testPropertyMeta() public function testPropertyNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -239,6 +239,6 @@ public function testPropertyNutrition() public function testPropertyCategoryPath() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetIngredientSubstitutes200ResponseTest.php b/php/test/Model/GetIngredientSubstitutes200ResponseTest.php index d1b9f2815..bb635c7ed 100644 --- a/php/test/Model/GetIngredientSubstitutes200ResponseTest.php +++ b/php/test/Model/GetIngredientSubstitutes200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetIngredientSubstitutes200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetIngredientSubstitutes200Response() public function testPropertyIngredient() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyIngredient() public function testPropertySubstitutes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertySubstitutes() public function testPropertyMessage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.php b/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.php index c325f83f4..50142853f 100644 --- a/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.php +++ b/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanTemplate200ResponseDaysInnerItemsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanTemplate200ResponseDaysInnerItemsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertySlot() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertySlot() public function testPropertyPosition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyPosition() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyType() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.php b/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.php index acfd0cc39..be80e92c3 100644 --- a/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.php +++ b/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValueTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanTemplate200ResponseDaysInnerItemsInnerValue() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyTitle() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerTest.php b/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerTest.php index 0be329953..c535931a6 100644 --- a/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerTest.php +++ b/php/test/Model/GetMealPlanTemplate200ResponseDaysInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanTemplate200ResponseDaysInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanTemplate200ResponseDaysInner() public function testPropertyNutritionSummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNutritionSummary() public function testPropertyNutritionSummaryBreakfast() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyNutritionSummaryBreakfast() public function testPropertyNutritionSummaryLunch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyNutritionSummaryLunch() public function testPropertyNutritionSummaryDinner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyNutritionSummaryDinner() public function testPropertyDay() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,6 +131,6 @@ public function testPropertyDay() public function testPropertyItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanTemplate200ResponseTest.php b/php/test/Model/GetMealPlanTemplate200ResponseTest.php index 544134d29..20995ea61 100644 --- a/php/test/Model/GetMealPlanTemplate200ResponseTest.php +++ b/php/test/Model/GetMealPlanTemplate200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanTemplate200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanTemplate200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyName() public function testPropertyDays() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanTemplates200ResponseTest.php b/php/test/Model/GetMealPlanTemplates200ResponseTest.php index 516045b7a..2f798f075 100644 --- a/php/test/Model/GetMealPlanTemplates200ResponseTest.php +++ b/php/test/Model/GetMealPlanTemplates200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanTemplates200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetMealPlanTemplates200Response() public function testPropertyTemplates() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.php b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.php index f8252d625..068b98dbf 100644 --- a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.php +++ b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanWeek200ResponseDaysInnerItemsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanWeek200ResponseDaysInnerItemsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertySlot() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertySlot() public function testPropertyPosition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyPosition() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyType() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.php b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.php index e78a32c22..fad61840a 100644 --- a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.php +++ b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerItemsInnerValueTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanWeek200ResponseDaysInnerItemsInnerValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanWeek200ResponseDaysInnerItemsInnerValue() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyServings() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyTitle() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.php b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.php index 62384828a..0937c0903 100644 --- a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.php +++ b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrients public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyUnit() public function testPropertyPercentDailyNeeds() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.php b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.php index aba0607ee..e7b8b58d0 100644 --- a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.php +++ b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanWeek200ResponseDaysInnerNutritionSummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetMealPlanWeek200ResponseDaysInnerNutritionSummary() public function testPropertyNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerTest.php b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerTest.php index 5bd397015..95f3d62be 100644 --- a/php/test/Model/GetMealPlanWeek200ResponseDaysInnerTest.php +++ b/php/test/Model/GetMealPlanWeek200ResponseDaysInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanWeek200ResponseDaysInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMealPlanWeek200ResponseDaysInner() public function testPropertyNutritionSummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNutritionSummary() public function testPropertyNutritionSummaryBreakfast() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyNutritionSummaryBreakfast() public function testPropertyNutritionSummaryLunch() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyNutritionSummaryLunch() public function testPropertyNutritionSummaryDinner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyNutritionSummaryDinner() public function testPropertyDate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyDate() public function testPropertyDay() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,6 +140,6 @@ public function testPropertyDay() public function testPropertyItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMealPlanWeek200ResponseTest.php b/php/test/Model/GetMealPlanWeek200ResponseTest.php index bbb63dab1..50e5c2654 100644 --- a/php/test/Model/GetMealPlanWeek200ResponseTest.php +++ b/php/test/Model/GetMealPlanWeek200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMealPlanWeek200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetMealPlanWeek200Response() public function testPropertyDays() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetMenuItemInformation200ResponseTest.php b/php/test/Model/GetMenuItemInformation200ResponseTest.php index 3c645ee9b..9f580dc73 100644 --- a/php/test/Model/GetMenuItemInformation200ResponseTest.php +++ b/php/test/Model/GetMenuItemInformation200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetMenuItemInformation200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetMenuItemInformation200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyRestaurantChain() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyRestaurantChain() public function testPropertyNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyNutrition() public function testPropertyBadges() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyBadges() public function testPropertyBreadcrumbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyBreadcrumbs() public function testPropertyGeneratedText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyGeneratedText() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyImageType() public function testPropertyLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyLikes() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyServings() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,6 +185,6 @@ public function testPropertyPrice() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetProductInformation200ResponseIngredientsInnerTest.php b/php/test/Model/GetProductInformation200ResponseIngredientsInnerTest.php index be300ef5d..2b71261e4 100644 --- a/php/test/Model/GetProductInformation200ResponseIngredientsInnerTest.php +++ b/php/test/Model/GetProductInformation200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetProductInformation200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetProductInformation200ResponseIngredientsInner() public function testPropertyDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDescription() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyName() public function testPropertySafetyLevel() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetProductInformation200ResponseTest.php b/php/test/Model/GetProductInformation200ResponseTest.php index 7458eb178..148a52758 100644 --- a/php/test/Model/GetProductInformation200ResponseTest.php +++ b/php/test/Model/GetProductInformation200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetProductInformation200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetProductInformation200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyBreadcrumbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyBreadcrumbs() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImageType() public function testPropertyBadges() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyBadges() public function testPropertyImportantBadges() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyImportantBadges() public function testPropertyIngredientCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyIngredientCount() public function testPropertyGeneratedText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyGeneratedText() public function testPropertyIngredientList() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyIngredientList() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyIngredients() public function testPropertyLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyLikes() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyAisle() public function testPropertyNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertyNutrition() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyPrice() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,6 +221,6 @@ public function testPropertyServings() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRandomFoodTrivia200ResponseTest.php b/php/test/Model/GetRandomFoodTrivia200ResponseTest.php index 41df2598b..a5a37546d 100644 --- a/php/test/Model/GetRandomFoodTrivia200ResponseTest.php +++ b/php/test/Model/GetRandomFoodTrivia200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRandomFoodTrivia200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetRandomFoodTrivia200Response() public function testPropertyText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRandomRecipes200ResponseRecipesInnerTest.php b/php/test/Model/GetRandomRecipes200ResponseRecipesInnerTest.php index dcf90fe29..a137c76f0 100644 --- a/php/test/Model/GetRandomRecipes200ResponseRecipesInnerTest.php +++ b/php/test/Model/GetRandomRecipes200ResponseRecipesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRandomRecipes200ResponseRecipesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRandomRecipes200ResponseRecipesInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImageType() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyServings() public function testPropertyReadyInMinutes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyReadyInMinutes() public function testPropertyLicense() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyLicense() public function testPropertySourceName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertySourceName() public function testPropertySourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertySourceUrl() public function testPropertySpoonacularSourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertySpoonacularSourceUrl() public function testPropertyAggregateLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyAggregateLikes() public function testPropertyHealthScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyHealthScore() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertySpoonacularScore() public function testPropertyPricePerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyPricePerServing() public function testPropertyAnalyzedInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,7 +221,7 @@ public function testPropertyAnalyzedInstructions() public function testPropertyCheap() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -230,7 +230,7 @@ public function testPropertyCheap() public function testPropertyCreditsText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -239,7 +239,7 @@ public function testPropertyCreditsText() public function testPropertyCuisines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -248,7 +248,7 @@ public function testPropertyCuisines() public function testPropertyDairyFree() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -257,7 +257,7 @@ public function testPropertyDairyFree() public function testPropertyDiets() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -266,7 +266,7 @@ public function testPropertyDiets() public function testPropertyGaps() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -275,7 +275,7 @@ public function testPropertyGaps() public function testPropertyGlutenFree() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -284,7 +284,7 @@ public function testPropertyGlutenFree() public function testPropertyInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -293,7 +293,7 @@ public function testPropertyInstructions() public function testPropertyKetogenic() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -302,7 +302,7 @@ public function testPropertyKetogenic() public function testPropertyLowFodmap() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -311,7 +311,7 @@ public function testPropertyLowFodmap() public function testPropertyOccasions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -320,7 +320,7 @@ public function testPropertyOccasions() public function testPropertySustainable() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -329,7 +329,7 @@ public function testPropertySustainable() public function testPropertyVegan() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -338,7 +338,7 @@ public function testPropertyVegan() public function testPropertyVegetarian() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -347,7 +347,7 @@ public function testPropertyVegetarian() public function testPropertyVeryHealthy() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -356,7 +356,7 @@ public function testPropertyVeryHealthy() public function testPropertyVeryPopular() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -365,7 +365,7 @@ public function testPropertyVeryPopular() public function testPropertyWhole30() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -374,7 +374,7 @@ public function testPropertyWhole30() public function testPropertyWeightWatcherSmartPoints() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -383,7 +383,7 @@ public function testPropertyWeightWatcherSmartPoints() public function testPropertyDishTypes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -392,7 +392,7 @@ public function testPropertyDishTypes() public function testPropertyExtendedIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -401,7 +401,7 @@ public function testPropertyExtendedIngredients() public function testPropertySummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -410,6 +410,6 @@ public function testPropertySummary() public function testPropertyWinePairing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRandomRecipes200ResponseTest.php b/php/test/Model/GetRandomRecipes200ResponseTest.php index 2d498a592..20609b782 100644 --- a/php/test/Model/GetRandomRecipes200ResponseTest.php +++ b/php/test/Model/GetRandomRecipes200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRandomRecipes200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetRandomRecipes200Response() public function testPropertyRecipes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.php b/php/test/Model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.php index 4c256dae8..1db428ec2 100644 --- a/php/test/Model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.php +++ b/php/test/Model/GetRecipeEquipmentByID200ResponseEquipmentInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeEquipmentByID200ResponseEquipmentInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeEquipmentByID200ResponseEquipmentInner() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyImage() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeEquipmentByID200ResponseTest.php b/php/test/Model/GetRecipeEquipmentByID200ResponseTest.php index 4d8ee6cb4..f7b8c5dae 100644 --- a/php/test/Model/GetRecipeEquipmentByID200ResponseTest.php +++ b/php/test/Model/GetRecipeEquipmentByID200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeEquipmentByID200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetRecipeEquipmentByID200Response() public function testPropertyEquipment() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.php b/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.php index 92f2862b6..90ccd5c21 100644 --- a/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.php +++ b/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetricTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformation200ResponseExtendedIngredientsInnerMeasu public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAmount() public function testPropertyUnitLong() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyUnitLong() public function testPropertyUnitShort() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.php b/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.php index 9f280d724..63969fbe0 100644 --- a/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.php +++ b/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformation200ResponseExtendedIngredientsInnerMeasures() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformation200ResponseExtendedIngredientsInnerMeasu public function testPropertyMetric() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyMetric() public function testPropertyUs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.php b/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.php index a5dc40d5b..8a676a772 100644 --- a/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.php +++ b/php/test/Model/GetRecipeInformation200ResponseExtendedIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformation200ResponseExtendedIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformation200ResponseExtendedIngredientsInner() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAisle() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyAmount() public function testPropertyConsitency() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyConsitency() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyId() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyImage() public function testPropertyMeasures() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyMeasures() public function testPropertyMeta() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyMeta() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyName() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyOriginal() public function testPropertyOriginalName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,6 +176,6 @@ public function testPropertyOriginalName() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformation200ResponseTest.php b/php/test/Model/GetRecipeInformation200ResponseTest.php index bab1cd500..15ab79f80 100644 --- a/php/test/Model/GetRecipeInformation200ResponseTest.php +++ b/php/test/Model/GetRecipeInformation200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformation200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformation200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImageType() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyServings() public function testPropertyReadyInMinutes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyReadyInMinutes() public function testPropertyLicense() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyLicense() public function testPropertySourceName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertySourceName() public function testPropertySourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertySourceUrl() public function testPropertySpoonacularSourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertySpoonacularSourceUrl() public function testPropertyAggregateLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyAggregateLikes() public function testPropertyHealthScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyHealthScore() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertySpoonacularScore() public function testPropertyPricePerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyPricePerServing() public function testPropertyAnalyzedInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,7 +221,7 @@ public function testPropertyAnalyzedInstructions() public function testPropertyCheap() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -230,7 +230,7 @@ public function testPropertyCheap() public function testPropertyCreditsText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -239,7 +239,7 @@ public function testPropertyCreditsText() public function testPropertyCuisines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -248,7 +248,7 @@ public function testPropertyCuisines() public function testPropertyDairyFree() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -257,7 +257,7 @@ public function testPropertyDairyFree() public function testPropertyDiets() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -266,7 +266,7 @@ public function testPropertyDiets() public function testPropertyGaps() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -275,7 +275,7 @@ public function testPropertyGaps() public function testPropertyGlutenFree() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -284,7 +284,7 @@ public function testPropertyGlutenFree() public function testPropertyInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -293,7 +293,7 @@ public function testPropertyInstructions() public function testPropertyKetogenic() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -302,7 +302,7 @@ public function testPropertyKetogenic() public function testPropertyLowFodmap() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -311,7 +311,7 @@ public function testPropertyLowFodmap() public function testPropertyOccasions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -320,7 +320,7 @@ public function testPropertyOccasions() public function testPropertySustainable() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -329,7 +329,7 @@ public function testPropertySustainable() public function testPropertyVegan() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -338,7 +338,7 @@ public function testPropertyVegan() public function testPropertyVegetarian() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -347,7 +347,7 @@ public function testPropertyVegetarian() public function testPropertyVeryHealthy() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -356,7 +356,7 @@ public function testPropertyVeryHealthy() public function testPropertyVeryPopular() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -365,7 +365,7 @@ public function testPropertyVeryPopular() public function testPropertyWhole30() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -374,7 +374,7 @@ public function testPropertyWhole30() public function testPropertyWeightWatcherSmartPoints() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -383,7 +383,7 @@ public function testPropertyWeightWatcherSmartPoints() public function testPropertyDishTypes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -392,7 +392,7 @@ public function testPropertyDishTypes() public function testPropertyExtendedIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -401,7 +401,7 @@ public function testPropertyExtendedIngredients() public function testPropertySummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -410,6 +410,6 @@ public function testPropertySummary() public function testPropertyWinePairing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.php b/php/test/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.php index a0fa36ef4..1c052a253 100644 --- a/php/test/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.php +++ b/php/test/Model/GetRecipeInformation200ResponseWinePairingProductMatchesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformation200ResponseWinePairingProductMatchesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformation200ResponseWinePairingProductMatchesInne public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyDescription() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyPrice() public function testPropertyImageUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyImageUrl() public function testPropertyAverageRating() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyAverageRating() public function testPropertyRatingCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyRatingCount() public function testPropertyScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,6 +158,6 @@ public function testPropertyScore() public function testPropertyLink() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformation200ResponseWinePairingTest.php b/php/test/Model/GetRecipeInformation200ResponseWinePairingTest.php index 31d86035c..545bb3416 100644 --- a/php/test/Model/GetRecipeInformation200ResponseWinePairingTest.php +++ b/php/test/Model/GetRecipeInformation200ResponseWinePairingTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformation200ResponseWinePairing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformation200ResponseWinePairing() public function testPropertyPairedWines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyPairedWines() public function testPropertyPairingText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyPairingText() public function testPropertyProductMatches() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeInformationBulk200ResponseInnerTest.php b/php/test/Model/GetRecipeInformationBulk200ResponseInnerTest.php index c4047559e..78b878d3c 100644 --- a/php/test/Model/GetRecipeInformationBulk200ResponseInnerTest.php +++ b/php/test/Model/GetRecipeInformationBulk200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeInformationBulk200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeInformationBulk200ResponseInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImageType() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyServings() public function testPropertyReadyInMinutes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyReadyInMinutes() public function testPropertyLicense() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyLicense() public function testPropertySourceName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertySourceName() public function testPropertySourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertySourceUrl() public function testPropertySpoonacularSourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertySpoonacularSourceUrl() public function testPropertyAggregateLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyAggregateLikes() public function testPropertyHealthScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyHealthScore() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertySpoonacularScore() public function testPropertyPricePerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyPricePerServing() public function testPropertyAnalyzedInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,7 +221,7 @@ public function testPropertyAnalyzedInstructions() public function testPropertyCheap() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -230,7 +230,7 @@ public function testPropertyCheap() public function testPropertyCreditsText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -239,7 +239,7 @@ public function testPropertyCreditsText() public function testPropertyCuisines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -248,7 +248,7 @@ public function testPropertyCuisines() public function testPropertyDairyFree() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -257,7 +257,7 @@ public function testPropertyDairyFree() public function testPropertyDiets() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -266,7 +266,7 @@ public function testPropertyDiets() public function testPropertyGaps() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -275,7 +275,7 @@ public function testPropertyGaps() public function testPropertyGlutenFree() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -284,7 +284,7 @@ public function testPropertyGlutenFree() public function testPropertyInstructions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -293,7 +293,7 @@ public function testPropertyInstructions() public function testPropertyKetogenic() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -302,7 +302,7 @@ public function testPropertyKetogenic() public function testPropertyLowFodmap() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -311,7 +311,7 @@ public function testPropertyLowFodmap() public function testPropertyOccasions() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -320,7 +320,7 @@ public function testPropertyOccasions() public function testPropertySustainable() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -329,7 +329,7 @@ public function testPropertySustainable() public function testPropertyVegan() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -338,7 +338,7 @@ public function testPropertyVegan() public function testPropertyVegetarian() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -347,7 +347,7 @@ public function testPropertyVegetarian() public function testPropertyVeryHealthy() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -356,7 +356,7 @@ public function testPropertyVeryHealthy() public function testPropertyVeryPopular() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -365,7 +365,7 @@ public function testPropertyVeryPopular() public function testPropertyWhole30() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -374,7 +374,7 @@ public function testPropertyWhole30() public function testPropertyWeightWatcherSmartPoints() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -383,7 +383,7 @@ public function testPropertyWeightWatcherSmartPoints() public function testPropertyDishTypes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -392,7 +392,7 @@ public function testPropertyDishTypes() public function testPropertyExtendedIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -401,7 +401,7 @@ public function testPropertyExtendedIngredients() public function testPropertySummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -410,6 +410,6 @@ public function testPropertySummary() public function testPropertyWinePairing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.php b/php/test/Model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.php index f196f1936..c7e534fce 100644 --- a/php/test/Model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.php +++ b/php/test/Model/GetRecipeIngredientsByID200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeIngredientsByID200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeIngredientsByID200ResponseIngredientsInner() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAmount() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyImage() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeIngredientsByID200ResponseTest.php b/php/test/Model/GetRecipeIngredientsByID200ResponseTest.php index 37ba8be9f..2c1337c23 100644 --- a/php/test/Model/GetRecipeIngredientsByID200ResponseTest.php +++ b/php/test/Model/GetRecipeIngredientsByID200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeIngredientsByID200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetRecipeIngredientsByID200Response() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.php b/php/test/Model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.php index 6e65e2ee4..fce0e1001 100644 --- a/php/test/Model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.php +++ b/php/test/Model/GetRecipeNutritionWidgetByID200ResponseBadInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeNutritionWidgetByID200ResponseBadInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeNutritionWidgetByID200ResponseBadInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyAmount() public function testPropertyIndented() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyIndented() public function testPropertyPercentOfDailyNeeds() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.php b/php/test/Model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.php index f0aeeadeb..4ef6c8835 100644 --- a/php/test/Model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.php +++ b/php/test/Model/GetRecipeNutritionWidgetByID200ResponseGoodInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeNutritionWidgetByID200ResponseGoodInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeNutritionWidgetByID200ResponseGoodInner() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAmount() public function testPropertyIndented() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyIndented() public function testPropertyPercentOfDailyNeeds() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyPercentOfDailyNeeds() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeNutritionWidgetByID200ResponseTest.php b/php/test/Model/GetRecipeNutritionWidgetByID200ResponseTest.php index 1eec3dc7c..63da0d486 100644 --- a/php/test/Model/GetRecipeNutritionWidgetByID200ResponseTest.php +++ b/php/test/Model/GetRecipeNutritionWidgetByID200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeNutritionWidgetByID200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeNutritionWidgetByID200Response() public function testPropertyCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCalories() public function testPropertyCarbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCarbs() public function testPropertyFat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyFat() public function testPropertyProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyProtein() public function testPropertyBad() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,6 +131,6 @@ public function testPropertyBad() public function testPropertyGood() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.php b/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.php index 09fb8c96b..c80675ffe 100644 --- a/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.php +++ b/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetricTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyUnit() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.php b/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.php index fe8f6fc16..8be889e5c 100644 --- a/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.php +++ b/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount public function testPropertyMetric() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyMetric() public function testPropertyUs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.php b/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.php index fd60343ac..a185a16ae 100644 --- a/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.php +++ b/php/test/Model/GetRecipePriceBreakdownByID200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipePriceBreakdownByID200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipePriceBreakdownByID200ResponseIngredientsInner() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAmount() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyImage() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyName() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipePriceBreakdownByID200ResponseTest.php b/php/test/Model/GetRecipePriceBreakdownByID200ResponseTest.php index d2ae03064..cfae1c635 100644 --- a/php/test/Model/GetRecipePriceBreakdownByID200ResponseTest.php +++ b/php/test/Model/GetRecipePriceBreakdownByID200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipePriceBreakdownByID200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipePriceBreakdownByID200Response() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyIngredients() public function testPropertyTotalCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyTotalCost() public function testPropertyTotalCostPerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetRecipeTasteByID200ResponseTest.php b/php/test/Model/GetRecipeTasteByID200ResponseTest.php index 39a0bca3e..a7fcb3cb2 100644 --- a/php/test/Model/GetRecipeTasteByID200ResponseTest.php +++ b/php/test/Model/GetRecipeTasteByID200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetRecipeTasteByID200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetRecipeTasteByID200Response() public function testPropertySweetness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertySweetness() public function testPropertySaltiness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertySaltiness() public function testPropertySourness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertySourness() public function testPropertyBitterness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyBitterness() public function testPropertySavoriness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertySavoriness() public function testPropertyFattiness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,6 +140,6 @@ public function testPropertyFattiness() public function testPropertySpiciness() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.php b/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.php index 3bab06316..68bb6a1cd 100644 --- a/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.php +++ b/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerMeasuresTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetShoppingList200ResponseAislesInnerItemsInnerMeasures() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetShoppingList200ResponseAislesInnerItemsInnerMeasures() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyOriginal() public function testPropertyMetric() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyMetric() public function testPropertyUs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerTest.php b/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerTest.php index e50dc8775..674641010 100644 --- a/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerTest.php +++ b/php/test/Model/GetShoppingList200ResponseAislesInnerItemsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetShoppingList200ResponseAislesInnerItemsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetShoppingList200ResponseAislesInnerItemsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyName() public function testPropertyMeasures() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyMeasures() public function testPropertyPantryItem() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyPantryItem() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyAisle() public function testPropertyCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,6 +140,6 @@ public function testPropertyCost() public function testPropertyIngredientId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetShoppingList200ResponseAislesInnerTest.php b/php/test/Model/GetShoppingList200ResponseAislesInnerTest.php index ff8ffee23..6decd243a 100644 --- a/php/test/Model/GetShoppingList200ResponseAislesInnerTest.php +++ b/php/test/Model/GetShoppingList200ResponseAislesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetShoppingList200ResponseAislesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetShoppingList200ResponseAislesInner() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyAisle() public function testPropertyItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetShoppingList200ResponseTest.php b/php/test/Model/GetShoppingList200ResponseTest.php index 264aafcbf..52f63348d 100644 --- a/php/test/Model/GetShoppingList200ResponseTest.php +++ b/php/test/Model/GetShoppingList200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetShoppingList200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetShoppingList200Response() public function testPropertyAisles() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAisles() public function testPropertyCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCost() public function testPropertyStartDate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyStartDate() public function testPropertyEndDate() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetSimilarRecipes200ResponseInnerTest.php b/php/test/Model/GetSimilarRecipes200ResponseInnerTest.php index 9fff2cfea..daf495665 100644 --- a/php/test/Model/GetSimilarRecipes200ResponseInnerTest.php +++ b/php/test/Model/GetSimilarRecipes200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetSimilarRecipes200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetSimilarRecipes200ResponseInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyImageType() public function testPropertyReadyInMinutes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyReadyInMinutes() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,6 +131,6 @@ public function testPropertyServings() public function testPropertySourceUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetWineDescription200ResponseTest.php b/php/test/Model/GetWineDescription200ResponseTest.php index 2afab91b9..ba18e94ec 100644 --- a/php/test/Model/GetWineDescription200ResponseTest.php +++ b/php/test/Model/GetWineDescription200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetWineDescription200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testGetWineDescription200Response() public function testPropertyWineDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetWinePairing200ResponseProductMatchesInnerTest.php b/php/test/Model/GetWinePairing200ResponseProductMatchesInnerTest.php index 2fb47445e..e7d11170f 100644 --- a/php/test/Model/GetWinePairing200ResponseProductMatchesInnerTest.php +++ b/php/test/Model/GetWinePairing200ResponseProductMatchesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetWinePairing200ResponseProductMatchesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetWinePairing200ResponseProductMatchesInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyAverageRating() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyAverageRating() public function testPropertyDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyDescription() public function testPropertyImageUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyImageUrl() public function testPropertyLink() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyLink() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyPrice() public function testPropertyRatingCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,6 +158,6 @@ public function testPropertyRatingCount() public function testPropertyScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetWinePairing200ResponseTest.php b/php/test/Model/GetWinePairing200ResponseTest.php index 77f52c038..45edebb36 100644 --- a/php/test/Model/GetWinePairing200ResponseTest.php +++ b/php/test/Model/GetWinePairing200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetWinePairing200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetWinePairing200Response() public function testPropertyPairedWines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyPairedWines() public function testPropertyPairingText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyPairingText() public function testPropertyProductMatches() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.php b/php/test/Model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.php index 838efb48f..4d7a2d5dd 100644 --- a/php/test/Model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.php +++ b/php/test/Model/GetWineRecommendation200ResponseRecommendedWinesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetWineRecommendation200ResponseRecommendedWinesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetWineRecommendation200ResponseRecommendedWinesInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyAverageRating() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyAverageRating() public function testPropertyDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyDescription() public function testPropertyImageUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyImageUrl() public function testPropertyLink() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyLink() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyPrice() public function testPropertyRatingCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,6 +158,6 @@ public function testPropertyRatingCount() public function testPropertyScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GetWineRecommendation200ResponseTest.php b/php/test/Model/GetWineRecommendation200ResponseTest.php index efa2a53d3..40f28583d 100644 --- a/php/test/Model/GetWineRecommendation200ResponseTest.php +++ b/php/test/Model/GetWineRecommendation200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGetWineRecommendation200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGetWineRecommendation200Response() public function testPropertyRecommendedWines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyRecommendedWines() public function testPropertyTotalFound() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.php b/php/test/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.php index 6be464504..7ebbfa6d7 100644 --- a/php/test/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.php +++ b/php/test/Model/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95PercentTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGuessNutritionByDishName200ResponseCaloriesConfidenceRange95 public function testPropertyMax() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyMax() public function testPropertyMin() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GuessNutritionByDishName200ResponseCaloriesTest.php b/php/test/Model/GuessNutritionByDishName200ResponseCaloriesTest.php index 720deb3fd..eff143807 100644 --- a/php/test/Model/GuessNutritionByDishName200ResponseCaloriesTest.php +++ b/php/test/Model/GuessNutritionByDishName200ResponseCaloriesTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGuessNutritionByDishName200ResponseCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGuessNutritionByDishName200ResponseCalories() public function testPropertyConfidenceRange95Percent() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyConfidenceRange95Percent() public function testPropertyStandardDeviation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyStandardDeviation() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyUnit() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/GuessNutritionByDishName200ResponseTest.php b/php/test/Model/GuessNutritionByDishName200ResponseTest.php index 1f59947cd..c0ee78bf3 100644 --- a/php/test/Model/GuessNutritionByDishName200ResponseTest.php +++ b/php/test/Model/GuessNutritionByDishName200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testGuessNutritionByDishName200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testGuessNutritionByDishName200Response() public function testPropertyCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCalories() public function testPropertyCarbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCarbs() public function testPropertyFat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyFat() public function testPropertyProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyProtein() public function testPropertyRecipesUsed() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageAnalysisByURL200ResponseCategoryTest.php b/php/test/Model/ImageAnalysisByURL200ResponseCategoryTest.php index e511bebaa..3a33b9d36 100644 --- a/php/test/Model/ImageAnalysisByURL200ResponseCategoryTest.php +++ b/php/test/Model/ImageAnalysisByURL200ResponseCategoryTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageAnalysisByURL200ResponseCategory() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageAnalysisByURL200ResponseCategory() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyName() public function testPropertyProbability() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.php b/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.php index eafb74d6c..2254f1ec7 100644 --- a/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.php +++ b/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95PercentTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRang public function testPropertyMin() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyMin() public function testPropertyMax() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.php b/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.php index 5471dd6e5..70ce41c33 100644 --- a/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.php +++ b/php/test/Model/ImageAnalysisByURL200ResponseNutritionCaloriesTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageAnalysisByURL200ResponseNutritionCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageAnalysisByURL200ResponseNutritionCalories() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyValue() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyUnit() public function testPropertyConfidenceRange95Percent() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyConfidenceRange95Percent() public function testPropertyStandardDeviation() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageAnalysisByURL200ResponseNutritionTest.php b/php/test/Model/ImageAnalysisByURL200ResponseNutritionTest.php index db26cf970..7afa296c1 100644 --- a/php/test/Model/ImageAnalysisByURL200ResponseNutritionTest.php +++ b/php/test/Model/ImageAnalysisByURL200ResponseNutritionTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageAnalysisByURL200ResponseNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageAnalysisByURL200ResponseNutrition() public function testPropertyRecipesUsed() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyRecipesUsed() public function testPropertyCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCalories() public function testPropertyFat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyFat() public function testPropertyProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyProtein() public function testPropertyCarbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageAnalysisByURL200ResponseRecipesInnerTest.php b/php/test/Model/ImageAnalysisByURL200ResponseRecipesInnerTest.php index 64ae6f2a0..b59242e2c 100644 --- a/php/test/Model/ImageAnalysisByURL200ResponseRecipesInnerTest.php +++ b/php/test/Model/ImageAnalysisByURL200ResponseRecipesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageAnalysisByURL200ResponseRecipesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageAnalysisByURL200ResponseRecipesInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyImageType() public function testPropertyUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageAnalysisByURL200ResponseTest.php b/php/test/Model/ImageAnalysisByURL200ResponseTest.php index 6ac076045..4a241cad4 100644 --- a/php/test/Model/ImageAnalysisByURL200ResponseTest.php +++ b/php/test/Model/ImageAnalysisByURL200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageAnalysisByURL200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageAnalysisByURL200Response() public function testPropertyNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNutrition() public function testPropertyCategory() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyCategory() public function testPropertyRecipes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ImageClassificationByURL200ResponseTest.php b/php/test/Model/ImageClassificationByURL200ResponseTest.php index b40a86cd0..cb185b524 100644 --- a/php/test/Model/ImageClassificationByURL200ResponseTest.php +++ b/php/test/Model/ImageClassificationByURL200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testImageClassificationByURL200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testImageClassificationByURL200Response() public function testPropertyCategory() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyCategory() public function testPropertyProbability() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/IngredientSearch200ResponseResultsInnerTest.php b/php/test/Model/IngredientSearch200ResponseResultsInnerTest.php index be5893cbd..f24baea4a 100644 --- a/php/test/Model/IngredientSearch200ResponseResultsInnerTest.php +++ b/php/test/Model/IngredientSearch200ResponseResultsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testIngredientSearch200ResponseResultsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testIngredientSearch200ResponseResultsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyName() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/IngredientSearch200ResponseTest.php b/php/test/Model/IngredientSearch200ResponseTest.php index b56622185..90b994956 100644 --- a/php/test/Model/IngredientSearch200ResponseTest.php +++ b/php/test/Model/IngredientSearch200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testIngredientSearch200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testIngredientSearch200Response() public function testPropertyResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyResults() public function testPropertyOffset() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyOffset() public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyNumber() public function testPropertyTotalResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.php b/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.php index 33c9d0bb2..64ab248c0 100644 --- a/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.php +++ b/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerProductsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testMapIngredientsToGroceryProducts200ResponseInnerProductsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testMapIngredientsToGroceryProducts200ResponseInnerProductsInner public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyTitle() public function testPropertyUpc() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerTest.php b/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerTest.php index 2e7bc7c0d..807d8fafe 100644 --- a/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerTest.php +++ b/php/test/Model/MapIngredientsToGroceryProducts200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testMapIngredientsToGroceryProducts200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testMapIngredientsToGroceryProducts200ResponseInner() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyOriginal() public function testPropertyOriginalName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyOriginalName() public function testPropertyIngredientImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyIngredientImage() public function testPropertyMeta() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyMeta() public function testPropertyProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/MapIngredientsToGroceryProductsRequestTest.php b/php/test/Model/MapIngredientsToGroceryProductsRequestTest.php index 73f92f269..c39233eb3 100644 --- a/php/test/Model/MapIngredientsToGroceryProductsRequestTest.php +++ b/php/test/Model/MapIngredientsToGroceryProductsRequestTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testMapIngredientsToGroceryProductsRequest() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testMapIngredientsToGroceryProductsRequest() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyIngredients() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerEstimatedCostTest.php b/php/test/Model/ParseIngredients200ResponseInnerEstimatedCostTest.php index 4441f32f6..fdd592633 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerEstimatedCostTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerEstimatedCostTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInnerEstimatedCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInnerEstimatedCost() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyValue() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.php b/php/test/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.php index 497b809f4..20f70b160 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerNutritionCaloricBreakdownTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInnerNutritionCaloricBreakdown() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInnerNutritionCaloricBreakdown() public function testPropertyPercentProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyPercentProtein() public function testPropertyPercentFat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyPercentFat() public function testPropertyPercentCarbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.php b/php/test/Model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.php index 52f511256..785b5928c 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerNutritionNutrientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInnerNutritionNutrientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInnerNutritionNutrientsInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyUnit() public function testPropertyPercentOfDailyNeeds() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.php b/php/test/Model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.php index 55794b3af..42dd2a267 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerNutritionPropertiesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInnerNutritionPropertiesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInnerNutritionPropertiesInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerNutritionTest.php b/php/test/Model/ParseIngredients200ResponseInnerNutritionTest.php index b3c1373ae..105cdf40a 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerNutritionTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerNutritionTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInnerNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInnerNutrition() public function testPropertyNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNutrients() public function testPropertyProperties() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyProperties() public function testPropertyFlavonoids() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyFlavonoids() public function testPropertyCaloricBreakdown() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyCaloricBreakdown() public function testPropertyWeightPerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.php b/php/test/Model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.php index fd93652c3..2d431b8a6 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerNutritionWeightPerServingTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInnerNutritionWeightPerServing() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInnerNutritionWeightPerServing() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/ParseIngredients200ResponseInnerTest.php b/php/test/Model/ParseIngredients200ResponseInnerTest.php index 204a7c35e..749849cd0 100644 --- a/php/test/Model/ParseIngredients200ResponseInnerTest.php +++ b/php/test/Model/ParseIngredients200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testParseIngredients200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testParseIngredients200ResponseInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyOriginal() public function testPropertyOriginalName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyOriginalName() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyName() public function testPropertyNameClean() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyNameClean() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyAmount() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyUnit() public function testPropertyUnitShort() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyUnitShort() public function testPropertyUnitLong() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyUnitLong() public function testPropertyPossibleUnits() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyPossibleUnits() public function testPropertyEstimatedCost() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyEstimatedCost() public function testPropertyConsistency() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyConsistency() public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertyAisle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyImage() public function testPropertyMeta() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,6 +221,6 @@ public function testPropertyMeta() public function testPropertyNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/QuickAnswer200ResponseTest.php b/php/test/Model/QuickAnswer200ResponseTest.php index 1af2289a3..60712d1d8 100644 --- a/php/test/Model/QuickAnswer200ResponseTest.php +++ b/php/test/Model/QuickAnswer200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testQuickAnswer200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testQuickAnswer200Response() public function testPropertyAnswer() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyAnswer() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.php b/php/test/Model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.php index 95adc5046..7590d29a6 100644 --- a/php/test/Model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.php +++ b/php/test/Model/SearchAllFood200ResponseSearchResultsInnerResultsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchAllFood200ResponseSearchResultsInnerResultsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchAllFood200ResponseSearchResultsInnerResultsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyName() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyImage() public function testPropertyLink() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyLink() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyType() public function testPropertyRelevance() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,6 +140,6 @@ public function testPropertyRelevance() public function testPropertyContent() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchAllFood200ResponseSearchResultsInnerTest.php b/php/test/Model/SearchAllFood200ResponseSearchResultsInnerTest.php index 3c9dd7491..12b3fbc14 100644 --- a/php/test/Model/SearchAllFood200ResponseSearchResultsInnerTest.php +++ b/php/test/Model/SearchAllFood200ResponseSearchResultsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchAllFood200ResponseSearchResultsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchAllFood200ResponseSearchResultsInner() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyName() public function testPropertyTotalResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyTotalResults() public function testPropertyResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchAllFood200ResponseTest.php b/php/test/Model/SearchAllFood200ResponseTest.php index ca8c442a2..03e4d4d85 100644 --- a/php/test/Model/SearchAllFood200ResponseTest.php +++ b/php/test/Model/SearchAllFood200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchAllFood200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchAllFood200Response() public function testPropertyQuery() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyQuery() public function testPropertyTotalResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTotalResults() public function testPropertyLimit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyLimit() public function testPropertyOffset() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyOffset() public function testPropertySearchResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchCustomFoods200ResponseCustomFoodsInnerTest.php b/php/test/Model/SearchCustomFoods200ResponseCustomFoodsInnerTest.php index 02d191834..b6a44027e 100644 --- a/php/test/Model/SearchCustomFoods200ResponseCustomFoodsInnerTest.php +++ b/php/test/Model/SearchCustomFoods200ResponseCustomFoodsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchCustomFoods200ResponseCustomFoodsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchCustomFoods200ResponseCustomFoodsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyServings() public function testPropertyImageUrl() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyImageUrl() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchCustomFoods200ResponseTest.php b/php/test/Model/SearchCustomFoods200ResponseTest.php index d56a353d3..1b52ae697 100644 --- a/php/test/Model/SearchCustomFoods200ResponseTest.php +++ b/php/test/Model/SearchCustomFoods200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchCustomFoods200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchCustomFoods200Response() public function testPropertyCustomFoods() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCustomFoods() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyType() public function testPropertyOffset() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyOffset() public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchFoodVideos200ResponseTest.php b/php/test/Model/SearchFoodVideos200ResponseTest.php index 8be2fa420..1b915e862 100644 --- a/php/test/Model/SearchFoodVideos200ResponseTest.php +++ b/php/test/Model/SearchFoodVideos200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchFoodVideos200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchFoodVideos200Response() public function testPropertyVideos() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyVideos() public function testPropertyTotalResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchFoodVideos200ResponseVideosInnerTest.php b/php/test/Model/SearchFoodVideos200ResponseVideosInnerTest.php index 02223a4c8..732c7e1d4 100644 --- a/php/test/Model/SearchFoodVideos200ResponseVideosInnerTest.php +++ b/php/test/Model/SearchFoodVideos200ResponseVideosInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchFoodVideos200ResponseVideosInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchFoodVideos200ResponseVideosInner() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyTitle() public function testPropertyLength() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyLength() public function testPropertyRating() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyRating() public function testPropertyShortTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyShortTitle() public function testPropertyThumbnail() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyThumbnail() public function testPropertyViews() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,6 +140,6 @@ public function testPropertyViews() public function testPropertyYouTubeId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchGroceryProducts200ResponseTest.php b/php/test/Model/SearchGroceryProducts200ResponseTest.php index e1fc08af8..de1159c6c 100644 --- a/php/test/Model/SearchGroceryProducts200ResponseTest.php +++ b/php/test/Model/SearchGroceryProducts200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchGroceryProducts200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchGroceryProducts200Response() public function testPropertyProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyProducts() public function testPropertyTotalProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTotalProducts() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyType() public function testPropertyOffset() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyOffset() public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.php b/php/test/Model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.php index 8c3c29769..a2682548d 100644 --- a/php/test/Model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.php +++ b/php/test/Model/SearchGroceryProductsByUPC200ResponseIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchGroceryProductsByUPC200ResponseIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchGroceryProductsByUPC200ResponseIngredientsInner() public function testPropertyDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDescription() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyName() public function testPropertySafetyLevel() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchGroceryProductsByUPC200ResponseNutritionTest.php b/php/test/Model/SearchGroceryProductsByUPC200ResponseNutritionTest.php index 56146020b..6fefc6957 100644 --- a/php/test/Model/SearchGroceryProductsByUPC200ResponseNutritionTest.php +++ b/php/test/Model/SearchGroceryProductsByUPC200ResponseNutritionTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchGroceryProductsByUPC200ResponseNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchGroceryProductsByUPC200ResponseNutrition() public function testPropertyNutrients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyNutrients() public function testPropertyCaloricBreakdown() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchGroceryProductsByUPC200ResponseServingsTest.php b/php/test/Model/SearchGroceryProductsByUPC200ResponseServingsTest.php index 46d2d9d96..a2452e7b7 100644 --- a/php/test/Model/SearchGroceryProductsByUPC200ResponseServingsTest.php +++ b/php/test/Model/SearchGroceryProductsByUPC200ResponseServingsTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchGroceryProductsByUPC200ResponseServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchGroceryProductsByUPC200ResponseServings() public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyNumber() public function testPropertySize() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertySize() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchGroceryProductsByUPC200ResponseTest.php b/php/test/Model/SearchGroceryProductsByUPC200ResponseTest.php index dbc971a24..00ac1aeef 100644 --- a/php/test/Model/SearchGroceryProductsByUPC200ResponseTest.php +++ b/php/test/Model/SearchGroceryProductsByUPC200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchGroceryProductsByUPC200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchGroceryProductsByUPC200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyBadges() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyBadges() public function testPropertyImportantBadges() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImportantBadges() public function testPropertyBreadcrumbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyBreadcrumbs() public function testPropertyGeneratedText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyGeneratedText() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyImageType() public function testPropertyIngredientCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyIngredientCount() public function testPropertyIngredientList() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyIngredientList() public function testPropertyIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyIngredients() public function testPropertyLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyLikes() public function testPropertyNutrition() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyNutrition() public function testPropertyPrice() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertyPrice() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,6 +212,6 @@ public function testPropertyServings() public function testPropertySpoonacularScore() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchMenuItems200ResponseMenuItemsInnerTest.php b/php/test/Model/SearchMenuItems200ResponseMenuItemsInnerTest.php index cb23de854..d57383606 100644 --- a/php/test/Model/SearchMenuItems200ResponseMenuItemsInnerTest.php +++ b/php/test/Model/SearchMenuItems200ResponseMenuItemsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchMenuItems200ResponseMenuItemsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchMenuItems200ResponseMenuItemsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyRestaurantChain() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyRestaurantChain() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,6 +131,6 @@ public function testPropertyImageType() public function testPropertyServings() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchMenuItems200ResponseTest.php b/php/test/Model/SearchMenuItems200ResponseTest.php index 948357072..f98a29e59 100644 --- a/php/test/Model/SearchMenuItems200ResponseTest.php +++ b/php/test/Model/SearchMenuItems200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchMenuItems200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchMenuItems200Response() public function testPropertyMenuItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyMenuItems() public function testPropertyTotalMenuItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTotalMenuItems() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyType() public function testPropertyOffset() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,6 +122,6 @@ public function testPropertyOffset() public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRecipes200ResponseResultsInnerTest.php b/php/test/Model/SearchRecipes200ResponseResultsInnerTest.php index 46f7fd857..cb8fadb7d 100644 --- a/php/test/Model/SearchRecipes200ResponseResultsInnerTest.php +++ b/php/test/Model/SearchRecipes200ResponseResultsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRecipes200ResponseResultsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRecipes200ResponseResultsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRecipes200ResponseTest.php b/php/test/Model/SearchRecipes200ResponseTest.php index ae09b1d92..c3ffb9f11 100644 --- a/php/test/Model/SearchRecipes200ResponseTest.php +++ b/php/test/Model/SearchRecipes200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRecipes200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRecipes200Response() public function testPropertyOffset() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyOffset() public function testPropertyNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyNumber() public function testPropertyResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyResults() public function testPropertyTotalResults() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.php b/php/test/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.php index 84596a489..6073c25cb 100644 --- a/php/test/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.php +++ b/php/test/Model/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRecipesByIngredients200ResponseInnerMissedIngredientsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRecipesByIngredients200ResponseInnerMissedIngredientsI public function testPropertyAisle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyAisle() public function testPropertyAmount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyAmount() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyId() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyImage() public function testPropertyMeta() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyMeta() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyName() public function testPropertyExtendedName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyExtendedName() public function testPropertyOriginal() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyOriginal() public function testPropertyOriginalName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyOriginalName() public function testPropertyUnit() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyUnit() public function testPropertyUnitLong() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,6 +185,6 @@ public function testPropertyUnitLong() public function testPropertyUnitShort() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRecipesByIngredients200ResponseInnerTest.php b/php/test/Model/SearchRecipesByIngredients200ResponseInnerTest.php index 99a0dda24..5fbc26bfe 100644 --- a/php/test/Model/SearchRecipesByIngredients200ResponseInnerTest.php +++ b/php/test/Model/SearchRecipesByIngredients200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRecipesByIngredients200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRecipesByIngredients200ResponseInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyImageType() public function testPropertyLikes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyLikes() public function testPropertyMissedIngredientCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyMissedIngredientCount() public function testPropertyMissedIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyMissedIngredients() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyTitle() public function testPropertyUnusedIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyUnusedIngredients() public function testPropertyUsedIngredientCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,6 +167,6 @@ public function testPropertyUsedIngredientCount() public function testPropertyUsedIngredients() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRecipesByNutrients200ResponseInnerTest.php b/php/test/Model/SearchRecipesByNutrients200ResponseInnerTest.php index 1f0c15b25..47f5a3d5d 100644 --- a/php/test/Model/SearchRecipesByNutrients200ResponseInnerTest.php +++ b/php/test/Model/SearchRecipesByNutrients200ResponseInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRecipesByNutrients200ResponseInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRecipesByNutrients200ResponseInner() public function testPropertyCalories() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyCalories() public function testPropertyCarbs() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCarbs() public function testPropertyFat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyFat() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyId() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyImage() public function testPropertyImageType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyImageType() public function testPropertyProtein() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,6 +149,6 @@ public function testPropertyProtein() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.php b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.php index 3586bf3b1..e963b9ca6 100644 --- a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.php +++ b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerAddressTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRestaurants200ResponseRestaurantsInnerAddress() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRestaurants200ResponseRestaurantsInnerAddress() public function testPropertyStreetAddr() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyStreetAddr() public function testPropertyCity() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyCity() public function testPropertyState() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyState() public function testPropertyZipcode() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyZipcode() public function testPropertyCountry() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyCountry() public function testPropertyLat() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyLat() public function testPropertyLon() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyLon() public function testPropertyStreetAddr2() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyStreetAddr2() public function testPropertyLatitude() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,6 +167,6 @@ public function testPropertyLatitude() public function testPropertyLongitude() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.php b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.php index edfa516c8..5dee6dd52 100644 --- a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.php +++ b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperationalTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRestaurants200ResponseRestaurantsInnerLocalHoursOperat public function testPropertyMonday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyMonday() public function testPropertyTuesday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyTuesday() public function testPropertyWednesday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyWednesday() public function testPropertyThursday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyThursday() public function testPropertyFriday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyFriday() public function testPropertySaturday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,6 +140,6 @@ public function testPropertySaturday() public function testPropertySunday() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.php b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.php index e3e139cf4..c67d79131 100644 --- a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.php +++ b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerLocalHoursTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRestaurants200ResponseRestaurantsInnerLocalHours() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRestaurants200ResponseRestaurantsInnerLocalHours() public function testPropertyOperational() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyOperational() public function testPropertyDelivery() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyDelivery() public function testPropertyPickup() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyPickup() public function testPropertyDineIn() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerTest.php b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerTest.php index cb6964ce5..39704c6c6 100644 --- a/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerTest.php +++ b/php/test/Model/SearchRestaurants200ResponseRestaurantsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRestaurants200ResponseRestaurantsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchRestaurants200ResponseRestaurantsInner() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyName() public function testPropertyPhoneNumber() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,7 +113,7 @@ public function testPropertyPhoneNumber() public function testPropertyAddress() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -122,7 +122,7 @@ public function testPropertyAddress() public function testPropertyType() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -131,7 +131,7 @@ public function testPropertyType() public function testPropertyDescription() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -140,7 +140,7 @@ public function testPropertyDescription() public function testPropertyLocalHours() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -149,7 +149,7 @@ public function testPropertyLocalHours() public function testPropertyCuisines() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -158,7 +158,7 @@ public function testPropertyCuisines() public function testPropertyFoodPhotos() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -167,7 +167,7 @@ public function testPropertyFoodPhotos() public function testPropertyLogoPhotos() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -176,7 +176,7 @@ public function testPropertyLogoPhotos() public function testPropertyStorePhotos() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -185,7 +185,7 @@ public function testPropertyStorePhotos() public function testPropertyDollarSigns() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -194,7 +194,7 @@ public function testPropertyDollarSigns() public function testPropertyPickupEnabled() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -203,7 +203,7 @@ public function testPropertyPickupEnabled() public function testPropertyDeliveryEnabled() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -212,7 +212,7 @@ public function testPropertyDeliveryEnabled() public function testPropertyIsOpen() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -221,7 +221,7 @@ public function testPropertyIsOpen() public function testPropertyOffersFirstPartyDelivery() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -230,7 +230,7 @@ public function testPropertyOffersFirstPartyDelivery() public function testPropertyOffersThirdPartyDelivery() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -239,7 +239,7 @@ public function testPropertyOffersThirdPartyDelivery() public function testPropertyMiles() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -248,7 +248,7 @@ public function testPropertyMiles() public function testPropertyWeightedRatingValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -257,6 +257,6 @@ public function testPropertyWeightedRatingValue() public function testPropertyAggregatedRatingCount() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchRestaurants200ResponseTest.php b/php/test/Model/SearchRestaurants200ResponseTest.php index 11c5fed11..ccd1a45ea 100644 --- a/php/test/Model/SearchRestaurants200ResponseTest.php +++ b/php/test/Model/SearchRestaurants200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchRestaurants200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,6 +86,6 @@ public function testSearchRestaurants200Response() public function testPropertyRestaurants() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.php b/php/test/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.php index a28d51a2c..187e0dc50 100644 --- a/php/test/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.php +++ b/php/test/Model/SearchSiteContent200ResponseArticlesInnerDataPointsInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchSiteContent200ResponseArticlesInnerDataPointsInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchSiteContent200ResponseArticlesInnerDataPointsInner() public function testPropertyKey() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyKey() public function testPropertyValue() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchSiteContent200ResponseArticlesInnerTest.php b/php/test/Model/SearchSiteContent200ResponseArticlesInnerTest.php index b3193e02c..6e77db7bd 100644 --- a/php/test/Model/SearchSiteContent200ResponseArticlesInnerTest.php +++ b/php/test/Model/SearchSiteContent200ResponseArticlesInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchSiteContent200ResponseArticlesInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchSiteContent200ResponseArticlesInner() public function testPropertyDataPoints() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyDataPoints() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyImage() public function testPropertyLink() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyLink() public function testPropertyName() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SearchSiteContent200ResponseTest.php b/php/test/Model/SearchSiteContent200ResponseTest.php index e1a02e0d6..c549cc8bd 100644 --- a/php/test/Model/SearchSiteContent200ResponseTest.php +++ b/php/test/Model/SearchSiteContent200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSearchSiteContent200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSearchSiteContent200Response() public function testPropertyArticles() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyArticles() public function testPropertyGroceryProducts() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,7 +104,7 @@ public function testPropertyGroceryProducts() public function testPropertyMenuItems() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -113,6 +113,6 @@ public function testPropertyMenuItems() public function testPropertyRecipes() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/SummarizeRecipe200ResponseTest.php b/php/test/Model/SummarizeRecipe200ResponseTest.php index 37388b87e..1f13531fb 100644 --- a/php/test/Model/SummarizeRecipe200ResponseTest.php +++ b/php/test/Model/SummarizeRecipe200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testSummarizeRecipe200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testSummarizeRecipe200Response() public function testPropertyId() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyId() public function testPropertySummary() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertySummary() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/TalkToChatbot200ResponseMediaInnerTest.php b/php/test/Model/TalkToChatbot200ResponseMediaInnerTest.php index a9bdb250a..1ff463526 100644 --- a/php/test/Model/TalkToChatbot200ResponseMediaInnerTest.php +++ b/php/test/Model/TalkToChatbot200ResponseMediaInnerTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testTalkToChatbot200ResponseMediaInner() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testTalkToChatbot200ResponseMediaInner() public function testPropertyTitle() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,7 +95,7 @@ public function testPropertyTitle() public function testPropertyImage() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -104,6 +104,6 @@ public function testPropertyImage() public function testPropertyLink() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/php/test/Model/TalkToChatbot200ResponseTest.php b/php/test/Model/TalkToChatbot200ResponseTest.php index 9ff25b1de..6bab4f294 100644 --- a/php/test/Model/TalkToChatbot200ResponseTest.php +++ b/php/test/Model/TalkToChatbot200ResponseTest.php @@ -18,7 +18,7 @@ * The version of the OpenAPI document: 1.1 * Contact: mail@spoonacular.com * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0-SNAPSHOT */ /** @@ -77,7 +77,7 @@ public static function tearDownAfterClass(): void public function testTalkToChatbot200Response() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -86,7 +86,7 @@ public function testTalkToChatbot200Response() public function testPropertyAnswerText() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } /** @@ -95,6 +95,6 @@ public function testPropertyAnswerText() public function testPropertyMedia() { // TODO: implement - $this->markTestIncomplete('Not implemented'); + self::markTestIncomplete('Not implemented'); } } diff --git a/python/.openapi-generator/VERSION b/python/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/python/.openapi-generator/VERSION +++ b/python/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/python/README.md b/python/README.md index 46fe1a4ae..2d79c318c 100644 --- a/python/README.md +++ b/python/README.md @@ -6,7 +6,8 @@ Special diets/dietary requirements currently available include: vegan, vegetaria This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.1 -- Package version: 1.1.1 +- Package version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/python/docs/AddMealPlanTemplate200Response.md b/python/docs/AddMealPlanTemplate200Response.md index febbbca0d..7cd8875ed 100644 --- a/python/docs/AddMealPlanTemplate200Response.md +++ b/python/docs/AddMealPlanTemplate200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AddMealPlanTemplate200Response from a JSON string add_meal_plan_template200_response_instance = AddMealPlanTemplate200Response.from_json(json) # print the JSON string representation of the object -print AddMealPlanTemplate200Response.to_json() +print(AddMealPlanTemplate200Response.to_json()) # convert the object into a dict add_meal_plan_template200_response_dict = add_meal_plan_template200_response_instance.to_dict() # create an instance of AddMealPlanTemplate200Response from a dict -add_meal_plan_template200_response_form_dict = add_meal_plan_template200_response.from_dict(add_meal_plan_template200_response_dict) +add_meal_plan_template200_response_from_dict = AddMealPlanTemplate200Response.from_dict(add_meal_plan_template200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AddMealPlanTemplate200ResponseItemsInner.md b/python/docs/AddMealPlanTemplate200ResponseItemsInner.md index 0138091c1..4a4d2d7b1 100644 --- a/python/docs/AddMealPlanTemplate200ResponseItemsInner.md +++ b/python/docs/AddMealPlanTemplate200ResponseItemsInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of AddMealPlanTemplate200ResponseItemsInner from a JSON string add_meal_plan_template200_response_items_inner_instance = AddMealPlanTemplate200ResponseItemsInner.from_json(json) # print the JSON string representation of the object -print AddMealPlanTemplate200ResponseItemsInner.to_json() +print(AddMealPlanTemplate200ResponseItemsInner.to_json()) # convert the object into a dict add_meal_plan_template200_response_items_inner_dict = add_meal_plan_template200_response_items_inner_instance.to_dict() # create an instance of AddMealPlanTemplate200ResponseItemsInner from a dict -add_meal_plan_template200_response_items_inner_form_dict = add_meal_plan_template200_response_items_inner.from_dict(add_meal_plan_template200_response_items_inner_dict) +add_meal_plan_template200_response_items_inner_from_dict = AddMealPlanTemplate200ResponseItemsInner.from_dict(add_meal_plan_template200_response_items_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md b/python/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md index b24d0f321..85e1c7c48 100644 --- a/python/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md +++ b/python/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AddMealPlanTemplate200ResponseItemsInnerValue from a JSON string add_meal_plan_template200_response_items_inner_value_instance = AddMealPlanTemplate200ResponseItemsInnerValue.from_json(json) # print the JSON string representation of the object -print AddMealPlanTemplate200ResponseItemsInnerValue.to_json() +print(AddMealPlanTemplate200ResponseItemsInnerValue.to_json()) # convert the object into a dict add_meal_plan_template200_response_items_inner_value_dict = add_meal_plan_template200_response_items_inner_value_instance.to_dict() # create an instance of AddMealPlanTemplate200ResponseItemsInnerValue from a dict -add_meal_plan_template200_response_items_inner_value_form_dict = add_meal_plan_template200_response_items_inner_value.from_dict(add_meal_plan_template200_response_items_inner_value_dict) +add_meal_plan_template200_response_items_inner_value_from_dict = AddMealPlanTemplate200ResponseItemsInnerValue.from_dict(add_meal_plan_template200_response_items_inner_value_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AddToMealPlanRequest.md b/python/docs/AddToMealPlanRequest.md index 5bb087523..37a5e4df3 100644 --- a/python/docs/AddToMealPlanRequest.md +++ b/python/docs/AddToMealPlanRequest.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of AddToMealPlanRequest from a JSON string add_to_meal_plan_request_instance = AddToMealPlanRequest.from_json(json) # print the JSON string representation of the object -print AddToMealPlanRequest.to_json() +print(AddToMealPlanRequest.to_json()) # convert the object into a dict add_to_meal_plan_request_dict = add_to_meal_plan_request_instance.to_dict() # create an instance of AddToMealPlanRequest from a dict -add_to_meal_plan_request_form_dict = add_to_meal_plan_request.from_dict(add_to_meal_plan_request_dict) +add_to_meal_plan_request_from_dict = AddToMealPlanRequest.from_dict(add_to_meal_plan_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AddToMealPlanRequestValue.md b/python/docs/AddToMealPlanRequestValue.md index 69f74a2b6..d72e43326 100644 --- a/python/docs/AddToMealPlanRequestValue.md +++ b/python/docs/AddToMealPlanRequestValue.md @@ -17,12 +17,12 @@ json = "{}" # create an instance of AddToMealPlanRequestValue from a JSON string add_to_meal_plan_request_value_instance = AddToMealPlanRequestValue.from_json(json) # print the JSON string representation of the object -print AddToMealPlanRequestValue.to_json() +print(AddToMealPlanRequestValue.to_json()) # convert the object into a dict add_to_meal_plan_request_value_dict = add_to_meal_plan_request_value_instance.to_dict() # create an instance of AddToMealPlanRequestValue from a dict -add_to_meal_plan_request_value_form_dict = add_to_meal_plan_request_value.from_dict(add_to_meal_plan_request_value_dict) +add_to_meal_plan_request_value_from_dict = AddToMealPlanRequestValue.from_dict(add_to_meal_plan_request_value_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AddToMealPlanRequestValueIngredientsInner.md b/python/docs/AddToMealPlanRequestValueIngredientsInner.md index 0ebf5c077..ed17748ca 100644 --- a/python/docs/AddToMealPlanRequestValueIngredientsInner.md +++ b/python/docs/AddToMealPlanRequestValueIngredientsInner.md @@ -17,12 +17,12 @@ json = "{}" # create an instance of AddToMealPlanRequestValueIngredientsInner from a JSON string add_to_meal_plan_request_value_ingredients_inner_instance = AddToMealPlanRequestValueIngredientsInner.from_json(json) # print the JSON string representation of the object -print AddToMealPlanRequestValueIngredientsInner.to_json() +print(AddToMealPlanRequestValueIngredientsInner.to_json()) # convert the object into a dict add_to_meal_plan_request_value_ingredients_inner_dict = add_to_meal_plan_request_value_ingredients_inner_instance.to_dict() # create an instance of AddToMealPlanRequestValueIngredientsInner from a dict -add_to_meal_plan_request_value_ingredients_inner_form_dict = add_to_meal_plan_request_value_ingredients_inner.from_dict(add_to_meal_plan_request_value_ingredients_inner_dict) +add_to_meal_plan_request_value_ingredients_inner_from_dict = AddToMealPlanRequestValueIngredientsInner.from_dict(add_to_meal_plan_request_value_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AddToShoppingListRequest.md b/python/docs/AddToShoppingListRequest.md index cd5f6014a..bb5d9ec07 100644 --- a/python/docs/AddToShoppingListRequest.md +++ b/python/docs/AddToShoppingListRequest.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AddToShoppingListRequest from a JSON string add_to_shopping_list_request_instance = AddToShoppingListRequest.from_json(json) # print the JSON string representation of the object -print AddToShoppingListRequest.to_json() +print(AddToShoppingListRequest.to_json()) # convert the object into a dict add_to_shopping_list_request_dict = add_to_shopping_list_request_instance.to_dict() # create an instance of AddToShoppingListRequest from a dict -add_to_shopping_list_request_form_dict = add_to_shopping_list_request.from_dict(add_to_shopping_list_request_dict) +add_to_shopping_list_request_from_dict = AddToShoppingListRequest.from_dict(add_to_shopping_list_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeARecipeSearchQuery200Response.md b/python/docs/AnalyzeARecipeSearchQuery200Response.md index 5dbc0f893..64f2cd01a 100644 --- a/python/docs/AnalyzeARecipeSearchQuery200Response.md +++ b/python/docs/AnalyzeARecipeSearchQuery200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of AnalyzeARecipeSearchQuery200Response from a JSON string analyze_a_recipe_search_query200_response_instance = AnalyzeARecipeSearchQuery200Response.from_json(json) # print the JSON string representation of the object -print AnalyzeARecipeSearchQuery200Response.to_json() +print(AnalyzeARecipeSearchQuery200Response.to_json()) # convert the object into a dict analyze_a_recipe_search_query200_response_dict = analyze_a_recipe_search_query200_response_instance.to_dict() # create an instance of AnalyzeARecipeSearchQuery200Response from a dict -analyze_a_recipe_search_query200_response_form_dict = analyze_a_recipe_search_query200_response.from_dict(analyze_a_recipe_search_query200_response_dict) +analyze_a_recipe_search_query200_response_from_dict = AnalyzeARecipeSearchQuery200Response.from_dict(analyze_a_recipe_search_query200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md b/python/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md index a60ad68f4..911be7f6e 100644 --- a/python/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md +++ b/python/docs/AnalyzeARecipeSearchQuery200ResponseDishesInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of AnalyzeARecipeSearchQuery200ResponseDishesInner from a JSON string analyze_a_recipe_search_query200_response_dishes_inner_instance = AnalyzeARecipeSearchQuery200ResponseDishesInner.from_json(json) # print the JSON string representation of the object -print AnalyzeARecipeSearchQuery200ResponseDishesInner.to_json() +print(AnalyzeARecipeSearchQuery200ResponseDishesInner.to_json()) # convert the object into a dict analyze_a_recipe_search_query200_response_dishes_inner_dict = analyze_a_recipe_search_query200_response_dishes_inner_instance.to_dict() # create an instance of AnalyzeARecipeSearchQuery200ResponseDishesInner from a dict -analyze_a_recipe_search_query200_response_dishes_inner_form_dict = analyze_a_recipe_search_query200_response_dishes_inner.from_dict(analyze_a_recipe_search_query200_response_dishes_inner_dict) +analyze_a_recipe_search_query200_response_dishes_inner_from_dict = AnalyzeARecipeSearchQuery200ResponseDishesInner.from_dict(analyze_a_recipe_search_query200_response_dishes_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md b/python/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md index bfe8dc232..c6978cbe0 100644 --- a/python/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md +++ b/python/docs/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of AnalyzeARecipeSearchQuery200ResponseIngredientsInner from a JSON string analyze_a_recipe_search_query200_response_ingredients_inner_instance = AnalyzeARecipeSearchQuery200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print AnalyzeARecipeSearchQuery200ResponseIngredientsInner.to_json() +print(AnalyzeARecipeSearchQuery200ResponseIngredientsInner.to_json()) # convert the object into a dict analyze_a_recipe_search_query200_response_ingredients_inner_dict = analyze_a_recipe_search_query200_response_ingredients_inner_instance.to_dict() # create an instance of AnalyzeARecipeSearchQuery200ResponseIngredientsInner from a dict -analyze_a_recipe_search_query200_response_ingredients_inner_form_dict = analyze_a_recipe_search_query200_response_ingredients_inner.from_dict(analyze_a_recipe_search_query200_response_ingredients_inner_dict) +analyze_a_recipe_search_query200_response_ingredients_inner_from_dict = AnalyzeARecipeSearchQuery200ResponseIngredientsInner.from_dict(analyze_a_recipe_search_query200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeRecipeInstructions200Response.md b/python/docs/AnalyzeRecipeInstructions200Response.md index 50bb60b27..b17555553 100644 --- a/python/docs/AnalyzeRecipeInstructions200Response.md +++ b/python/docs/AnalyzeRecipeInstructions200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AnalyzeRecipeInstructions200Response from a JSON string analyze_recipe_instructions200_response_instance = AnalyzeRecipeInstructions200Response.from_json(json) # print the JSON string representation of the object -print AnalyzeRecipeInstructions200Response.to_json() +print(AnalyzeRecipeInstructions200Response.to_json()) # convert the object into a dict analyze_recipe_instructions200_response_dict = analyze_recipe_instructions200_response_instance.to_dict() # create an instance of AnalyzeRecipeInstructions200Response from a dict -analyze_recipe_instructions200_response_form_dict = analyze_recipe_instructions200_response.from_dict(analyze_recipe_instructions200_response_dict) +analyze_recipe_instructions200_response_from_dict = AnalyzeRecipeInstructions200Response.from_dict(analyze_recipe_instructions200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md b/python/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md index a96dcddbb..9103beb1c 100644 --- a/python/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md +++ b/python/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of AnalyzeRecipeInstructions200ResponseIngredientsInner from a JSON string analyze_recipe_instructions200_response_ingredients_inner_instance = AnalyzeRecipeInstructions200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print AnalyzeRecipeInstructions200ResponseIngredientsInner.to_json() +print(AnalyzeRecipeInstructions200ResponseIngredientsInner.to_json()) # convert the object into a dict analyze_recipe_instructions200_response_ingredients_inner_dict = analyze_recipe_instructions200_response_ingredients_inner_instance.to_dict() # create an instance of AnalyzeRecipeInstructions200ResponseIngredientsInner from a dict -analyze_recipe_instructions200_response_ingredients_inner_form_dict = analyze_recipe_instructions200_response_ingredients_inner.from_dict(analyze_recipe_instructions200_response_ingredients_inner_dict) +analyze_recipe_instructions200_response_ingredients_inner_from_dict = AnalyzeRecipeInstructions200ResponseIngredientsInner.from_dict(analyze_recipe_instructions200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md b/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md index bf70a99e1..d2294f2c5 100644 --- a/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md +++ b/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInner from a JSON string analyze_recipe_instructions200_response_parsed_instructions_inner_instance = AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.from_json(json) # print the JSON string representation of the object -print AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.to_json() +print(AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.to_json()) # convert the object into a dict analyze_recipe_instructions200_response_parsed_instructions_inner_dict = analyze_recipe_instructions200_response_parsed_instructions_inner_instance.to_dict() # create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInner from a dict -analyze_recipe_instructions200_response_parsed_instructions_inner_form_dict = analyze_recipe_instructions200_response_parsed_instructions_inner.from_dict(analyze_recipe_instructions200_response_parsed_instructions_inner_dict) +analyze_recipe_instructions200_response_parsed_instructions_inner_from_dict = AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.from_dict(analyze_recipe_instructions200_response_parsed_instructions_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md index fb4f419d0..67d9915cf 100644 --- a/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ b/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner from a JSON string analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_instance = AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.from_json(json) # print the JSON string representation of the object -print AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.to_json() +print(AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.to_json()) # convert the object into a dict analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_dict = analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_instance.to_dict() # create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner from a dict -analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_form_dict = analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.from_dict(analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_dict) +analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_from_dict = AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.from_dict(analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md index f01c780a8..6059ea51a 100644 --- a/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ b/python/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner from a JSON string analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_instance = AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.from_json(json) # print the JSON string representation of the object -print AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.to_json() +print(AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.to_json()) # convert the object into a dict analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_dict = analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_instance.to_dict() # create an instance of AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner from a dict -analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_form_dict = analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.from_dict(analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_dict) +analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_from_dict = AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.from_dict(analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AnalyzeRecipeRequest.md b/python/docs/AnalyzeRecipeRequest.md index ec7c0ac86..6ee6483c2 100644 --- a/python/docs/AnalyzeRecipeRequest.md +++ b/python/docs/AnalyzeRecipeRequest.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of AnalyzeRecipeRequest from a JSON string analyze_recipe_request_instance = AnalyzeRecipeRequest.from_json(json) # print the JSON string representation of the object -print AnalyzeRecipeRequest.to_json() +print(AnalyzeRecipeRequest.to_json()) # convert the object into a dict analyze_recipe_request_dict = analyze_recipe_request_instance.to_dict() # create an instance of AnalyzeRecipeRequest from a dict -analyze_recipe_request_form_dict = analyze_recipe_request.from_dict(analyze_recipe_request_dict) +analyze_recipe_request_from_dict = AnalyzeRecipeRequest.from_dict(analyze_recipe_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AutocompleteIngredientSearch200ResponseInner.md b/python/docs/AutocompleteIngredientSearch200ResponseInner.md index d8aaf9fe4..ebcfdada4 100644 --- a/python/docs/AutocompleteIngredientSearch200ResponseInner.md +++ b/python/docs/AutocompleteIngredientSearch200ResponseInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of AutocompleteIngredientSearch200ResponseInner from a JSON string autocomplete_ingredient_search200_response_inner_instance = AutocompleteIngredientSearch200ResponseInner.from_json(json) # print the JSON string representation of the object -print AutocompleteIngredientSearch200ResponseInner.to_json() +print(AutocompleteIngredientSearch200ResponseInner.to_json()) # convert the object into a dict autocomplete_ingredient_search200_response_inner_dict = autocomplete_ingredient_search200_response_inner_instance.to_dict() # create an instance of AutocompleteIngredientSearch200ResponseInner from a dict -autocomplete_ingredient_search200_response_inner_form_dict = autocomplete_ingredient_search200_response_inner.from_dict(autocomplete_ingredient_search200_response_inner_dict) +autocomplete_ingredient_search200_response_inner_from_dict = AutocompleteIngredientSearch200ResponseInner.from_dict(autocomplete_ingredient_search200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AutocompleteMenuItemSearch200Response.md b/python/docs/AutocompleteMenuItemSearch200Response.md index 12c06ccf5..dfb061754 100644 --- a/python/docs/AutocompleteMenuItemSearch200Response.md +++ b/python/docs/AutocompleteMenuItemSearch200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of AutocompleteMenuItemSearch200Response from a JSON string autocomplete_menu_item_search200_response_instance = AutocompleteMenuItemSearch200Response.from_json(json) # print the JSON string representation of the object -print AutocompleteMenuItemSearch200Response.to_json() +print(AutocompleteMenuItemSearch200Response.to_json()) # convert the object into a dict autocomplete_menu_item_search200_response_dict = autocomplete_menu_item_search200_response_instance.to_dict() # create an instance of AutocompleteMenuItemSearch200Response from a dict -autocomplete_menu_item_search200_response_form_dict = autocomplete_menu_item_search200_response.from_dict(autocomplete_menu_item_search200_response_dict) +autocomplete_menu_item_search200_response_from_dict = AutocompleteMenuItemSearch200Response.from_dict(autocomplete_menu_item_search200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AutocompleteProductSearch200Response.md b/python/docs/AutocompleteProductSearch200Response.md index 159bd050f..27adcc9bf 100644 --- a/python/docs/AutocompleteProductSearch200Response.md +++ b/python/docs/AutocompleteProductSearch200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of AutocompleteProductSearch200Response from a JSON string autocomplete_product_search200_response_instance = AutocompleteProductSearch200Response.from_json(json) # print the JSON string representation of the object -print AutocompleteProductSearch200Response.to_json() +print(AutocompleteProductSearch200Response.to_json()) # convert the object into a dict autocomplete_product_search200_response_dict = autocomplete_product_search200_response_instance.to_dict() # create an instance of AutocompleteProductSearch200Response from a dict -autocomplete_product_search200_response_form_dict = autocomplete_product_search200_response.from_dict(autocomplete_product_search200_response_dict) +autocomplete_product_search200_response_from_dict = AutocompleteProductSearch200Response.from_dict(autocomplete_product_search200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AutocompleteProductSearch200ResponseResultsInner.md b/python/docs/AutocompleteProductSearch200ResponseResultsInner.md index e5ec0df22..3d8b3213a 100644 --- a/python/docs/AutocompleteProductSearch200ResponseResultsInner.md +++ b/python/docs/AutocompleteProductSearch200ResponseResultsInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of AutocompleteProductSearch200ResponseResultsInner from a JSON string autocomplete_product_search200_response_results_inner_instance = AutocompleteProductSearch200ResponseResultsInner.from_json(json) # print the JSON string representation of the object -print AutocompleteProductSearch200ResponseResultsInner.to_json() +print(AutocompleteProductSearch200ResponseResultsInner.to_json()) # convert the object into a dict autocomplete_product_search200_response_results_inner_dict = autocomplete_product_search200_response_results_inner_instance.to_dict() # create an instance of AutocompleteProductSearch200ResponseResultsInner from a dict -autocomplete_product_search200_response_results_inner_form_dict = autocomplete_product_search200_response_results_inner.from_dict(autocomplete_product_search200_response_results_inner_dict) +autocomplete_product_search200_response_results_inner_from_dict = AutocompleteProductSearch200ResponseResultsInner.from_dict(autocomplete_product_search200_response_results_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/AutocompleteRecipeSearch200ResponseInner.md b/python/docs/AutocompleteRecipeSearch200ResponseInner.md index 7fbf8133f..095bc2aac 100644 --- a/python/docs/AutocompleteRecipeSearch200ResponseInner.md +++ b/python/docs/AutocompleteRecipeSearch200ResponseInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of AutocompleteRecipeSearch200ResponseInner from a JSON string autocomplete_recipe_search200_response_inner_instance = AutocompleteRecipeSearch200ResponseInner.from_json(json) # print the JSON string representation of the object -print AutocompleteRecipeSearch200ResponseInner.to_json() +print(AutocompleteRecipeSearch200ResponseInner.to_json()) # convert the object into a dict autocomplete_recipe_search200_response_inner_dict = autocomplete_recipe_search200_response_inner_instance.to_dict() # create an instance of AutocompleteRecipeSearch200ResponseInner from a dict -autocomplete_recipe_search200_response_inner_form_dict = autocomplete_recipe_search200_response_inner.from_dict(autocomplete_recipe_search200_response_inner_dict) +autocomplete_recipe_search200_response_inner_from_dict = AutocompleteRecipeSearch200ResponseInner.from_dict(autocomplete_recipe_search200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ClassifyCuisine200Response.md b/python/docs/ClassifyCuisine200Response.md index 3f964c320..2333721dc 100644 --- a/python/docs/ClassifyCuisine200Response.md +++ b/python/docs/ClassifyCuisine200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ClassifyCuisine200Response from a JSON string classify_cuisine200_response_instance = ClassifyCuisine200Response.from_json(json) # print the JSON string representation of the object -print ClassifyCuisine200Response.to_json() +print(ClassifyCuisine200Response.to_json()) # convert the object into a dict classify_cuisine200_response_dict = classify_cuisine200_response_instance.to_dict() # create an instance of ClassifyCuisine200Response from a dict -classify_cuisine200_response_form_dict = classify_cuisine200_response.from_dict(classify_cuisine200_response_dict) +classify_cuisine200_response_from_dict = ClassifyCuisine200Response.from_dict(classify_cuisine200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ClassifyGroceryProduct200Response.md b/python/docs/ClassifyGroceryProduct200Response.md index 04f791ffd..8d6d2d030 100644 --- a/python/docs/ClassifyGroceryProduct200Response.md +++ b/python/docs/ClassifyGroceryProduct200Response.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of ClassifyGroceryProduct200Response from a JSON string classify_grocery_product200_response_instance = ClassifyGroceryProduct200Response.from_json(json) # print the JSON string representation of the object -print ClassifyGroceryProduct200Response.to_json() +print(ClassifyGroceryProduct200Response.to_json()) # convert the object into a dict classify_grocery_product200_response_dict = classify_grocery_product200_response_instance.to_dict() # create an instance of ClassifyGroceryProduct200Response from a dict -classify_grocery_product200_response_form_dict = classify_grocery_product200_response.from_dict(classify_grocery_product200_response_dict) +classify_grocery_product200_response_from_dict = ClassifyGroceryProduct200Response.from_dict(classify_grocery_product200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ClassifyGroceryProductBulk200ResponseInner.md b/python/docs/ClassifyGroceryProductBulk200ResponseInner.md index f019e1932..d0b6455a4 100644 --- a/python/docs/ClassifyGroceryProductBulk200ResponseInner.md +++ b/python/docs/ClassifyGroceryProductBulk200ResponseInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of ClassifyGroceryProductBulk200ResponseInner from a JSON string classify_grocery_product_bulk200_response_inner_instance = ClassifyGroceryProductBulk200ResponseInner.from_json(json) # print the JSON string representation of the object -print ClassifyGroceryProductBulk200ResponseInner.to_json() +print(ClassifyGroceryProductBulk200ResponseInner.to_json()) # convert the object into a dict classify_grocery_product_bulk200_response_inner_dict = classify_grocery_product_bulk200_response_inner_instance.to_dict() # create an instance of ClassifyGroceryProductBulk200ResponseInner from a dict -classify_grocery_product_bulk200_response_inner_form_dict = classify_grocery_product_bulk200_response_inner.from_dict(classify_grocery_product_bulk200_response_inner_dict) +classify_grocery_product_bulk200_response_inner_from_dict = ClassifyGroceryProductBulk200ResponseInner.from_dict(classify_grocery_product_bulk200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ClassifyGroceryProductBulkRequestInner.md b/python/docs/ClassifyGroceryProductBulkRequestInner.md index 05c961bb1..daa38208f 100644 --- a/python/docs/ClassifyGroceryProductBulkRequestInner.md +++ b/python/docs/ClassifyGroceryProductBulkRequestInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ClassifyGroceryProductBulkRequestInner from a JSON string classify_grocery_product_bulk_request_inner_instance = ClassifyGroceryProductBulkRequestInner.from_json(json) # print the JSON string representation of the object -print ClassifyGroceryProductBulkRequestInner.to_json() +print(ClassifyGroceryProductBulkRequestInner.to_json()) # convert the object into a dict classify_grocery_product_bulk_request_inner_dict = classify_grocery_product_bulk_request_inner_instance.to_dict() # create an instance of ClassifyGroceryProductBulkRequestInner from a dict -classify_grocery_product_bulk_request_inner_form_dict = classify_grocery_product_bulk_request_inner.from_dict(classify_grocery_product_bulk_request_inner_dict) +classify_grocery_product_bulk_request_inner_from_dict = ClassifyGroceryProductBulkRequestInner.from_dict(classify_grocery_product_bulk_request_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ClassifyGroceryProductRequest.md b/python/docs/ClassifyGroceryProductRequest.md index 16ed3bf26..b36d78405 100644 --- a/python/docs/ClassifyGroceryProductRequest.md +++ b/python/docs/ClassifyGroceryProductRequest.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ClassifyGroceryProductRequest from a JSON string classify_grocery_product_request_instance = ClassifyGroceryProductRequest.from_json(json) # print the JSON string representation of the object -print ClassifyGroceryProductRequest.to_json() +print(ClassifyGroceryProductRequest.to_json()) # convert the object into a dict classify_grocery_product_request_dict = classify_grocery_product_request_instance.to_dict() # create an instance of ClassifyGroceryProductRequest from a dict -classify_grocery_product_request_form_dict = classify_grocery_product_request.from_dict(classify_grocery_product_request_dict) +classify_grocery_product_request_from_dict = ClassifyGroceryProductRequest.from_dict(classify_grocery_product_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ComputeGlycemicLoad200Response.md b/python/docs/ComputeGlycemicLoad200Response.md index df5a9fd34..2204d36ad 100644 --- a/python/docs/ComputeGlycemicLoad200Response.md +++ b/python/docs/ComputeGlycemicLoad200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ComputeGlycemicLoad200Response from a JSON string compute_glycemic_load200_response_instance = ComputeGlycemicLoad200Response.from_json(json) # print the JSON string representation of the object -print ComputeGlycemicLoad200Response.to_json() +print(ComputeGlycemicLoad200Response.to_json()) # convert the object into a dict compute_glycemic_load200_response_dict = compute_glycemic_load200_response_instance.to_dict() # create an instance of ComputeGlycemicLoad200Response from a dict -compute_glycemic_load200_response_form_dict = compute_glycemic_load200_response.from_dict(compute_glycemic_load200_response_dict) +compute_glycemic_load200_response_from_dict = ComputeGlycemicLoad200Response.from_dict(compute_glycemic_load200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md b/python/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md index 0f41724db..ec1232f8a 100644 --- a/python/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md +++ b/python/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ComputeGlycemicLoad200ResponseIngredientsInner from a JSON string compute_glycemic_load200_response_ingredients_inner_instance = ComputeGlycemicLoad200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print ComputeGlycemicLoad200ResponseIngredientsInner.to_json() +print(ComputeGlycemicLoad200ResponseIngredientsInner.to_json()) # convert the object into a dict compute_glycemic_load200_response_ingredients_inner_dict = compute_glycemic_load200_response_ingredients_inner_instance.to_dict() # create an instance of ComputeGlycemicLoad200ResponseIngredientsInner from a dict -compute_glycemic_load200_response_ingredients_inner_form_dict = compute_glycemic_load200_response_ingredients_inner.from_dict(compute_glycemic_load200_response_ingredients_inner_dict) +compute_glycemic_load200_response_ingredients_inner_from_dict = ComputeGlycemicLoad200ResponseIngredientsInner.from_dict(compute_glycemic_load200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ComputeGlycemicLoadRequest.md b/python/docs/ComputeGlycemicLoadRequest.md index fa6759071..15008d71f 100644 --- a/python/docs/ComputeGlycemicLoadRequest.md +++ b/python/docs/ComputeGlycemicLoadRequest.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of ComputeGlycemicLoadRequest from a JSON string compute_glycemic_load_request_instance = ComputeGlycemicLoadRequest.from_json(json) # print the JSON string representation of the object -print ComputeGlycemicLoadRequest.to_json() +print(ComputeGlycemicLoadRequest.to_json()) # convert the object into a dict compute_glycemic_load_request_dict = compute_glycemic_load_request_instance.to_dict() # create an instance of ComputeGlycemicLoadRequest from a dict -compute_glycemic_load_request_form_dict = compute_glycemic_load_request.from_dict(compute_glycemic_load_request_dict) +compute_glycemic_load_request_from_dict = ComputeGlycemicLoadRequest.from_dict(compute_glycemic_load_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ComputeIngredientAmount200Response.md b/python/docs/ComputeIngredientAmount200Response.md index 8ee463bb4..367f57189 100644 --- a/python/docs/ComputeIngredientAmount200Response.md +++ b/python/docs/ComputeIngredientAmount200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ComputeIngredientAmount200Response from a JSON string compute_ingredient_amount200_response_instance = ComputeIngredientAmount200Response.from_json(json) # print the JSON string representation of the object -print ComputeIngredientAmount200Response.to_json() +print(ComputeIngredientAmount200Response.to_json()) # convert the object into a dict compute_ingredient_amount200_response_dict = compute_ingredient_amount200_response_instance.to_dict() # create an instance of ComputeIngredientAmount200Response from a dict -compute_ingredient_amount200_response_form_dict = compute_ingredient_amount200_response.from_dict(compute_ingredient_amount200_response_dict) +compute_ingredient_amount200_response_from_dict = ComputeIngredientAmount200Response.from_dict(compute_ingredient_amount200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ConnectUser200Response.md b/python/docs/ConnectUser200Response.md index 0e092a5bc..171737b08 100644 --- a/python/docs/ConnectUser200Response.md +++ b/python/docs/ConnectUser200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ConnectUser200Response from a JSON string connect_user200_response_instance = ConnectUser200Response.from_json(json) # print the JSON string representation of the object -print ConnectUser200Response.to_json() +print(ConnectUser200Response.to_json()) # convert the object into a dict connect_user200_response_dict = connect_user200_response_instance.to_dict() # create an instance of ConnectUser200Response from a dict -connect_user200_response_form_dict = connect_user200_response.from_dict(connect_user200_response_dict) +connect_user200_response_from_dict = ConnectUser200Response.from_dict(connect_user200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ConnectUserRequest.md b/python/docs/ConnectUserRequest.md index b0631f5bd..86462eab5 100644 --- a/python/docs/ConnectUserRequest.md +++ b/python/docs/ConnectUserRequest.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of ConnectUserRequest from a JSON string connect_user_request_instance = ConnectUserRequest.from_json(json) # print the JSON string representation of the object -print ConnectUserRequest.to_json() +print(ConnectUserRequest.to_json()) # convert the object into a dict connect_user_request_dict = connect_user_request_instance.to_dict() # create an instance of ConnectUserRequest from a dict -connect_user_request_form_dict = connect_user_request.from_dict(connect_user_request_dict) +connect_user_request_from_dict = ConnectUserRequest.from_dict(connect_user_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ConvertAmounts200Response.md b/python/docs/ConvertAmounts200Response.md index 98bc0f104..702b076a9 100644 --- a/python/docs/ConvertAmounts200Response.md +++ b/python/docs/ConvertAmounts200Response.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of ConvertAmounts200Response from a JSON string convert_amounts200_response_instance = ConvertAmounts200Response.from_json(json) # print the JSON string representation of the object -print ConvertAmounts200Response.to_json() +print(ConvertAmounts200Response.to_json()) # convert the object into a dict convert_amounts200_response_dict = convert_amounts200_response_instance.to_dict() # create an instance of ConvertAmounts200Response from a dict -convert_amounts200_response_form_dict = convert_amounts200_response.from_dict(convert_amounts200_response_dict) +convert_amounts200_response_from_dict = ConvertAmounts200Response.from_dict(convert_amounts200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/CreateRecipeCard200Response.md b/python/docs/CreateRecipeCard200Response.md index 092dae3fa..235948501 100644 --- a/python/docs/CreateRecipeCard200Response.md +++ b/python/docs/CreateRecipeCard200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of CreateRecipeCard200Response from a JSON string create_recipe_card200_response_instance = CreateRecipeCard200Response.from_json(json) # print the JSON string representation of the object -print CreateRecipeCard200Response.to_json() +print(CreateRecipeCard200Response.to_json()) # convert the object into a dict create_recipe_card200_response_dict = create_recipe_card200_response_instance.to_dict() # create an instance of CreateRecipeCard200Response from a dict -create_recipe_card200_response_form_dict = create_recipe_card200_response.from_dict(create_recipe_card200_response_dict) +create_recipe_card200_response_from_dict = CreateRecipeCard200Response.from_dict(create_recipe_card200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/DetectFoodInText200Response.md b/python/docs/DetectFoodInText200Response.md index 029d2e712..57098d4ac 100644 --- a/python/docs/DetectFoodInText200Response.md +++ b/python/docs/DetectFoodInText200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of DetectFoodInText200Response from a JSON string detect_food_in_text200_response_instance = DetectFoodInText200Response.from_json(json) # print the JSON string representation of the object -print DetectFoodInText200Response.to_json() +print(DetectFoodInText200Response.to_json()) # convert the object into a dict detect_food_in_text200_response_dict = detect_food_in_text200_response_instance.to_dict() # create an instance of DetectFoodInText200Response from a dict -detect_food_in_text200_response_form_dict = detect_food_in_text200_response.from_dict(detect_food_in_text200_response_dict) +detect_food_in_text200_response_from_dict = DetectFoodInText200Response.from_dict(detect_food_in_text200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/DetectFoodInText200ResponseAnnotationsInner.md b/python/docs/DetectFoodInText200ResponseAnnotationsInner.md index ab1153f60..80a25cf69 100644 --- a/python/docs/DetectFoodInText200ResponseAnnotationsInner.md +++ b/python/docs/DetectFoodInText200ResponseAnnotationsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of DetectFoodInText200ResponseAnnotationsInner from a JSON string detect_food_in_text200_response_annotations_inner_instance = DetectFoodInText200ResponseAnnotationsInner.from_json(json) # print the JSON string representation of the object -print DetectFoodInText200ResponseAnnotationsInner.to_json() +print(DetectFoodInText200ResponseAnnotationsInner.to_json()) # convert the object into a dict detect_food_in_text200_response_annotations_inner_dict = detect_food_in_text200_response_annotations_inner_instance.to_dict() # create an instance of DetectFoodInText200ResponseAnnotationsInner from a dict -detect_food_in_text200_response_annotations_inner_form_dict = detect_food_in_text200_response_annotations_inner.from_dict(detect_food_in_text200_response_annotations_inner_dict) +detect_food_in_text200_response_annotations_inner_from_dict = DetectFoodInText200ResponseAnnotationsInner.from_dict(detect_food_in_text200_response_annotations_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GenerateMealPlan200Response.md b/python/docs/GenerateMealPlan200Response.md index cc4256df0..06080445c 100644 --- a/python/docs/GenerateMealPlan200Response.md +++ b/python/docs/GenerateMealPlan200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GenerateMealPlan200Response from a JSON string generate_meal_plan200_response_instance = GenerateMealPlan200Response.from_json(json) # print the JSON string representation of the object -print GenerateMealPlan200Response.to_json() +print(GenerateMealPlan200Response.to_json()) # convert the object into a dict generate_meal_plan200_response_dict = generate_meal_plan200_response_instance.to_dict() # create an instance of GenerateMealPlan200Response from a dict -generate_meal_plan200_response_form_dict = generate_meal_plan200_response.from_dict(generate_meal_plan200_response_dict) +generate_meal_plan200_response_from_dict = GenerateMealPlan200Response.from_dict(generate_meal_plan200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GenerateMealPlan200ResponseNutrients.md b/python/docs/GenerateMealPlan200ResponseNutrients.md index e48160ed0..35ad5b149 100644 --- a/python/docs/GenerateMealPlan200ResponseNutrients.md +++ b/python/docs/GenerateMealPlan200ResponseNutrients.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GenerateMealPlan200ResponseNutrients from a JSON string generate_meal_plan200_response_nutrients_instance = GenerateMealPlan200ResponseNutrients.from_json(json) # print the JSON string representation of the object -print GenerateMealPlan200ResponseNutrients.to_json() +print(GenerateMealPlan200ResponseNutrients.to_json()) # convert the object into a dict generate_meal_plan200_response_nutrients_dict = generate_meal_plan200_response_nutrients_instance.to_dict() # create an instance of GenerateMealPlan200ResponseNutrients from a dict -generate_meal_plan200_response_nutrients_form_dict = generate_meal_plan200_response_nutrients.from_dict(generate_meal_plan200_response_nutrients_dict) +generate_meal_plan200_response_nutrients_from_dict = GenerateMealPlan200ResponseNutrients.from_dict(generate_meal_plan200_response_nutrients_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GenerateShoppingList200Response.md b/python/docs/GenerateShoppingList200Response.md index a9773ffd9..3d4b8fb41 100644 --- a/python/docs/GenerateShoppingList200Response.md +++ b/python/docs/GenerateShoppingList200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of GenerateShoppingList200Response from a JSON string generate_shopping_list200_response_instance = GenerateShoppingList200Response.from_json(json) # print the JSON string representation of the object -print GenerateShoppingList200Response.to_json() +print(GenerateShoppingList200Response.to_json()) # convert the object into a dict generate_shopping_list200_response_dict = generate_shopping_list200_response_instance.to_dict() # create an instance of GenerateShoppingList200Response from a dict -generate_shopping_list200_response_form_dict = generate_shopping_list200_response.from_dict(generate_shopping_list200_response_dict) +generate_shopping_list200_response_from_dict = GenerateShoppingList200Response.from_dict(generate_shopping_list200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetARandomFoodJoke200Response.md b/python/docs/GetARandomFoodJoke200Response.md index eec0b2fd4..025a16d47 100644 --- a/python/docs/GetARandomFoodJoke200Response.md +++ b/python/docs/GetARandomFoodJoke200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetARandomFoodJoke200Response from a JSON string get_a_random_food_joke200_response_instance = GetARandomFoodJoke200Response.from_json(json) # print the JSON string representation of the object -print GetARandomFoodJoke200Response.to_json() +print(GetARandomFoodJoke200Response.to_json()) # convert the object into a dict get_a_random_food_joke200_response_dict = get_a_random_food_joke200_response_instance.to_dict() # create an instance of GetARandomFoodJoke200Response from a dict -get_a_random_food_joke200_response_form_dict = get_a_random_food_joke200_response.from_dict(get_a_random_food_joke200_response_dict) +get_a_random_food_joke200_response_from_dict = GetARandomFoodJoke200Response.from_dict(get_a_random_food_joke200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetAnalyzedRecipeInstructions200Response.md b/python/docs/GetAnalyzedRecipeInstructions200Response.md index 567a2c1c7..65e63e34d 100644 --- a/python/docs/GetAnalyzedRecipeInstructions200Response.md +++ b/python/docs/GetAnalyzedRecipeInstructions200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetAnalyzedRecipeInstructions200Response from a JSON string get_analyzed_recipe_instructions200_response_instance = GetAnalyzedRecipeInstructions200Response.from_json(json) # print the JSON string representation of the object -print GetAnalyzedRecipeInstructions200Response.to_json() +print(GetAnalyzedRecipeInstructions200Response.to_json()) # convert the object into a dict get_analyzed_recipe_instructions200_response_dict = get_analyzed_recipe_instructions200_response_instance.to_dict() # create an instance of GetAnalyzedRecipeInstructions200Response from a dict -get_analyzed_recipe_instructions200_response_form_dict = get_analyzed_recipe_instructions200_response.from_dict(get_analyzed_recipe_instructions200_response_dict) +get_analyzed_recipe_instructions200_response_from_dict = GetAnalyzedRecipeInstructions200Response.from_dict(get_analyzed_recipe_instructions200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md b/python/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md index 8ed225b4c..fd60bba25 100644 --- a/python/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md +++ b/python/docs/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetAnalyzedRecipeInstructions200ResponseIngredientsInner from a JSON string get_analyzed_recipe_instructions200_response_ingredients_inner_instance = GetAnalyzedRecipeInstructions200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print GetAnalyzedRecipeInstructions200ResponseIngredientsInner.to_json() +print(GetAnalyzedRecipeInstructions200ResponseIngredientsInner.to_json()) # convert the object into a dict get_analyzed_recipe_instructions200_response_ingredients_inner_dict = get_analyzed_recipe_instructions200_response_ingredients_inner_instance.to_dict() # create an instance of GetAnalyzedRecipeInstructions200ResponseIngredientsInner from a dict -get_analyzed_recipe_instructions200_response_ingredients_inner_form_dict = get_analyzed_recipe_instructions200_response_ingredients_inner.from_dict(get_analyzed_recipe_instructions200_response_ingredients_inner_dict) +get_analyzed_recipe_instructions200_response_ingredients_inner_from_dict = GetAnalyzedRecipeInstructions200ResponseIngredientsInner.from_dict(get_analyzed_recipe_instructions200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md b/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md index 87e54221a..cbdbc283d 100644 --- a/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md +++ b/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner from a JSON string get_analyzed_recipe_instructions200_response_parsed_instructions_inner_instance = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.from_json(json) # print the JSON string representation of the object -print GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.to_json() +print(GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.to_json()) # convert the object into a dict get_analyzed_recipe_instructions200_response_parsed_instructions_inner_dict = get_analyzed_recipe_instructions200_response_parsed_instructions_inner_instance.to_dict() # create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner from a dict -get_analyzed_recipe_instructions200_response_parsed_instructions_inner_form_dict = get_analyzed_recipe_instructions200_response_parsed_instructions_inner.from_dict(get_analyzed_recipe_instructions200_response_parsed_instructions_inner_dict) +get_analyzed_recipe_instructions200_response_parsed_instructions_inner_from_dict = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.from_dict(get_analyzed_recipe_instructions200_response_parsed_instructions_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md index ca5dec5e1..89605f6b5 100644 --- a/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ b/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner from a JSON string get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_instance = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.from_json(json) # print the JSON string representation of the object -print GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.to_json() +print(GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.to_json()) # convert the object into a dict get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_dict = get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_instance.to_dict() # create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner from a dict -get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_form_dict = get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.from_dict(get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_dict) +get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_from_dict = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.from_dict(get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md index fe756c45e..642bc3ff0 100644 --- a/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ b/python/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner from a JSON string get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_instance = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.from_json(json) # print the JSON string representation of the object -print GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.to_json() +print(GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.to_json()) # convert the object into a dict get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_dict = get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_instance.to_dict() # create an instance of GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner from a dict -get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_form_dict = get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.from_dict(get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_dict) +get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_from_dict = GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.from_dict(get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetComparableProducts200Response.md b/python/docs/GetComparableProducts200Response.md index 3e8a58501..65dfd1590 100644 --- a/python/docs/GetComparableProducts200Response.md +++ b/python/docs/GetComparableProducts200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetComparableProducts200Response from a JSON string get_comparable_products200_response_instance = GetComparableProducts200Response.from_json(json) # print the JSON string representation of the object -print GetComparableProducts200Response.to_json() +print(GetComparableProducts200Response.to_json()) # convert the object into a dict get_comparable_products200_response_dict = get_comparable_products200_response_instance.to_dict() # create an instance of GetComparableProducts200Response from a dict -get_comparable_products200_response_form_dict = get_comparable_products200_response.from_dict(get_comparable_products200_response_dict) +get_comparable_products200_response_from_dict = GetComparableProducts200Response.from_dict(get_comparable_products200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetComparableProducts200ResponseComparableProducts.md b/python/docs/GetComparableProducts200ResponseComparableProducts.md index bd6693cae..61e07665c 100644 --- a/python/docs/GetComparableProducts200ResponseComparableProducts.md +++ b/python/docs/GetComparableProducts200ResponseComparableProducts.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of GetComparableProducts200ResponseComparableProducts from a JSON string get_comparable_products200_response_comparable_products_instance = GetComparableProducts200ResponseComparableProducts.from_json(json) # print the JSON string representation of the object -print GetComparableProducts200ResponseComparableProducts.to_json() +print(GetComparableProducts200ResponseComparableProducts.to_json()) # convert the object into a dict get_comparable_products200_response_comparable_products_dict = get_comparable_products200_response_comparable_products_instance.to_dict() # create an instance of GetComparableProducts200ResponseComparableProducts from a dict -get_comparable_products200_response_comparable_products_form_dict = get_comparable_products200_response_comparable_products.from_dict(get_comparable_products200_response_comparable_products_dict) +get_comparable_products200_response_comparable_products_from_dict = GetComparableProducts200ResponseComparableProducts.from_dict(get_comparable_products200_response_comparable_products_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md b/python/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md index 1caf247ce..137227080 100644 --- a/python/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md +++ b/python/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetComparableProducts200ResponseComparableProductsProteinInner from a JSON string get_comparable_products200_response_comparable_products_protein_inner_instance = GetComparableProducts200ResponseComparableProductsProteinInner.from_json(json) # print the JSON string representation of the object -print GetComparableProducts200ResponseComparableProductsProteinInner.to_json() +print(GetComparableProducts200ResponseComparableProductsProteinInner.to_json()) # convert the object into a dict get_comparable_products200_response_comparable_products_protein_inner_dict = get_comparable_products200_response_comparable_products_protein_inner_instance.to_dict() # create an instance of GetComparableProducts200ResponseComparableProductsProteinInner from a dict -get_comparable_products200_response_comparable_products_protein_inner_form_dict = get_comparable_products200_response_comparable_products_protein_inner.from_dict(get_comparable_products200_response_comparable_products_protein_inner_dict) +get_comparable_products200_response_comparable_products_protein_inner_from_dict = GetComparableProducts200ResponseComparableProductsProteinInner.from_dict(get_comparable_products200_response_comparable_products_protein_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetConversationSuggests200Response.md b/python/docs/GetConversationSuggests200Response.md index a682d0d9f..d5fc6cb4f 100644 --- a/python/docs/GetConversationSuggests200Response.md +++ b/python/docs/GetConversationSuggests200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetConversationSuggests200Response from a JSON string get_conversation_suggests200_response_instance = GetConversationSuggests200Response.from_json(json) # print the JSON string representation of the object -print GetConversationSuggests200Response.to_json() +print(GetConversationSuggests200Response.to_json()) # convert the object into a dict get_conversation_suggests200_response_dict = get_conversation_suggests200_response_instance.to_dict() # create an instance of GetConversationSuggests200Response from a dict -get_conversation_suggests200_response_form_dict = get_conversation_suggests200_response.from_dict(get_conversation_suggests200_response_dict) +get_conversation_suggests200_response_from_dict = GetConversationSuggests200Response.from_dict(get_conversation_suggests200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetConversationSuggests200ResponseSuggests.md b/python/docs/GetConversationSuggests200ResponseSuggests.md index 828927a96..af101bdaa 100644 --- a/python/docs/GetConversationSuggests200ResponseSuggests.md +++ b/python/docs/GetConversationSuggests200ResponseSuggests.md @@ -17,12 +17,12 @@ json = "{}" # create an instance of GetConversationSuggests200ResponseSuggests from a JSON string get_conversation_suggests200_response_suggests_instance = GetConversationSuggests200ResponseSuggests.from_json(json) # print the JSON string representation of the object -print GetConversationSuggests200ResponseSuggests.to_json() +print(GetConversationSuggests200ResponseSuggests.to_json()) # convert the object into a dict get_conversation_suggests200_response_suggests_dict = get_conversation_suggests200_response_suggests_instance.to_dict() # create an instance of GetConversationSuggests200ResponseSuggests from a dict -get_conversation_suggests200_response_suggests_form_dict = get_conversation_suggests200_response_suggests.from_dict(get_conversation_suggests200_response_suggests_dict) +get_conversation_suggests200_response_suggests_from_dict = GetConversationSuggests200ResponseSuggests.from_dict(get_conversation_suggests200_response_suggests_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetConversationSuggests200ResponseSuggestsInner.md b/python/docs/GetConversationSuggests200ResponseSuggestsInner.md index c3bed8c01..029736c30 100644 --- a/python/docs/GetConversationSuggests200ResponseSuggestsInner.md +++ b/python/docs/GetConversationSuggests200ResponseSuggestsInner.md @@ -17,12 +17,12 @@ json = "{}" # create an instance of GetConversationSuggests200ResponseSuggestsInner from a JSON string get_conversation_suggests200_response_suggests_inner_instance = GetConversationSuggests200ResponseSuggestsInner.from_json(json) # print the JSON string representation of the object -print GetConversationSuggests200ResponseSuggestsInner.to_json() +print(GetConversationSuggests200ResponseSuggestsInner.to_json()) # convert the object into a dict get_conversation_suggests200_response_suggests_inner_dict = get_conversation_suggests200_response_suggests_inner_instance.to_dict() # create an instance of GetConversationSuggests200ResponseSuggestsInner from a dict -get_conversation_suggests200_response_suggests_inner_form_dict = get_conversation_suggests200_response_suggests_inner.from_dict(get_conversation_suggests200_response_suggests_inner_dict) +get_conversation_suggests200_response_suggests_inner_from_dict = GetConversationSuggests200ResponseSuggestsInner.from_dict(get_conversation_suggests200_response_suggests_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetDishPairingForWine200Response.md b/python/docs/GetDishPairingForWine200Response.md index d9464f5fb..6219e1b6e 100644 --- a/python/docs/GetDishPairingForWine200Response.md +++ b/python/docs/GetDishPairingForWine200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetDishPairingForWine200Response from a JSON string get_dish_pairing_for_wine200_response_instance = GetDishPairingForWine200Response.from_json(json) # print the JSON string representation of the object -print GetDishPairingForWine200Response.to_json() +print(GetDishPairingForWine200Response.to_json()) # convert the object into a dict get_dish_pairing_for_wine200_response_dict = get_dish_pairing_for_wine200_response_instance.to_dict() # create an instance of GetDishPairingForWine200Response from a dict -get_dish_pairing_for_wine200_response_form_dict = get_dish_pairing_for_wine200_response.from_dict(get_dish_pairing_for_wine200_response_dict) +get_dish_pairing_for_wine200_response_from_dict = GetDishPairingForWine200Response.from_dict(get_dish_pairing_for_wine200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetIngredientInformation200Response.md b/python/docs/GetIngredientInformation200Response.md index 9419ea33e..c0b674f20 100644 --- a/python/docs/GetIngredientInformation200Response.md +++ b/python/docs/GetIngredientInformation200Response.md @@ -35,12 +35,12 @@ json = "{}" # create an instance of GetIngredientInformation200Response from a JSON string get_ingredient_information200_response_instance = GetIngredientInformation200Response.from_json(json) # print the JSON string representation of the object -print GetIngredientInformation200Response.to_json() +print(GetIngredientInformation200Response.to_json()) # convert the object into a dict get_ingredient_information200_response_dict = get_ingredient_information200_response_instance.to_dict() # create an instance of GetIngredientInformation200Response from a dict -get_ingredient_information200_response_form_dict = get_ingredient_information200_response.from_dict(get_ingredient_information200_response_dict) +get_ingredient_information200_response_from_dict = GetIngredientInformation200Response.from_dict(get_ingredient_information200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetIngredientInformation200ResponseNutrition.md b/python/docs/GetIngredientInformation200ResponseNutrition.md index 1d2d01be6..eede3a5d6 100644 --- a/python/docs/GetIngredientInformation200ResponseNutrition.md +++ b/python/docs/GetIngredientInformation200ResponseNutrition.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetIngredientInformation200ResponseNutrition from a JSON string get_ingredient_information200_response_nutrition_instance = GetIngredientInformation200ResponseNutrition.from_json(json) # print the JSON string representation of the object -print GetIngredientInformation200ResponseNutrition.to_json() +print(GetIngredientInformation200ResponseNutrition.to_json()) # convert the object into a dict get_ingredient_information200_response_nutrition_dict = get_ingredient_information200_response_nutrition_instance.to_dict() # create an instance of GetIngredientInformation200ResponseNutrition from a dict -get_ingredient_information200_response_nutrition_form_dict = get_ingredient_information200_response_nutrition.from_dict(get_ingredient_information200_response_nutrition_dict) +get_ingredient_information200_response_nutrition_from_dict = GetIngredientInformation200ResponseNutrition.from_dict(get_ingredient_information200_response_nutrition_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetIngredientSubstitutes200Response.md b/python/docs/GetIngredientSubstitutes200Response.md index 84ed78ab0..dc52b7322 100644 --- a/python/docs/GetIngredientSubstitutes200Response.md +++ b/python/docs/GetIngredientSubstitutes200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetIngredientSubstitutes200Response from a JSON string get_ingredient_substitutes200_response_instance = GetIngredientSubstitutes200Response.from_json(json) # print the JSON string representation of the object -print GetIngredientSubstitutes200Response.to_json() +print(GetIngredientSubstitutes200Response.to_json()) # convert the object into a dict get_ingredient_substitutes200_response_dict = get_ingredient_substitutes200_response_instance.to_dict() # create an instance of GetIngredientSubstitutes200Response from a dict -get_ingredient_substitutes200_response_form_dict = get_ingredient_substitutes200_response.from_dict(get_ingredient_substitutes200_response_dict) +get_ingredient_substitutes200_response_from_dict = GetIngredientSubstitutes200Response.from_dict(get_ingredient_substitutes200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanTemplate200Response.md b/python/docs/GetMealPlanTemplate200Response.md index 3709a3f95..4de9017bf 100644 --- a/python/docs/GetMealPlanTemplate200Response.md +++ b/python/docs/GetMealPlanTemplate200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetMealPlanTemplate200Response from a JSON string get_meal_plan_template200_response_instance = GetMealPlanTemplate200Response.from_json(json) # print the JSON string representation of the object -print GetMealPlanTemplate200Response.to_json() +print(GetMealPlanTemplate200Response.to_json()) # convert the object into a dict get_meal_plan_template200_response_dict = get_meal_plan_template200_response_instance.to_dict() # create an instance of GetMealPlanTemplate200Response from a dict -get_meal_plan_template200_response_form_dict = get_meal_plan_template200_response.from_dict(get_meal_plan_template200_response_dict) +get_meal_plan_template200_response_from_dict = GetMealPlanTemplate200Response.from_dict(get_meal_plan_template200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanTemplate200ResponseDaysInner.md b/python/docs/GetMealPlanTemplate200ResponseDaysInner.md index 1cc255efe..68b136027 100644 --- a/python/docs/GetMealPlanTemplate200ResponseDaysInner.md +++ b/python/docs/GetMealPlanTemplate200ResponseDaysInner.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of GetMealPlanTemplate200ResponseDaysInner from a JSON string get_meal_plan_template200_response_days_inner_instance = GetMealPlanTemplate200ResponseDaysInner.from_json(json) # print the JSON string representation of the object -print GetMealPlanTemplate200ResponseDaysInner.to_json() +print(GetMealPlanTemplate200ResponseDaysInner.to_json()) # convert the object into a dict get_meal_plan_template200_response_days_inner_dict = get_meal_plan_template200_response_days_inner_instance.to_dict() # create an instance of GetMealPlanTemplate200ResponseDaysInner from a dict -get_meal_plan_template200_response_days_inner_form_dict = get_meal_plan_template200_response_days_inner.from_dict(get_meal_plan_template200_response_days_inner_dict) +get_meal_plan_template200_response_days_inner_from_dict = GetMealPlanTemplate200ResponseDaysInner.from_dict(get_meal_plan_template200_response_days_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md b/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md index e5eedef89..0543f85ea 100644 --- a/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md +++ b/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of GetMealPlanTemplate200ResponseDaysInnerItemsInner from a JSON string get_meal_plan_template200_response_days_inner_items_inner_instance = GetMealPlanTemplate200ResponseDaysInnerItemsInner.from_json(json) # print the JSON string representation of the object -print GetMealPlanTemplate200ResponseDaysInnerItemsInner.to_json() +print(GetMealPlanTemplate200ResponseDaysInnerItemsInner.to_json()) # convert the object into a dict get_meal_plan_template200_response_days_inner_items_inner_dict = get_meal_plan_template200_response_days_inner_items_inner_instance.to_dict() # create an instance of GetMealPlanTemplate200ResponseDaysInnerItemsInner from a dict -get_meal_plan_template200_response_days_inner_items_inner_form_dict = get_meal_plan_template200_response_days_inner_items_inner.from_dict(get_meal_plan_template200_response_days_inner_items_inner_dict) +get_meal_plan_template200_response_days_inner_items_inner_from_dict = GetMealPlanTemplate200ResponseDaysInnerItemsInner.from_dict(get_meal_plan_template200_response_days_inner_items_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md b/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md index 10adf4a11..5bd9de556 100644 --- a/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md +++ b/python/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue from a JSON string get_meal_plan_template200_response_days_inner_items_inner_value_instance = GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.from_json(json) # print the JSON string representation of the object -print GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.to_json() +print(GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.to_json()) # convert the object into a dict get_meal_plan_template200_response_days_inner_items_inner_value_dict = get_meal_plan_template200_response_days_inner_items_inner_value_instance.to_dict() # create an instance of GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue from a dict -get_meal_plan_template200_response_days_inner_items_inner_value_form_dict = get_meal_plan_template200_response_days_inner_items_inner_value.from_dict(get_meal_plan_template200_response_days_inner_items_inner_value_dict) +get_meal_plan_template200_response_days_inner_items_inner_value_from_dict = GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.from_dict(get_meal_plan_template200_response_days_inner_items_inner_value_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanTemplates200Response.md b/python/docs/GetMealPlanTemplates200Response.md index 37d0e7605..0ed71587c 100644 --- a/python/docs/GetMealPlanTemplates200Response.md +++ b/python/docs/GetMealPlanTemplates200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetMealPlanTemplates200Response from a JSON string get_meal_plan_templates200_response_instance = GetMealPlanTemplates200Response.from_json(json) # print the JSON string representation of the object -print GetMealPlanTemplates200Response.to_json() +print(GetMealPlanTemplates200Response.to_json()) # convert the object into a dict get_meal_plan_templates200_response_dict = get_meal_plan_templates200_response_instance.to_dict() # create an instance of GetMealPlanTemplates200Response from a dict -get_meal_plan_templates200_response_form_dict = get_meal_plan_templates200_response.from_dict(get_meal_plan_templates200_response_dict) +get_meal_plan_templates200_response_from_dict = GetMealPlanTemplates200Response.from_dict(get_meal_plan_templates200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanWeek200Response.md b/python/docs/GetMealPlanWeek200Response.md index 23d94dfaf..ddfe1002a 100644 --- a/python/docs/GetMealPlanWeek200Response.md +++ b/python/docs/GetMealPlanWeek200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetMealPlanWeek200Response from a JSON string get_meal_plan_week200_response_instance = GetMealPlanWeek200Response.from_json(json) # print the JSON string representation of the object -print GetMealPlanWeek200Response.to_json() +print(GetMealPlanWeek200Response.to_json()) # convert the object into a dict get_meal_plan_week200_response_dict = get_meal_plan_week200_response_instance.to_dict() # create an instance of GetMealPlanWeek200Response from a dict -get_meal_plan_week200_response_form_dict = get_meal_plan_week200_response.from_dict(get_meal_plan_week200_response_dict) +get_meal_plan_week200_response_from_dict = GetMealPlanWeek200Response.from_dict(get_meal_plan_week200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanWeek200ResponseDaysInner.md b/python/docs/GetMealPlanWeek200ResponseDaysInner.md index 0dc07bd74..143cefb90 100644 --- a/python/docs/GetMealPlanWeek200ResponseDaysInner.md +++ b/python/docs/GetMealPlanWeek200ResponseDaysInner.md @@ -23,12 +23,12 @@ json = "{}" # create an instance of GetMealPlanWeek200ResponseDaysInner from a JSON string get_meal_plan_week200_response_days_inner_instance = GetMealPlanWeek200ResponseDaysInner.from_json(json) # print the JSON string representation of the object -print GetMealPlanWeek200ResponseDaysInner.to_json() +print(GetMealPlanWeek200ResponseDaysInner.to_json()) # convert the object into a dict get_meal_plan_week200_response_days_inner_dict = get_meal_plan_week200_response_days_inner_instance.to_dict() # create an instance of GetMealPlanWeek200ResponseDaysInner from a dict -get_meal_plan_week200_response_days_inner_form_dict = get_meal_plan_week200_response_days_inner.from_dict(get_meal_plan_week200_response_days_inner_dict) +get_meal_plan_week200_response_days_inner_from_dict = GetMealPlanWeek200ResponseDaysInner.from_dict(get_meal_plan_week200_response_days_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md b/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md index 75bb19336..94f8e0f0b 100644 --- a/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md +++ b/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of GetMealPlanWeek200ResponseDaysInnerItemsInner from a JSON string get_meal_plan_week200_response_days_inner_items_inner_instance = GetMealPlanWeek200ResponseDaysInnerItemsInner.from_json(json) # print the JSON string representation of the object -print GetMealPlanWeek200ResponseDaysInnerItemsInner.to_json() +print(GetMealPlanWeek200ResponseDaysInnerItemsInner.to_json()) # convert the object into a dict get_meal_plan_week200_response_days_inner_items_inner_dict = get_meal_plan_week200_response_days_inner_items_inner_instance.to_dict() # create an instance of GetMealPlanWeek200ResponseDaysInnerItemsInner from a dict -get_meal_plan_week200_response_days_inner_items_inner_form_dict = get_meal_plan_week200_response_days_inner_items_inner.from_dict(get_meal_plan_week200_response_days_inner_items_inner_dict) +get_meal_plan_week200_response_days_inner_items_inner_from_dict = GetMealPlanWeek200ResponseDaysInnerItemsInner.from_dict(get_meal_plan_week200_response_days_inner_items_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md b/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md index ac197942e..374ff834c 100644 --- a/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md +++ b/python/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetMealPlanWeek200ResponseDaysInnerItemsInnerValue from a JSON string get_meal_plan_week200_response_days_inner_items_inner_value_instance = GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.from_json(json) # print the JSON string representation of the object -print GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.to_json() +print(GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.to_json()) # convert the object into a dict get_meal_plan_week200_response_days_inner_items_inner_value_dict = get_meal_plan_week200_response_days_inner_items_inner_value_instance.to_dict() # create an instance of GetMealPlanWeek200ResponseDaysInnerItemsInnerValue from a dict -get_meal_plan_week200_response_days_inner_items_inner_value_form_dict = get_meal_plan_week200_response_days_inner_items_inner_value.from_dict(get_meal_plan_week200_response_days_inner_items_inner_value_dict) +get_meal_plan_week200_response_days_inner_items_inner_value_from_dict = GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.from_dict(get_meal_plan_week200_response_days_inner_items_inner_value_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md b/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md index bd76516ae..54c6b57ad 100644 --- a/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md +++ b/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md @@ -17,12 +17,12 @@ json = "{}" # create an instance of GetMealPlanWeek200ResponseDaysInnerNutritionSummary from a JSON string get_meal_plan_week200_response_days_inner_nutrition_summary_instance = GetMealPlanWeek200ResponseDaysInnerNutritionSummary.from_json(json) # print the JSON string representation of the object -print GetMealPlanWeek200ResponseDaysInnerNutritionSummary.to_json() +print(GetMealPlanWeek200ResponseDaysInnerNutritionSummary.to_json()) # convert the object into a dict get_meal_plan_week200_response_days_inner_nutrition_summary_dict = get_meal_plan_week200_response_days_inner_nutrition_summary_instance.to_dict() # create an instance of GetMealPlanWeek200ResponseDaysInnerNutritionSummary from a dict -get_meal_plan_week200_response_days_inner_nutrition_summary_form_dict = get_meal_plan_week200_response_days_inner_nutrition_summary.from_dict(get_meal_plan_week200_response_days_inner_nutrition_summary_dict) +get_meal_plan_week200_response_days_inner_nutrition_summary_from_dict = GetMealPlanWeek200ResponseDaysInnerNutritionSummary.from_dict(get_meal_plan_week200_response_days_inner_nutrition_summary_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md b/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md index 584eb9453..000059a91 100644 --- a/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md +++ b/python/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner from a JSON string get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_instance = GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.from_json(json) # print the JSON string representation of the object -print GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.to_json() +print(GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.to_json()) # convert the object into a dict get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_dict = get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_instance.to_dict() # create an instance of GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner from a dict -get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_form_dict = get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.from_dict(get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_dict) +get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_from_dict = GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.from_dict(get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetMenuItemInformation200Response.md b/python/docs/GetMenuItemInformation200Response.md index 070c19e53..d107226dd 100644 --- a/python/docs/GetMenuItemInformation200Response.md +++ b/python/docs/GetMenuItemInformation200Response.md @@ -29,12 +29,12 @@ json = "{}" # create an instance of GetMenuItemInformation200Response from a JSON string get_menu_item_information200_response_instance = GetMenuItemInformation200Response.from_json(json) # print the JSON string representation of the object -print GetMenuItemInformation200Response.to_json() +print(GetMenuItemInformation200Response.to_json()) # convert the object into a dict get_menu_item_information200_response_dict = get_menu_item_information200_response_instance.to_dict() # create an instance of GetMenuItemInformation200Response from a dict -get_menu_item_information200_response_form_dict = get_menu_item_information200_response.from_dict(get_menu_item_information200_response_dict) +get_menu_item_information200_response_from_dict = GetMenuItemInformation200Response.from_dict(get_menu_item_information200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetProductInformation200Response.md b/python/docs/GetProductInformation200Response.md index 649bc6314..3e9b256f2 100644 --- a/python/docs/GetProductInformation200Response.md +++ b/python/docs/GetProductInformation200Response.md @@ -33,12 +33,12 @@ json = "{}" # create an instance of GetProductInformation200Response from a JSON string get_product_information200_response_instance = GetProductInformation200Response.from_json(json) # print the JSON string representation of the object -print GetProductInformation200Response.to_json() +print(GetProductInformation200Response.to_json()) # convert the object into a dict get_product_information200_response_dict = get_product_information200_response_instance.to_dict() # create an instance of GetProductInformation200Response from a dict -get_product_information200_response_form_dict = get_product_information200_response.from_dict(get_product_information200_response_dict) +get_product_information200_response_from_dict = GetProductInformation200Response.from_dict(get_product_information200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetProductInformation200ResponseIngredientsInner.md b/python/docs/GetProductInformation200ResponseIngredientsInner.md index 98d84c4f7..c7990dd1a 100644 --- a/python/docs/GetProductInformation200ResponseIngredientsInner.md +++ b/python/docs/GetProductInformation200ResponseIngredientsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetProductInformation200ResponseIngredientsInner from a JSON string get_product_information200_response_ingredients_inner_instance = GetProductInformation200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print GetProductInformation200ResponseIngredientsInner.to_json() +print(GetProductInformation200ResponseIngredientsInner.to_json()) # convert the object into a dict get_product_information200_response_ingredients_inner_dict = get_product_information200_response_ingredients_inner_instance.to_dict() # create an instance of GetProductInformation200ResponseIngredientsInner from a dict -get_product_information200_response_ingredients_inner_form_dict = get_product_information200_response_ingredients_inner.from_dict(get_product_information200_response_ingredients_inner_dict) +get_product_information200_response_ingredients_inner_from_dict = GetProductInformation200ResponseIngredientsInner.from_dict(get_product_information200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRandomFoodTrivia200Response.md b/python/docs/GetRandomFoodTrivia200Response.md index 56bbd7f02..95ec09321 100644 --- a/python/docs/GetRandomFoodTrivia200Response.md +++ b/python/docs/GetRandomFoodTrivia200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRandomFoodTrivia200Response from a JSON string get_random_food_trivia200_response_instance = GetRandomFoodTrivia200Response.from_json(json) # print the JSON string representation of the object -print GetRandomFoodTrivia200Response.to_json() +print(GetRandomFoodTrivia200Response.to_json()) # convert the object into a dict get_random_food_trivia200_response_dict = get_random_food_trivia200_response_instance.to_dict() # create an instance of GetRandomFoodTrivia200Response from a dict -get_random_food_trivia200_response_form_dict = get_random_food_trivia200_response.from_dict(get_random_food_trivia200_response_dict) +get_random_food_trivia200_response_from_dict = GetRandomFoodTrivia200Response.from_dict(get_random_food_trivia200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRandomRecipes200Response.md b/python/docs/GetRandomRecipes200Response.md index e997f9a64..ea51ae6e9 100644 --- a/python/docs/GetRandomRecipes200Response.md +++ b/python/docs/GetRandomRecipes200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRandomRecipes200Response from a JSON string get_random_recipes200_response_instance = GetRandomRecipes200Response.from_json(json) # print the JSON string representation of the object -print GetRandomRecipes200Response.to_json() +print(GetRandomRecipes200Response.to_json()) # convert the object into a dict get_random_recipes200_response_dict = get_random_recipes200_response_instance.to_dict() # create an instance of GetRandomRecipes200Response from a dict -get_random_recipes200_response_form_dict = get_random_recipes200_response.from_dict(get_random_recipes200_response_dict) +get_random_recipes200_response_from_dict = GetRandomRecipes200Response.from_dict(get_random_recipes200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRandomRecipes200ResponseRecipesInner.md b/python/docs/GetRandomRecipes200ResponseRecipesInner.md index 25c802457..b5ad5c0eb 100644 --- a/python/docs/GetRandomRecipes200ResponseRecipesInner.md +++ b/python/docs/GetRandomRecipes200ResponseRecipesInner.md @@ -53,12 +53,12 @@ json = "{}" # create an instance of GetRandomRecipes200ResponseRecipesInner from a JSON string get_random_recipes200_response_recipes_inner_instance = GetRandomRecipes200ResponseRecipesInner.from_json(json) # print the JSON string representation of the object -print GetRandomRecipes200ResponseRecipesInner.to_json() +print(GetRandomRecipes200ResponseRecipesInner.to_json()) # convert the object into a dict get_random_recipes200_response_recipes_inner_dict = get_random_recipes200_response_recipes_inner_instance.to_dict() # create an instance of GetRandomRecipes200ResponseRecipesInner from a dict -get_random_recipes200_response_recipes_inner_form_dict = get_random_recipes200_response_recipes_inner.from_dict(get_random_recipes200_response_recipes_inner_dict) +get_random_recipes200_response_recipes_inner_from_dict = GetRandomRecipes200ResponseRecipesInner.from_dict(get_random_recipes200_response_recipes_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeEquipmentByID200Response.md b/python/docs/GetRecipeEquipmentByID200Response.md index 9606a72d8..3d5af9e57 100644 --- a/python/docs/GetRecipeEquipmentByID200Response.md +++ b/python/docs/GetRecipeEquipmentByID200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRecipeEquipmentByID200Response from a JSON string get_recipe_equipment_by_id200_response_instance = GetRecipeEquipmentByID200Response.from_json(json) # print the JSON string representation of the object -print GetRecipeEquipmentByID200Response.to_json() +print(GetRecipeEquipmentByID200Response.to_json()) # convert the object into a dict get_recipe_equipment_by_id200_response_dict = get_recipe_equipment_by_id200_response_instance.to_dict() # create an instance of GetRecipeEquipmentByID200Response from a dict -get_recipe_equipment_by_id200_response_form_dict = get_recipe_equipment_by_id200_response.from_dict(get_recipe_equipment_by_id200_response_dict) +get_recipe_equipment_by_id200_response_from_dict = GetRecipeEquipmentByID200Response.from_dict(get_recipe_equipment_by_id200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md b/python/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md index 6a4486d46..58763b663 100644 --- a/python/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md +++ b/python/docs/GetRecipeEquipmentByID200ResponseEquipmentInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRecipeEquipmentByID200ResponseEquipmentInner from a JSON string get_recipe_equipment_by_id200_response_equipment_inner_instance = GetRecipeEquipmentByID200ResponseEquipmentInner.from_json(json) # print the JSON string representation of the object -print GetRecipeEquipmentByID200ResponseEquipmentInner.to_json() +print(GetRecipeEquipmentByID200ResponseEquipmentInner.to_json()) # convert the object into a dict get_recipe_equipment_by_id200_response_equipment_inner_dict = get_recipe_equipment_by_id200_response_equipment_inner_instance.to_dict() # create an instance of GetRecipeEquipmentByID200ResponseEquipmentInner from a dict -get_recipe_equipment_by_id200_response_equipment_inner_form_dict = get_recipe_equipment_by_id200_response_equipment_inner.from_dict(get_recipe_equipment_by_id200_response_equipment_inner_dict) +get_recipe_equipment_by_id200_response_equipment_inner_from_dict = GetRecipeEquipmentByID200ResponseEquipmentInner.from_dict(get_recipe_equipment_by_id200_response_equipment_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformation200Response.md b/python/docs/GetRecipeInformation200Response.md index 016147e8e..e454aa797 100644 --- a/python/docs/GetRecipeInformation200Response.md +++ b/python/docs/GetRecipeInformation200Response.md @@ -54,12 +54,12 @@ json = "{}" # create an instance of GetRecipeInformation200Response from a JSON string get_recipe_information200_response_instance = GetRecipeInformation200Response.from_json(json) # print the JSON string representation of the object -print GetRecipeInformation200Response.to_json() +print(GetRecipeInformation200Response.to_json()) # convert the object into a dict get_recipe_information200_response_dict = get_recipe_information200_response_instance.to_dict() # create an instance of GetRecipeInformation200Response from a dict -get_recipe_information200_response_form_dict = get_recipe_information200_response.from_dict(get_recipe_information200_response_dict) +get_recipe_information200_response_from_dict = GetRecipeInformation200Response.from_dict(get_recipe_information200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md b/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md index de99d4d43..754e12984 100644 --- a/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md +++ b/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md @@ -27,12 +27,12 @@ json = "{}" # create an instance of GetRecipeInformation200ResponseExtendedIngredientsInner from a JSON string get_recipe_information200_response_extended_ingredients_inner_instance = GetRecipeInformation200ResponseExtendedIngredientsInner.from_json(json) # print the JSON string representation of the object -print GetRecipeInformation200ResponseExtendedIngredientsInner.to_json() +print(GetRecipeInformation200ResponseExtendedIngredientsInner.to_json()) # convert the object into a dict get_recipe_information200_response_extended_ingredients_inner_dict = get_recipe_information200_response_extended_ingredients_inner_instance.to_dict() # create an instance of GetRecipeInformation200ResponseExtendedIngredientsInner from a dict -get_recipe_information200_response_extended_ingredients_inner_form_dict = get_recipe_information200_response_extended_ingredients_inner.from_dict(get_recipe_information200_response_extended_ingredients_inner_dict) +get_recipe_information200_response_extended_ingredients_inner_from_dict = GetRecipeInformation200ResponseExtendedIngredientsInner.from_dict(get_recipe_information200_response_extended_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md b/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md index b562c4f76..80b6836b3 100644 --- a/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md +++ b/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures from a JSON string get_recipe_information200_response_extended_ingredients_inner_measures_instance = GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.from_json(json) # print the JSON string representation of the object -print GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.to_json() +print(GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.to_json()) # convert the object into a dict get_recipe_information200_response_extended_ingredients_inner_measures_dict = get_recipe_information200_response_extended_ingredients_inner_measures_instance.to_dict() # create an instance of GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures from a dict -get_recipe_information200_response_extended_ingredients_inner_measures_form_dict = get_recipe_information200_response_extended_ingredients_inner_measures.from_dict(get_recipe_information200_response_extended_ingredients_inner_measures_dict) +get_recipe_information200_response_extended_ingredients_inner_measures_from_dict = GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.from_dict(get_recipe_information200_response_extended_ingredients_inner_measures_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md b/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md index 22bed01df..5c2ce2399 100644 --- a/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md +++ b/python/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric from a JSON string get_recipe_information200_response_extended_ingredients_inner_measures_metric_instance = GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.from_json(json) # print the JSON string representation of the object -print GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.to_json() +print(GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.to_json()) # convert the object into a dict get_recipe_information200_response_extended_ingredients_inner_measures_metric_dict = get_recipe_information200_response_extended_ingredients_inner_measures_metric_instance.to_dict() # create an instance of GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric from a dict -get_recipe_information200_response_extended_ingredients_inner_measures_metric_form_dict = get_recipe_information200_response_extended_ingredients_inner_measures_metric.from_dict(get_recipe_information200_response_extended_ingredients_inner_measures_metric_dict) +get_recipe_information200_response_extended_ingredients_inner_measures_metric_from_dict = GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.from_dict(get_recipe_information200_response_extended_ingredients_inner_measures_metric_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformation200ResponseWinePairing.md b/python/docs/GetRecipeInformation200ResponseWinePairing.md index 96175b28d..47c723e88 100644 --- a/python/docs/GetRecipeInformation200ResponseWinePairing.md +++ b/python/docs/GetRecipeInformation200ResponseWinePairing.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetRecipeInformation200ResponseWinePairing from a JSON string get_recipe_information200_response_wine_pairing_instance = GetRecipeInformation200ResponseWinePairing.from_json(json) # print the JSON string representation of the object -print GetRecipeInformation200ResponseWinePairing.to_json() +print(GetRecipeInformation200ResponseWinePairing.to_json()) # convert the object into a dict get_recipe_information200_response_wine_pairing_dict = get_recipe_information200_response_wine_pairing_instance.to_dict() # create an instance of GetRecipeInformation200ResponseWinePairing from a dict -get_recipe_information200_response_wine_pairing_form_dict = get_recipe_information200_response_wine_pairing.from_dict(get_recipe_information200_response_wine_pairing_dict) +get_recipe_information200_response_wine_pairing_from_dict = GetRecipeInformation200ResponseWinePairing.from_dict(get_recipe_information200_response_wine_pairing_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md b/python/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md index da657dd20..d3afcbedd 100644 --- a/python/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md +++ b/python/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md @@ -25,12 +25,12 @@ json = "{}" # create an instance of GetRecipeInformation200ResponseWinePairingProductMatchesInner from a JSON string get_recipe_information200_response_wine_pairing_product_matches_inner_instance = GetRecipeInformation200ResponseWinePairingProductMatchesInner.from_json(json) # print the JSON string representation of the object -print GetRecipeInformation200ResponseWinePairingProductMatchesInner.to_json() +print(GetRecipeInformation200ResponseWinePairingProductMatchesInner.to_json()) # convert the object into a dict get_recipe_information200_response_wine_pairing_product_matches_inner_dict = get_recipe_information200_response_wine_pairing_product_matches_inner_instance.to_dict() # create an instance of GetRecipeInformation200ResponseWinePairingProductMatchesInner from a dict -get_recipe_information200_response_wine_pairing_product_matches_inner_form_dict = get_recipe_information200_response_wine_pairing_product_matches_inner.from_dict(get_recipe_information200_response_wine_pairing_product_matches_inner_dict) +get_recipe_information200_response_wine_pairing_product_matches_inner_from_dict = GetRecipeInformation200ResponseWinePairingProductMatchesInner.from_dict(get_recipe_information200_response_wine_pairing_product_matches_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeInformationBulk200ResponseInner.md b/python/docs/GetRecipeInformationBulk200ResponseInner.md index 6d38d4106..0fed739bd 100644 --- a/python/docs/GetRecipeInformationBulk200ResponseInner.md +++ b/python/docs/GetRecipeInformationBulk200ResponseInner.md @@ -53,12 +53,12 @@ json = "{}" # create an instance of GetRecipeInformationBulk200ResponseInner from a JSON string get_recipe_information_bulk200_response_inner_instance = GetRecipeInformationBulk200ResponseInner.from_json(json) # print the JSON string representation of the object -print GetRecipeInformationBulk200ResponseInner.to_json() +print(GetRecipeInformationBulk200ResponseInner.to_json()) # convert the object into a dict get_recipe_information_bulk200_response_inner_dict = get_recipe_information_bulk200_response_inner_instance.to_dict() # create an instance of GetRecipeInformationBulk200ResponseInner from a dict -get_recipe_information_bulk200_response_inner_form_dict = get_recipe_information_bulk200_response_inner.from_dict(get_recipe_information_bulk200_response_inner_dict) +get_recipe_information_bulk200_response_inner_from_dict = GetRecipeInformationBulk200ResponseInner.from_dict(get_recipe_information_bulk200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeIngredientsByID200Response.md b/python/docs/GetRecipeIngredientsByID200Response.md index a59e71588..e129d9426 100644 --- a/python/docs/GetRecipeIngredientsByID200Response.md +++ b/python/docs/GetRecipeIngredientsByID200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRecipeIngredientsByID200Response from a JSON string get_recipe_ingredients_by_id200_response_instance = GetRecipeIngredientsByID200Response.from_json(json) # print the JSON string representation of the object -print GetRecipeIngredientsByID200Response.to_json() +print(GetRecipeIngredientsByID200Response.to_json()) # convert the object into a dict get_recipe_ingredients_by_id200_response_dict = get_recipe_ingredients_by_id200_response_instance.to_dict() # create an instance of GetRecipeIngredientsByID200Response from a dict -get_recipe_ingredients_by_id200_response_form_dict = get_recipe_ingredients_by_id200_response.from_dict(get_recipe_ingredients_by_id200_response_dict) +get_recipe_ingredients_by_id200_response_from_dict = GetRecipeIngredientsByID200Response.from_dict(get_recipe_ingredients_by_id200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md b/python/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md index 90c0ae85d..316247e0b 100644 --- a/python/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md +++ b/python/docs/GetRecipeIngredientsByID200ResponseIngredientsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetRecipeIngredientsByID200ResponseIngredientsInner from a JSON string get_recipe_ingredients_by_id200_response_ingredients_inner_instance = GetRecipeIngredientsByID200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print GetRecipeIngredientsByID200ResponseIngredientsInner.to_json() +print(GetRecipeIngredientsByID200ResponseIngredientsInner.to_json()) # convert the object into a dict get_recipe_ingredients_by_id200_response_ingredients_inner_dict = get_recipe_ingredients_by_id200_response_ingredients_inner_instance.to_dict() # create an instance of GetRecipeIngredientsByID200ResponseIngredientsInner from a dict -get_recipe_ingredients_by_id200_response_ingredients_inner_form_dict = get_recipe_ingredients_by_id200_response_ingredients_inner.from_dict(get_recipe_ingredients_by_id200_response_ingredients_inner_dict) +get_recipe_ingredients_by_id200_response_ingredients_inner_from_dict = GetRecipeIngredientsByID200ResponseIngredientsInner.from_dict(get_recipe_ingredients_by_id200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeNutritionWidgetByID200Response.md b/python/docs/GetRecipeNutritionWidgetByID200Response.md index 7192eef4a..70dd2edc7 100644 --- a/python/docs/GetRecipeNutritionWidgetByID200Response.md +++ b/python/docs/GetRecipeNutritionWidgetByID200Response.md @@ -23,12 +23,12 @@ json = "{}" # create an instance of GetRecipeNutritionWidgetByID200Response from a JSON string get_recipe_nutrition_widget_by_id200_response_instance = GetRecipeNutritionWidgetByID200Response.from_json(json) # print the JSON string representation of the object -print GetRecipeNutritionWidgetByID200Response.to_json() +print(GetRecipeNutritionWidgetByID200Response.to_json()) # convert the object into a dict get_recipe_nutrition_widget_by_id200_response_dict = get_recipe_nutrition_widget_by_id200_response_instance.to_dict() # create an instance of GetRecipeNutritionWidgetByID200Response from a dict -get_recipe_nutrition_widget_by_id200_response_form_dict = get_recipe_nutrition_widget_by_id200_response.from_dict(get_recipe_nutrition_widget_by_id200_response_dict) +get_recipe_nutrition_widget_by_id200_response_from_dict = GetRecipeNutritionWidgetByID200Response.from_dict(get_recipe_nutrition_widget_by_id200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md b/python/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md index 2d13e55d1..6edb4aa72 100644 --- a/python/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md +++ b/python/docs/GetRecipeNutritionWidgetByID200ResponseBadInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetRecipeNutritionWidgetByID200ResponseBadInner from a JSON string get_recipe_nutrition_widget_by_id200_response_bad_inner_instance = GetRecipeNutritionWidgetByID200ResponseBadInner.from_json(json) # print the JSON string representation of the object -print GetRecipeNutritionWidgetByID200ResponseBadInner.to_json() +print(GetRecipeNutritionWidgetByID200ResponseBadInner.to_json()) # convert the object into a dict get_recipe_nutrition_widget_by_id200_response_bad_inner_dict = get_recipe_nutrition_widget_by_id200_response_bad_inner_instance.to_dict() # create an instance of GetRecipeNutritionWidgetByID200ResponseBadInner from a dict -get_recipe_nutrition_widget_by_id200_response_bad_inner_form_dict = get_recipe_nutrition_widget_by_id200_response_bad_inner.from_dict(get_recipe_nutrition_widget_by_id200_response_bad_inner_dict) +get_recipe_nutrition_widget_by_id200_response_bad_inner_from_dict = GetRecipeNutritionWidgetByID200ResponseBadInner.from_dict(get_recipe_nutrition_widget_by_id200_response_bad_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md b/python/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md index d1908c4f5..6fd08bed7 100644 --- a/python/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md +++ b/python/docs/GetRecipeNutritionWidgetByID200ResponseGoodInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetRecipeNutritionWidgetByID200ResponseGoodInner from a JSON string get_recipe_nutrition_widget_by_id200_response_good_inner_instance = GetRecipeNutritionWidgetByID200ResponseGoodInner.from_json(json) # print the JSON string representation of the object -print GetRecipeNutritionWidgetByID200ResponseGoodInner.to_json() +print(GetRecipeNutritionWidgetByID200ResponseGoodInner.to_json()) # convert the object into a dict get_recipe_nutrition_widget_by_id200_response_good_inner_dict = get_recipe_nutrition_widget_by_id200_response_good_inner_instance.to_dict() # create an instance of GetRecipeNutritionWidgetByID200ResponseGoodInner from a dict -get_recipe_nutrition_widget_by_id200_response_good_inner_form_dict = get_recipe_nutrition_widget_by_id200_response_good_inner.from_dict(get_recipe_nutrition_widget_by_id200_response_good_inner_dict) +get_recipe_nutrition_widget_by_id200_response_good_inner_from_dict = GetRecipeNutritionWidgetByID200ResponseGoodInner.from_dict(get_recipe_nutrition_widget_by_id200_response_good_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipePriceBreakdownByID200Response.md b/python/docs/GetRecipePriceBreakdownByID200Response.md index 1b257d694..30dda5f08 100644 --- a/python/docs/GetRecipePriceBreakdownByID200Response.md +++ b/python/docs/GetRecipePriceBreakdownByID200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetRecipePriceBreakdownByID200Response from a JSON string get_recipe_price_breakdown_by_id200_response_instance = GetRecipePriceBreakdownByID200Response.from_json(json) # print the JSON string representation of the object -print GetRecipePriceBreakdownByID200Response.to_json() +print(GetRecipePriceBreakdownByID200Response.to_json()) # convert the object into a dict get_recipe_price_breakdown_by_id200_response_dict = get_recipe_price_breakdown_by_id200_response_instance.to_dict() # create an instance of GetRecipePriceBreakdownByID200Response from a dict -get_recipe_price_breakdown_by_id200_response_form_dict = get_recipe_price_breakdown_by_id200_response.from_dict(get_recipe_price_breakdown_by_id200_response_dict) +get_recipe_price_breakdown_by_id200_response_from_dict = GetRecipePriceBreakdownByID200Response.from_dict(get_recipe_price_breakdown_by_id200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md b/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md index 8703cd9d0..5c8b0d328 100644 --- a/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md +++ b/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInner from a JSON string get_recipe_price_breakdown_by_id200_response_ingredients_inner_instance = GetRecipePriceBreakdownByID200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print GetRecipePriceBreakdownByID200ResponseIngredientsInner.to_json() +print(GetRecipePriceBreakdownByID200ResponseIngredientsInner.to_json()) # convert the object into a dict get_recipe_price_breakdown_by_id200_response_ingredients_inner_dict = get_recipe_price_breakdown_by_id200_response_ingredients_inner_instance.to_dict() # create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInner from a dict -get_recipe_price_breakdown_by_id200_response_ingredients_inner_form_dict = get_recipe_price_breakdown_by_id200_response_ingredients_inner.from_dict(get_recipe_price_breakdown_by_id200_response_ingredients_inner_dict) +get_recipe_price_breakdown_by_id200_response_ingredients_inner_from_dict = GetRecipePriceBreakdownByID200ResponseIngredientsInner.from_dict(get_recipe_price_breakdown_by_id200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md b/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md index f44eeb9d4..50a1038c4 100644 --- a/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md +++ b/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount from a JSON string get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_instance = GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.from_json(json) # print the JSON string representation of the object -print GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.to_json() +print(GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.to_json()) # convert the object into a dict get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_dict = get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_instance.to_dict() # create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount from a dict -get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_form_dict = get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.from_dict(get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_dict) +get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_from_dict = GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.from_dict(get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md b/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md index 732a80bf5..f14fe1ae6 100644 --- a/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md +++ b/python/docs/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric from a JSON string get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_instance = GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.from_json(json) # print the JSON string representation of the object -print GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.to_json() +print(GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.to_json()) # convert the object into a dict get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_dict = get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_instance.to_dict() # create an instance of GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric from a dict -get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_form_dict = get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.from_dict(get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_dict) +get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_from_dict = GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.from_dict(get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetRecipeTasteByID200Response.md b/python/docs/GetRecipeTasteByID200Response.md index c4ac0905e..87ef1f391 100644 --- a/python/docs/GetRecipeTasteByID200Response.md +++ b/python/docs/GetRecipeTasteByID200Response.md @@ -24,12 +24,12 @@ json = "{}" # create an instance of GetRecipeTasteByID200Response from a JSON string get_recipe_taste_by_id200_response_instance = GetRecipeTasteByID200Response.from_json(json) # print the JSON string representation of the object -print GetRecipeTasteByID200Response.to_json() +print(GetRecipeTasteByID200Response.to_json()) # convert the object into a dict get_recipe_taste_by_id200_response_dict = get_recipe_taste_by_id200_response_instance.to_dict() # create an instance of GetRecipeTasteByID200Response from a dict -get_recipe_taste_by_id200_response_form_dict = get_recipe_taste_by_id200_response.from_dict(get_recipe_taste_by_id200_response_dict) +get_recipe_taste_by_id200_response_from_dict = GetRecipeTasteByID200Response.from_dict(get_recipe_taste_by_id200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetShoppingList200Response.md b/python/docs/GetShoppingList200Response.md index 7eb66e4ce..73ebf3572 100644 --- a/python/docs/GetShoppingList200Response.md +++ b/python/docs/GetShoppingList200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of GetShoppingList200Response from a JSON string get_shopping_list200_response_instance = GetShoppingList200Response.from_json(json) # print the JSON string representation of the object -print GetShoppingList200Response.to_json() +print(GetShoppingList200Response.to_json()) # convert the object into a dict get_shopping_list200_response_dict = get_shopping_list200_response_instance.to_dict() # create an instance of GetShoppingList200Response from a dict -get_shopping_list200_response_form_dict = get_shopping_list200_response.from_dict(get_shopping_list200_response_dict) +get_shopping_list200_response_from_dict = GetShoppingList200Response.from_dict(get_shopping_list200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetShoppingList200ResponseAislesInner.md b/python/docs/GetShoppingList200ResponseAislesInner.md index d080fb0f8..b1384b770 100644 --- a/python/docs/GetShoppingList200ResponseAislesInner.md +++ b/python/docs/GetShoppingList200ResponseAislesInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetShoppingList200ResponseAislesInner from a JSON string get_shopping_list200_response_aisles_inner_instance = GetShoppingList200ResponseAislesInner.from_json(json) # print the JSON string representation of the object -print GetShoppingList200ResponseAislesInner.to_json() +print(GetShoppingList200ResponseAislesInner.to_json()) # convert the object into a dict get_shopping_list200_response_aisles_inner_dict = get_shopping_list200_response_aisles_inner_instance.to_dict() # create an instance of GetShoppingList200ResponseAislesInner from a dict -get_shopping_list200_response_aisles_inner_form_dict = get_shopping_list200_response_aisles_inner.from_dict(get_shopping_list200_response_aisles_inner_dict) +get_shopping_list200_response_aisles_inner_from_dict = GetShoppingList200ResponseAislesInner.from_dict(get_shopping_list200_response_aisles_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetShoppingList200ResponseAislesInnerItemsInner.md b/python/docs/GetShoppingList200ResponseAislesInnerItemsInner.md index 15b4a2d9a..51b859e56 100644 --- a/python/docs/GetShoppingList200ResponseAislesInnerItemsInner.md +++ b/python/docs/GetShoppingList200ResponseAislesInnerItemsInner.md @@ -23,12 +23,12 @@ json = "{}" # create an instance of GetShoppingList200ResponseAislesInnerItemsInner from a JSON string get_shopping_list200_response_aisles_inner_items_inner_instance = GetShoppingList200ResponseAislesInnerItemsInner.from_json(json) # print the JSON string representation of the object -print GetShoppingList200ResponseAislesInnerItemsInner.to_json() +print(GetShoppingList200ResponseAislesInnerItemsInner.to_json()) # convert the object into a dict get_shopping_list200_response_aisles_inner_items_inner_dict = get_shopping_list200_response_aisles_inner_items_inner_instance.to_dict() # create an instance of GetShoppingList200ResponseAislesInnerItemsInner from a dict -get_shopping_list200_response_aisles_inner_items_inner_form_dict = get_shopping_list200_response_aisles_inner_items_inner.from_dict(get_shopping_list200_response_aisles_inner_items_inner_dict) +get_shopping_list200_response_aisles_inner_items_inner_from_dict = GetShoppingList200ResponseAislesInnerItemsInner.from_dict(get_shopping_list200_response_aisles_inner_items_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md b/python/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md index dc8567ef3..6848a9349 100644 --- a/python/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md +++ b/python/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetShoppingList200ResponseAislesInnerItemsInnerMeasures from a JSON string get_shopping_list200_response_aisles_inner_items_inner_measures_instance = GetShoppingList200ResponseAislesInnerItemsInnerMeasures.from_json(json) # print the JSON string representation of the object -print GetShoppingList200ResponseAislesInnerItemsInnerMeasures.to_json() +print(GetShoppingList200ResponseAislesInnerItemsInnerMeasures.to_json()) # convert the object into a dict get_shopping_list200_response_aisles_inner_items_inner_measures_dict = get_shopping_list200_response_aisles_inner_items_inner_measures_instance.to_dict() # create an instance of GetShoppingList200ResponseAislesInnerItemsInnerMeasures from a dict -get_shopping_list200_response_aisles_inner_items_inner_measures_form_dict = get_shopping_list200_response_aisles_inner_items_inner_measures.from_dict(get_shopping_list200_response_aisles_inner_items_inner_measures_dict) +get_shopping_list200_response_aisles_inner_items_inner_measures_from_dict = GetShoppingList200ResponseAislesInnerItemsInnerMeasures.from_dict(get_shopping_list200_response_aisles_inner_items_inner_measures_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetSimilarRecipes200ResponseInner.md b/python/docs/GetSimilarRecipes200ResponseInner.md index 8e63f0e2f..583810b84 100644 --- a/python/docs/GetSimilarRecipes200ResponseInner.md +++ b/python/docs/GetSimilarRecipes200ResponseInner.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of GetSimilarRecipes200ResponseInner from a JSON string get_similar_recipes200_response_inner_instance = GetSimilarRecipes200ResponseInner.from_json(json) # print the JSON string representation of the object -print GetSimilarRecipes200ResponseInner.to_json() +print(GetSimilarRecipes200ResponseInner.to_json()) # convert the object into a dict get_similar_recipes200_response_inner_dict = get_similar_recipes200_response_inner_instance.to_dict() # create an instance of GetSimilarRecipes200ResponseInner from a dict -get_similar_recipes200_response_inner_form_dict = get_similar_recipes200_response_inner.from_dict(get_similar_recipes200_response_inner_dict) +get_similar_recipes200_response_inner_from_dict = GetSimilarRecipes200ResponseInner.from_dict(get_similar_recipes200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetWineDescription200Response.md b/python/docs/GetWineDescription200Response.md index ab50c4769..eb7cd1849 100644 --- a/python/docs/GetWineDescription200Response.md +++ b/python/docs/GetWineDescription200Response.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GetWineDescription200Response from a JSON string get_wine_description200_response_instance = GetWineDescription200Response.from_json(json) # print the JSON string representation of the object -print GetWineDescription200Response.to_json() +print(GetWineDescription200Response.to_json()) # convert the object into a dict get_wine_description200_response_dict = get_wine_description200_response_instance.to_dict() # create an instance of GetWineDescription200Response from a dict -get_wine_description200_response_form_dict = get_wine_description200_response.from_dict(get_wine_description200_response_dict) +get_wine_description200_response_from_dict = GetWineDescription200Response.from_dict(get_wine_description200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetWinePairing200Response.md b/python/docs/GetWinePairing200Response.md index 86ba31c92..677e2be2c 100644 --- a/python/docs/GetWinePairing200Response.md +++ b/python/docs/GetWinePairing200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GetWinePairing200Response from a JSON string get_wine_pairing200_response_instance = GetWinePairing200Response.from_json(json) # print the JSON string representation of the object -print GetWinePairing200Response.to_json() +print(GetWinePairing200Response.to_json()) # convert the object into a dict get_wine_pairing200_response_dict = get_wine_pairing200_response_instance.to_dict() # create an instance of GetWinePairing200Response from a dict -get_wine_pairing200_response_form_dict = get_wine_pairing200_response.from_dict(get_wine_pairing200_response_dict) +get_wine_pairing200_response_from_dict = GetWinePairing200Response.from_dict(get_wine_pairing200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetWinePairing200ResponseProductMatchesInner.md b/python/docs/GetWinePairing200ResponseProductMatchesInner.md index 7f256c767..fbe7d78ba 100644 --- a/python/docs/GetWinePairing200ResponseProductMatchesInner.md +++ b/python/docs/GetWinePairing200ResponseProductMatchesInner.md @@ -25,12 +25,12 @@ json = "{}" # create an instance of GetWinePairing200ResponseProductMatchesInner from a JSON string get_wine_pairing200_response_product_matches_inner_instance = GetWinePairing200ResponseProductMatchesInner.from_json(json) # print the JSON string representation of the object -print GetWinePairing200ResponseProductMatchesInner.to_json() +print(GetWinePairing200ResponseProductMatchesInner.to_json()) # convert the object into a dict get_wine_pairing200_response_product_matches_inner_dict = get_wine_pairing200_response_product_matches_inner_instance.to_dict() # create an instance of GetWinePairing200ResponseProductMatchesInner from a dict -get_wine_pairing200_response_product_matches_inner_form_dict = get_wine_pairing200_response_product_matches_inner.from_dict(get_wine_pairing200_response_product_matches_inner_dict) +get_wine_pairing200_response_product_matches_inner_from_dict = GetWinePairing200ResponseProductMatchesInner.from_dict(get_wine_pairing200_response_product_matches_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetWineRecommendation200Response.md b/python/docs/GetWineRecommendation200Response.md index 8fed48c06..d5ea9da30 100644 --- a/python/docs/GetWineRecommendation200Response.md +++ b/python/docs/GetWineRecommendation200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of GetWineRecommendation200Response from a JSON string get_wine_recommendation200_response_instance = GetWineRecommendation200Response.from_json(json) # print the JSON string representation of the object -print GetWineRecommendation200Response.to_json() +print(GetWineRecommendation200Response.to_json()) # convert the object into a dict get_wine_recommendation200_response_dict = get_wine_recommendation200_response_instance.to_dict() # create an instance of GetWineRecommendation200Response from a dict -get_wine_recommendation200_response_form_dict = get_wine_recommendation200_response.from_dict(get_wine_recommendation200_response_dict) +get_wine_recommendation200_response_from_dict = GetWineRecommendation200Response.from_dict(get_wine_recommendation200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md b/python/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md index 7337c53e4..b55d203d1 100644 --- a/python/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md +++ b/python/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md @@ -25,12 +25,12 @@ json = "{}" # create an instance of GetWineRecommendation200ResponseRecommendedWinesInner from a JSON string get_wine_recommendation200_response_recommended_wines_inner_instance = GetWineRecommendation200ResponseRecommendedWinesInner.from_json(json) # print the JSON string representation of the object -print GetWineRecommendation200ResponseRecommendedWinesInner.to_json() +print(GetWineRecommendation200ResponseRecommendedWinesInner.to_json()) # convert the object into a dict get_wine_recommendation200_response_recommended_wines_inner_dict = get_wine_recommendation200_response_recommended_wines_inner_instance.to_dict() # create an instance of GetWineRecommendation200ResponseRecommendedWinesInner from a dict -get_wine_recommendation200_response_recommended_wines_inner_form_dict = get_wine_recommendation200_response_recommended_wines_inner.from_dict(get_wine_recommendation200_response_recommended_wines_inner_dict) +get_wine_recommendation200_response_recommended_wines_inner_from_dict = GetWineRecommendation200ResponseRecommendedWinesInner.from_dict(get_wine_recommendation200_response_recommended_wines_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GuessNutritionByDishName200Response.md b/python/docs/GuessNutritionByDishName200Response.md index 6c9a20f11..b9a424c74 100644 --- a/python/docs/GuessNutritionByDishName200Response.md +++ b/python/docs/GuessNutritionByDishName200Response.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of GuessNutritionByDishName200Response from a JSON string guess_nutrition_by_dish_name200_response_instance = GuessNutritionByDishName200Response.from_json(json) # print the JSON string representation of the object -print GuessNutritionByDishName200Response.to_json() +print(GuessNutritionByDishName200Response.to_json()) # convert the object into a dict guess_nutrition_by_dish_name200_response_dict = guess_nutrition_by_dish_name200_response_instance.to_dict() # create an instance of GuessNutritionByDishName200Response from a dict -guess_nutrition_by_dish_name200_response_form_dict = guess_nutrition_by_dish_name200_response.from_dict(guess_nutrition_by_dish_name200_response_dict) +guess_nutrition_by_dish_name200_response_from_dict = GuessNutritionByDishName200Response.from_dict(guess_nutrition_by_dish_name200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GuessNutritionByDishName200ResponseCalories.md b/python/docs/GuessNutritionByDishName200ResponseCalories.md index b39cc627e..fc5eea319 100644 --- a/python/docs/GuessNutritionByDishName200ResponseCalories.md +++ b/python/docs/GuessNutritionByDishName200ResponseCalories.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of GuessNutritionByDishName200ResponseCalories from a JSON string guess_nutrition_by_dish_name200_response_calories_instance = GuessNutritionByDishName200ResponseCalories.from_json(json) # print the JSON string representation of the object -print GuessNutritionByDishName200ResponseCalories.to_json() +print(GuessNutritionByDishName200ResponseCalories.to_json()) # convert the object into a dict guess_nutrition_by_dish_name200_response_calories_dict = guess_nutrition_by_dish_name200_response_calories_instance.to_dict() # create an instance of GuessNutritionByDishName200ResponseCalories from a dict -guess_nutrition_by_dish_name200_response_calories_form_dict = guess_nutrition_by_dish_name200_response_calories.from_dict(guess_nutrition_by_dish_name200_response_calories_dict) +guess_nutrition_by_dish_name200_response_calories_from_dict = GuessNutritionByDishName200ResponseCalories.from_dict(guess_nutrition_by_dish_name200_response_calories_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md b/python/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md index 23091336b..81d644ef5 100644 --- a/python/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md +++ b/python/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent from a JSON string guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_instance = GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.from_json(json) # print the JSON string representation of the object -print GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.to_json() +print(GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.to_json()) # convert the object into a dict guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_dict = guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_instance.to_dict() # create an instance of GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent from a dict -guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_form_dict = guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.from_dict(guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_dict) +guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_from_dict = GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.from_dict(guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageAnalysisByURL200Response.md b/python/docs/ImageAnalysisByURL200Response.md index d1bf687e2..f83ca33a3 100644 --- a/python/docs/ImageAnalysisByURL200Response.md +++ b/python/docs/ImageAnalysisByURL200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ImageAnalysisByURL200Response from a JSON string image_analysis_by_url200_response_instance = ImageAnalysisByURL200Response.from_json(json) # print the JSON string representation of the object -print ImageAnalysisByURL200Response.to_json() +print(ImageAnalysisByURL200Response.to_json()) # convert the object into a dict image_analysis_by_url200_response_dict = image_analysis_by_url200_response_instance.to_dict() # create an instance of ImageAnalysisByURL200Response from a dict -image_analysis_by_url200_response_form_dict = image_analysis_by_url200_response.from_dict(image_analysis_by_url200_response_dict) +image_analysis_by_url200_response_from_dict = ImageAnalysisByURL200Response.from_dict(image_analysis_by_url200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageAnalysisByURL200ResponseCategory.md b/python/docs/ImageAnalysisByURL200ResponseCategory.md index cf86133ff..2354c9f84 100644 --- a/python/docs/ImageAnalysisByURL200ResponseCategory.md +++ b/python/docs/ImageAnalysisByURL200ResponseCategory.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of ImageAnalysisByURL200ResponseCategory from a JSON string image_analysis_by_url200_response_category_instance = ImageAnalysisByURL200ResponseCategory.from_json(json) # print the JSON string representation of the object -print ImageAnalysisByURL200ResponseCategory.to_json() +print(ImageAnalysisByURL200ResponseCategory.to_json()) # convert the object into a dict image_analysis_by_url200_response_category_dict = image_analysis_by_url200_response_category_instance.to_dict() # create an instance of ImageAnalysisByURL200ResponseCategory from a dict -image_analysis_by_url200_response_category_form_dict = image_analysis_by_url200_response_category.from_dict(image_analysis_by_url200_response_category_dict) +image_analysis_by_url200_response_category_from_dict = ImageAnalysisByURL200ResponseCategory.from_dict(image_analysis_by_url200_response_category_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageAnalysisByURL200ResponseNutrition.md b/python/docs/ImageAnalysisByURL200ResponseNutrition.md index c77e117d8..89cdb67cd 100644 --- a/python/docs/ImageAnalysisByURL200ResponseNutrition.md +++ b/python/docs/ImageAnalysisByURL200ResponseNutrition.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of ImageAnalysisByURL200ResponseNutrition from a JSON string image_analysis_by_url200_response_nutrition_instance = ImageAnalysisByURL200ResponseNutrition.from_json(json) # print the JSON string representation of the object -print ImageAnalysisByURL200ResponseNutrition.to_json() +print(ImageAnalysisByURL200ResponseNutrition.to_json()) # convert the object into a dict image_analysis_by_url200_response_nutrition_dict = image_analysis_by_url200_response_nutrition_instance.to_dict() # create an instance of ImageAnalysisByURL200ResponseNutrition from a dict -image_analysis_by_url200_response_nutrition_form_dict = image_analysis_by_url200_response_nutrition.from_dict(image_analysis_by_url200_response_nutrition_dict) +image_analysis_by_url200_response_nutrition_from_dict = ImageAnalysisByURL200ResponseNutrition.from_dict(image_analysis_by_url200_response_nutrition_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageAnalysisByURL200ResponseNutritionCalories.md b/python/docs/ImageAnalysisByURL200ResponseNutritionCalories.md index 5d81c97e0..ec8da8f34 100644 --- a/python/docs/ImageAnalysisByURL200ResponseNutritionCalories.md +++ b/python/docs/ImageAnalysisByURL200ResponseNutritionCalories.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ImageAnalysisByURL200ResponseNutritionCalories from a JSON string image_analysis_by_url200_response_nutrition_calories_instance = ImageAnalysisByURL200ResponseNutritionCalories.from_json(json) # print the JSON string representation of the object -print ImageAnalysisByURL200ResponseNutritionCalories.to_json() +print(ImageAnalysisByURL200ResponseNutritionCalories.to_json()) # convert the object into a dict image_analysis_by_url200_response_nutrition_calories_dict = image_analysis_by_url200_response_nutrition_calories_instance.to_dict() # create an instance of ImageAnalysisByURL200ResponseNutritionCalories from a dict -image_analysis_by_url200_response_nutrition_calories_form_dict = image_analysis_by_url200_response_nutrition_calories.from_dict(image_analysis_by_url200_response_nutrition_calories_dict) +image_analysis_by_url200_response_nutrition_calories_from_dict = ImageAnalysisByURL200ResponseNutritionCalories.from_dict(image_analysis_by_url200_response_nutrition_calories_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md b/python/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md index 7bb31c8f5..fd78c9135 100644 --- a/python/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md +++ b/python/docs/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent from a JSON string image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_instance = ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.from_json(json) # print the JSON string representation of the object -print ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.to_json() +print(ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.to_json()) # convert the object into a dict image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_dict = image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_instance.to_dict() # create an instance of ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent from a dict -image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_form_dict = image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.from_dict(image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_dict) +image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_from_dict = ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.from_dict(image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageAnalysisByURL200ResponseRecipesInner.md b/python/docs/ImageAnalysisByURL200ResponseRecipesInner.md index e8bca983d..91156349b 100644 --- a/python/docs/ImageAnalysisByURL200ResponseRecipesInner.md +++ b/python/docs/ImageAnalysisByURL200ResponseRecipesInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ImageAnalysisByURL200ResponseRecipesInner from a JSON string image_analysis_by_url200_response_recipes_inner_instance = ImageAnalysisByURL200ResponseRecipesInner.from_json(json) # print the JSON string representation of the object -print ImageAnalysisByURL200ResponseRecipesInner.to_json() +print(ImageAnalysisByURL200ResponseRecipesInner.to_json()) # convert the object into a dict image_analysis_by_url200_response_recipes_inner_dict = image_analysis_by_url200_response_recipes_inner_instance.to_dict() # create an instance of ImageAnalysisByURL200ResponseRecipesInner from a dict -image_analysis_by_url200_response_recipes_inner_form_dict = image_analysis_by_url200_response_recipes_inner.from_dict(image_analysis_by_url200_response_recipes_inner_dict) +image_analysis_by_url200_response_recipes_inner_from_dict = ImageAnalysisByURL200ResponseRecipesInner.from_dict(image_analysis_by_url200_response_recipes_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ImageClassificationByURL200Response.md b/python/docs/ImageClassificationByURL200Response.md index c74d65bdc..6cc36080f 100644 --- a/python/docs/ImageClassificationByURL200Response.md +++ b/python/docs/ImageClassificationByURL200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ImageClassificationByURL200Response from a JSON string image_classification_by_url200_response_instance = ImageClassificationByURL200Response.from_json(json) # print the JSON string representation of the object -print ImageClassificationByURL200Response.to_json() +print(ImageClassificationByURL200Response.to_json()) # convert the object into a dict image_classification_by_url200_response_dict = image_classification_by_url200_response_instance.to_dict() # create an instance of ImageClassificationByURL200Response from a dict -image_classification_by_url200_response_form_dict = image_classification_by_url200_response.from_dict(image_classification_by_url200_response_dict) +image_classification_by_url200_response_from_dict = ImageClassificationByURL200Response.from_dict(image_classification_by_url200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/IngredientSearch200Response.md b/python/docs/IngredientSearch200Response.md index 40643ea00..21dd33b5e 100644 --- a/python/docs/IngredientSearch200Response.md +++ b/python/docs/IngredientSearch200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of IngredientSearch200Response from a JSON string ingredient_search200_response_instance = IngredientSearch200Response.from_json(json) # print the JSON string representation of the object -print IngredientSearch200Response.to_json() +print(IngredientSearch200Response.to_json()) # convert the object into a dict ingredient_search200_response_dict = ingredient_search200_response_instance.to_dict() # create an instance of IngredientSearch200Response from a dict -ingredient_search200_response_form_dict = ingredient_search200_response.from_dict(ingredient_search200_response_dict) +ingredient_search200_response_from_dict = IngredientSearch200Response.from_dict(ingredient_search200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/IngredientSearch200ResponseResultsInner.md b/python/docs/IngredientSearch200ResponseResultsInner.md index 67db4713e..a2d3ffa33 100644 --- a/python/docs/IngredientSearch200ResponseResultsInner.md +++ b/python/docs/IngredientSearch200ResponseResultsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of IngredientSearch200ResponseResultsInner from a JSON string ingredient_search200_response_results_inner_instance = IngredientSearch200ResponseResultsInner.from_json(json) # print the JSON string representation of the object -print IngredientSearch200ResponseResultsInner.to_json() +print(IngredientSearch200ResponseResultsInner.to_json()) # convert the object into a dict ingredient_search200_response_results_inner_dict = ingredient_search200_response_results_inner_instance.to_dict() # create an instance of IngredientSearch200ResponseResultsInner from a dict -ingredient_search200_response_results_inner_form_dict = ingredient_search200_response_results_inner.from_dict(ingredient_search200_response_results_inner_dict) +ingredient_search200_response_results_inner_from_dict = IngredientSearch200ResponseResultsInner.from_dict(ingredient_search200_response_results_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/MapIngredientsToGroceryProducts200ResponseInner.md b/python/docs/MapIngredientsToGroceryProducts200ResponseInner.md index 77225f96a..84e6c7804 100644 --- a/python/docs/MapIngredientsToGroceryProducts200ResponseInner.md +++ b/python/docs/MapIngredientsToGroceryProducts200ResponseInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of MapIngredientsToGroceryProducts200ResponseInner from a JSON string map_ingredients_to_grocery_products200_response_inner_instance = MapIngredientsToGroceryProducts200ResponseInner.from_json(json) # print the JSON string representation of the object -print MapIngredientsToGroceryProducts200ResponseInner.to_json() +print(MapIngredientsToGroceryProducts200ResponseInner.to_json()) # convert the object into a dict map_ingredients_to_grocery_products200_response_inner_dict = map_ingredients_to_grocery_products200_response_inner_instance.to_dict() # create an instance of MapIngredientsToGroceryProducts200ResponseInner from a dict -map_ingredients_to_grocery_products200_response_inner_form_dict = map_ingredients_to_grocery_products200_response_inner.from_dict(map_ingredients_to_grocery_products200_response_inner_dict) +map_ingredients_to_grocery_products200_response_inner_from_dict = MapIngredientsToGroceryProducts200ResponseInner.from_dict(map_ingredients_to_grocery_products200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md b/python/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md index 0224a2166..15aee5b1c 100644 --- a/python/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md +++ b/python/docs/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of MapIngredientsToGroceryProducts200ResponseInnerProductsInner from a JSON string map_ingredients_to_grocery_products200_response_inner_products_inner_instance = MapIngredientsToGroceryProducts200ResponseInnerProductsInner.from_json(json) # print the JSON string representation of the object -print MapIngredientsToGroceryProducts200ResponseInnerProductsInner.to_json() +print(MapIngredientsToGroceryProducts200ResponseInnerProductsInner.to_json()) # convert the object into a dict map_ingredients_to_grocery_products200_response_inner_products_inner_dict = map_ingredients_to_grocery_products200_response_inner_products_inner_instance.to_dict() # create an instance of MapIngredientsToGroceryProducts200ResponseInnerProductsInner from a dict -map_ingredients_to_grocery_products200_response_inner_products_inner_form_dict = map_ingredients_to_grocery_products200_response_inner_products_inner.from_dict(map_ingredients_to_grocery_products200_response_inner_products_inner_dict) +map_ingredients_to_grocery_products200_response_inner_products_inner_from_dict = MapIngredientsToGroceryProducts200ResponseInnerProductsInner.from_dict(map_ingredients_to_grocery_products200_response_inner_products_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/MapIngredientsToGroceryProductsRequest.md b/python/docs/MapIngredientsToGroceryProductsRequest.md index 7bd4e7c90..88c3eff49 100644 --- a/python/docs/MapIngredientsToGroceryProductsRequest.md +++ b/python/docs/MapIngredientsToGroceryProductsRequest.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of MapIngredientsToGroceryProductsRequest from a JSON string map_ingredients_to_grocery_products_request_instance = MapIngredientsToGroceryProductsRequest.from_json(json) # print the JSON string representation of the object -print MapIngredientsToGroceryProductsRequest.to_json() +print(MapIngredientsToGroceryProductsRequest.to_json()) # convert the object into a dict map_ingredients_to_grocery_products_request_dict = map_ingredients_to_grocery_products_request_instance.to_dict() # create an instance of MapIngredientsToGroceryProductsRequest from a dict -map_ingredients_to_grocery_products_request_form_dict = map_ingredients_to_grocery_products_request.from_dict(map_ingredients_to_grocery_products_request_dict) +map_ingredients_to_grocery_products_request_from_dict = MapIngredientsToGroceryProductsRequest.from_dict(map_ingredients_to_grocery_products_request_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInner.md b/python/docs/ParseIngredients200ResponseInner.md index 37d854987..ab22ebfe6 100644 --- a/python/docs/ParseIngredients200ResponseInner.md +++ b/python/docs/ParseIngredients200ResponseInner.md @@ -32,12 +32,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInner from a JSON string parse_ingredients200_response_inner_instance = ParseIngredients200ResponseInner.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInner.to_json() +print(ParseIngredients200ResponseInner.to_json()) # convert the object into a dict parse_ingredients200_response_inner_dict = parse_ingredients200_response_inner_instance.to_dict() # create an instance of ParseIngredients200ResponseInner from a dict -parse_ingredients200_response_inner_form_dict = parse_ingredients200_response_inner.from_dict(parse_ingredients200_response_inner_dict) +parse_ingredients200_response_inner_from_dict = ParseIngredients200ResponseInner.from_dict(parse_ingredients200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInnerEstimatedCost.md b/python/docs/ParseIngredients200ResponseInnerEstimatedCost.md index 4a8aaa109..f51414315 100644 --- a/python/docs/ParseIngredients200ResponseInnerEstimatedCost.md +++ b/python/docs/ParseIngredients200ResponseInnerEstimatedCost.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInnerEstimatedCost from a JSON string parse_ingredients200_response_inner_estimated_cost_instance = ParseIngredients200ResponseInnerEstimatedCost.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInnerEstimatedCost.to_json() +print(ParseIngredients200ResponseInnerEstimatedCost.to_json()) # convert the object into a dict parse_ingredients200_response_inner_estimated_cost_dict = parse_ingredients200_response_inner_estimated_cost_instance.to_dict() # create an instance of ParseIngredients200ResponseInnerEstimatedCost from a dict -parse_ingredients200_response_inner_estimated_cost_form_dict = parse_ingredients200_response_inner_estimated_cost.from_dict(parse_ingredients200_response_inner_estimated_cost_dict) +parse_ingredients200_response_inner_estimated_cost_from_dict = ParseIngredients200ResponseInnerEstimatedCost.from_dict(parse_ingredients200_response_inner_estimated_cost_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInnerNutrition.md b/python/docs/ParseIngredients200ResponseInnerNutrition.md index 0917a95ac..45d649749 100644 --- a/python/docs/ParseIngredients200ResponseInnerNutrition.md +++ b/python/docs/ParseIngredients200ResponseInnerNutrition.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInnerNutrition from a JSON string parse_ingredients200_response_inner_nutrition_instance = ParseIngredients200ResponseInnerNutrition.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInnerNutrition.to_json() +print(ParseIngredients200ResponseInnerNutrition.to_json()) # convert the object into a dict parse_ingredients200_response_inner_nutrition_dict = parse_ingredients200_response_inner_nutrition_instance.to_dict() # create an instance of ParseIngredients200ResponseInnerNutrition from a dict -parse_ingredients200_response_inner_nutrition_form_dict = parse_ingredients200_response_inner_nutrition.from_dict(parse_ingredients200_response_inner_nutrition_dict) +parse_ingredients200_response_inner_nutrition_from_dict = ParseIngredients200ResponseInnerNutrition.from_dict(parse_ingredients200_response_inner_nutrition_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md b/python/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md index 0b1d9566a..4a0b9348c 100644 --- a/python/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md +++ b/python/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInnerNutritionCaloricBreakdown from a JSON string parse_ingredients200_response_inner_nutrition_caloric_breakdown_instance = ParseIngredients200ResponseInnerNutritionCaloricBreakdown.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInnerNutritionCaloricBreakdown.to_json() +print(ParseIngredients200ResponseInnerNutritionCaloricBreakdown.to_json()) # convert the object into a dict parse_ingredients200_response_inner_nutrition_caloric_breakdown_dict = parse_ingredients200_response_inner_nutrition_caloric_breakdown_instance.to_dict() # create an instance of ParseIngredients200ResponseInnerNutritionCaloricBreakdown from a dict -parse_ingredients200_response_inner_nutrition_caloric_breakdown_form_dict = parse_ingredients200_response_inner_nutrition_caloric_breakdown.from_dict(parse_ingredients200_response_inner_nutrition_caloric_breakdown_dict) +parse_ingredients200_response_inner_nutrition_caloric_breakdown_from_dict = ParseIngredients200ResponseInnerNutritionCaloricBreakdown.from_dict(parse_ingredients200_response_inner_nutrition_caloric_breakdown_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md b/python/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md index fa501d107..a92852f80 100644 --- a/python/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md +++ b/python/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInnerNutritionNutrientsInner from a JSON string parse_ingredients200_response_inner_nutrition_nutrients_inner_instance = ParseIngredients200ResponseInnerNutritionNutrientsInner.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInnerNutritionNutrientsInner.to_json() +print(ParseIngredients200ResponseInnerNutritionNutrientsInner.to_json()) # convert the object into a dict parse_ingredients200_response_inner_nutrition_nutrients_inner_dict = parse_ingredients200_response_inner_nutrition_nutrients_inner_instance.to_dict() # create an instance of ParseIngredients200ResponseInnerNutritionNutrientsInner from a dict -parse_ingredients200_response_inner_nutrition_nutrients_inner_form_dict = parse_ingredients200_response_inner_nutrition_nutrients_inner.from_dict(parse_ingredients200_response_inner_nutrition_nutrients_inner_dict) +parse_ingredients200_response_inner_nutrition_nutrients_inner_from_dict = ParseIngredients200ResponseInnerNutritionNutrientsInner.from_dict(parse_ingredients200_response_inner_nutrition_nutrients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md b/python/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md index 28768fa89..d161b76ab 100644 --- a/python/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md +++ b/python/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInnerNutritionPropertiesInner from a JSON string parse_ingredients200_response_inner_nutrition_properties_inner_instance = ParseIngredients200ResponseInnerNutritionPropertiesInner.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInnerNutritionPropertiesInner.to_json() +print(ParseIngredients200ResponseInnerNutritionPropertiesInner.to_json()) # convert the object into a dict parse_ingredients200_response_inner_nutrition_properties_inner_dict = parse_ingredients200_response_inner_nutrition_properties_inner_instance.to_dict() # create an instance of ParseIngredients200ResponseInnerNutritionPropertiesInner from a dict -parse_ingredients200_response_inner_nutrition_properties_inner_form_dict = parse_ingredients200_response_inner_nutrition_properties_inner.from_dict(parse_ingredients200_response_inner_nutrition_properties_inner_dict) +parse_ingredients200_response_inner_nutrition_properties_inner_from_dict = ParseIngredients200ResponseInnerNutritionPropertiesInner.from_dict(parse_ingredients200_response_inner_nutrition_properties_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md b/python/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md index dfafc840f..f03331f2b 100644 --- a/python/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md +++ b/python/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of ParseIngredients200ResponseInnerNutritionWeightPerServing from a JSON string parse_ingredients200_response_inner_nutrition_weight_per_serving_instance = ParseIngredients200ResponseInnerNutritionWeightPerServing.from_json(json) # print the JSON string representation of the object -print ParseIngredients200ResponseInnerNutritionWeightPerServing.to_json() +print(ParseIngredients200ResponseInnerNutritionWeightPerServing.to_json()) # convert the object into a dict parse_ingredients200_response_inner_nutrition_weight_per_serving_dict = parse_ingredients200_response_inner_nutrition_weight_per_serving_instance.to_dict() # create an instance of ParseIngredients200ResponseInnerNutritionWeightPerServing from a dict -parse_ingredients200_response_inner_nutrition_weight_per_serving_form_dict = parse_ingredients200_response_inner_nutrition_weight_per_serving.from_dict(parse_ingredients200_response_inner_nutrition_weight_per_serving_dict) +parse_ingredients200_response_inner_nutrition_weight_per_serving_from_dict = ParseIngredients200ResponseInnerNutritionWeightPerServing.from_dict(parse_ingredients200_response_inner_nutrition_weight_per_serving_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/QuickAnswer200Response.md b/python/docs/QuickAnswer200Response.md index fbf016d44..21faafd9d 100644 --- a/python/docs/QuickAnswer200Response.md +++ b/python/docs/QuickAnswer200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of QuickAnswer200Response from a JSON string quick_answer200_response_instance = QuickAnswer200Response.from_json(json) # print the JSON string representation of the object -print QuickAnswer200Response.to_json() +print(QuickAnswer200Response.to_json()) # convert the object into a dict quick_answer200_response_dict = quick_answer200_response_instance.to_dict() # create an instance of QuickAnswer200Response from a dict -quick_answer200_response_form_dict = quick_answer200_response.from_dict(quick_answer200_response_dict) +quick_answer200_response_from_dict = QuickAnswer200Response.from_dict(quick_answer200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchAllFood200Response.md b/python/docs/SearchAllFood200Response.md index 009e2c6b7..f051cced3 100644 --- a/python/docs/SearchAllFood200Response.md +++ b/python/docs/SearchAllFood200Response.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of SearchAllFood200Response from a JSON string search_all_food200_response_instance = SearchAllFood200Response.from_json(json) # print the JSON string representation of the object -print SearchAllFood200Response.to_json() +print(SearchAllFood200Response.to_json()) # convert the object into a dict search_all_food200_response_dict = search_all_food200_response_instance.to_dict() # create an instance of SearchAllFood200Response from a dict -search_all_food200_response_form_dict = search_all_food200_response.from_dict(search_all_food200_response_dict) +search_all_food200_response_from_dict = SearchAllFood200Response.from_dict(search_all_food200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchAllFood200ResponseSearchResultsInner.md b/python/docs/SearchAllFood200ResponseSearchResultsInner.md index e95b07818..ef3a996e5 100644 --- a/python/docs/SearchAllFood200ResponseSearchResultsInner.md +++ b/python/docs/SearchAllFood200ResponseSearchResultsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of SearchAllFood200ResponseSearchResultsInner from a JSON string search_all_food200_response_search_results_inner_instance = SearchAllFood200ResponseSearchResultsInner.from_json(json) # print the JSON string representation of the object -print SearchAllFood200ResponseSearchResultsInner.to_json() +print(SearchAllFood200ResponseSearchResultsInner.to_json()) # convert the object into a dict search_all_food200_response_search_results_inner_dict = search_all_food200_response_search_results_inner_instance.to_dict() # create an instance of SearchAllFood200ResponseSearchResultsInner from a dict -search_all_food200_response_search_results_inner_form_dict = search_all_food200_response_search_results_inner.from_dict(search_all_food200_response_search_results_inner_dict) +search_all_food200_response_search_results_inner_from_dict = SearchAllFood200ResponseSearchResultsInner.from_dict(search_all_food200_response_search_results_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md b/python/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md index 6e5d757c3..7f1a03da0 100644 --- a/python/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md +++ b/python/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md @@ -23,12 +23,12 @@ json = "{}" # create an instance of SearchAllFood200ResponseSearchResultsInnerResultsInner from a JSON string search_all_food200_response_search_results_inner_results_inner_instance = SearchAllFood200ResponseSearchResultsInnerResultsInner.from_json(json) # print the JSON string representation of the object -print SearchAllFood200ResponseSearchResultsInnerResultsInner.to_json() +print(SearchAllFood200ResponseSearchResultsInnerResultsInner.to_json()) # convert the object into a dict search_all_food200_response_search_results_inner_results_inner_dict = search_all_food200_response_search_results_inner_results_inner_instance.to_dict() # create an instance of SearchAllFood200ResponseSearchResultsInnerResultsInner from a dict -search_all_food200_response_search_results_inner_results_inner_form_dict = search_all_food200_response_search_results_inner_results_inner.from_dict(search_all_food200_response_search_results_inner_results_inner_dict) +search_all_food200_response_search_results_inner_results_inner_from_dict = SearchAllFood200ResponseSearchResultsInnerResultsInner.from_dict(search_all_food200_response_search_results_inner_results_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchCustomFoods200Response.md b/python/docs/SearchCustomFoods200Response.md index 981625f9a..3953066ca 100644 --- a/python/docs/SearchCustomFoods200Response.md +++ b/python/docs/SearchCustomFoods200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of SearchCustomFoods200Response from a JSON string search_custom_foods200_response_instance = SearchCustomFoods200Response.from_json(json) # print the JSON string representation of the object -print SearchCustomFoods200Response.to_json() +print(SearchCustomFoods200Response.to_json()) # convert the object into a dict search_custom_foods200_response_dict = search_custom_foods200_response_instance.to_dict() # create an instance of SearchCustomFoods200Response from a dict -search_custom_foods200_response_form_dict = search_custom_foods200_response.from_dict(search_custom_foods200_response_dict) +search_custom_foods200_response_from_dict = SearchCustomFoods200Response.from_dict(search_custom_foods200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchCustomFoods200ResponseCustomFoodsInner.md b/python/docs/SearchCustomFoods200ResponseCustomFoodsInner.md index bcc38cb3b..2281e2414 100644 --- a/python/docs/SearchCustomFoods200ResponseCustomFoodsInner.md +++ b/python/docs/SearchCustomFoods200ResponseCustomFoodsInner.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of SearchCustomFoods200ResponseCustomFoodsInner from a JSON string search_custom_foods200_response_custom_foods_inner_instance = SearchCustomFoods200ResponseCustomFoodsInner.from_json(json) # print the JSON string representation of the object -print SearchCustomFoods200ResponseCustomFoodsInner.to_json() +print(SearchCustomFoods200ResponseCustomFoodsInner.to_json()) # convert the object into a dict search_custom_foods200_response_custom_foods_inner_dict = search_custom_foods200_response_custom_foods_inner_instance.to_dict() # create an instance of SearchCustomFoods200ResponseCustomFoodsInner from a dict -search_custom_foods200_response_custom_foods_inner_form_dict = search_custom_foods200_response_custom_foods_inner.from_dict(search_custom_foods200_response_custom_foods_inner_dict) +search_custom_foods200_response_custom_foods_inner_from_dict = SearchCustomFoods200ResponseCustomFoodsInner.from_dict(search_custom_foods200_response_custom_foods_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchFoodVideos200Response.md b/python/docs/SearchFoodVideos200Response.md index 220eb1fa7..058e2bf9e 100644 --- a/python/docs/SearchFoodVideos200Response.md +++ b/python/docs/SearchFoodVideos200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of SearchFoodVideos200Response from a JSON string search_food_videos200_response_instance = SearchFoodVideos200Response.from_json(json) # print the JSON string representation of the object -print SearchFoodVideos200Response.to_json() +print(SearchFoodVideos200Response.to_json()) # convert the object into a dict search_food_videos200_response_dict = search_food_videos200_response_instance.to_dict() # create an instance of SearchFoodVideos200Response from a dict -search_food_videos200_response_form_dict = search_food_videos200_response.from_dict(search_food_videos200_response_dict) +search_food_videos200_response_from_dict = SearchFoodVideos200Response.from_dict(search_food_videos200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchFoodVideos200ResponseVideosInner.md b/python/docs/SearchFoodVideos200ResponseVideosInner.md index 6703b79ed..6547e2957 100644 --- a/python/docs/SearchFoodVideos200ResponseVideosInner.md +++ b/python/docs/SearchFoodVideos200ResponseVideosInner.md @@ -23,12 +23,12 @@ json = "{}" # create an instance of SearchFoodVideos200ResponseVideosInner from a JSON string search_food_videos200_response_videos_inner_instance = SearchFoodVideos200ResponseVideosInner.from_json(json) # print the JSON string representation of the object -print SearchFoodVideos200ResponseVideosInner.to_json() +print(SearchFoodVideos200ResponseVideosInner.to_json()) # convert the object into a dict search_food_videos200_response_videos_inner_dict = search_food_videos200_response_videos_inner_instance.to_dict() # create an instance of SearchFoodVideos200ResponseVideosInner from a dict -search_food_videos200_response_videos_inner_form_dict = search_food_videos200_response_videos_inner.from_dict(search_food_videos200_response_videos_inner_dict) +search_food_videos200_response_videos_inner_from_dict = SearchFoodVideos200ResponseVideosInner.from_dict(search_food_videos200_response_videos_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchGroceryProducts200Response.md b/python/docs/SearchGroceryProducts200Response.md index dacb32ca9..bfec95210 100644 --- a/python/docs/SearchGroceryProducts200Response.md +++ b/python/docs/SearchGroceryProducts200Response.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of SearchGroceryProducts200Response from a JSON string search_grocery_products200_response_instance = SearchGroceryProducts200Response.from_json(json) # print the JSON string representation of the object -print SearchGroceryProducts200Response.to_json() +print(SearchGroceryProducts200Response.to_json()) # convert the object into a dict search_grocery_products200_response_dict = search_grocery_products200_response_instance.to_dict() # create an instance of SearchGroceryProducts200Response from a dict -search_grocery_products200_response_form_dict = search_grocery_products200_response.from_dict(search_grocery_products200_response_dict) +search_grocery_products200_response_from_dict = SearchGroceryProducts200Response.from_dict(search_grocery_products200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchGroceryProductsByUPC200Response.md b/python/docs/SearchGroceryProductsByUPC200Response.md index 7d1dc7d12..3c294e55f 100644 --- a/python/docs/SearchGroceryProductsByUPC200Response.md +++ b/python/docs/SearchGroceryProductsByUPC200Response.md @@ -32,12 +32,12 @@ json = "{}" # create an instance of SearchGroceryProductsByUPC200Response from a JSON string search_grocery_products_by_upc200_response_instance = SearchGroceryProductsByUPC200Response.from_json(json) # print the JSON string representation of the object -print SearchGroceryProductsByUPC200Response.to_json() +print(SearchGroceryProductsByUPC200Response.to_json()) # convert the object into a dict search_grocery_products_by_upc200_response_dict = search_grocery_products_by_upc200_response_instance.to_dict() # create an instance of SearchGroceryProductsByUPC200Response from a dict -search_grocery_products_by_upc200_response_form_dict = search_grocery_products_by_upc200_response.from_dict(search_grocery_products_by_upc200_response_dict) +search_grocery_products_by_upc200_response_from_dict = SearchGroceryProductsByUPC200Response.from_dict(search_grocery_products_by_upc200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md b/python/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md index 718d317f3..5e048c6dc 100644 --- a/python/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md +++ b/python/docs/SearchGroceryProductsByUPC200ResponseIngredientsInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of SearchGroceryProductsByUPC200ResponseIngredientsInner from a JSON string search_grocery_products_by_upc200_response_ingredients_inner_instance = SearchGroceryProductsByUPC200ResponseIngredientsInner.from_json(json) # print the JSON string representation of the object -print SearchGroceryProductsByUPC200ResponseIngredientsInner.to_json() +print(SearchGroceryProductsByUPC200ResponseIngredientsInner.to_json()) # convert the object into a dict search_grocery_products_by_upc200_response_ingredients_inner_dict = search_grocery_products_by_upc200_response_ingredients_inner_instance.to_dict() # create an instance of SearchGroceryProductsByUPC200ResponseIngredientsInner from a dict -search_grocery_products_by_upc200_response_ingredients_inner_form_dict = search_grocery_products_by_upc200_response_ingredients_inner.from_dict(search_grocery_products_by_upc200_response_ingredients_inner_dict) +search_grocery_products_by_upc200_response_ingredients_inner_from_dict = SearchGroceryProductsByUPC200ResponseIngredientsInner.from_dict(search_grocery_products_by_upc200_response_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchGroceryProductsByUPC200ResponseNutrition.md b/python/docs/SearchGroceryProductsByUPC200ResponseNutrition.md index fd3b2ec27..2ddc585cc 100644 --- a/python/docs/SearchGroceryProductsByUPC200ResponseNutrition.md +++ b/python/docs/SearchGroceryProductsByUPC200ResponseNutrition.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of SearchGroceryProductsByUPC200ResponseNutrition from a JSON string search_grocery_products_by_upc200_response_nutrition_instance = SearchGroceryProductsByUPC200ResponseNutrition.from_json(json) # print the JSON string representation of the object -print SearchGroceryProductsByUPC200ResponseNutrition.to_json() +print(SearchGroceryProductsByUPC200ResponseNutrition.to_json()) # convert the object into a dict search_grocery_products_by_upc200_response_nutrition_dict = search_grocery_products_by_upc200_response_nutrition_instance.to_dict() # create an instance of SearchGroceryProductsByUPC200ResponseNutrition from a dict -search_grocery_products_by_upc200_response_nutrition_form_dict = search_grocery_products_by_upc200_response_nutrition.from_dict(search_grocery_products_by_upc200_response_nutrition_dict) +search_grocery_products_by_upc200_response_nutrition_from_dict = SearchGroceryProductsByUPC200ResponseNutrition.from_dict(search_grocery_products_by_upc200_response_nutrition_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchGroceryProductsByUPC200ResponseServings.md b/python/docs/SearchGroceryProductsByUPC200ResponseServings.md index a4e14cdc2..49e4832ba 100644 --- a/python/docs/SearchGroceryProductsByUPC200ResponseServings.md +++ b/python/docs/SearchGroceryProductsByUPC200ResponseServings.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of SearchGroceryProductsByUPC200ResponseServings from a JSON string search_grocery_products_by_upc200_response_servings_instance = SearchGroceryProductsByUPC200ResponseServings.from_json(json) # print the JSON string representation of the object -print SearchGroceryProductsByUPC200ResponseServings.to_json() +print(SearchGroceryProductsByUPC200ResponseServings.to_json()) # convert the object into a dict search_grocery_products_by_upc200_response_servings_dict = search_grocery_products_by_upc200_response_servings_instance.to_dict() # create an instance of SearchGroceryProductsByUPC200ResponseServings from a dict -search_grocery_products_by_upc200_response_servings_form_dict = search_grocery_products_by_upc200_response_servings.from_dict(search_grocery_products_by_upc200_response_servings_dict) +search_grocery_products_by_upc200_response_servings_from_dict = SearchGroceryProductsByUPC200ResponseServings.from_dict(search_grocery_products_by_upc200_response_servings_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchMenuItems200Response.md b/python/docs/SearchMenuItems200Response.md index ec7545a69..68f2d904a 100644 --- a/python/docs/SearchMenuItems200Response.md +++ b/python/docs/SearchMenuItems200Response.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of SearchMenuItems200Response from a JSON string search_menu_items200_response_instance = SearchMenuItems200Response.from_json(json) # print the JSON string representation of the object -print SearchMenuItems200Response.to_json() +print(SearchMenuItems200Response.to_json()) # convert the object into a dict search_menu_items200_response_dict = search_menu_items200_response_instance.to_dict() # create an instance of SearchMenuItems200Response from a dict -search_menu_items200_response_form_dict = search_menu_items200_response.from_dict(search_menu_items200_response_dict) +search_menu_items200_response_from_dict = SearchMenuItems200Response.from_dict(search_menu_items200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchMenuItems200ResponseMenuItemsInner.md b/python/docs/SearchMenuItems200ResponseMenuItemsInner.md index 9bb7bb5cd..b8b71641a 100644 --- a/python/docs/SearchMenuItems200ResponseMenuItemsInner.md +++ b/python/docs/SearchMenuItems200ResponseMenuItemsInner.md @@ -22,12 +22,12 @@ json = "{}" # create an instance of SearchMenuItems200ResponseMenuItemsInner from a JSON string search_menu_items200_response_menu_items_inner_instance = SearchMenuItems200ResponseMenuItemsInner.from_json(json) # print the JSON string representation of the object -print SearchMenuItems200ResponseMenuItemsInner.to_json() +print(SearchMenuItems200ResponseMenuItemsInner.to_json()) # convert the object into a dict search_menu_items200_response_menu_items_inner_dict = search_menu_items200_response_menu_items_inner_instance.to_dict() # create an instance of SearchMenuItems200ResponseMenuItemsInner from a dict -search_menu_items200_response_menu_items_inner_form_dict = search_menu_items200_response_menu_items_inner.from_dict(search_menu_items200_response_menu_items_inner_dict) +search_menu_items200_response_menu_items_inner_from_dict = SearchMenuItems200ResponseMenuItemsInner.from_dict(search_menu_items200_response_menu_items_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRecipes200Response.md b/python/docs/SearchRecipes200Response.md index 09a23351a..85c0cd545 100644 --- a/python/docs/SearchRecipes200Response.md +++ b/python/docs/SearchRecipes200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of SearchRecipes200Response from a JSON string search_recipes200_response_instance = SearchRecipes200Response.from_json(json) # print the JSON string representation of the object -print SearchRecipes200Response.to_json() +print(SearchRecipes200Response.to_json()) # convert the object into a dict search_recipes200_response_dict = search_recipes200_response_instance.to_dict() # create an instance of SearchRecipes200Response from a dict -search_recipes200_response_form_dict = search_recipes200_response.from_dict(search_recipes200_response_dict) +search_recipes200_response_from_dict = SearchRecipes200Response.from_dict(search_recipes200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRecipes200ResponseResultsInner.md b/python/docs/SearchRecipes200ResponseResultsInner.md index 99b7aa453..7b5fdcebd 100644 --- a/python/docs/SearchRecipes200ResponseResultsInner.md +++ b/python/docs/SearchRecipes200ResponseResultsInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of SearchRecipes200ResponseResultsInner from a JSON string search_recipes200_response_results_inner_instance = SearchRecipes200ResponseResultsInner.from_json(json) # print the JSON string representation of the object -print SearchRecipes200ResponseResultsInner.to_json() +print(SearchRecipes200ResponseResultsInner.to_json()) # convert the object into a dict search_recipes200_response_results_inner_dict = search_recipes200_response_results_inner_instance.to_dict() # create an instance of SearchRecipes200ResponseResultsInner from a dict -search_recipes200_response_results_inner_form_dict = search_recipes200_response_results_inner.from_dict(search_recipes200_response_results_inner_dict) +search_recipes200_response_results_inner_from_dict = SearchRecipes200ResponseResultsInner.from_dict(search_recipes200_response_results_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRecipesByIngredients200ResponseInner.md b/python/docs/SearchRecipesByIngredients200ResponseInner.md index 846f816c4..848b60615 100644 --- a/python/docs/SearchRecipesByIngredients200ResponseInner.md +++ b/python/docs/SearchRecipesByIngredients200ResponseInner.md @@ -26,12 +26,12 @@ json = "{}" # create an instance of SearchRecipesByIngredients200ResponseInner from a JSON string search_recipes_by_ingredients200_response_inner_instance = SearchRecipesByIngredients200ResponseInner.from_json(json) # print the JSON string representation of the object -print SearchRecipesByIngredients200ResponseInner.to_json() +print(SearchRecipesByIngredients200ResponseInner.to_json()) # convert the object into a dict search_recipes_by_ingredients200_response_inner_dict = search_recipes_by_ingredients200_response_inner_instance.to_dict() # create an instance of SearchRecipesByIngredients200ResponseInner from a dict -search_recipes_by_ingredients200_response_inner_form_dict = search_recipes_by_ingredients200_response_inner.from_dict(search_recipes_by_ingredients200_response_inner_dict) +search_recipes_by_ingredients200_response_inner_from_dict = SearchRecipesByIngredients200ResponseInner.from_dict(search_recipes_by_ingredients200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md b/python/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md index 4388d291d..092d9f5f8 100644 --- a/python/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md +++ b/python/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md @@ -28,12 +28,12 @@ json = "{}" # create an instance of SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner from a JSON string search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_instance = SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.from_json(json) # print the JSON string representation of the object -print SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.to_json() +print(SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.to_json()) # convert the object into a dict search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_dict = search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_instance.to_dict() # create an instance of SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner from a dict -search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_form_dict = search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.from_dict(search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_dict) +search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_from_dict = SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.from_dict(search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRecipesByNutrients200ResponseInner.md b/python/docs/SearchRecipesByNutrients200ResponseInner.md index b532dbdf5..f312bf1e5 100644 --- a/python/docs/SearchRecipesByNutrients200ResponseInner.md +++ b/python/docs/SearchRecipesByNutrients200ResponseInner.md @@ -24,12 +24,12 @@ json = "{}" # create an instance of SearchRecipesByNutrients200ResponseInner from a JSON string search_recipes_by_nutrients200_response_inner_instance = SearchRecipesByNutrients200ResponseInner.from_json(json) # print the JSON string representation of the object -print SearchRecipesByNutrients200ResponseInner.to_json() +print(SearchRecipesByNutrients200ResponseInner.to_json()) # convert the object into a dict search_recipes_by_nutrients200_response_inner_dict = search_recipes_by_nutrients200_response_inner_instance.to_dict() # create an instance of SearchRecipesByNutrients200ResponseInner from a dict -search_recipes_by_nutrients200_response_inner_form_dict = search_recipes_by_nutrients200_response_inner.from_dict(search_recipes_by_nutrients200_response_inner_dict) +search_recipes_by_nutrients200_response_inner_from_dict = SearchRecipesByNutrients200ResponseInner.from_dict(search_recipes_by_nutrients200_response_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRestaurants200Response.md b/python/docs/SearchRestaurants200Response.md index 5e38eb258..5c0969237 100644 --- a/python/docs/SearchRestaurants200Response.md +++ b/python/docs/SearchRestaurants200Response.md @@ -17,12 +17,12 @@ json = "{}" # create an instance of SearchRestaurants200Response from a JSON string search_restaurants200_response_instance = SearchRestaurants200Response.from_json(json) # print the JSON string representation of the object -print SearchRestaurants200Response.to_json() +print(SearchRestaurants200Response.to_json()) # convert the object into a dict search_restaurants200_response_dict = search_restaurants200_response_instance.to_dict() # create an instance of SearchRestaurants200Response from a dict -search_restaurants200_response_form_dict = search_restaurants200_response.from_dict(search_restaurants200_response_dict) +search_restaurants200_response_from_dict = SearchRestaurants200Response.from_dict(search_restaurants200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRestaurants200ResponseRestaurantsInner.md b/python/docs/SearchRestaurants200ResponseRestaurantsInner.md index 569226098..e3718dbbd 100644 --- a/python/docs/SearchRestaurants200ResponseRestaurantsInner.md +++ b/python/docs/SearchRestaurants200ResponseRestaurantsInner.md @@ -36,12 +36,12 @@ json = "{}" # create an instance of SearchRestaurants200ResponseRestaurantsInner from a JSON string search_restaurants200_response_restaurants_inner_instance = SearchRestaurants200ResponseRestaurantsInner.from_json(json) # print the JSON string representation of the object -print SearchRestaurants200ResponseRestaurantsInner.to_json() +print(SearchRestaurants200ResponseRestaurantsInner.to_json()) # convert the object into a dict search_restaurants200_response_restaurants_inner_dict = search_restaurants200_response_restaurants_inner_instance.to_dict() # create an instance of SearchRestaurants200ResponseRestaurantsInner from a dict -search_restaurants200_response_restaurants_inner_form_dict = search_restaurants200_response_restaurants_inner.from_dict(search_restaurants200_response_restaurants_inner_dict) +search_restaurants200_response_restaurants_inner_from_dict = SearchRestaurants200ResponseRestaurantsInner.from_dict(search_restaurants200_response_restaurants_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md b/python/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md index 53bc0e38a..30ba95f91 100644 --- a/python/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md +++ b/python/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md @@ -26,12 +26,12 @@ json = "{}" # create an instance of SearchRestaurants200ResponseRestaurantsInnerAddress from a JSON string search_restaurants200_response_restaurants_inner_address_instance = SearchRestaurants200ResponseRestaurantsInnerAddress.from_json(json) # print the JSON string representation of the object -print SearchRestaurants200ResponseRestaurantsInnerAddress.to_json() +print(SearchRestaurants200ResponseRestaurantsInnerAddress.to_json()) # convert the object into a dict search_restaurants200_response_restaurants_inner_address_dict = search_restaurants200_response_restaurants_inner_address_instance.to_dict() # create an instance of SearchRestaurants200ResponseRestaurantsInnerAddress from a dict -search_restaurants200_response_restaurants_inner_address_form_dict = search_restaurants200_response_restaurants_inner_address.from_dict(search_restaurants200_response_restaurants_inner_address_dict) +search_restaurants200_response_restaurants_inner_address_from_dict = SearchRestaurants200ResponseRestaurantsInnerAddress.from_dict(search_restaurants200_response_restaurants_inner_address_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md b/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md index c0b9ce3d4..4d064b0ea 100644 --- a/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md +++ b/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of SearchRestaurants200ResponseRestaurantsInnerLocalHours from a JSON string search_restaurants200_response_restaurants_inner_local_hours_instance = SearchRestaurants200ResponseRestaurantsInnerLocalHours.from_json(json) # print the JSON string representation of the object -print SearchRestaurants200ResponseRestaurantsInnerLocalHours.to_json() +print(SearchRestaurants200ResponseRestaurantsInnerLocalHours.to_json()) # convert the object into a dict search_restaurants200_response_restaurants_inner_local_hours_dict = search_restaurants200_response_restaurants_inner_local_hours_instance.to_dict() # create an instance of SearchRestaurants200ResponseRestaurantsInnerLocalHours from a dict -search_restaurants200_response_restaurants_inner_local_hours_form_dict = search_restaurants200_response_restaurants_inner_local_hours.from_dict(search_restaurants200_response_restaurants_inner_local_hours_dict) +search_restaurants200_response_restaurants_inner_local_hours_from_dict = SearchRestaurants200ResponseRestaurantsInnerLocalHours.from_dict(search_restaurants200_response_restaurants_inner_local_hours_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md b/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md index df70bb431..e2dc57179 100644 --- a/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md +++ b/python/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.md @@ -23,12 +23,12 @@ json = "{}" # create an instance of SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational from a JSON string search_restaurants200_response_restaurants_inner_local_hours_operational_instance = SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.from_json(json) # print the JSON string representation of the object -print SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.to_json() +print(SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.to_json()) # convert the object into a dict search_restaurants200_response_restaurants_inner_local_hours_operational_dict = search_restaurants200_response_restaurants_inner_local_hours_operational_instance.to_dict() # create an instance of SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational from a dict -search_restaurants200_response_restaurants_inner_local_hours_operational_form_dict = search_restaurants200_response_restaurants_inner_local_hours_operational.from_dict(search_restaurants200_response_restaurants_inner_local_hours_operational_dict) +search_restaurants200_response_restaurants_inner_local_hours_operational_from_dict = SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.from_dict(search_restaurants200_response_restaurants_inner_local_hours_operational_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchSiteContent200Response.md b/python/docs/SearchSiteContent200Response.md index e653d6158..9da3f21f2 100644 --- a/python/docs/SearchSiteContent200Response.md +++ b/python/docs/SearchSiteContent200Response.md @@ -21,12 +21,12 @@ json = "{}" # create an instance of SearchSiteContent200Response from a JSON string search_site_content200_response_instance = SearchSiteContent200Response.from_json(json) # print the JSON string representation of the object -print SearchSiteContent200Response.to_json() +print(SearchSiteContent200Response.to_json()) # convert the object into a dict search_site_content200_response_dict = search_site_content200_response_instance.to_dict() # create an instance of SearchSiteContent200Response from a dict -search_site_content200_response_form_dict = search_site_content200_response.from_dict(search_site_content200_response_dict) +search_site_content200_response_from_dict = SearchSiteContent200Response.from_dict(search_site_content200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchSiteContent200ResponseArticlesInner.md b/python/docs/SearchSiteContent200ResponseArticlesInner.md index d35429640..d66badd7a 100644 --- a/python/docs/SearchSiteContent200ResponseArticlesInner.md +++ b/python/docs/SearchSiteContent200ResponseArticlesInner.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of SearchSiteContent200ResponseArticlesInner from a JSON string search_site_content200_response_articles_inner_instance = SearchSiteContent200ResponseArticlesInner.from_json(json) # print the JSON string representation of the object -print SearchSiteContent200ResponseArticlesInner.to_json() +print(SearchSiteContent200ResponseArticlesInner.to_json()) # convert the object into a dict search_site_content200_response_articles_inner_dict = search_site_content200_response_articles_inner_instance.to_dict() # create an instance of SearchSiteContent200ResponseArticlesInner from a dict -search_site_content200_response_articles_inner_form_dict = search_site_content200_response_articles_inner.from_dict(search_site_content200_response_articles_inner_dict) +search_site_content200_response_articles_inner_from_dict = SearchSiteContent200ResponseArticlesInner.from_dict(search_site_content200_response_articles_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md b/python/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md index 78b5ac3fc..5aec852b0 100644 --- a/python/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md +++ b/python/docs/SearchSiteContent200ResponseArticlesInnerDataPointsInner.md @@ -18,12 +18,12 @@ json = "{}" # create an instance of SearchSiteContent200ResponseArticlesInnerDataPointsInner from a JSON string search_site_content200_response_articles_inner_data_points_inner_instance = SearchSiteContent200ResponseArticlesInnerDataPointsInner.from_json(json) # print the JSON string representation of the object -print SearchSiteContent200ResponseArticlesInnerDataPointsInner.to_json() +print(SearchSiteContent200ResponseArticlesInnerDataPointsInner.to_json()) # convert the object into a dict search_site_content200_response_articles_inner_data_points_inner_dict = search_site_content200_response_articles_inner_data_points_inner_instance.to_dict() # create an instance of SearchSiteContent200ResponseArticlesInnerDataPointsInner from a dict -search_site_content200_response_articles_inner_data_points_inner_form_dict = search_site_content200_response_articles_inner_data_points_inner.from_dict(search_site_content200_response_articles_inner_data_points_inner_dict) +search_site_content200_response_articles_inner_data_points_inner_from_dict = SearchSiteContent200ResponseArticlesInnerDataPointsInner.from_dict(search_site_content200_response_articles_inner_data_points_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/SummarizeRecipe200Response.md b/python/docs/SummarizeRecipe200Response.md index d31bca904..eb529eeb2 100644 --- a/python/docs/SummarizeRecipe200Response.md +++ b/python/docs/SummarizeRecipe200Response.md @@ -20,12 +20,12 @@ json = "{}" # create an instance of SummarizeRecipe200Response from a JSON string summarize_recipe200_response_instance = SummarizeRecipe200Response.from_json(json) # print the JSON string representation of the object -print SummarizeRecipe200Response.to_json() +print(SummarizeRecipe200Response.to_json()) # convert the object into a dict summarize_recipe200_response_dict = summarize_recipe200_response_instance.to_dict() # create an instance of SummarizeRecipe200Response from a dict -summarize_recipe200_response_form_dict = summarize_recipe200_response.from_dict(summarize_recipe200_response_dict) +summarize_recipe200_response_from_dict = SummarizeRecipe200Response.from_dict(summarize_recipe200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/TalkToChatbot200Response.md b/python/docs/TalkToChatbot200Response.md index 6c9138a07..3768e84ca 100644 --- a/python/docs/TalkToChatbot200Response.md +++ b/python/docs/TalkToChatbot200Response.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of TalkToChatbot200Response from a JSON string talk_to_chatbot200_response_instance = TalkToChatbot200Response.from_json(json) # print the JSON string representation of the object -print TalkToChatbot200Response.to_json() +print(TalkToChatbot200Response.to_json()) # convert the object into a dict talk_to_chatbot200_response_dict = talk_to_chatbot200_response_instance.to_dict() # create an instance of TalkToChatbot200Response from a dict -talk_to_chatbot200_response_form_dict = talk_to_chatbot200_response.from_dict(talk_to_chatbot200_response_dict) +talk_to_chatbot200_response_from_dict = TalkToChatbot200Response.from_dict(talk_to_chatbot200_response_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/docs/TalkToChatbot200ResponseMediaInner.md b/python/docs/TalkToChatbot200ResponseMediaInner.md index 586db440f..9d9bf129e 100644 --- a/python/docs/TalkToChatbot200ResponseMediaInner.md +++ b/python/docs/TalkToChatbot200ResponseMediaInner.md @@ -19,12 +19,12 @@ json = "{}" # create an instance of TalkToChatbot200ResponseMediaInner from a JSON string talk_to_chatbot200_response_media_inner_instance = TalkToChatbot200ResponseMediaInner.from_json(json) # print the JSON string representation of the object -print TalkToChatbot200ResponseMediaInner.to_json() +print(TalkToChatbot200ResponseMediaInner.to_json()) # convert the object into a dict talk_to_chatbot200_response_media_inner_dict = talk_to_chatbot200_response_media_inner_instance.to_dict() # create an instance of TalkToChatbot200ResponseMediaInner from a dict -talk_to_chatbot200_response_media_inner_form_dict = talk_to_chatbot200_response_media_inner.from_dict(talk_to_chatbot200_response_media_inner_dict) +talk_to_chatbot200_response_media_inner_from_dict = TalkToChatbot200ResponseMediaInner.from_dict(talk_to_chatbot200_response_media_inner_dict) ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/python/pyproject.toml b/python/pyproject.toml index 6b05dfe00..c12683732 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "spoonacular" -version = "1.1.1" +version = "1.1.2" description = "spoonacular API" authors = ["David Urbansky "] license = "spoonacular API Terms" diff --git a/python/setup.py b/python/setup.py index 207c5994f..5a9fa7586 100644 --- a/python/setup.py +++ b/python/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "spoonacular" -VERSION = "1.1.1" +VERSION = "1.1.2" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0", diff --git a/python/spoonacular/__init__.py b/python/spoonacular/__init__.py index c523569b5..15e469b6d 100644 --- a/python/spoonacular/__init__.py +++ b/python/spoonacular/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.1.1" +__version__ = "1.1.2" # import apis into sdk package from spoonacular.api.default_api import DefaultApi diff --git a/python/spoonacular/api/default_api.py b/python/spoonacular/api/default_api.py index 0f15cb0cf..b7ecba1b9 100644 --- a/python/spoonacular/api/default_api.py +++ b/python/spoonacular/api/default_api.py @@ -18,7 +18,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr -from typing import Optional, Union +from typing import Any, Dict, Optional, Union from typing_extensions import Annotated from spoonacular.models.analyze_recipe_request import AnalyzeRecipeRequest from spoonacular.models.search_restaurants200_response import SearchRestaurants200Response @@ -304,7 +304,7 @@ def _analyze_recipe_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -648,7 +648,7 @@ def _create_recipe_card_get_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1048,7 +1048,7 @@ def _search_restaurants_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/ingredients_api.py b/python/spoonacular/api/ingredients_api.py index ebdb03b2b..7592f9f12 100644 --- a/python/spoonacular/api/ingredients_api.py +++ b/python/spoonacular/api/ingredients_api.py @@ -17,8 +17,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from pydantic import Field, StrictBool, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator +from typing import List, Optional, Union from typing_extensions import Annotated from spoonacular.models.autocomplete_ingredient_search200_response_inner import AutocompleteIngredientSearch200ResponseInner from spoonacular.models.compute_ingredient_amount200_response import ComputeIngredientAmount200Response @@ -322,7 +322,7 @@ def _autocomplete_ingredient_search_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -646,7 +646,7 @@ def _compute_ingredient_amount_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -951,7 +951,7 @@ def _get_ingredient_information_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1226,7 +1226,7 @@ def _get_ingredient_substitutes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1495,7 +1495,7 @@ def _get_ingredient_substitutes_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1944,7 +1944,7 @@ def _ingredient_search_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2282,7 +2282,7 @@ def _ingredients_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2553,7 +2553,7 @@ def _map_ingredients_to_grocery_products_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2911,7 +2911,7 @@ def _visualize_ingredients_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/meal_planning_api.py b/python/spoonacular/api/meal_planning_api.py index 79bd0f14c..beccfd51d 100644 --- a/python/spoonacular/api/meal_planning_api.py +++ b/python/spoonacular/api/meal_planning_api.py @@ -18,7 +18,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictFloat, StrictInt, StrictStr -from typing import Optional, Union +from typing import Any, Dict, Optional, Union from typing_extensions import Annotated from spoonacular.models.add_meal_plan_template200_response import AddMealPlanTemplate200Response from spoonacular.models.add_to_meal_plan_request import AddToMealPlanRequest @@ -287,7 +287,7 @@ def _add_meal_plan_template_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -584,7 +584,7 @@ def _add_to_meal_plan_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -896,7 +896,7 @@ def _add_to_shopping_list_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1208,7 +1208,7 @@ def _clear_meal_plan_day_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1481,7 +1481,7 @@ def _connect_user_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1787,7 +1787,7 @@ def _delete_from_meal_plan_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2086,7 +2086,7 @@ def _delete_from_shopping_list_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2385,7 +2385,7 @@ def _delete_meal_plan_template_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2697,7 +2697,7 @@ def _generate_meal_plan_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3017,7 +3017,7 @@ def _generate_shopping_list_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3318,7 +3318,7 @@ def _get_meal_plan_template_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3604,7 +3604,7 @@ def _get_meal_plan_templates_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3901,7 +3901,7 @@ def _get_meal_plan_week_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4187,7 +4187,7 @@ def _get_shopping_list_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/menu_items_api.py b/python/spoonacular/api/menu_items_api.py index e0e2d728a..83b51fe79 100644 --- a/python/spoonacular/api/menu_items_api.py +++ b/python/spoonacular/api/menu_items_api.py @@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr +from pydantic import Field, StrictBool, StrictBytes, StrictFloat, StrictInt, StrictStr from typing import Optional, Union from typing_extensions import Annotated from spoonacular.models.autocomplete_menu_item_search200_response import AutocompleteMenuItemSearch200Response @@ -279,7 +279,7 @@ def _autocomplete_menu_item_search_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -552,7 +552,7 @@ def _get_menu_item_information_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -819,7 +819,7 @@ def _menu_item_nutrition_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1125,7 +1125,7 @@ def _menu_item_nutrition_label_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1456,7 +1456,7 @@ def _menu_item_nutrition_label_widget_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1882,7 +1882,7 @@ def _search_menu_items_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2208,7 +2208,7 @@ def _visualize_menu_item_nutrition_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/misc_api.py b/python/spoonacular/api/misc_api.py index ec6fc8848..3a01edba7 100644 --- a/python/spoonacular/api/misc_api.py +++ b/python/spoonacular/api/misc_api.py @@ -274,7 +274,7 @@ def _detect_food_in_text_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -541,7 +541,7 @@ def _get_a_random_food_joke_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -819,7 +819,7 @@ def _get_conversation_suggests_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1079,7 +1079,7 @@ def _get_random_food_trivia_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1344,7 +1344,7 @@ def _image_analysis_by_url_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1613,7 +1613,7 @@ def _image_classification_by_url_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1908,7 +1908,7 @@ def _search_all_food_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2237,7 +2237,7 @@ def _search_custom_foods_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2639,7 +2639,7 @@ def _search_food_videos_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2944,7 +2944,7 @@ def _search_site_content_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3226,7 +3226,7 @@ def _talk_to_chatbot_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/products_api.py b/python/spoonacular/api/products_api.py index f2234e04b..b19679719 100644 --- a/python/spoonacular/api/products_api.py +++ b/python/spoonacular/api/products_api.py @@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator +from pydantic import Field, StrictBool, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator from typing import List, Optional, Union from typing_extensions import Annotated from spoonacular.models.autocomplete_product_search200_response import AutocompleteProductSearch200Response @@ -285,7 +285,7 @@ def _autocomplete_product_search_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -571,7 +571,7 @@ def _classify_grocery_product_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -869,7 +869,7 @@ def _classify_grocery_product_bulk_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1153,7 +1153,7 @@ def _get_comparable_products_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1420,7 +1420,7 @@ def _get_product_information_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1687,7 +1687,7 @@ def _product_nutrition_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1993,7 +1993,7 @@ def _product_nutrition_label_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2324,7 +2324,7 @@ def _product_nutrition_label_widget_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2750,7 +2750,7 @@ def _search_grocery_products_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3063,7 +3063,7 @@ def _search_grocery_products_by_upc_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3343,7 +3343,7 @@ def _visualize_product_nutrition_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/recipes_api.py b/python/spoonacular/api/recipes_api.py index c3a1a2057..ab1581fb9 100644 --- a/python/spoonacular/api/recipes_api.py +++ b/python/spoonacular/api/recipes_api.py @@ -18,7 +18,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBool, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from typing import List, Optional, Union from typing_extensions import Annotated from spoonacular.models.analyze_a_recipe_search_query200_response import AnalyzeARecipeSearchQuery200Response from spoonacular.models.analyze_recipe_instructions200_response import AnalyzeRecipeInstructions200Response @@ -288,7 +288,7 @@ def _analyze_a_recipe_search_query_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -557,7 +557,7 @@ def _analyze_recipe_instructions_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -850,7 +850,7 @@ def _autocomplete_recipe_search_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1149,7 +1149,7 @@ def _classify_cuisine_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1448,7 +1448,7 @@ def _compute_glycemic_load_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1771,7 +1771,7 @@ def _convert_amounts_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2208,7 +2208,7 @@ def _create_recipe_card_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2512,7 +2512,7 @@ def _equipment_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -2831,7 +2831,7 @@ def _extract_recipe_from_website_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3129,7 +3129,7 @@ def _get_analyzed_recipe_instructions_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3452,7 +3452,7 @@ def _get_random_recipes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -3737,7 +3737,7 @@ def _get_recipe_equipment_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4017,7 +4017,7 @@ def _get_recipe_information_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4301,7 +4301,7 @@ def _get_recipe_information_bulk_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4574,7 +4574,7 @@ def _get_recipe_ingredients_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -4841,7 +4841,7 @@ def _get_recipe_nutrition_widget_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5108,7 +5108,7 @@ def _get_recipe_price_breakdown_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5388,7 +5388,7 @@ def _get_recipe_taste_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5685,7 +5685,7 @@ def _get_similar_recipes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -5960,7 +5960,7 @@ def _guess_nutrition_by_dish_name_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6268,7 +6268,7 @@ def _parse_ingredients_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6556,7 +6556,7 @@ def _price_breakdown_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -6823,7 +6823,7 @@ def _quick_answer_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7092,7 +7092,7 @@ def _recipe_nutrition_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7398,7 +7398,7 @@ def _recipe_nutrition_label_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -7729,7 +7729,7 @@ def _recipe_nutrition_label_widget_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -8038,7 +8038,7 @@ def _recipe_taste_by_id_image_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -9574,7 +9574,7 @@ def _search_recipes_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -10283,7 +10283,7 @@ def _search_recipes_by_ingredients_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -11543,7 +11543,7 @@ def _search_recipes_by_nutrients_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12112,7 +12112,7 @@ def _summarize_recipe_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12418,7 +12418,7 @@ def _visualize_equipment_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -12769,7 +12769,7 @@ def _visualize_price_breakdown_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13074,7 +13074,7 @@ def _visualize_recipe_equipment_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13371,7 +13371,7 @@ def _visualize_recipe_ingredients_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -13698,7 +13698,7 @@ def _visualize_recipe_nutrition_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14001,7 +14001,7 @@ def _visualize_recipe_nutrition_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14285,7 +14285,7 @@ def _visualize_recipe_price_breakdown_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14595,7 +14595,7 @@ def _visualize_recipe_taste_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -14909,7 +14909,7 @@ def _visualize_recipe_taste_by_id_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api/wine_api.py b/python/spoonacular/api/wine_api.py index 62d2f63e1..177fce12f 100644 --- a/python/spoonacular/api/wine_api.py +++ b/python/spoonacular/api/wine_api.py @@ -267,7 +267,7 @@ def _get_dish_pairing_for_wine_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -536,7 +536,7 @@ def _get_wine_description_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -818,7 +818,7 @@ def _get_wine_pairing_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters @@ -1130,7 +1130,7 @@ def _get_wine_recommendation_serialize( _query_params: List[Tuple[str, str]] = [] _header_params: Dict[str, Optional[str]] = _headers or {} _form_params: List[Tuple[str, str]] = [] - _files: Dict[str, str] = {} + _files: Dict[str, Union[str, bytes]] = {} _body_params: Optional[bytes] = None # process the path parameters diff --git a/python/spoonacular/api_client.py b/python/spoonacular/api_client.py index a41534e06..d8853d185 100644 --- a/python/spoonacular/api_client.py +++ b/python/spoonacular/api_client.py @@ -23,7 +23,8 @@ import tempfile from urllib.parse import quote -from typing import Tuple, Optional, List, Dict +from typing import Tuple, Optional, List, Dict, Union +from pydantic import SecretStr from spoonacular.configuration import Configuration from spoonacular.api_response import ApiResponse, T as ApiResponseT @@ -88,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.1.1/python' + self.user_agent = 'OpenAPI-Generator/1.1.2/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -208,7 +209,8 @@ def param_serialize( post_params, collection_formats ) - post_params.extend(self.files_parameters(files)) + if files: + post_params.extend(self.files_parameters(files)) # auth setting self.update_params_for_auth( @@ -313,7 +315,7 @@ def response_deserialize( match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type) encoding = match.group(1) if match else "utf-8" response_text = response_data.data.decode(encoding) - return_data = self.deserialize(response_text, response_type) + return_data = self.deserialize(response_text, response_type, content_type) finally: if not 200 <= response_data.status <= 299: raise ApiException.from_response( @@ -333,6 +335,7 @@ def sanitize_for_serialization(self, obj): """Builds a JSON POST object. If obj is None, return None. + If obj is SecretStr, return obj.get_secret_value() If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date convert to string in iso8601 format. @@ -345,6 +348,10 @@ def sanitize_for_serialization(self, obj): """ if obj is None: return None + elif isinstance(obj, Enum): + return obj.value + elif isinstance(obj, SecretStr): + return obj.get_secret_value() elif isinstance(obj, self.PRIMITIVE_TYPES): return obj elif isinstance(obj, list): @@ -366,28 +373,45 @@ def sanitize_for_serialization(self, obj): # and attributes which value is not None. # Convert attribute name to json key in # model definition for request. - obj_dict = obj.to_dict() + if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): + obj_dict = obj.to_dict() + else: + obj_dict = obj.__dict__ return { key: self.sanitize_for_serialization(val) for key, val in obj_dict.items() } - def deserialize(self, response_text, response_type): + def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]): """Deserializes response into an object. :param response: RESTResponse object to be deserialized. :param response_type: class literal for deserialized object, or string of class name. + :param content_type: content type of response. :return: deserialized object. """ # fetch data from response object - try: - data = json.loads(response_text) - except ValueError: + if content_type is None: + try: + data = json.loads(response_text) + except ValueError: + data = response_text + elif content_type.startswith("application/json"): + if response_text == "": + data = "" + else: + data = json.loads(response_text) + elif content_type.startswith("text/plain"): data = response_text + else: + raise ApiException( + status=0, + reason="Unsupported content type: {0}".format(content_type) + ) return self.__deserialize(data, response_type) @@ -505,31 +529,30 @@ def parameters_to_url_query(self, params, collection_formats): return "&".join(["=".join(map(str, item)) for item in new_params]) - def files_parameters(self, files=None): + def files_parameters(self, files: Dict[str, Union[str, bytes]]): """Builds form parameters. :param files: File parameters. :return: Form parameters with files. """ params = [] - - if files: - for k, v in files.items(): - if not v: - continue - file_names = v if type(v) is list else [v] - for n in file_names: - with open(n, 'rb') as f: - filename = os.path.basename(f.name) - filedata = f.read() - mimetype = ( - mimetypes.guess_type(filename)[0] - or 'application/octet-stream' - ) - params.append( - tuple([k, tuple([filename, filedata, mimetype])]) - ) - + for k, v in files.items(): + if isinstance(v, str): + with open(v, 'rb') as f: + filename = os.path.basename(f.name) + filedata = f.read() + elif isinstance(v, bytes): + filename = k + filedata = v + else: + raise ValueError("Unsupported file value") + mimetype = ( + mimetypes.guess_type(filename)[0] + or 'application/octet-stream' + ) + params.append( + tuple([k, tuple([filename, filedata, mimetype])]) + ) return params def select_header_accept(self, accepts: List[str]) -> Optional[str]: diff --git a/python/spoonacular/configuration.py b/python/spoonacular/configuration.py index 353f39ea3..686c8c3e6 100644 --- a/python/spoonacular/configuration.py +++ b/python/spoonacular/configuration.py @@ -400,7 +400,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.1\n"\ - "SDK Package Version: 1.1.1".\ + "SDK Package Version: 1.1.2".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/python/spoonacular/models/add_meal_plan_template200_response.py b/python/spoonacular/models/add_meal_plan_template200_response.py index 19fb8b22b..d96ec3f4c 100644 --- a/python/spoonacular/models/add_meal_plan_template200_response.py +++ b/python/spoonacular/models/add_meal_plan_template200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.add_meal_plan_template200_response_items_inner import AddMealPlanTemplate200ResponseItemsInner @@ -34,11 +34,11 @@ class AddMealPlanTemplate200Response(BaseModel): publish_as_public: StrictBool = Field(alias="publishAsPublic") __properties: ClassVar[List[str]] = ["name", "items", "publishAsPublic"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/add_meal_plan_template200_response_items_inner.py b/python/spoonacular/models/add_meal_plan_template200_response_items_inner.py index 4a7363b6a..480e75ccb 100644 --- a/python/spoonacular/models/add_meal_plan_template200_response_items_inner.py +++ b/python/spoonacular/models/add_meal_plan_template200_response_items_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.add_meal_plan_template200_response_items_inner_value import AddMealPlanTemplate200ResponseItemsInnerValue @@ -36,11 +36,11 @@ class AddMealPlanTemplate200ResponseItemsInner(BaseModel): value: Optional[AddMealPlanTemplate200ResponseItemsInnerValue] = None __properties: ClassVar[List[str]] = ["day", "slot", "position", "type", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/add_meal_plan_template200_response_items_inner_value.py b/python/spoonacular/models/add_meal_plan_template200_response_items_inner_value.py index 12da54e02..3c1d51c4e 100644 --- a/python/spoonacular/models/add_meal_plan_template200_response_items_inner_value.py +++ b/python/spoonacular/models/add_meal_plan_template200_response_items_inner_value.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class AddMealPlanTemplate200ResponseItemsInnerValue(BaseModel): image_type: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, alias="imageType") __properties: ClassVar[List[str]] = ["id", "servings", "title", "imageType"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/add_to_meal_plan_request.py b/python/spoonacular/models/add_to_meal_plan_request.py index 2ca04c6a6..4f51b65da 100644 --- a/python/spoonacular/models/add_to_meal_plan_request.py +++ b/python/spoonacular/models/add_to_meal_plan_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.add_to_meal_plan_request_value import AddToMealPlanRequestValue @@ -36,11 +36,11 @@ class AddToMealPlanRequest(BaseModel): value: AddToMealPlanRequestValue __properties: ClassVar[List[str]] = ["date", "slot", "position", "type", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/add_to_meal_plan_request_value.py b/python/spoonacular/models/add_to_meal_plan_request_value.py index 957b7a626..0afeb11d1 100644 --- a/python/spoonacular/models/add_to_meal_plan_request_value.py +++ b/python/spoonacular/models/add_to_meal_plan_request_value.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.add_to_meal_plan_request_value_ingredients_inner import AddToMealPlanRequestValueIngredientsInner @@ -32,11 +32,11 @@ class AddToMealPlanRequestValue(BaseModel): ingredients: Annotated[List[AddToMealPlanRequestValueIngredientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["ingredients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/add_to_meal_plan_request_value_ingredients_inner.py b/python/spoonacular/models/add_to_meal_plan_request_value_ingredients_inner.py index a41a43f73..0b5a4755d 100644 --- a/python/spoonacular/models/add_to_meal_plan_request_value_ingredients_inner.py +++ b/python/spoonacular/models/add_to_meal_plan_request_value_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,11 @@ class AddToMealPlanRequestValueIngredientsInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/add_to_shopping_list_request.py b/python/spoonacular/models/add_to_shopping_list_request.py index 937e45295..fdc011afa 100644 --- a/python/spoonacular/models/add_to_shopping_list_request.py +++ b/python/spoonacular/models/add_to_shopping_list_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class AddToShoppingListRequest(BaseModel): parse: StrictBool __properties: ClassVar[List[str]] = ["item", "aisle", "parse"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_a_recipe_search_query200_response.py b/python/spoonacular/models/analyze_a_recipe_search_query200_response.py index dfd412a25..13d5445b2 100644 --- a/python/spoonacular/models/analyze_a_recipe_search_query200_response.py +++ b/python/spoonacular/models/analyze_a_recipe_search_query200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.analyze_a_recipe_search_query200_response_dishes_inner import AnalyzeARecipeSearchQuery200ResponseDishesInner @@ -36,11 +36,11 @@ class AnalyzeARecipeSearchQuery200Response(BaseModel): modifiers: List[StrictStr] __properties: ClassVar[List[str]] = ["dishes", "ingredients", "cuisines", "modifiers"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_a_recipe_search_query200_response_dishes_inner.py b/python/spoonacular/models/analyze_a_recipe_search_query200_response_dishes_inner.py index c1dcd221f..1dcafbf76 100644 --- a/python/spoonacular/models/analyze_a_recipe_search_query200_response_dishes_inner.py +++ b/python/spoonacular/models/analyze_a_recipe_search_query200_response_dishes_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class AnalyzeARecipeSearchQuery200ResponseDishesInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["image", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_a_recipe_search_query200_response_ingredients_inner.py b/python/spoonacular/models/analyze_a_recipe_search_query200_response_ingredients_inner.py index 5720b421d..f1fcff21c 100644 --- a/python/spoonacular/models/analyze_a_recipe_search_query200_response_ingredients_inner.py +++ b/python/spoonacular/models/analyze_a_recipe_search_query200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class AnalyzeARecipeSearchQuery200ResponseIngredientsInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["image", "include", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_recipe_instructions200_response.py b/python/spoonacular/models/analyze_recipe_instructions200_response.py index 280f96e4c..3178c56e8 100644 --- a/python/spoonacular/models/analyze_recipe_instructions200_response.py +++ b/python/spoonacular/models/analyze_recipe_instructions200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.analyze_recipe_instructions200_response_ingredients_inner import AnalyzeRecipeInstructions200ResponseIngredientsInner @@ -35,11 +35,11 @@ class AnalyzeRecipeInstructions200Response(BaseModel): equipment: Annotated[List[AnalyzeRecipeInstructions200ResponseIngredientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["parsedInstructions", "ingredients", "equipment"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_recipe_instructions200_response_ingredients_inner.py b/python/spoonacular/models/analyze_recipe_instructions200_response_ingredients_inner.py index 3fca96dcd..9d322c105 100644 --- a/python/spoonacular/models/analyze_recipe_instructions200_response_ingredients_inner.py +++ b/python/spoonacular/models/analyze_recipe_instructions200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class AnalyzeRecipeInstructions200ResponseIngredientsInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner.py b/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner.py index 0f3388d6a..429a7023c 100644 --- a/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner.py +++ b/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner import AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner @@ -33,11 +33,11 @@ class AnalyzeRecipeInstructions200ResponseParsedInstructionsInner(BaseModel): steps: Optional[Annotated[List[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["name", "steps"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py b/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py index 8ed75aaf1..8db556032 100644 --- a/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py +++ b/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner import AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner @@ -35,11 +35,11 @@ class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner(Base equipment: Optional[Annotated[List[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["number", "step", "ingredients", "equipment"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py b/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py index c5d15b6ae..e154fdea5 100644 --- a/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py +++ b/python/spoonacular/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngre image: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "name", "localizedName", "image"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/analyze_recipe_request.py b/python/spoonacular/models/analyze_recipe_request.py index 3ee10946b..330d61658 100644 --- a/python/spoonacular/models/analyze_recipe_request.py +++ b/python/spoonacular/models/analyze_recipe_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -33,11 +33,11 @@ class AnalyzeRecipeRequest(BaseModel): instructions: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["title", "servings", "ingredients", "instructions"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/autocomplete_ingredient_search200_response_inner.py b/python/spoonacular/models/autocomplete_ingredient_search200_response_inner.py index 75e3246ff..56dca90f8 100644 --- a/python/spoonacular/models/autocomplete_ingredient_search200_response_inner.py +++ b/python/spoonacular/models/autocomplete_ingredient_search200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -35,11 +35,11 @@ class AutocompleteIngredientSearch200ResponseInner(BaseModel): possible_units: Optional[List[StrictStr]] = Field(default=None, alias="possibleUnits") __properties: ClassVar[List[str]] = ["name", "image", "id", "aisle", "possibleUnits"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/autocomplete_menu_item_search200_response.py b/python/spoonacular/models/autocomplete_menu_item_search200_response.py index 33a7070d7..2e4e878c7 100644 --- a/python/spoonacular/models/autocomplete_menu_item_search200_response.py +++ b/python/spoonacular/models/autocomplete_menu_item_search200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.autocomplete_product_search200_response_results_inner import AutocompleteProductSearch200ResponseResultsInner @@ -32,11 +32,11 @@ class AutocompleteMenuItemSearch200Response(BaseModel): results: Annotated[List[AutocompleteProductSearch200ResponseResultsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["results"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/autocomplete_product_search200_response.py b/python/spoonacular/models/autocomplete_product_search200_response.py index 66f4aaa25..86ae8a178 100644 --- a/python/spoonacular/models/autocomplete_product_search200_response.py +++ b/python/spoonacular/models/autocomplete_product_search200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.autocomplete_product_search200_response_results_inner import AutocompleteProductSearch200ResponseResultsInner @@ -32,11 +32,11 @@ class AutocompleteProductSearch200Response(BaseModel): results: Annotated[List[AutocompleteProductSearch200ResponseResultsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["results"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/autocomplete_product_search200_response_results_inner.py b/python/spoonacular/models/autocomplete_product_search200_response_results_inner.py index 4292e035d..27af01956 100644 --- a/python/spoonacular/models/autocomplete_product_search200_response_results_inner.py +++ b/python/spoonacular/models/autocomplete_product_search200_response_results_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class AutocompleteProductSearch200ResponseResultsInner(BaseModel): title: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "title"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/autocomplete_recipe_search200_response_inner.py b/python/spoonacular/models/autocomplete_recipe_search200_response_inner.py index f71f80238..16f124be3 100644 --- a/python/spoonacular/models/autocomplete_recipe_search200_response_inner.py +++ b/python/spoonacular/models/autocomplete_recipe_search200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class AutocompleteRecipeSearch200ResponseInner(BaseModel): image_type: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="imageType") __properties: ClassVar[List[str]] = ["id", "title", "imageType"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/classify_cuisine200_response.py b/python/spoonacular/models/classify_cuisine200_response.py index 9d602ae56..9e23577b8 100644 --- a/python/spoonacular/models/classify_cuisine200_response.py +++ b/python/spoonacular/models/classify_cuisine200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class ClassifyCuisine200Response(BaseModel): confidence: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["cuisine", "cuisines", "confidence"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/classify_grocery_product200_response.py b/python/spoonacular/models/classify_grocery_product200_response.py index 5b26d1a7a..56ce9d0cf 100644 --- a/python/spoonacular/models/classify_grocery_product200_response.py +++ b/python/spoonacular/models/classify_grocery_product200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -35,11 +35,11 @@ class ClassifyGroceryProduct200Response(BaseModel): usda_code: StrictInt = Field(alias="usdaCode") __properties: ClassVar[List[str]] = ["cleanTitle", "image", "category", "breadcrumbs", "usdaCode"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/classify_grocery_product_bulk200_response_inner.py b/python/spoonacular/models/classify_grocery_product_bulk200_response_inner.py index 9add9a9fc..47102f8ed 100644 --- a/python/spoonacular/models/classify_grocery_product_bulk200_response_inner.py +++ b/python/spoonacular/models/classify_grocery_product_bulk200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -35,11 +35,11 @@ class ClassifyGroceryProductBulk200ResponseInner(BaseModel): usda_code: StrictInt = Field(alias="usdaCode") __properties: ClassVar[List[str]] = ["cleanTitle", "image", "category", "breadcrumbs", "usdaCode"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/classify_grocery_product_bulk_request_inner.py b/python/spoonacular/models/classify_grocery_product_bulk_request_inner.py index 84189c6ec..5bb8a46d7 100644 --- a/python/spoonacular/models/classify_grocery_product_bulk_request_inner.py +++ b/python/spoonacular/models/classify_grocery_product_bulk_request_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class ClassifyGroceryProductBulkRequestInner(BaseModel): plu_code: StrictStr __properties: ClassVar[List[str]] = ["title", "upc", "plu_code"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/classify_grocery_product_request.py b/python/spoonacular/models/classify_grocery_product_request.py index 5bf288fe1..1b1780b3a 100644 --- a/python/spoonacular/models/classify_grocery_product_request.py +++ b/python/spoonacular/models/classify_grocery_product_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class ClassifyGroceryProductRequest(BaseModel): plu_code: StrictStr __properties: ClassVar[List[str]] = ["title", "upc", "plu_code"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/compute_glycemic_load200_response.py b/python/spoonacular/models/compute_glycemic_load200_response.py index 3e4586d7e..050788ca1 100644 --- a/python/spoonacular/models/compute_glycemic_load200_response.py +++ b/python/spoonacular/models/compute_glycemic_load200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.compute_glycemic_load200_response_ingredients_inner import ComputeGlycemicLoad200ResponseIngredientsInner @@ -33,11 +33,11 @@ class ComputeGlycemicLoad200Response(BaseModel): ingredients: Annotated[List[ComputeGlycemicLoad200ResponseIngredientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["totalGlycemicLoad", "ingredients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/compute_glycemic_load200_response_ingredients_inner.py b/python/spoonacular/models/compute_glycemic_load200_response_ingredients_inner.py index a3ab50a38..d81567f79 100644 --- a/python/spoonacular/models/compute_glycemic_load200_response_ingredients_inner.py +++ b/python/spoonacular/models/compute_glycemic_load200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class ComputeGlycemicLoad200ResponseIngredientsInner(BaseModel): glycemic_load: Union[StrictFloat, StrictInt] = Field(alias="glycemicLoad") __properties: ClassVar[List[str]] = ["id", "original", "glycemicIndex", "glycemicLoad"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/compute_glycemic_load_request.py b/python/spoonacular/models/compute_glycemic_load_request.py index b059f3d14..f9f3e3d96 100644 --- a/python/spoonacular/models/compute_glycemic_load_request.py +++ b/python/spoonacular/models/compute_glycemic_load_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictStr +from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -30,11 +30,11 @@ class ComputeGlycemicLoadRequest(BaseModel): ingredients: List[StrictStr] __properties: ClassVar[List[str]] = ["ingredients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/compute_ingredient_amount200_response.py b/python/spoonacular/models/compute_ingredient_amount200_response.py index dba13565b..4608d1564 100644 --- a/python/spoonacular/models/compute_ingredient_amount200_response.py +++ b/python/spoonacular/models/compute_ingredient_amount200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class ComputeIngredientAmount200Response(BaseModel): unit: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["amount", "unit"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/connect_user200_response.py b/python/spoonacular/models/connect_user200_response.py index ccd00b01d..acecfc3a4 100644 --- a/python/spoonacular/models/connect_user200_response.py +++ b/python/spoonacular/models/connect_user200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class ConnectUser200Response(BaseModel): hash: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["username", "hash"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/connect_user_request.py b/python/spoonacular/models/connect_user_request.py index e25831280..150576b72 100644 --- a/python/spoonacular/models/connect_user_request.py +++ b/python/spoonacular/models/connect_user_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class ConnectUserRequest(BaseModel): email: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["username", "firstName", "lastName", "email"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/convert_amounts200_response.py b/python/spoonacular/models/convert_amounts200_response.py index fc314ffef..94bfee5ba 100644 --- a/python/spoonacular/models/convert_amounts200_response.py +++ b/python/spoonacular/models/convert_amounts200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -35,11 +35,11 @@ class ConvertAmounts200Response(BaseModel): answer: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["sourceAmount", "sourceUnit", "targetAmount", "targetUnit", "answer"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/create_recipe_card200_response.py b/python/spoonacular/models/create_recipe_card200_response.py index 05034a0a3..366a32e1e 100644 --- a/python/spoonacular/models/create_recipe_card200_response.py +++ b/python/spoonacular/models/create_recipe_card200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,11 @@ class CreateRecipeCard200Response(BaseModel): url: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["url"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/detect_food_in_text200_response.py b/python/spoonacular/models/detect_food_in_text200_response.py index 9ca934de3..5be65456a 100644 --- a/python/spoonacular/models/detect_food_in_text200_response.py +++ b/python/spoonacular/models/detect_food_in_text200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.detect_food_in_text200_response_annotations_inner import DetectFoodInText200ResponseAnnotationsInner @@ -32,11 +32,11 @@ class DetectFoodInText200Response(BaseModel): annotations: Annotated[List[DetectFoodInText200ResponseAnnotationsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["annotations"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/detect_food_in_text200_response_annotations_inner.py b/python/spoonacular/models/detect_food_in_text200_response_annotations_inner.py index a77b77090..d3641c88c 100644 --- a/python/spoonacular/models/detect_food_in_text200_response_annotations_inner.py +++ b/python/spoonacular/models/detect_food_in_text200_response_annotations_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class DetectFoodInText200ResponseAnnotationsInner(BaseModel): tag: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["annotation", "image", "tag"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/generate_meal_plan200_response.py b/python/spoonacular/models/generate_meal_plan200_response.py index 9e222dacf..afeee9b36 100644 --- a/python/spoonacular/models/generate_meal_plan200_response.py +++ b/python/spoonacular/models/generate_meal_plan200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.generate_meal_plan200_response_nutrients import GenerateMealPlan200ResponseNutrients @@ -34,11 +34,11 @@ class GenerateMealPlan200Response(BaseModel): nutrients: GenerateMealPlan200ResponseNutrients __properties: ClassVar[List[str]] = ["meals", "nutrients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/generate_meal_plan200_response_nutrients.py b/python/spoonacular/models/generate_meal_plan200_response_nutrients.py index e89ed9d34..0865bf626 100644 --- a/python/spoonacular/models/generate_meal_plan200_response_nutrients.py +++ b/python/spoonacular/models/generate_meal_plan200_response_nutrients.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self @@ -33,11 +33,11 @@ class GenerateMealPlan200ResponseNutrients(BaseModel): protein: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["calories", "carbohydrates", "fat", "protein"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/generate_shopping_list200_response.py b/python/spoonacular/models/generate_shopping_list200_response.py index d2f1d74d4..a9e46fd77 100644 --- a/python/spoonacular/models/generate_shopping_list200_response.py +++ b/python/spoonacular/models/generate_shopping_list200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.get_shopping_list200_response_aisles_inner import GetShoppingList200ResponseAislesInner @@ -35,11 +35,11 @@ class GenerateShoppingList200Response(BaseModel): end_date: Union[StrictFloat, StrictInt] = Field(alias="endDate") __properties: ClassVar[List[str]] = ["aisles", "cost", "startDate", "endDate"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_a_random_food_joke200_response.py b/python/spoonacular/models/get_a_random_food_joke200_response.py index af05fde27..83de60c2d 100644 --- a/python/spoonacular/models/get_a_random_food_joke200_response.py +++ b/python/spoonacular/models/get_a_random_food_joke200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,11 @@ class GetARandomFoodJoke200Response(BaseModel): text: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["text"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_analyzed_recipe_instructions200_response.py b/python/spoonacular/models/get_analyzed_recipe_instructions200_response.py index b0f4dbd36..8575b877c 100644 --- a/python/spoonacular/models/get_analyzed_recipe_instructions200_response.py +++ b/python/spoonacular/models/get_analyzed_recipe_instructions200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_analyzed_recipe_instructions200_response_ingredients_inner import GetAnalyzedRecipeInstructions200ResponseIngredientsInner @@ -35,11 +35,11 @@ class GetAnalyzedRecipeInstructions200Response(BaseModel): equipment: Annotated[List[GetAnalyzedRecipeInstructions200ResponseIngredientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["parsedInstructions", "ingredients", "equipment"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_ingredients_inner.py b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_ingredients_inner.py index acb79f5e1..ab326409b 100644 --- a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_ingredients_inner.py +++ b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class GetAnalyzedRecipeInstructions200ResponseIngredientsInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.py b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.py index a977b7914..4b83fcb0b 100644 --- a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.py +++ b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner import GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner @@ -33,11 +33,11 @@ class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner(BaseModel) steps: Optional[Annotated[List[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["name", "steps"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py index c179d8bcc..f96b5045f 100644 --- a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py +++ b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner import GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner @@ -35,11 +35,11 @@ class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner( equipment: Optional[Annotated[List[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["number", "step", "ingredients", "equipment"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py index a8de3bfe1..a1809daff 100644 --- a/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py +++ b/python/spoonacular/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerI image: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "name", "localizedName", "image"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_comparable_products200_response.py b/python/spoonacular/models/get_comparable_products200_response.py index 535c46c6d..540f2ed7e 100644 --- a/python/spoonacular/models/get_comparable_products200_response.py +++ b/python/spoonacular/models/get_comparable_products200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from spoonacular.models.get_comparable_products200_response_comparable_products import GetComparableProducts200ResponseComparableProducts from typing import Optional, Set @@ -31,11 +31,11 @@ class GetComparableProducts200Response(BaseModel): comparable_products: GetComparableProducts200ResponseComparableProducts = Field(alias="comparableProducts") __properties: ClassVar[List[str]] = ["comparableProducts"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_comparable_products200_response_comparable_products.py b/python/spoonacular/models/get_comparable_products200_response_comparable_products.py index 6697df74f..d34638da7 100644 --- a/python/spoonacular/models/get_comparable_products200_response_comparable_products.py +++ b/python/spoonacular/models/get_comparable_products200_response_comparable_products.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_comparable_products200_response_comparable_products_protein_inner import GetComparableProducts200ResponseComparableProductsProteinInner @@ -37,11 +37,11 @@ class GetComparableProducts200ResponseComparableProducts(BaseModel): sugar: List[Dict[str, Any]] __properties: ClassVar[List[str]] = ["calories", "likes", "price", "protein", "spoonacularScore", "sugar"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_comparable_products200_response_comparable_products_protein_inner.py b/python/spoonacular/models/get_comparable_products200_response_comparable_products_protein_inner.py index 294fbe2ba..09391ea7f 100644 --- a/python/spoonacular/models/get_comparable_products200_response_comparable_products_protein_inner.py +++ b/python/spoonacular/models/get_comparable_products200_response_comparable_products_protein_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class GetComparableProducts200ResponseComparableProductsProteinInner(BaseModel): title: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["difference", "id", "image", "title"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_conversation_suggests200_response.py b/python/spoonacular/models/get_conversation_suggests200_response.py index d29ddc8d8..b5b427a9c 100644 --- a/python/spoonacular/models/get_conversation_suggests200_response.py +++ b/python/spoonacular/models/get_conversation_suggests200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictStr +from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List from spoonacular.models.get_conversation_suggests200_response_suggests import GetConversationSuggests200ResponseSuggests from typing import Optional, Set @@ -32,11 +32,11 @@ class GetConversationSuggests200Response(BaseModel): words: List[StrictStr] __properties: ClassVar[List[str]] = ["suggests", "words"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_conversation_suggests200_response_suggests.py b/python/spoonacular/models/get_conversation_suggests200_response_suggests.py index 7bb8f0634..352f3ee31 100644 --- a/python/spoonacular/models/get_conversation_suggests200_response_suggests.py +++ b/python/spoonacular/models/get_conversation_suggests200_response_suggests.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_conversation_suggests200_response_suggests_inner import GetConversationSuggests200ResponseSuggestsInner @@ -32,11 +32,11 @@ class GetConversationSuggests200ResponseSuggests(BaseModel): underscore: Annotated[List[GetConversationSuggests200ResponseSuggestsInner], Field(min_length=0)] = Field(alias="_") __properties: ClassVar[List[str]] = ["_"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_conversation_suggests200_response_suggests_inner.py b/python/spoonacular/models/get_conversation_suggests200_response_suggests_inner.py index e8cc9d7cb..24273ab61 100644 --- a/python/spoonacular/models/get_conversation_suggests200_response_suggests_inner.py +++ b/python/spoonacular/models/get_conversation_suggests200_response_suggests_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,11 @@ class GetConversationSuggests200ResponseSuggestsInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_dish_pairing_for_wine200_response.py b/python/spoonacular/models/get_dish_pairing_for_wine200_response.py index faf7ffde9..b807691d4 100644 --- a/python/spoonacular/models/get_dish_pairing_for_wine200_response.py +++ b/python/spoonacular/models/get_dish_pairing_for_wine200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class GetDishPairingForWine200Response(BaseModel): text: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["pairings", "text"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_ingredient_information200_response.py b/python/spoonacular/models/get_ingredient_information200_response.py index 16ee7ab52..f88c74b26 100644 --- a/python/spoonacular/models/get_ingredient_information200_response.py +++ b/python/spoonacular/models/get_ingredient_information200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.get_ingredient_information200_response_nutrition import GetIngredientInformation200ResponseNutrition @@ -50,11 +50,11 @@ class GetIngredientInformation200Response(BaseModel): category_path: List[StrictStr] = Field(alias="categoryPath") __properties: ClassVar[List[str]] = ["id", "original", "originalName", "name", "nameClean", "amount", "unit", "unitShort", "unitLong", "possibleUnits", "estimatedCost", "consistency", "shoppingListUnits", "aisle", "image", "meta", "nutrition", "categoryPath"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_ingredient_information200_response_nutrition.py b/python/spoonacular/models/get_ingredient_information200_response_nutrition.py index 12a2e8520..df0727ec8 100644 --- a/python/spoonacular/models/get_ingredient_information200_response_nutrition.py +++ b/python/spoonacular/models/get_ingredient_information200_response_nutrition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.parse_ingredients200_response_inner_nutrition_caloric_breakdown import ParseIngredients200ResponseInnerNutritionCaloricBreakdown @@ -38,11 +38,11 @@ class GetIngredientInformation200ResponseNutrition(BaseModel): weight_per_serving: ParseIngredients200ResponseInnerNutritionWeightPerServing = Field(alias="weightPerServing") __properties: ClassVar[List[str]] = ["nutrients", "properties", "caloricBreakdown", "weightPerServing"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_ingredient_substitutes200_response.py b/python/spoonacular/models/get_ingredient_substitutes200_response.py index 7bc48e2e2..78e6c9d2d 100644 --- a/python/spoonacular/models/get_ingredient_substitutes200_response.py +++ b/python/spoonacular/models/get_ingredient_substitutes200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class GetIngredientSubstitutes200Response(BaseModel): message: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["ingredient", "substitutes", "message"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_template200_response.py b/python/spoonacular/models/get_meal_plan_template200_response.py index b51c98fc1..44a7334a2 100644 --- a/python/spoonacular/models/get_meal_plan_template200_response.py +++ b/python/spoonacular/models/get_meal_plan_template200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_meal_plan_template200_response_days_inner import GetMealPlanTemplate200ResponseDaysInner @@ -34,11 +34,11 @@ class GetMealPlanTemplate200Response(BaseModel): days: Annotated[List[GetMealPlanTemplate200ResponseDaysInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["id", "name", "days"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_template200_response_days_inner.py b/python/spoonacular/models/get_meal_plan_template200_response_days_inner.py index ec5d20731..5b46dedaa 100644 --- a/python/spoonacular/models/get_meal_plan_template200_response_days_inner.py +++ b/python/spoonacular/models/get_meal_plan_template200_response_days_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.get_meal_plan_template200_response_days_inner_items_inner import GetMealPlanTemplate200ResponseDaysInnerItemsInner @@ -38,11 +38,11 @@ class GetMealPlanTemplate200ResponseDaysInner(BaseModel): items: Optional[Annotated[List[GetMealPlanTemplate200ResponseDaysInnerItemsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["nutritionSummary", "nutritionSummaryBreakfast", "nutritionSummaryLunch", "nutritionSummaryDinner", "day", "items"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner.py b/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner.py index d993c5e04..8548a5fc1 100644 --- a/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner.py +++ b/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.get_meal_plan_template200_response_days_inner_items_inner_value import GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue @@ -36,11 +36,11 @@ class GetMealPlanTemplate200ResponseDaysInnerItemsInner(BaseModel): value: Optional[GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue] = None __properties: ClassVar[List[str]] = ["id", "slot", "position", "type", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner_value.py b/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner_value.py index b51eaeea2..0e8274a55 100644 --- a/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner_value.py +++ b/python/spoonacular/models/get_meal_plan_template200_response_days_inner_items_inner_value.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue(BaseModel): image_type: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="imageType") __properties: ClassVar[List[str]] = ["id", "title", "imageType"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_templates200_response.py b/python/spoonacular/models/get_meal_plan_templates200_response.py index 6e5e832ee..b83bc2924 100644 --- a/python/spoonacular/models/get_meal_plan_templates200_response.py +++ b/python/spoonacular/models/get_meal_plan_templates200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_analyzed_recipe_instructions200_response_ingredients_inner import GetAnalyzedRecipeInstructions200ResponseIngredientsInner @@ -32,11 +32,11 @@ class GetMealPlanTemplates200Response(BaseModel): templates: Annotated[List[GetAnalyzedRecipeInstructions200ResponseIngredientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["templates"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_week200_response.py b/python/spoonacular/models/get_meal_plan_week200_response.py index 21d578ff4..c627e5ba5 100644 --- a/python/spoonacular/models/get_meal_plan_week200_response.py +++ b/python/spoonacular/models/get_meal_plan_week200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_meal_plan_week200_response_days_inner import GetMealPlanWeek200ResponseDaysInner @@ -32,11 +32,11 @@ class GetMealPlanWeek200Response(BaseModel): days: Annotated[List[GetMealPlanWeek200ResponseDaysInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["days"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_week200_response_days_inner.py b/python/spoonacular/models/get_meal_plan_week200_response_days_inner.py index d6208b374..855ec2167 100644 --- a/python/spoonacular/models/get_meal_plan_week200_response_days_inner.py +++ b/python/spoonacular/models/get_meal_plan_week200_response_days_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_meal_plan_week200_response_days_inner_items_inner import GetMealPlanWeek200ResponseDaysInnerItemsInner @@ -39,11 +39,11 @@ class GetMealPlanWeek200ResponseDaysInner(BaseModel): items: Optional[Annotated[List[GetMealPlanWeek200ResponseDaysInnerItemsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["nutritionSummary", "nutritionSummaryBreakfast", "nutritionSummaryLunch", "nutritionSummaryDinner", "date", "day", "items"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner.py b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner.py index 1ab9c78d1..7d7e1826b 100644 --- a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner.py +++ b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.get_meal_plan_week200_response_days_inner_items_inner_value import GetMealPlanWeek200ResponseDaysInnerItemsInnerValue @@ -36,11 +36,11 @@ class GetMealPlanWeek200ResponseDaysInnerItemsInner(BaseModel): value: Optional[GetMealPlanWeek200ResponseDaysInnerItemsInnerValue] = None __properties: ClassVar[List[str]] = ["id", "slot", "position", "type", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner_value.py b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner_value.py index b0473b7fd..3d53e140e 100644 --- a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner_value.py +++ b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_items_inner_value.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class GetMealPlanWeek200ResponseDaysInnerItemsInnerValue(BaseModel): image_type: StrictStr = Field(alias="imageType") __properties: ClassVar[List[str]] = ["servings", "id", "title", "imageType"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary.py b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary.py index b3dfbd109..e1fd0540e 100644 --- a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary.py +++ b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner import GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner @@ -32,11 +32,11 @@ class GetMealPlanWeek200ResponseDaysInnerNutritionSummary(BaseModel): nutrients: Annotated[List[GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["nutrients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.py b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.py index ac4f4a758..ea1eb9477 100644 --- a/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.py +++ b/python/spoonacular/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner(BaseMode percent_daily_needs: Union[StrictFloat, StrictInt] = Field(alias="percentDailyNeeds") __properties: ClassVar[List[str]] = ["name", "amount", "unit", "percentDailyNeeds"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_menu_item_information200_response.py b/python/spoonacular/models/get_menu_item_information200_response.py index 096230fe8..9805f8051 100644 --- a/python/spoonacular/models/get_menu_item_information200_response.py +++ b/python/spoonacular/models/get_menu_item_information200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.search_grocery_products_by_upc200_response_nutrition import SearchGroceryProductsByUPC200ResponseNutrition @@ -44,11 +44,11 @@ class GetMenuItemInformation200Response(BaseModel): spoonacular_score: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="spoonacularScore") __properties: ClassVar[List[str]] = ["id", "title", "restaurantChain", "nutrition", "badges", "breadcrumbs", "generatedText", "imageType", "likes", "servings", "price", "spoonacularScore"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_product_information200_response.py b/python/spoonacular/models/get_product_information200_response.py index 7c22c131a..f2b12ea67 100644 --- a/python/spoonacular/models/get_product_information200_response.py +++ b/python/spoonacular/models/get_product_information200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_product_information200_response_ingredients_inner import GetProductInformation200ResponseIngredientsInner @@ -49,11 +49,11 @@ class GetProductInformation200Response(BaseModel): spoonacular_score: Union[StrictFloat, StrictInt] = Field(alias="spoonacularScore") __properties: ClassVar[List[str]] = ["id", "title", "breadcrumbs", "imageType", "badges", "importantBadges", "ingredientCount", "generatedText", "ingredientList", "ingredients", "likes", "aisle", "nutrition", "price", "servings", "spoonacularScore"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_product_information200_response_ingredients_inner.py b/python/spoonacular/models/get_product_information200_response_ingredients_inner.py index d7c3aba9c..ae280c003 100644 --- a/python/spoonacular/models/get_product_information200_response_ingredients_inner.py +++ b/python/spoonacular/models/get_product_information200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class GetProductInformation200ResponseIngredientsInner(BaseModel): safety_level: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["description", "name", "safety_level"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_random_food_trivia200_response.py b/python/spoonacular/models/get_random_food_trivia200_response.py index f4dcba28a..e3f53ce0b 100644 --- a/python/spoonacular/models/get_random_food_trivia200_response.py +++ b/python/spoonacular/models/get_random_food_trivia200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,11 @@ class GetRandomFoodTrivia200Response(BaseModel): text: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["text"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_random_recipes200_response.py b/python/spoonacular/models/get_random_recipes200_response.py index 64fbbc06a..fb494a997 100644 --- a/python/spoonacular/models/get_random_recipes200_response.py +++ b/python/spoonacular/models/get_random_recipes200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_random_recipes200_response_recipes_inner import GetRandomRecipes200ResponseRecipesInner @@ -32,11 +32,11 @@ class GetRandomRecipes200Response(BaseModel): recipes: Annotated[List[GetRandomRecipes200ResponseRecipesInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["recipes"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_random_recipes200_response_recipes_inner.py b/python/spoonacular/models/get_random_recipes200_response_recipes_inner.py index 2ad14f3f8..b1a13d2fa 100644 --- a/python/spoonacular/models/get_random_recipes200_response_recipes_inner.py +++ b/python/spoonacular/models/get_random_recipes200_response_recipes_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_recipe_information200_response_extended_ingredients_inner import GetRecipeInformation200ResponseExtendedIngredientsInner @@ -69,11 +69,11 @@ class GetRandomRecipes200ResponseRecipesInner(BaseModel): wine_pairing: Optional[GetRecipeInformation200ResponseWinePairing] = Field(default=None, alias="winePairing") __properties: ClassVar[List[str]] = ["id", "title", "image", "imageType", "servings", "readyInMinutes", "license", "sourceName", "sourceUrl", "spoonacularSourceUrl", "aggregateLikes", "healthScore", "spoonacularScore", "pricePerServing", "analyzedInstructions", "cheap", "creditsText", "cuisines", "dairyFree", "diets", "gaps", "glutenFree", "instructions", "ketogenic", "lowFodmap", "occasions", "sustainable", "vegan", "vegetarian", "veryHealthy", "veryPopular", "whole30", "weightWatcherSmartPoints", "dishTypes", "extendedIngredients", "summary", "winePairing"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_equipment_by_id200_response.py b/python/spoonacular/models/get_recipe_equipment_by_id200_response.py index b020d490e..c70a9fa1c 100644 --- a/python/spoonacular/models/get_recipe_equipment_by_id200_response.py +++ b/python/spoonacular/models/get_recipe_equipment_by_id200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_recipe_equipment_by_id200_response_equipment_inner import GetRecipeEquipmentByID200ResponseEquipmentInner @@ -32,11 +32,11 @@ class GetRecipeEquipmentByID200Response(BaseModel): equipment: Annotated[List[GetRecipeEquipmentByID200ResponseEquipmentInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["equipment"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_equipment_by_id200_response_equipment_inner.py b/python/spoonacular/models/get_recipe_equipment_by_id200_response_equipment_inner.py index 9170857a1..c8173caf1 100644 --- a/python/spoonacular/models/get_recipe_equipment_by_id200_response_equipment_inner.py +++ b/python/spoonacular/models/get_recipe_equipment_by_id200_response_equipment_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class GetRecipeEquipmentByID200ResponseEquipmentInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["image", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information200_response.py b/python/spoonacular/models/get_recipe_information200_response.py index 964c7d8fd..63e27462f 100644 --- a/python/spoonacular/models/get_recipe_information200_response.py +++ b/python/spoonacular/models/get_recipe_information200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.get_recipe_information200_response_extended_ingredients_inner import GetRecipeInformation200ResponseExtendedIngredientsInner @@ -69,11 +69,11 @@ class GetRecipeInformation200Response(BaseModel): wine_pairing: GetRecipeInformation200ResponseWinePairing = Field(alias="winePairing") __properties: ClassVar[List[str]] = ["id", "title", "image", "imageType", "servings", "readyInMinutes", "license", "sourceName", "sourceUrl", "spoonacularSourceUrl", "aggregateLikes", "healthScore", "spoonacularScore", "pricePerServing", "analyzedInstructions", "cheap", "creditsText", "cuisines", "dairyFree", "diets", "gaps", "glutenFree", "instructions", "ketogenic", "lowFodmap", "occasions", "sustainable", "vegan", "vegetarian", "veryHealthy", "veryPopular", "whole30", "weightWatcherSmartPoints", "dishTypes", "extendedIngredients", "summary", "winePairing"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner.py b/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner.py index 27daee810..a8ae3f3db 100644 --- a/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner.py +++ b/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_recipe_information200_response_extended_ingredients_inner_measures import GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures @@ -42,11 +42,11 @@ class GetRecipeInformation200ResponseExtendedIngredientsInner(BaseModel): unit: Annotated[str, Field(min_length=0, strict=True)] __properties: ClassVar[List[str]] = ["aisle", "amount", "consitency", "id", "image", "measures", "meta", "name", "original", "originalName", "unit"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures.py b/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures.py index 81084b678..0f9d57331 100644 --- a/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures.py +++ b/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List from spoonacular.models.get_recipe_information200_response_extended_ingredients_inner_measures_metric import GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric from typing import Optional, Set @@ -32,11 +32,11 @@ class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures(BaseModel) us: GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric __properties: ClassVar[List[str]] = ["metric", "us"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.py b/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.py index bd7f821d6..6873cc134 100644 --- a/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.py +++ b/python/spoonacular/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric(Base unit_short: Annotated[str, Field(min_length=0, strict=True)] = Field(alias="unitShort") __properties: ClassVar[List[str]] = ["amount", "unitLong", "unitShort"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information200_response_wine_pairing.py b/python/spoonacular/models/get_recipe_information200_response_wine_pairing.py index 9d19cdb4c..cb5c64556 100644 --- a/python/spoonacular/models/get_recipe_information200_response_wine_pairing.py +++ b/python/spoonacular/models/get_recipe_information200_response_wine_pairing.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_recipe_information200_response_wine_pairing_product_matches_inner import GetRecipeInformation200ResponseWinePairingProductMatchesInner @@ -34,11 +34,11 @@ class GetRecipeInformation200ResponseWinePairing(BaseModel): product_matches: Annotated[List[GetRecipeInformation200ResponseWinePairingProductMatchesInner], Field(min_length=0)] = Field(alias="productMatches") __properties: ClassVar[List[str]] = ["pairedWines", "pairingText", "productMatches"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information200_response_wine_pairing_product_matches_inner.py b/python/spoonacular/models/get_recipe_information200_response_wine_pairing_product_matches_inner.py index db6a86ef6..6e9eb4fba 100644 --- a/python/spoonacular/models/get_recipe_information200_response_wine_pairing_product_matches_inner.py +++ b/python/spoonacular/models/get_recipe_information200_response_wine_pairing_product_matches_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -39,11 +39,11 @@ class GetRecipeInformation200ResponseWinePairingProductMatchesInner(BaseModel): link: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "title", "description", "price", "imageUrl", "averageRating", "ratingCount", "score", "link"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_information_bulk200_response_inner.py b/python/spoonacular/models/get_recipe_information_bulk200_response_inner.py index 7ed72302a..45145b436 100644 --- a/python/spoonacular/models/get_recipe_information_bulk200_response_inner.py +++ b/python/spoonacular/models/get_recipe_information_bulk200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.get_recipe_information200_response_extended_ingredients_inner import GetRecipeInformation200ResponseExtendedIngredientsInner @@ -69,11 +69,11 @@ class GetRecipeInformationBulk200ResponseInner(BaseModel): wine_pairing: GetRecipeInformation200ResponseWinePairing = Field(alias="winePairing") __properties: ClassVar[List[str]] = ["id", "title", "image", "imageType", "servings", "readyInMinutes", "license", "sourceName", "sourceUrl", "spoonacularSourceUrl", "aggregateLikes", "healthScore", "spoonacularScore", "pricePerServing", "analyzedInstructions", "cheap", "creditsText", "cuisines", "dairyFree", "diets", "gaps", "glutenFree", "instructions", "ketogenic", "lowFodmap", "occasions", "sustainable", "vegan", "vegetarian", "veryHealthy", "veryPopular", "whole30", "weightWatcherSmartPoints", "dishTypes", "extendedIngredients", "summary", "winePairing"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_ingredients_by_id200_response.py b/python/spoonacular/models/get_recipe_ingredients_by_id200_response.py index e08ff7590..2aba8a6ff 100644 --- a/python/spoonacular/models/get_recipe_ingredients_by_id200_response.py +++ b/python/spoonacular/models/get_recipe_ingredients_by_id200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_recipe_ingredients_by_id200_response_ingredients_inner import GetRecipeIngredientsByID200ResponseIngredientsInner @@ -32,11 +32,11 @@ class GetRecipeIngredientsByID200Response(BaseModel): ingredients: Annotated[List[GetRecipeIngredientsByID200ResponseIngredientsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["ingredients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_ingredients_by_id200_response_ingredients_inner.py b/python/spoonacular/models/get_recipe_ingredients_by_id200_response_ingredients_inner.py index 3e22f7e4d..93f996b4d 100644 --- a/python/spoonacular/models/get_recipe_ingredients_by_id200_response_ingredients_inner.py +++ b/python/spoonacular/models/get_recipe_ingredients_by_id200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount import GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount @@ -34,11 +34,11 @@ class GetRecipeIngredientsByID200ResponseIngredientsInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["amount", "image", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response.py b/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response.py index b9085687f..683b8ae0e 100644 --- a/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response.py +++ b/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_recipe_nutrition_widget_by_id200_response_bad_inner import GetRecipeNutritionWidgetByID200ResponseBadInner @@ -38,11 +38,11 @@ class GetRecipeNutritionWidgetByID200Response(BaseModel): good: Annotated[List[GetRecipeNutritionWidgetByID200ResponseGoodInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["calories", "carbs", "fat", "protein", "bad", "good"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.py b/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.py index 76b3d9509..813d49059 100644 --- a/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.py +++ b/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class GetRecipeNutritionWidgetByID200ResponseBadInner(BaseModel): percent_of_daily_needs: Union[StrictFloat, StrictInt] = Field(alias="percentOfDailyNeeds") __properties: ClassVar[List[str]] = ["name", "amount", "indented", "percentOfDailyNeeds"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_good_inner.py b/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_good_inner.py index 368323ff2..cf0cd019e 100644 --- a/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_good_inner.py +++ b/python/spoonacular/models/get_recipe_nutrition_widget_by_id200_response_good_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class GetRecipeNutritionWidgetByID200ResponseGoodInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["amount", "indented", "percentOfDailyNeeds", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response.py b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response.py index ffefe6b5e..464a7bcc5 100644 --- a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response.py +++ b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.get_recipe_price_breakdown_by_id200_response_ingredients_inner import GetRecipePriceBreakdownByID200ResponseIngredientsInner @@ -34,11 +34,11 @@ class GetRecipePriceBreakdownByID200Response(BaseModel): total_cost_per_serving: Union[StrictFloat, StrictInt] = Field(alias="totalCostPerServing") __properties: ClassVar[List[str]] = ["ingredients", "totalCost", "totalCostPerServing"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.py b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.py index f2f024c1e..7f4098bfc 100644 --- a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.py +++ b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount import GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount @@ -35,11 +35,11 @@ class GetRecipePriceBreakdownByID200ResponseIngredientsInner(BaseModel): price: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["amount", "image", "name", "price"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.py b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.py index 9c5b896f2..7cfc14746 100644 --- a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.py +++ b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List from spoonacular.models.get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric import GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric from typing import Optional, Set @@ -32,11 +32,11 @@ class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount(BaseModel): us: GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric __properties: ClassVar[List[str]] = ["metric", "us"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.py b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.py index efcd50150..7ca8bd550 100644 --- a/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.py +++ b/python/spoonacular/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric(BaseMod value: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["unit", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_recipe_taste_by_id200_response.py b/python/spoonacular/models/get_recipe_taste_by_id200_response.py index ce4138e45..be9a84fa7 100644 --- a/python/spoonacular/models/get_recipe_taste_by_id200_response.py +++ b/python/spoonacular/models/get_recipe_taste_by_id200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self @@ -36,11 +36,11 @@ class GetRecipeTasteByID200Response(BaseModel): spiciness: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["sweetness", "saltiness", "sourness", "bitterness", "savoriness", "fattiness", "spiciness"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_shopping_list200_response.py b/python/spoonacular/models/get_shopping_list200_response.py index 98fd2d944..1f38ac8cf 100644 --- a/python/spoonacular/models/get_shopping_list200_response.py +++ b/python/spoonacular/models/get_shopping_list200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.get_shopping_list200_response_aisles_inner import GetShoppingList200ResponseAislesInner @@ -35,11 +35,11 @@ class GetShoppingList200Response(BaseModel): end_date: Union[StrictFloat, StrictInt] = Field(alias="endDate") __properties: ClassVar[List[str]] = ["aisles", "cost", "startDate", "endDate"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_shopping_list200_response_aisles_inner.py b/python/spoonacular/models/get_shopping_list200_response_aisles_inner.py index 86e36a026..78b8c9ead 100644 --- a/python/spoonacular/models/get_shopping_list200_response_aisles_inner.py +++ b/python/spoonacular/models/get_shopping_list200_response_aisles_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.get_shopping_list200_response_aisles_inner_items_inner import GetShoppingList200ResponseAislesInnerItemsInner @@ -33,11 +33,11 @@ class GetShoppingList200ResponseAislesInner(BaseModel): items: Optional[Annotated[List[GetShoppingList200ResponseAislesInnerItemsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["aisle", "items"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner.py b/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner.py index ba72cf111..41ecfaca1 100644 --- a/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner.py +++ b/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.get_shopping_list200_response_aisles_inner_items_inner_measures import GetShoppingList200ResponseAislesInnerItemsInnerMeasures @@ -38,11 +38,11 @@ class GetShoppingList200ResponseAislesInnerItemsInner(BaseModel): ingredient_id: StrictInt = Field(alias="ingredientId") __properties: ClassVar[List[str]] = ["id", "name", "measures", "pantryItem", "aisle", "cost", "ingredientId"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner_measures.py b/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner_measures.py index 450b6e21f..3c6b02962 100644 --- a/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner_measures.py +++ b/python/spoonacular/models/get_shopping_list200_response_aisles_inner_items_inner_measures.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List from spoonacular.models.parse_ingredients200_response_inner_nutrition_weight_per_serving import ParseIngredients200ResponseInnerNutritionWeightPerServing from typing import Optional, Set @@ -33,11 +33,11 @@ class GetShoppingList200ResponseAislesInnerItemsInnerMeasures(BaseModel): us: ParseIngredients200ResponseInnerNutritionWeightPerServing __properties: ClassVar[List[str]] = ["original", "metric", "us"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_similar_recipes200_response_inner.py b/python/spoonacular/models/get_similar_recipes200_response_inner.py index 138f9cea8..5e229b8e1 100644 --- a/python/spoonacular/models/get_similar_recipes200_response_inner.py +++ b/python/spoonacular/models/get_similar_recipes200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -36,11 +36,11 @@ class GetSimilarRecipes200ResponseInner(BaseModel): source_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="sourceUrl") __properties: ClassVar[List[str]] = ["id", "title", "imageType", "readyInMinutes", "servings", "sourceUrl"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_wine_description200_response.py b/python/spoonacular/models/get_wine_description200_response.py index 0c8243b24..ef9608f5d 100644 --- a/python/spoonacular/models/get_wine_description200_response.py +++ b/python/spoonacular/models/get_wine_description200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -31,11 +31,11 @@ class GetWineDescription200Response(BaseModel): wine_description: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="wineDescription") __properties: ClassVar[List[str]] = ["wineDescription"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_wine_pairing200_response.py b/python/spoonacular/models/get_wine_pairing200_response.py index d77e0bd41..82125f5be 100644 --- a/python/spoonacular/models/get_wine_pairing200_response.py +++ b/python/spoonacular/models/get_wine_pairing200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_wine_pairing200_response_product_matches_inner import GetWinePairing200ResponseProductMatchesInner @@ -34,11 +34,11 @@ class GetWinePairing200Response(BaseModel): product_matches: Annotated[List[GetWinePairing200ResponseProductMatchesInner], Field(min_length=0)] = Field(alias="productMatches") __properties: ClassVar[List[str]] = ["pairedWines", "pairingText", "productMatches"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_wine_pairing200_response_product_matches_inner.py b/python/spoonacular/models/get_wine_pairing200_response_product_matches_inner.py index d029090c1..cbbfb6bfc 100644 --- a/python/spoonacular/models/get_wine_pairing200_response_product_matches_inner.py +++ b/python/spoonacular/models/get_wine_pairing200_response_product_matches_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set @@ -39,11 +39,11 @@ class GetWinePairing200ResponseProductMatchesInner(BaseModel): score: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["id", "title", "averageRating", "description", "imageUrl", "link", "price", "ratingCount", "score"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_wine_recommendation200_response.py b/python/spoonacular/models/get_wine_recommendation200_response.py index a7a69f122..5c19f8e49 100644 --- a/python/spoonacular/models/get_wine_recommendation200_response.py +++ b/python/spoonacular/models/get_wine_recommendation200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.get_wine_recommendation200_response_recommended_wines_inner import GetWineRecommendation200ResponseRecommendedWinesInner @@ -33,11 +33,11 @@ class GetWineRecommendation200Response(BaseModel): total_found: StrictInt = Field(alias="totalFound") __properties: ClassVar[List[str]] = ["recommendedWines", "totalFound"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/get_wine_recommendation200_response_recommended_wines_inner.py b/python/spoonacular/models/get_wine_recommendation200_response_recommended_wines_inner.py index 4078b3124..a22be5ff9 100644 --- a/python/spoonacular/models/get_wine_recommendation200_response_recommended_wines_inner.py +++ b/python/spoonacular/models/get_wine_recommendation200_response_recommended_wines_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -39,11 +39,11 @@ class GetWineRecommendation200ResponseRecommendedWinesInner(BaseModel): score: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["id", "title", "averageRating", "description", "imageUrl", "link", "price", "ratingCount", "score"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/guess_nutrition_by_dish_name200_response.py b/python/spoonacular/models/guess_nutrition_by_dish_name200_response.py index 754170a44..b9b89d636 100644 --- a/python/spoonacular/models/guess_nutrition_by_dish_name200_response.py +++ b/python/spoonacular/models/guess_nutrition_by_dish_name200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from spoonacular.models.guess_nutrition_by_dish_name200_response_calories import GuessNutritionByDishName200ResponseCalories from typing import Optional, Set @@ -35,11 +35,11 @@ class GuessNutritionByDishName200Response(BaseModel): recipes_used: StrictInt = Field(alias="recipesUsed") __properties: ClassVar[List[str]] = ["calories", "carbs", "fat", "protein", "recipesUsed"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories.py b/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories.py index 42f21da7e..d7702eb74 100644 --- a/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories.py +++ b/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent import GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent @@ -35,11 +35,11 @@ class GuessNutritionByDishName200ResponseCalories(BaseModel): value: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["confidenceRange95Percent", "standardDeviation", "unit", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.py b/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.py index 8292f2dca..1c348a8ee 100644 --- a/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.py +++ b/python/spoonacular/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self @@ -31,11 +31,11 @@ class GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent(BaseMo min: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["max", "min"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_analysis_by_url200_response.py b/python/spoonacular/models/image_analysis_by_url200_response.py index 4b27120a7..1dcd3d49d 100644 --- a/python/spoonacular/models/image_analysis_by_url200_response.py +++ b/python/spoonacular/models/image_analysis_by_url200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.image_analysis_by_url200_response_category import ImageAnalysisByURL200ResponseCategory @@ -36,11 +36,11 @@ class ImageAnalysisByURL200Response(BaseModel): recipes: Annotated[List[ImageAnalysisByURL200ResponseRecipesInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["nutrition", "category", "recipes"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_analysis_by_url200_response_category.py b/python/spoonacular/models/image_analysis_by_url200_response_category.py index 640391197..f64524346 100644 --- a/python/spoonacular/models/image_analysis_by_url200_response_category.py +++ b/python/spoonacular/models/image_analysis_by_url200_response_category.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class ImageAnalysisByURL200ResponseCategory(BaseModel): probability: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["name", "probability"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_analysis_by_url200_response_nutrition.py b/python/spoonacular/models/image_analysis_by_url200_response_nutrition.py index 3ca98a9be..82b4a1a62 100644 --- a/python/spoonacular/models/image_analysis_by_url200_response_nutrition.py +++ b/python/spoonacular/models/image_analysis_by_url200_response_nutrition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from spoonacular.models.image_analysis_by_url200_response_nutrition_calories import ImageAnalysisByURL200ResponseNutritionCalories from typing import Optional, Set @@ -35,11 +35,11 @@ class ImageAnalysisByURL200ResponseNutrition(BaseModel): carbs: ImageAnalysisByURL200ResponseNutritionCalories __properties: ClassVar[List[str]] = ["recipesUsed", "calories", "fat", "protein", "carbs"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories.py b/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories.py index fb8b9d2b6..87958a02c 100644 --- a/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories.py +++ b/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent import ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent @@ -35,11 +35,11 @@ class ImageAnalysisByURL200ResponseNutritionCalories(BaseModel): standard_deviation: Union[StrictFloat, StrictInt] = Field(alias="standardDeviation") __properties: ClassVar[List[str]] = ["value", "unit", "confidenceRange95Percent", "standardDeviation"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.py b/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.py index d1218d571..631cf23b6 100644 --- a/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.py +++ b/python/spoonacular/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self @@ -31,11 +31,11 @@ class ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent(Bas max: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["min", "max"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_analysis_by_url200_response_recipes_inner.py b/python/spoonacular/models/image_analysis_by_url200_response_recipes_inner.py index 4a0c646a1..4a602289d 100644 --- a/python/spoonacular/models/image_analysis_by_url200_response_recipes_inner.py +++ b/python/spoonacular/models/image_analysis_by_url200_response_recipes_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class ImageAnalysisByURL200ResponseRecipesInner(BaseModel): url: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "title", "imageType", "url"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/image_classification_by_url200_response.py b/python/spoonacular/models/image_classification_by_url200_response.py index dfca74c7b..d53552ca5 100644 --- a/python/spoonacular/models/image_classification_by_url200_response.py +++ b/python/spoonacular/models/image_classification_by_url200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class ImageClassificationByURL200Response(BaseModel): probability: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["category", "probability"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/ingredient_search200_response.py b/python/spoonacular/models/ingredient_search200_response.py index 7da38bac3..831b73373 100644 --- a/python/spoonacular/models/ingredient_search200_response.py +++ b/python/spoonacular/models/ingredient_search200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.ingredient_search200_response_results_inner import IngredientSearch200ResponseResultsInner @@ -35,11 +35,11 @@ class IngredientSearch200Response(BaseModel): total_results: StrictInt = Field(alias="totalResults") __properties: ClassVar[List[str]] = ["results", "offset", "number", "totalResults"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/ingredient_search200_response_results_inner.py b/python/spoonacular/models/ingredient_search200_response_results_inner.py index 8cf586300..feb076968 100644 --- a/python/spoonacular/models/ingredient_search200_response_results_inner.py +++ b/python/spoonacular/models/ingredient_search200_response_results_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class IngredientSearch200ResponseResultsInner(BaseModel): image: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "name", "image"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner.py b/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner.py index 24253c2a1..7e0d5fe59 100644 --- a/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner.py +++ b/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.map_ingredients_to_grocery_products200_response_inner_products_inner import MapIngredientsToGroceryProducts200ResponseInnerProductsInner @@ -36,11 +36,11 @@ class MapIngredientsToGroceryProducts200ResponseInner(BaseModel): products: Annotated[List[MapIngredientsToGroceryProducts200ResponseInnerProductsInner], Field(min_length=0)] __properties: ClassVar[List[str]] = ["original", "originalName", "ingredientImage", "meta", "products"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner_products_inner.py b/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner_products_inner.py index 34e9b8ef7..d17c0eb6b 100644 --- a/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner_products_inner.py +++ b/python/spoonacular/models/map_ingredients_to_grocery_products200_response_inner_products_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class MapIngredientsToGroceryProducts200ResponseInnerProductsInner(BaseModel): upc: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "title", "upc"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/map_ingredients_to_grocery_products_request.py b/python/spoonacular/models/map_ingredients_to_grocery_products_request.py index 19c3e7222..d28a77ef8 100644 --- a/python/spoonacular/models/map_ingredients_to_grocery_products_request.py +++ b/python/spoonacular/models/map_ingredients_to_grocery_products_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self @@ -31,11 +31,11 @@ class MapIngredientsToGroceryProductsRequest(BaseModel): servings: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["ingredients", "servings"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner.py b/python/spoonacular/models/parse_ingredients200_response_inner.py index ba19b91a2..b7b568b1f 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.parse_ingredients200_response_inner_estimated_cost import ParseIngredients200ResponseInnerEstimatedCost @@ -48,11 +48,11 @@ class ParseIngredients200ResponseInner(BaseModel): nutrition: ParseIngredients200ResponseInnerNutrition __properties: ClassVar[List[str]] = ["id", "original", "originalName", "name", "nameClean", "amount", "unit", "unitShort", "unitLong", "possibleUnits", "estimatedCost", "consistency", "aisle", "image", "meta", "nutrition"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner_estimated_cost.py b/python/spoonacular/models/parse_ingredients200_response_inner_estimated_cost.py index d8a03728a..0748fad94 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner_estimated_cost.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner_estimated_cost.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class ParseIngredients200ResponseInnerEstimatedCost(BaseModel): unit: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["value", "unit"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition.py b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition.py index 487e0b879..28ca60507 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.parse_ingredients200_response_inner_nutrition_caloric_breakdown import ParseIngredients200ResponseInnerNutritionCaloricBreakdown @@ -39,11 +39,11 @@ class ParseIngredients200ResponseInnerNutrition(BaseModel): weight_per_serving: ParseIngredients200ResponseInnerNutritionWeightPerServing = Field(alias="weightPerServing") __properties: ClassVar[List[str]] = ["nutrients", "properties", "flavonoids", "caloricBreakdown", "weightPerServing"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.py b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.py index 5bb31f80b..0763072fc 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self @@ -32,11 +32,11 @@ class ParseIngredients200ResponseInnerNutritionCaloricBreakdown(BaseModel): percent_carbs: Union[StrictFloat, StrictInt] = Field(alias="percentCarbs") __properties: ClassVar[List[str]] = ["percentProtein", "percentFat", "percentCarbs"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.py b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.py index 8d3ab46a5..52822814f 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class ParseIngredients200ResponseInnerNutritionNutrientsInner(BaseModel): percent_of_daily_needs: Union[StrictFloat, StrictInt] = Field(alias="percentOfDailyNeeds") __properties: ClassVar[List[str]] = ["name", "amount", "unit", "percentOfDailyNeeds"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_properties_inner.py b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_properties_inner.py index be3aeb57a..881bea011 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_properties_inner.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_properties_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class ParseIngredients200ResponseInnerNutritionPropertiesInner(BaseModel): unit: StrictStr __properties: ClassVar[List[str]] = ["name", "amount", "unit"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.py b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.py index df9ae3245..11fc98fea 100644 --- a/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.py +++ b/python/spoonacular/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class ParseIngredients200ResponseInnerNutritionWeightPerServing(BaseModel): unit: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["amount", "unit"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/quick_answer200_response.py b/python/spoonacular/models/quick_answer200_response.py index 834929f88..b656a84b8 100644 --- a/python/spoonacular/models/quick_answer200_response.py +++ b/python/spoonacular/models/quick_answer200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class QuickAnswer200Response(BaseModel): image: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["answer", "image"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_all_food200_response.py b/python/spoonacular/models/search_all_food200_response.py index 314a1304e..1a71a2616 100644 --- a/python/spoonacular/models/search_all_food200_response.py +++ b/python/spoonacular/models/search_all_food200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.search_all_food200_response_search_results_inner import SearchAllFood200ResponseSearchResultsInner @@ -36,11 +36,11 @@ class SearchAllFood200Response(BaseModel): search_results: Annotated[List[SearchAllFood200ResponseSearchResultsInner], Field(min_length=0)] = Field(alias="searchResults") __properties: ClassVar[List[str]] = ["query", "totalResults", "limit", "offset", "searchResults"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_all_food200_response_search_results_inner.py b/python/spoonacular/models/search_all_food200_response_search_results_inner.py index 372070e20..9c7aea801 100644 --- a/python/spoonacular/models/search_all_food200_response_search_results_inner.py +++ b/python/spoonacular/models/search_all_food200_response_search_results_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.search_all_food200_response_search_results_inner_results_inner import SearchAllFood200ResponseSearchResultsInnerResultsInner @@ -34,11 +34,11 @@ class SearchAllFood200ResponseSearchResultsInner(BaseModel): results: Optional[Annotated[List[SearchAllFood200ResponseSearchResultsInnerResultsInner], Field(min_length=0)]] = None __properties: ClassVar[List[str]] = ["name", "totalResults", "results"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_all_food200_response_search_results_inner_results_inner.py b/python/spoonacular/models/search_all_food200_response_search_results_inner_results_inner.py index f2c11a170..caeb07999 100644 --- a/python/spoonacular/models/search_all_food200_response_search_results_inner_results_inner.py +++ b/python/spoonacular/models/search_all_food200_response_search_results_inner_results_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set @@ -37,11 +37,11 @@ class SearchAllFood200ResponseSearchResultsInnerResultsInner(BaseModel): content: Optional[Annotated[str, Field(min_length=0, strict=True)]] __properties: ClassVar[List[str]] = ["id", "name", "image", "link", "type", "relevance", "content"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_custom_foods200_response.py b/python/spoonacular/models/search_custom_foods200_response.py index b1c877b36..ddfa266d9 100644 --- a/python/spoonacular/models/search_custom_foods200_response.py +++ b/python/spoonacular/models/search_custom_foods200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.search_custom_foods200_response_custom_foods_inner import SearchCustomFoods200ResponseCustomFoodsInner @@ -35,11 +35,11 @@ class SearchCustomFoods200Response(BaseModel): number: StrictInt __properties: ClassVar[List[str]] = ["customFoods", "type", "offset", "number"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_custom_foods200_response_custom_foods_inner.py b/python/spoonacular/models/search_custom_foods200_response_custom_foods_inner.py index a63228dd4..8dbedd0a0 100644 --- a/python/spoonacular/models/search_custom_foods200_response_custom_foods_inner.py +++ b/python/spoonacular/models/search_custom_foods200_response_custom_foods_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -35,11 +35,11 @@ class SearchCustomFoods200ResponseCustomFoodsInner(BaseModel): price: Union[StrictFloat, StrictInt] __properties: ClassVar[List[str]] = ["id", "title", "servings", "imageUrl", "price"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_food_videos200_response.py b/python/spoonacular/models/search_food_videos200_response.py index 47cd11741..c354ffb40 100644 --- a/python/spoonacular/models/search_food_videos200_response.py +++ b/python/spoonacular/models/search_food_videos200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.search_food_videos200_response_videos_inner import SearchFoodVideos200ResponseVideosInner @@ -33,11 +33,11 @@ class SearchFoodVideos200Response(BaseModel): total_results: StrictInt = Field(alias="totalResults") __properties: ClassVar[List[str]] = ["videos", "totalResults"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_food_videos200_response_videos_inner.py b/python/spoonacular/models/search_food_videos200_response_videos_inner.py index 1efb02c39..924445298 100644 --- a/python/spoonacular/models/search_food_videos200_response_videos_inner.py +++ b/python/spoonacular/models/search_food_videos200_response_videos_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -37,11 +37,11 @@ class SearchFoodVideos200ResponseVideosInner(BaseModel): you_tube_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="youTubeId") __properties: ClassVar[List[str]] = ["title", "length", "rating", "shortTitle", "thumbnail", "views", "youTubeId"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_grocery_products200_response.py b/python/spoonacular/models/search_grocery_products200_response.py index 57f955d32..44e1aaec1 100644 --- a/python/spoonacular/models/search_grocery_products200_response.py +++ b/python/spoonacular/models/search_grocery_products200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.autocomplete_recipe_search200_response_inner import AutocompleteRecipeSearch200ResponseInner @@ -36,11 +36,11 @@ class SearchGroceryProducts200Response(BaseModel): number: StrictInt __properties: ClassVar[List[str]] = ["products", "totalProducts", "type", "offset", "number"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_grocery_products_by_upc200_response.py b/python/spoonacular/models/search_grocery_products_by_upc200_response.py index 3fa1c996e..df20efeac 100644 --- a/python/spoonacular/models/search_grocery_products_by_upc200_response.py +++ b/python/spoonacular/models/search_grocery_products_by_upc200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from spoonacular.models.search_grocery_products_by_upc200_response_ingredients_inner import SearchGroceryProductsByUPC200ResponseIngredientsInner @@ -48,11 +48,11 @@ class SearchGroceryProductsByUPC200Response(BaseModel): spoonacular_score: Union[StrictFloat, StrictInt] = Field(alias="spoonacularScore") __properties: ClassVar[List[str]] = ["id", "title", "badges", "importantBadges", "breadcrumbs", "generatedText", "imageType", "ingredientCount", "ingredientList", "ingredients", "likes", "nutrition", "price", "servings", "spoonacularScore"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_grocery_products_by_upc200_response_ingredients_inner.py b/python/spoonacular/models/search_grocery_products_by_upc200_response_ingredients_inner.py index 3d6a85f5d..c73d92c9d 100644 --- a/python/spoonacular/models/search_grocery_products_by_upc200_response_ingredients_inner.py +++ b/python/spoonacular/models/search_grocery_products_by_upc200_response_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictStr +from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -32,11 +32,11 @@ class SearchGroceryProductsByUPC200ResponseIngredientsInner(BaseModel): safety_level: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["description", "name", "safety_level"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_grocery_products_by_upc200_response_nutrition.py b/python/spoonacular/models/search_grocery_products_by_upc200_response_nutrition.py index 5c39772dd..3e530a0fa 100644 --- a/python/spoonacular/models/search_grocery_products_by_upc200_response_nutrition.py +++ b/python/spoonacular/models/search_grocery_products_by_upc200_response_nutrition.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.parse_ingredients200_response_inner_nutrition_caloric_breakdown import ParseIngredients200ResponseInnerNutritionCaloricBreakdown @@ -34,11 +34,11 @@ class SearchGroceryProductsByUPC200ResponseNutrition(BaseModel): caloric_breakdown: ParseIngredients200ResponseInnerNutritionCaloricBreakdown = Field(alias="caloricBreakdown") __properties: ClassVar[List[str]] = ["nutrients", "caloricBreakdown"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_grocery_products_by_upc200_response_servings.py b/python/spoonacular/models/search_grocery_products_by_upc200_response_servings.py index 9e87967de..db2f5a58a 100644 --- a/python/spoonacular/models/search_grocery_products_by_upc200_response_servings.py +++ b/python/spoonacular/models/search_grocery_products_by_upc200_response_servings.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class SearchGroceryProductsByUPC200ResponseServings(BaseModel): unit: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["number", "size", "unit"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_menu_items200_response.py b/python/spoonacular/models/search_menu_items200_response.py index 988695116..6d517852d 100644 --- a/python/spoonacular/models/search_menu_items200_response.py +++ b/python/spoonacular/models/search_menu_items200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.search_menu_items200_response_menu_items_inner import SearchMenuItems200ResponseMenuItemsInner @@ -36,11 +36,11 @@ class SearchMenuItems200Response(BaseModel): number: StrictInt __properties: ClassVar[List[str]] = ["menuItems", "totalMenuItems", "type", "offset", "number"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_menu_items200_response_menu_items_inner.py b/python/spoonacular/models/search_menu_items200_response_menu_items_inner.py index 66c34af15..63bcc09a5 100644 --- a/python/spoonacular/models/search_menu_items200_response_menu_items_inner.py +++ b/python/spoonacular/models/search_menu_items200_response_menu_items_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.search_grocery_products_by_upc200_response_servings import SearchGroceryProductsByUPC200ResponseServings @@ -37,11 +37,11 @@ class SearchMenuItems200ResponseMenuItemsInner(BaseModel): servings: Optional[SearchGroceryProductsByUPC200ResponseServings] = None __properties: ClassVar[List[str]] = ["id", "title", "restaurantChain", "image", "imageType", "servings"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_recipes200_response.py b/python/spoonacular/models/search_recipes200_response.py index db87312d1..a0b0cec41 100644 --- a/python/spoonacular/models/search_recipes200_response.py +++ b/python/spoonacular/models/search_recipes200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.search_recipes200_response_results_inner import SearchRecipes200ResponseResultsInner @@ -35,11 +35,11 @@ class SearchRecipes200Response(BaseModel): total_results: StrictInt = Field(alias="totalResults") __properties: ClassVar[List[str]] = ["offset", "number", "results", "totalResults"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_recipes200_response_results_inner.py b/python/spoonacular/models/search_recipes200_response_results_inner.py index 02966ed66..2113ff90c 100644 --- a/python/spoonacular/models/search_recipes200_response_results_inner.py +++ b/python/spoonacular/models/search_recipes200_response_results_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -34,11 +34,11 @@ class SearchRecipes200ResponseResultsInner(BaseModel): image_type: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="imageType") __properties: ClassVar[List[str]] = ["id", "title", "image", "imageType"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_recipes_by_ingredients200_response_inner.py b/python/spoonacular/models/search_recipes_by_ingredients200_response_inner.py index 71b1d5722..6ae368a99 100644 --- a/python/spoonacular/models/search_recipes_by_ingredients200_response_inner.py +++ b/python/spoonacular/models/search_recipes_by_ingredients200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from spoonacular.models.search_recipes_by_ingredients200_response_inner_missed_ingredients_inner import SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner @@ -41,11 +41,11 @@ class SearchRecipesByIngredients200ResponseInner(BaseModel): used_ingredients: Annotated[List[SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner], Field(min_length=0)] = Field(alias="usedIngredients") __properties: ClassVar[List[str]] = ["id", "image", "imageType", "likes", "missedIngredientCount", "missedIngredients", "title", "unusedIngredients", "usedIngredientCount", "usedIngredients"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.py b/python/spoonacular/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.py index a0f6ee911..926b69d02 100644 --- a/python/spoonacular/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.py +++ b/python/spoonacular/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated from typing import Optional, Set @@ -42,11 +42,11 @@ class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner(BaseModel unit_short: Annotated[str, Field(min_length=0, strict=True)] = Field(alias="unitShort") __properties: ClassVar[List[str]] = ["aisle", "amount", "id", "image", "meta", "name", "extendedName", "original", "originalName", "unit", "unitLong", "unitShort"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_recipes_by_nutrients200_response_inner.py b/python/spoonacular/models/search_recipes_by_nutrients200_response_inner.py index f3c3a65eb..a232ab1f0 100644 --- a/python/spoonacular/models/search_recipes_by_nutrients200_response_inner.py +++ b/python/spoonacular/models/search_recipes_by_nutrients200_response_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictFloat, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated from typing import Optional, Set @@ -38,11 +38,11 @@ class SearchRecipesByNutrients200ResponseInner(BaseModel): title: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["calories", "carbs", "fat", "id", "image", "imageType", "protein", "title"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_restaurants200_response.py b/python/spoonacular/models/search_restaurants200_response.py index abd7fdcb1..523c3ef83 100644 --- a/python/spoonacular/models/search_restaurants200_response.py +++ b/python/spoonacular/models/search_restaurants200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional from spoonacular.models.search_restaurants200_response_restaurants_inner import SearchRestaurants200ResponseRestaurantsInner from typing import Optional, Set @@ -31,11 +31,11 @@ class SearchRestaurants200Response(BaseModel): restaurants: Optional[List[SearchRestaurants200ResponseRestaurantsInner]] = None __properties: ClassVar[List[str]] = ["restaurants"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_restaurants200_response_restaurants_inner.py b/python/spoonacular/models/search_restaurants200_response_restaurants_inner.py index 25f1eacae..deedda896 100644 --- a/python/spoonacular/models/search_restaurants200_response_restaurants_inner.py +++ b/python/spoonacular/models/search_restaurants200_response_restaurants_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from spoonacular.models.search_restaurants200_response_restaurants_inner_address import SearchRestaurants200ResponseRestaurantsInnerAddress from spoonacular.models.search_restaurants200_response_restaurants_inner_local_hours import SearchRestaurants200ResponseRestaurantsInnerLocalHours @@ -51,11 +51,11 @@ class SearchRestaurants200ResponseRestaurantsInner(BaseModel): aggregated_rating_count: Optional[StrictInt] = None __properties: ClassVar[List[str]] = ["_id", "name", "phone_number", "address", "type", "description", "local_hours", "cuisines", "food_photos", "logo_photos", "store_photos", "dollar_signs", "pickup_enabled", "delivery_enabled", "is_open", "offers_first_party_delivery", "offers_third_party_delivery", "miles", "weighted_rating_value", "aggregated_rating_count"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_restaurants200_response_restaurants_inner_address.py b/python/spoonacular/models/search_restaurants200_response_restaurants_inner_address.py index 255549cc5..fced94731 100644 --- a/python/spoonacular/models/search_restaurants200_response_restaurants_inner_address.py +++ b/python/spoonacular/models/search_restaurants200_response_restaurants_inner_address.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing import Optional, Set from typing_extensions import Self @@ -39,11 +39,11 @@ class SearchRestaurants200ResponseRestaurantsInnerAddress(BaseModel): longitude: Optional[Union[StrictFloat, StrictInt]] = None __properties: ClassVar[List[str]] = ["street_addr", "city", "state", "zipcode", "country", "lat", "lon", "street_addr_2", "latitude", "longitude"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours.py b/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours.py index 310b38df8..75f37c527 100644 --- a/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours.py +++ b/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional from spoonacular.models.search_restaurants200_response_restaurants_inner_local_hours_operational import SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational from typing import Optional, Set @@ -34,11 +34,11 @@ class SearchRestaurants200ResponseRestaurantsInnerLocalHours(BaseModel): dine_in: Optional[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational] = None __properties: ClassVar[List[str]] = ["operational", "delivery", "pickup", "dine_in"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours_operational.py b/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours_operational.py index 0083b99e6..7db5cd604 100644 --- a/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours_operational.py +++ b/python/spoonacular/models/search_restaurants200_response_restaurants_inner_local_hours_operational.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -36,11 +36,11 @@ class SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational(BaseMode sunday: Optional[StrictStr] = Field(default=None, alias="Sunday") __properties: ClassVar[List[str]] = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_site_content200_response.py b/python/spoonacular/models/search_site_content200_response.py index c59367b04..ea5469bd3 100644 --- a/python/spoonacular/models/search_site_content200_response.py +++ b/python/spoonacular/models/search_site_content200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.search_site_content200_response_articles_inner import SearchSiteContent200ResponseArticlesInner @@ -35,11 +35,11 @@ class SearchSiteContent200Response(BaseModel): recipes: Annotated[List[SearchSiteContent200ResponseArticlesInner], Field(min_length=0)] = Field(alias="Recipes") __properties: ClassVar[List[str]] = ["Articles", "Grocery Products", "Menu Items", "Recipes"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_site_content200_response_articles_inner.py b/python/spoonacular/models/search_site_content200_response_articles_inner.py index 4aa500a88..a270c8048 100644 --- a/python/spoonacular/models/search_site_content200_response_articles_inner.py +++ b/python/spoonacular/models/search_site_content200_response_articles_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from spoonacular.models.search_site_content200_response_articles_inner_data_points_inner import SearchSiteContent200ResponseArticlesInnerDataPointsInner @@ -35,11 +35,11 @@ class SearchSiteContent200ResponseArticlesInner(BaseModel): name: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["dataPoints", "image", "link", "name"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/search_site_content200_response_articles_inner_data_points_inner.py b/python/spoonacular/models/search_site_content200_response_articles_inner_data_points_inner.py index 0ece1cfc8..5e50b2a17 100644 --- a/python/spoonacular/models/search_site_content200_response_articles_inner_data_points_inner.py +++ b/python/spoonacular/models/search_site_content200_response_articles_inner_data_points_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -32,11 +32,11 @@ class SearchSiteContent200ResponseArticlesInnerDataPointsInner(BaseModel): value: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["key", "value"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/summarize_recipe200_response.py b/python/spoonacular/models/summarize_recipe200_response.py index 76bd3cb9a..6eb2f3071 100644 --- a/python/spoonacular/models/summarize_recipe200_response.py +++ b/python/spoonacular/models/summarize_recipe200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set @@ -33,11 +33,11 @@ class SummarizeRecipe200Response(BaseModel): title: Annotated[str, Field(min_length=1, strict=True)] __properties: ClassVar[List[str]] = ["id", "summary", "title"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/talk_to_chatbot200_response.py b/python/spoonacular/models/talk_to_chatbot200_response.py index 9d00a9624..22bfd4d8b 100644 --- a/python/spoonacular/models/talk_to_chatbot200_response.py +++ b/python/spoonacular/models/talk_to_chatbot200_response.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from spoonacular.models.talk_to_chatbot200_response_media_inner import TalkToChatbot200ResponseMediaInner @@ -33,11 +33,11 @@ class TalkToChatbot200Response(BaseModel): media: List[TalkToChatbot200ResponseMediaInner] __properties: ClassVar[List[str]] = ["answerText", "media"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/models/talk_to_chatbot200_response_media_inner.py b/python/spoonacular/models/talk_to_chatbot200_response_media_inner.py index 398a9195f..c2c9f1245 100644 --- a/python/spoonacular/models/talk_to_chatbot200_response_media_inner.py +++ b/python/spoonacular/models/talk_to_chatbot200_response_media_inner.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, StrictStr +from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -32,11 +32,11 @@ class TalkToChatbot200ResponseMediaInner(BaseModel): link: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["title", "image", "link"] - model_config = { - "populate_by_name": True, - "validate_assignment": True, - "protected_namespaces": (), - } + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) def to_str(self) -> str: diff --git a/python/spoonacular/rest.py b/python/spoonacular/rest.py index 930a9cfac..f00f1ecf1 100644 --- a/python/spoonacular/rest.py +++ b/python/spoonacular/rest.py @@ -203,6 +203,8 @@ def request( # Content-Type which generated by urllib3 will be # overwritten. del headers['Content-Type'] + # Ensures that dict objects are serialized + post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params] r = self.pool_manager.request( method, url, diff --git a/ruby/.openapi-generator/VERSION b/ruby/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/ruby/.openapi-generator/VERSION +++ b/ruby/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/ruby/README.md b/ruby/README.md index 85f953d92..c8994c462 100644 --- a/ruby/README.md +++ b/ruby/README.md @@ -10,6 +10,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g - API version: 1.1 - Package version: 1.0.0 +- Generator version: 7.7.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit [https://spoonacular.com/contact](https://spoonacular.com/contact) diff --git a/ruby/lib/openapi_client.rb b/ruby/lib/openapi_client.rb index a9fb3ef3a..00103307b 100644 --- a/ruby/lib/openapi_client.rb +++ b/ruby/lib/openapi_client.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/default_api.rb b/ruby/lib/openapi_client/api/default_api.rb index c6efd6ca8..7c9eeb37f 100644 --- a/ruby/lib/openapi_client/api/default_api.rb +++ b/ruby/lib/openapi_client/api/default_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/ingredients_api.rb b/ruby/lib/openapi_client/api/ingredients_api.rb index cdacad418..a3d775d6a 100644 --- a/ruby/lib/openapi_client/api/ingredients_api.rb +++ b/ruby/lib/openapi_client/api/ingredients_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/meal_planning_api.rb b/ruby/lib/openapi_client/api/meal_planning_api.rb index 4b70df532..7aa139d3f 100644 --- a/ruby/lib/openapi_client/api/meal_planning_api.rb +++ b/ruby/lib/openapi_client/api/meal_planning_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/menu_items_api.rb b/ruby/lib/openapi_client/api/menu_items_api.rb index 654be54b7..bfe66b334 100644 --- a/ruby/lib/openapi_client/api/menu_items_api.rb +++ b/ruby/lib/openapi_client/api/menu_items_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/misc_api.rb b/ruby/lib/openapi_client/api/misc_api.rb index 5471abb90..5bc76e028 100644 --- a/ruby/lib/openapi_client/api/misc_api.rb +++ b/ruby/lib/openapi_client/api/misc_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/products_api.rb b/ruby/lib/openapi_client/api/products_api.rb index 47d37146b..71192a6d3 100644 --- a/ruby/lib/openapi_client/api/products_api.rb +++ b/ruby/lib/openapi_client/api/products_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/recipes_api.rb b/ruby/lib/openapi_client/api/recipes_api.rb index 722ce86da..1529c48ee 100644 --- a/ruby/lib/openapi_client/api/recipes_api.rb +++ b/ruby/lib/openapi_client/api/recipes_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api/wine_api.rb b/ruby/lib/openapi_client/api/wine_api.rb index 8354db4a0..714651939 100644 --- a/ruby/lib/openapi_client/api/wine_api.rb +++ b/ruby/lib/openapi_client/api/wine_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/api_client.rb b/ruby/lib/openapi_client/api_client.rb index a9810d334..260dd60c6 100644 --- a/ruby/lib/openapi_client/api_client.rb +++ b/ruby/lib/openapi_client/api_client.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end @@ -212,7 +212,7 @@ def download_file(request) # @param [String] mime MIME # @return [Boolean] True if the MIME is application/json def json_mime?(mime) - (mime == '*/*') || !(mime =~ /Application\/.*json(?!p)(;.*)?/i).nil? + (mime == '*/*') || !(mime =~ /^Application\/.*json(?!p)(;.*)?/i).nil? end # Deserialize the response to the given return type. @@ -291,7 +291,7 @@ def convert_to_type(data, return_type) # @param [String] filename the filename to be sanitized # @return [String] the sanitized filename def sanitize_filename(filename) - filename.gsub(/.*[\/\\]/, '') + filename.split(/[\/\\]/).last end def build_request_url(path, opts = {}) diff --git a/ruby/lib/openapi_client/api_error.rb b/ruby/lib/openapi_client/api_error.rb index e836d4f3b..702507f0e 100644 --- a/ruby/lib/openapi_client/api_error.rb +++ b/ruby/lib/openapi_client/api_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/configuration.rb b/ruby/lib/openapi_client/configuration.rb index 7cd2a4969..f3c7015a3 100644 --- a/ruby/lib/openapi_client/configuration.rb +++ b/ruby/lib/openapi_client/configuration.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_meal_plan_template200_response.rb b/ruby/lib/openapi_client/models/add_meal_plan_template200_response.rb index 468a2c92b..4248f5fa0 100644 --- a/ruby/lib/openapi_client/models/add_meal_plan_template200_response.rb +++ b/ruby/lib/openapi_client/models/add_meal_plan_template200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner.rb b/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner.rb index 9481060f9..9e4ba6dfb 100644 --- a/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner.rb +++ b/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner_value.rb b/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner_value.rb index 722bea948..56c877d7d 100644 --- a/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner_value.rb +++ b/ruby/lib/openapi_client/models/add_meal_plan_template200_response_items_inner_value.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_to_meal_plan_request.rb b/ruby/lib/openapi_client/models/add_to_meal_plan_request.rb index 85ff1afd4..68ba5e6c4 100644 --- a/ruby/lib/openapi_client/models/add_to_meal_plan_request.rb +++ b/ruby/lib/openapi_client/models/add_to_meal_plan_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_to_meal_plan_request_value.rb b/ruby/lib/openapi_client/models/add_to_meal_plan_request_value.rb index 8394403d0..436faa37f 100644 --- a/ruby/lib/openapi_client/models/add_to_meal_plan_request_value.rb +++ b/ruby/lib/openapi_client/models/add_to_meal_plan_request_value.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_to_meal_plan_request_value_ingredients_inner.rb b/ruby/lib/openapi_client/models/add_to_meal_plan_request_value_ingredients_inner.rb index 8ff9c2c82..6cf49cb38 100644 --- a/ruby/lib/openapi_client/models/add_to_meal_plan_request_value_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/add_to_meal_plan_request_value_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/add_to_shopping_list_request.rb b/ruby/lib/openapi_client/models/add_to_shopping_list_request.rb index 24ec8d17b..df88a908a 100644 --- a/ruby/lib/openapi_client/models/add_to_shopping_list_request.rb +++ b/ruby/lib/openapi_client/models/add_to_shopping_list_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response.rb b/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response.rb index a49c95abd..6ee31513e 100644 --- a/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response.rb +++ b/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_dishes_inner.rb b/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_dishes_inner.rb index 911679ad4..d10696886 100644 --- a/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_dishes_inner.rb +++ b/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_dishes_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_ingredients_inner.rb index 036838af7..fe75e2a9a 100644 --- a/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/analyze_a_recipe_search_query200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response.rb b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response.rb index 5a9ad9f53..35af89d7d 100644 --- a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response.rb +++ b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_ingredients_inner.rb index c2c44a8fb..a4e7d74e1 100644 --- a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner.rb b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner.rb index 021b22e18..aef2e5ee5 100644 --- a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner.rb +++ b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb index 5fd740591..569717f81 100644 --- a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb +++ b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb index 78cbf614c..894ac0242 100644 --- a/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/analyze_recipe_request.rb b/ruby/lib/openapi_client/models/analyze_recipe_request.rb index 943f4b458..62b9ebeb8 100644 --- a/ruby/lib/openapi_client/models/analyze_recipe_request.rb +++ b/ruby/lib/openapi_client/models/analyze_recipe_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/autocomplete_ingredient_search200_response_inner.rb b/ruby/lib/openapi_client/models/autocomplete_ingredient_search200_response_inner.rb index 9ce566db2..abcefa2f4 100644 --- a/ruby/lib/openapi_client/models/autocomplete_ingredient_search200_response_inner.rb +++ b/ruby/lib/openapi_client/models/autocomplete_ingredient_search200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/autocomplete_menu_item_search200_response.rb b/ruby/lib/openapi_client/models/autocomplete_menu_item_search200_response.rb index 72caa659c..572fca922 100644 --- a/ruby/lib/openapi_client/models/autocomplete_menu_item_search200_response.rb +++ b/ruby/lib/openapi_client/models/autocomplete_menu_item_search200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/autocomplete_product_search200_response.rb b/ruby/lib/openapi_client/models/autocomplete_product_search200_response.rb index a45538057..1fd459d2c 100644 --- a/ruby/lib/openapi_client/models/autocomplete_product_search200_response.rb +++ b/ruby/lib/openapi_client/models/autocomplete_product_search200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/autocomplete_product_search200_response_results_inner.rb b/ruby/lib/openapi_client/models/autocomplete_product_search200_response_results_inner.rb index f81694e7d..b4bb666d3 100644 --- a/ruby/lib/openapi_client/models/autocomplete_product_search200_response_results_inner.rb +++ b/ruby/lib/openapi_client/models/autocomplete_product_search200_response_results_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/autocomplete_recipe_search200_response_inner.rb b/ruby/lib/openapi_client/models/autocomplete_recipe_search200_response_inner.rb index a60a26c6d..645e22d93 100644 --- a/ruby/lib/openapi_client/models/autocomplete_recipe_search200_response_inner.rb +++ b/ruby/lib/openapi_client/models/autocomplete_recipe_search200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/classify_cuisine200_response.rb b/ruby/lib/openapi_client/models/classify_cuisine200_response.rb index 3bf777647..6a23d64a6 100644 --- a/ruby/lib/openapi_client/models/classify_cuisine200_response.rb +++ b/ruby/lib/openapi_client/models/classify_cuisine200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/classify_grocery_product200_response.rb b/ruby/lib/openapi_client/models/classify_grocery_product200_response.rb index 0be2c0ef3..f1e25a58e 100644 --- a/ruby/lib/openapi_client/models/classify_grocery_product200_response.rb +++ b/ruby/lib/openapi_client/models/classify_grocery_product200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/classify_grocery_product_bulk200_response_inner.rb b/ruby/lib/openapi_client/models/classify_grocery_product_bulk200_response_inner.rb index 8d9ecc0ce..bce2fc8be 100644 --- a/ruby/lib/openapi_client/models/classify_grocery_product_bulk200_response_inner.rb +++ b/ruby/lib/openapi_client/models/classify_grocery_product_bulk200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/classify_grocery_product_bulk_request_inner.rb b/ruby/lib/openapi_client/models/classify_grocery_product_bulk_request_inner.rb index 5375b5c3b..6f874d9c8 100644 --- a/ruby/lib/openapi_client/models/classify_grocery_product_bulk_request_inner.rb +++ b/ruby/lib/openapi_client/models/classify_grocery_product_bulk_request_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/classify_grocery_product_request.rb b/ruby/lib/openapi_client/models/classify_grocery_product_request.rb index 1e7a97796..9b664b2a2 100644 --- a/ruby/lib/openapi_client/models/classify_grocery_product_request.rb +++ b/ruby/lib/openapi_client/models/classify_grocery_product_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/compute_glycemic_load200_response.rb b/ruby/lib/openapi_client/models/compute_glycemic_load200_response.rb index bd44f761f..3e90c6b6c 100644 --- a/ruby/lib/openapi_client/models/compute_glycemic_load200_response.rb +++ b/ruby/lib/openapi_client/models/compute_glycemic_load200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/compute_glycemic_load200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/compute_glycemic_load200_response_ingredients_inner.rb index b1c788fd4..5631280be 100644 --- a/ruby/lib/openapi_client/models/compute_glycemic_load200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/compute_glycemic_load200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/compute_glycemic_load_request.rb b/ruby/lib/openapi_client/models/compute_glycemic_load_request.rb index 668cdedf6..f87d693b7 100644 --- a/ruby/lib/openapi_client/models/compute_glycemic_load_request.rb +++ b/ruby/lib/openapi_client/models/compute_glycemic_load_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/compute_ingredient_amount200_response.rb b/ruby/lib/openapi_client/models/compute_ingredient_amount200_response.rb index 74bd1f77b..36e34e88a 100644 --- a/ruby/lib/openapi_client/models/compute_ingredient_amount200_response.rb +++ b/ruby/lib/openapi_client/models/compute_ingredient_amount200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/connect_user200_response.rb b/ruby/lib/openapi_client/models/connect_user200_response.rb index 9f0843343..fcdba050c 100644 --- a/ruby/lib/openapi_client/models/connect_user200_response.rb +++ b/ruby/lib/openapi_client/models/connect_user200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/connect_user_request.rb b/ruby/lib/openapi_client/models/connect_user_request.rb index 0eb14b57e..4d874d3a8 100644 --- a/ruby/lib/openapi_client/models/connect_user_request.rb +++ b/ruby/lib/openapi_client/models/connect_user_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/convert_amounts200_response.rb b/ruby/lib/openapi_client/models/convert_amounts200_response.rb index bb0313361..953657b37 100644 --- a/ruby/lib/openapi_client/models/convert_amounts200_response.rb +++ b/ruby/lib/openapi_client/models/convert_amounts200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/create_recipe_card200_response.rb b/ruby/lib/openapi_client/models/create_recipe_card200_response.rb index 56b80ab12..793f06d5b 100644 --- a/ruby/lib/openapi_client/models/create_recipe_card200_response.rb +++ b/ruby/lib/openapi_client/models/create_recipe_card200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/detect_food_in_text200_response.rb b/ruby/lib/openapi_client/models/detect_food_in_text200_response.rb index bbf26a0b9..1ed982f90 100644 --- a/ruby/lib/openapi_client/models/detect_food_in_text200_response.rb +++ b/ruby/lib/openapi_client/models/detect_food_in_text200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/detect_food_in_text200_response_annotations_inner.rb b/ruby/lib/openapi_client/models/detect_food_in_text200_response_annotations_inner.rb index c5649c1ba..53cb3e37a 100644 --- a/ruby/lib/openapi_client/models/detect_food_in_text200_response_annotations_inner.rb +++ b/ruby/lib/openapi_client/models/detect_food_in_text200_response_annotations_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/generate_meal_plan200_response.rb b/ruby/lib/openapi_client/models/generate_meal_plan200_response.rb index 9802b76b5..69572c2c0 100644 --- a/ruby/lib/openapi_client/models/generate_meal_plan200_response.rb +++ b/ruby/lib/openapi_client/models/generate_meal_plan200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/generate_meal_plan200_response_nutrients.rb b/ruby/lib/openapi_client/models/generate_meal_plan200_response_nutrients.rb index 5a39261bb..6e48d4597 100644 --- a/ruby/lib/openapi_client/models/generate_meal_plan200_response_nutrients.rb +++ b/ruby/lib/openapi_client/models/generate_meal_plan200_response_nutrients.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/generate_shopping_list200_response.rb b/ruby/lib/openapi_client/models/generate_shopping_list200_response.rb index b1dc7a489..ae0d25ba4 100644 --- a/ruby/lib/openapi_client/models/generate_shopping_list200_response.rb +++ b/ruby/lib/openapi_client/models/generate_shopping_list200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_a_random_food_joke200_response.rb b/ruby/lib/openapi_client/models/get_a_random_food_joke200_response.rb index 1e470f0d3..e872f563c 100644 --- a/ruby/lib/openapi_client/models/get_a_random_food_joke200_response.rb +++ b/ruby/lib/openapi_client/models/get_a_random_food_joke200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response.rb b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response.rb index 94430b3f2..a4af43e75 100644 --- a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response.rb +++ b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_ingredients_inner.rb index 1941d5725..c3c964d58 100644 --- a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.rb b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.rb index 3f4f667d6..64faf71df 100644 --- a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.rb +++ b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb index 517c6790b..9095c396f 100644 --- a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb +++ b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb index aa8a811a2..bbf3fd270 100644 --- a/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_comparable_products200_response.rb b/ruby/lib/openapi_client/models/get_comparable_products200_response.rb index 5baa5d0bc..0d99e90c3 100644 --- a/ruby/lib/openapi_client/models/get_comparable_products200_response.rb +++ b/ruby/lib/openapi_client/models/get_comparable_products200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products.rb b/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products.rb index d2460beea..c5bb82b27 100644 --- a/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products.rb +++ b/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products_protein_inner.rb b/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products_protein_inner.rb index feef4ddf9..be7ac38ce 100644 --- a/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products_protein_inner.rb +++ b/ruby/lib/openapi_client/models/get_comparable_products200_response_comparable_products_protein_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_conversation_suggests200_response.rb b/ruby/lib/openapi_client/models/get_conversation_suggests200_response.rb index 670d4b241..dc3687bce 100644 --- a/ruby/lib/openapi_client/models/get_conversation_suggests200_response.rb +++ b/ruby/lib/openapi_client/models/get_conversation_suggests200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests.rb b/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests.rb index 0a67cbe19..9172e1d69 100644 --- a/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests.rb +++ b/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests_inner.rb b/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests_inner.rb index 34caffab4..524db4446 100644 --- a/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests_inner.rb +++ b/ruby/lib/openapi_client/models/get_conversation_suggests200_response_suggests_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_dish_pairing_for_wine200_response.rb b/ruby/lib/openapi_client/models/get_dish_pairing_for_wine200_response.rb index 145d97d56..a6b95cc18 100644 --- a/ruby/lib/openapi_client/models/get_dish_pairing_for_wine200_response.rb +++ b/ruby/lib/openapi_client/models/get_dish_pairing_for_wine200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_ingredient_information200_response.rb b/ruby/lib/openapi_client/models/get_ingredient_information200_response.rb index a4869bf4b..a5073b262 100644 --- a/ruby/lib/openapi_client/models/get_ingredient_information200_response.rb +++ b/ruby/lib/openapi_client/models/get_ingredient_information200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_ingredient_information200_response_nutrition.rb b/ruby/lib/openapi_client/models/get_ingredient_information200_response_nutrition.rb index f38c88fea..6112a18ac 100644 --- a/ruby/lib/openapi_client/models/get_ingredient_information200_response_nutrition.rb +++ b/ruby/lib/openapi_client/models/get_ingredient_information200_response_nutrition.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_ingredient_substitutes200_response.rb b/ruby/lib/openapi_client/models/get_ingredient_substitutes200_response.rb index 4acf07286..3316aeb5d 100644 --- a/ruby/lib/openapi_client/models/get_ingredient_substitutes200_response.rb +++ b/ruby/lib/openapi_client/models/get_ingredient_substitutes200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_template200_response.rb b/ruby/lib/openapi_client/models/get_meal_plan_template200_response.rb index 549272655..f58a2ce70 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_template200_response.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_template200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner.rb b/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner.rb index fd1dfbbbe..bd8c88c64 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner.rb b/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner.rb index d31940d1c..2b98c6605 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner_value.rb b/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner_value.rb index 2f3c21bbb..636d5bbb6 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner_value.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_template200_response_days_inner_items_inner_value.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_templates200_response.rb b/ruby/lib/openapi_client/models/get_meal_plan_templates200_response.rb index b8b00fb68..881061b6d 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_templates200_response.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_templates200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_week200_response.rb b/ruby/lib/openapi_client/models/get_meal_plan_week200_response.rb index 45068f0cb..faf15bff3 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_week200_response.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_week200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner.rb b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner.rb index d1c0870e3..576fe1325 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner.rb b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner.rb index 57bfd2089..a0a4382f1 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner_value.rb b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner_value.rb index 17dd67688..ddb993118 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner_value.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_items_inner_value.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary.rb b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary.rb index add7c5e86..7eb99c2be 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.rb b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.rb index 79196fd05..662632aec 100644 --- a/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.rb +++ b/ruby/lib/openapi_client/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_menu_item_information200_response.rb b/ruby/lib/openapi_client/models/get_menu_item_information200_response.rb index 0b9ce826c..6623f5fa9 100644 --- a/ruby/lib/openapi_client/models/get_menu_item_information200_response.rb +++ b/ruby/lib/openapi_client/models/get_menu_item_information200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_product_information200_response.rb b/ruby/lib/openapi_client/models/get_product_information200_response.rb index a409e9420..7e52ba45b 100644 --- a/ruby/lib/openapi_client/models/get_product_information200_response.rb +++ b/ruby/lib/openapi_client/models/get_product_information200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_product_information200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/get_product_information200_response_ingredients_inner.rb index 0cc7d03b0..0573221b1 100644 --- a/ruby/lib/openapi_client/models/get_product_information200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/get_product_information200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_random_food_trivia200_response.rb b/ruby/lib/openapi_client/models/get_random_food_trivia200_response.rb index f3d22911c..765c05834 100644 --- a/ruby/lib/openapi_client/models/get_random_food_trivia200_response.rb +++ b/ruby/lib/openapi_client/models/get_random_food_trivia200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_random_recipes200_response.rb b/ruby/lib/openapi_client/models/get_random_recipes200_response.rb index 21ec6b2b7..bde76585c 100644 --- a/ruby/lib/openapi_client/models/get_random_recipes200_response.rb +++ b/ruby/lib/openapi_client/models/get_random_recipes200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_random_recipes200_response_recipes_inner.rb b/ruby/lib/openapi_client/models/get_random_recipes200_response_recipes_inner.rb index 82b60350e..3f9ef460a 100644 --- a/ruby/lib/openapi_client/models/get_random_recipes200_response_recipes_inner.rb +++ b/ruby/lib/openapi_client/models/get_random_recipes200_response_recipes_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response.rb b/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response.rb index fd51950a4..7fc23aa3b 100644 --- a/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response.rb +++ b/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response_equipment_inner.rb b/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response_equipment_inner.rb index 74e4c9064..a110403b3 100644 --- a/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response_equipment_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_equipment_by_id200_response_equipment_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information200_response.rb b/ruby/lib/openapi_client/models/get_recipe_information200_response.rb index ba3616bbf..fd39859f1 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information200_response.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner.rb b/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner.rb index fc8d98b6e..7a7ea3393 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures.rb b/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures.rb index cdd71233a..7afb84d3e 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.rb b/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.rb index 38230e8fa..357f7e186 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing.rb b/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing.rb index 166a50ae0..f13eaa9ff 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing_product_matches_inner.rb b/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing_product_matches_inner.rb index bbd1542a8..d0675818f 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing_product_matches_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information200_response_wine_pairing_product_matches_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_information_bulk200_response_inner.rb b/ruby/lib/openapi_client/models/get_recipe_information_bulk200_response_inner.rb index 24f28120c..fa991433a 100644 --- a/ruby/lib/openapi_client/models/get_recipe_information_bulk200_response_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_information_bulk200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response.rb b/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response.rb index 177e9a1a4..753108768 100644 --- a/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response.rb +++ b/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response_ingredients_inner.rb index cdc483b11..ebc86ae42 100644 --- a/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_ingredients_by_id200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response.rb b/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response.rb index afae2c021..db47fa800 100644 --- a/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response.rb +++ b/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.rb b/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.rb index 451fba763..47fcfd2d0 100644 --- a/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_bad_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_good_inner.rb b/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_good_inner.rb index 7eef1e05c..81a806b54 100644 --- a/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_good_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_nutrition_widget_by_id200_response_good_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response.rb b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response.rb index c2069ccb7..36e5529ae 100644 --- a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response.rb +++ b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.rb index 3dc91785e..697aadc6c 100644 --- a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.rb b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.rb index d6aeecfd1..e8d02a3db 100644 --- a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.rb +++ b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.rb b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.rb index 0aee43349..c074216f7 100644 --- a/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.rb +++ b/ruby/lib/openapi_client/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_recipe_taste_by_id200_response.rb b/ruby/lib/openapi_client/models/get_recipe_taste_by_id200_response.rb index e17300636..b468943c0 100644 --- a/ruby/lib/openapi_client/models/get_recipe_taste_by_id200_response.rb +++ b/ruby/lib/openapi_client/models/get_recipe_taste_by_id200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_shopping_list200_response.rb b/ruby/lib/openapi_client/models/get_shopping_list200_response.rb index 377cf37ea..79306ddfe 100644 --- a/ruby/lib/openapi_client/models/get_shopping_list200_response.rb +++ b/ruby/lib/openapi_client/models/get_shopping_list200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner.rb b/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner.rb index ed557f221..9df451829 100644 --- a/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner.rb +++ b/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner.rb b/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner.rb index 77ce1eede..98f7a110b 100644 --- a/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner.rb +++ b/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner_measures.rb b/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner_measures.rb index 74c579c41..0d1fbb705 100644 --- a/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner_measures.rb +++ b/ruby/lib/openapi_client/models/get_shopping_list200_response_aisles_inner_items_inner_measures.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_similar_recipes200_response_inner.rb b/ruby/lib/openapi_client/models/get_similar_recipes200_response_inner.rb index d44a71110..72637882c 100644 --- a/ruby/lib/openapi_client/models/get_similar_recipes200_response_inner.rb +++ b/ruby/lib/openapi_client/models/get_similar_recipes200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_wine_description200_response.rb b/ruby/lib/openapi_client/models/get_wine_description200_response.rb index 8622eeb9e..6bd0f3add 100644 --- a/ruby/lib/openapi_client/models/get_wine_description200_response.rb +++ b/ruby/lib/openapi_client/models/get_wine_description200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_wine_pairing200_response.rb b/ruby/lib/openapi_client/models/get_wine_pairing200_response.rb index ee9de3212..474b3ed85 100644 --- a/ruby/lib/openapi_client/models/get_wine_pairing200_response.rb +++ b/ruby/lib/openapi_client/models/get_wine_pairing200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_wine_pairing200_response_product_matches_inner.rb b/ruby/lib/openapi_client/models/get_wine_pairing200_response_product_matches_inner.rb index d45d8234b..f8bf5c716 100644 --- a/ruby/lib/openapi_client/models/get_wine_pairing200_response_product_matches_inner.rb +++ b/ruby/lib/openapi_client/models/get_wine_pairing200_response_product_matches_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_wine_recommendation200_response.rb b/ruby/lib/openapi_client/models/get_wine_recommendation200_response.rb index dac0f8188..ca68542df 100644 --- a/ruby/lib/openapi_client/models/get_wine_recommendation200_response.rb +++ b/ruby/lib/openapi_client/models/get_wine_recommendation200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/get_wine_recommendation200_response_recommended_wines_inner.rb b/ruby/lib/openapi_client/models/get_wine_recommendation200_response_recommended_wines_inner.rb index f8225197f..03ac53ea7 100644 --- a/ruby/lib/openapi_client/models/get_wine_recommendation200_response_recommended_wines_inner.rb +++ b/ruby/lib/openapi_client/models/get_wine_recommendation200_response_recommended_wines_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response.rb b/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response.rb index 59ecd09b7..c9ebac6be 100644 --- a/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response.rb +++ b/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories.rb b/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories.rb index 81b63bd84..bb1e577cc 100644 --- a/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories.rb +++ b/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.rb b/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.rb index 50314bd7e..2bdf47778 100644 --- a/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.rb +++ b/ruby/lib/openapi_client/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_analysis_by_url200_response.rb b/ruby/lib/openapi_client/models/image_analysis_by_url200_response.rb index 5977e9d52..e06929ed3 100644 --- a/ruby/lib/openapi_client/models/image_analysis_by_url200_response.rb +++ b/ruby/lib/openapi_client/models/image_analysis_by_url200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_category.rb b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_category.rb index 0d1bace53..bf06964b3 100644 --- a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_category.rb +++ b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_category.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition.rb b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition.rb index 1f2068b4e..281af4ec2 100644 --- a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition.rb +++ b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories.rb b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories.rb index d421255e8..90293b625 100644 --- a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories.rb +++ b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.rb b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.rb index 05c1bf4c2..386b89d8d 100644 --- a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.rb +++ b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_recipes_inner.rb b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_recipes_inner.rb index 1e2d56e3b..028a6117c 100644 --- a/ruby/lib/openapi_client/models/image_analysis_by_url200_response_recipes_inner.rb +++ b/ruby/lib/openapi_client/models/image_analysis_by_url200_response_recipes_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/image_classification_by_url200_response.rb b/ruby/lib/openapi_client/models/image_classification_by_url200_response.rb index 27a5bdca2..3caa3fd67 100644 --- a/ruby/lib/openapi_client/models/image_classification_by_url200_response.rb +++ b/ruby/lib/openapi_client/models/image_classification_by_url200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/ingredient_search200_response.rb b/ruby/lib/openapi_client/models/ingredient_search200_response.rb index f70f22eb9..498643a16 100644 --- a/ruby/lib/openapi_client/models/ingredient_search200_response.rb +++ b/ruby/lib/openapi_client/models/ingredient_search200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/ingredient_search200_response_results_inner.rb b/ruby/lib/openapi_client/models/ingredient_search200_response_results_inner.rb index c7c479e3a..3ce25552c 100644 --- a/ruby/lib/openapi_client/models/ingredient_search200_response_results_inner.rb +++ b/ruby/lib/openapi_client/models/ingredient_search200_response_results_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner.rb b/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner.rb index 008ff61bb..955632775 100644 --- a/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner.rb +++ b/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner_products_inner.rb b/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner_products_inner.rb index cb49a2631..6299aea98 100644 --- a/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner_products_inner.rb +++ b/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products200_response_inner_products_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products_request.rb b/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products_request.rb index 9e70f404b..38494be56 100644 --- a/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products_request.rb +++ b/ruby/lib/openapi_client/models/map_ingredients_to_grocery_products_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner.rb index a2247086a..8e95612e0 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_estimated_cost.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_estimated_cost.rb index 50565c922..ef10530bc 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_estimated_cost.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_estimated_cost.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition.rb index 423b6b4d8..f3c98dac0 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.rb index f6a1d8d05..85ad7b899 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.rb index aa39e4673..2f8484c2c 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_nutrients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_properties_inner.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_properties_inner.rb index 8712f965e..8ae2a287a 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_properties_inner.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_properties_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.rb b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.rb index f17a38766..5989b8503 100644 --- a/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.rb +++ b/ruby/lib/openapi_client/models/parse_ingredients200_response_inner_nutrition_weight_per_serving.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/quick_answer200_response.rb b/ruby/lib/openapi_client/models/quick_answer200_response.rb index 45476588e..1bddd06e3 100644 --- a/ruby/lib/openapi_client/models/quick_answer200_response.rb +++ b/ruby/lib/openapi_client/models/quick_answer200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_all_food200_response.rb b/ruby/lib/openapi_client/models/search_all_food200_response.rb index 68746ff84..25f2a188e 100644 --- a/ruby/lib/openapi_client/models/search_all_food200_response.rb +++ b/ruby/lib/openapi_client/models/search_all_food200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner.rb b/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner.rb index 2fdad93b4..c6e2aa992 100644 --- a/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner.rb +++ b/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner_results_inner.rb b/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner_results_inner.rb index 9e675adde..e1445c73d 100644 --- a/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner_results_inner.rb +++ b/ruby/lib/openapi_client/models/search_all_food200_response_search_results_inner_results_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_custom_foods200_response.rb b/ruby/lib/openapi_client/models/search_custom_foods200_response.rb index 3f1760e44..e88c9b8d6 100644 --- a/ruby/lib/openapi_client/models/search_custom_foods200_response.rb +++ b/ruby/lib/openapi_client/models/search_custom_foods200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_custom_foods200_response_custom_foods_inner.rb b/ruby/lib/openapi_client/models/search_custom_foods200_response_custom_foods_inner.rb index a69823749..d788209bb 100644 --- a/ruby/lib/openapi_client/models/search_custom_foods200_response_custom_foods_inner.rb +++ b/ruby/lib/openapi_client/models/search_custom_foods200_response_custom_foods_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_food_videos200_response.rb b/ruby/lib/openapi_client/models/search_food_videos200_response.rb index 2474daef8..17ee364b9 100644 --- a/ruby/lib/openapi_client/models/search_food_videos200_response.rb +++ b/ruby/lib/openapi_client/models/search_food_videos200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_food_videos200_response_videos_inner.rb b/ruby/lib/openapi_client/models/search_food_videos200_response_videos_inner.rb index 24a8d1ded..8d39e7ce7 100644 --- a/ruby/lib/openapi_client/models/search_food_videos200_response_videos_inner.rb +++ b/ruby/lib/openapi_client/models/search_food_videos200_response_videos_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_grocery_products200_response.rb b/ruby/lib/openapi_client/models/search_grocery_products200_response.rb index b2b8a6134..9b2aa9e41 100644 --- a/ruby/lib/openapi_client/models/search_grocery_products200_response.rb +++ b/ruby/lib/openapi_client/models/search_grocery_products200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response.rb b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response.rb index 772e369d0..95f5b0824 100644 --- a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response.rb +++ b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_ingredients_inner.rb b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_ingredients_inner.rb index 5c30c3ce2..3ed4624af 100644 --- a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_nutrition.rb b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_nutrition.rb index 642d2476b..25e339d49 100644 --- a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_nutrition.rb +++ b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_nutrition.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_servings.rb b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_servings.rb index 96c671a82..70c6d4b10 100644 --- a/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_servings.rb +++ b/ruby/lib/openapi_client/models/search_grocery_products_by_upc200_response_servings.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_menu_items200_response.rb b/ruby/lib/openapi_client/models/search_menu_items200_response.rb index 36371bd0c..db200fa41 100644 --- a/ruby/lib/openapi_client/models/search_menu_items200_response.rb +++ b/ruby/lib/openapi_client/models/search_menu_items200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_menu_items200_response_menu_items_inner.rb b/ruby/lib/openapi_client/models/search_menu_items200_response_menu_items_inner.rb index 8425363e0..69a2c8b4e 100644 --- a/ruby/lib/openapi_client/models/search_menu_items200_response_menu_items_inner.rb +++ b/ruby/lib/openapi_client/models/search_menu_items200_response_menu_items_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_recipes200_response.rb b/ruby/lib/openapi_client/models/search_recipes200_response.rb index 248de3188..f52d64fa8 100644 --- a/ruby/lib/openapi_client/models/search_recipes200_response.rb +++ b/ruby/lib/openapi_client/models/search_recipes200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_recipes200_response_results_inner.rb b/ruby/lib/openapi_client/models/search_recipes200_response_results_inner.rb index a62fe934c..0853b3934 100644 --- a/ruby/lib/openapi_client/models/search_recipes200_response_results_inner.rb +++ b/ruby/lib/openapi_client/models/search_recipes200_response_results_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner.rb b/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner.rb index 22e65a800..486b630ce 100644 --- a/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner.rb +++ b/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.rb b/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.rb index 42bb3362d..04e8560a3 100644 --- a/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.rb +++ b/ruby/lib/openapi_client/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_recipes_by_nutrients200_response_inner.rb b/ruby/lib/openapi_client/models/search_recipes_by_nutrients200_response_inner.rb index 4e68c3654..6ffcd5600 100644 --- a/ruby/lib/openapi_client/models/search_recipes_by_nutrients200_response_inner.rb +++ b/ruby/lib/openapi_client/models/search_recipes_by_nutrients200_response_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_restaurants200_response.rb b/ruby/lib/openapi_client/models/search_restaurants200_response.rb index ee35695fe..b01b9a903 100644 --- a/ruby/lib/openapi_client/models/search_restaurants200_response.rb +++ b/ruby/lib/openapi_client/models/search_restaurants200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner.rb b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner.rb index 6d65aa89e..a143089bf 100644 --- a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner.rb +++ b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_address.rb b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_address.rb index debd3af8d..3da0df050 100644 --- a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_address.rb +++ b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_address.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours.rb b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours.rb index b5bdab785..1f9bc6334 100644 --- a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours.rb +++ b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours_operational.rb b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours_operational.rb index f59d640ca..124d43061 100644 --- a/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours_operational.rb +++ b/ruby/lib/openapi_client/models/search_restaurants200_response_restaurants_inner_local_hours_operational.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_site_content200_response.rb b/ruby/lib/openapi_client/models/search_site_content200_response.rb index 6ebad98fe..127864427 100644 --- a/ruby/lib/openapi_client/models/search_site_content200_response.rb +++ b/ruby/lib/openapi_client/models/search_site_content200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner.rb b/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner.rb index f97dcf9f6..7cd8239da 100644 --- a/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner.rb +++ b/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner_data_points_inner.rb b/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner_data_points_inner.rb index b478102ce..48a211f8b 100644 --- a/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner_data_points_inner.rb +++ b/ruby/lib/openapi_client/models/search_site_content200_response_articles_inner_data_points_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/summarize_recipe200_response.rb b/ruby/lib/openapi_client/models/summarize_recipe200_response.rb index 5df7198ca..abcd34752 100644 --- a/ruby/lib/openapi_client/models/summarize_recipe200_response.rb +++ b/ruby/lib/openapi_client/models/summarize_recipe200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/talk_to_chatbot200_response.rb b/ruby/lib/openapi_client/models/talk_to_chatbot200_response.rb index 1d558c633..6a735ddd7 100644 --- a/ruby/lib/openapi_client/models/talk_to_chatbot200_response.rb +++ b/ruby/lib/openapi_client/models/talk_to_chatbot200_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/models/talk_to_chatbot200_response_media_inner.rb b/ruby/lib/openapi_client/models/talk_to_chatbot200_response_media_inner.rb index bba7d1cd8..61baf9522 100644 --- a/ruby/lib/openapi_client/models/talk_to_chatbot200_response_media_inner.rb +++ b/ruby/lib/openapi_client/models/talk_to_chatbot200_response_media_inner.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/lib/openapi_client/version.rb b/ruby/lib/openapi_client/version.rb index 1a8e511d0..d973e5ddc 100644 --- a/ruby/lib/openapi_client/version.rb +++ b/ruby/lib/openapi_client/version.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/openapi_client.gemspec b/ruby/openapi_client.gemspec index 1fa379401..3afa7c643 100644 --- a/ruby/openapi_client.gemspec +++ b/ruby/openapi_client.gemspec @@ -8,7 +8,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/default_api_spec.rb b/ruby/spec/api/default_api_spec.rb index 9a6936a32..11896e10a 100644 --- a/ruby/spec/api/default_api_spec.rb +++ b/ruby/spec/api/default_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/ingredients_api_spec.rb b/ruby/spec/api/ingredients_api_spec.rb index a5e1633d6..3ef761190 100644 --- a/ruby/spec/api/ingredients_api_spec.rb +++ b/ruby/spec/api/ingredients_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/meal_planning_api_spec.rb b/ruby/spec/api/meal_planning_api_spec.rb index e149261cc..6881b4e4c 100644 --- a/ruby/spec/api/meal_planning_api_spec.rb +++ b/ruby/spec/api/meal_planning_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/menu_items_api_spec.rb b/ruby/spec/api/menu_items_api_spec.rb index dfb2f5e14..13ad95dfe 100644 --- a/ruby/spec/api/menu_items_api_spec.rb +++ b/ruby/spec/api/menu_items_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/misc_api_spec.rb b/ruby/spec/api/misc_api_spec.rb index c51aefe0a..64ef5d441 100644 --- a/ruby/spec/api/misc_api_spec.rb +++ b/ruby/spec/api/misc_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/products_api_spec.rb b/ruby/spec/api/products_api_spec.rb index 2d58119c2..288e37925 100644 --- a/ruby/spec/api/products_api_spec.rb +++ b/ruby/spec/api/products_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/recipes_api_spec.rb b/ruby/spec/api/recipes_api_spec.rb index 9f8f4bff9..ff2b30f56 100644 --- a/ruby/spec/api/recipes_api_spec.rb +++ b/ruby/spec/api/recipes_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/api/wine_api_spec.rb b/ruby/spec/api/wine_api_spec.rb index 0de56f894..3a406fa52 100644 --- a/ruby/spec/api/wine_api_spec.rb +++ b/ruby/spec/api/wine_api_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_meal_plan_template200_response_items_inner_spec.rb b/ruby/spec/models/add_meal_plan_template200_response_items_inner_spec.rb index e79b88171..47cb69ba3 100644 --- a/ruby/spec/models/add_meal_plan_template200_response_items_inner_spec.rb +++ b/ruby/spec/models/add_meal_plan_template200_response_items_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_meal_plan_template200_response_items_inner_value_spec.rb b/ruby/spec/models/add_meal_plan_template200_response_items_inner_value_spec.rb index d413f6362..3ed0a090c 100644 --- a/ruby/spec/models/add_meal_plan_template200_response_items_inner_value_spec.rb +++ b/ruby/spec/models/add_meal_plan_template200_response_items_inner_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_meal_plan_template200_response_spec.rb b/ruby/spec/models/add_meal_plan_template200_response_spec.rb index 79d160ab0..02fc06deb 100644 --- a/ruby/spec/models/add_meal_plan_template200_response_spec.rb +++ b/ruby/spec/models/add_meal_plan_template200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_to_meal_plan_request_spec.rb b/ruby/spec/models/add_to_meal_plan_request_spec.rb index 4c7950bff..29dfcfa50 100644 --- a/ruby/spec/models/add_to_meal_plan_request_spec.rb +++ b/ruby/spec/models/add_to_meal_plan_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_to_meal_plan_request_value_ingredients_inner_spec.rb b/ruby/spec/models/add_to_meal_plan_request_value_ingredients_inner_spec.rb index 8d2b60216..843d5c4f9 100644 --- a/ruby/spec/models/add_to_meal_plan_request_value_ingredients_inner_spec.rb +++ b/ruby/spec/models/add_to_meal_plan_request_value_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_to_meal_plan_request_value_spec.rb b/ruby/spec/models/add_to_meal_plan_request_value_spec.rb index 4a65dd638..82e23ec1f 100644 --- a/ruby/spec/models/add_to_meal_plan_request_value_spec.rb +++ b/ruby/spec/models/add_to_meal_plan_request_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/add_to_shopping_list_request_spec.rb b/ruby/spec/models/add_to_shopping_list_request_spec.rb index f5972a39d..b279cf53f 100644 --- a/ruby/spec/models/add_to_shopping_list_request_spec.rb +++ b/ruby/spec/models/add_to_shopping_list_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_a_recipe_search_query200_response_dishes_inner_spec.rb b/ruby/spec/models/analyze_a_recipe_search_query200_response_dishes_inner_spec.rb index 14f80be34..01eda59f6 100644 --- a/ruby/spec/models/analyze_a_recipe_search_query200_response_dishes_inner_spec.rb +++ b/ruby/spec/models/analyze_a_recipe_search_query200_response_dishes_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_a_recipe_search_query200_response_ingredients_inner_spec.rb b/ruby/spec/models/analyze_a_recipe_search_query200_response_ingredients_inner_spec.rb index 46966a057..fdfee21ab 100644 --- a/ruby/spec/models/analyze_a_recipe_search_query200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/analyze_a_recipe_search_query200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_a_recipe_search_query200_response_spec.rb b/ruby/spec/models/analyze_a_recipe_search_query200_response_spec.rb index b0a4643bb..5bb6e87b0 100644 --- a/ruby/spec/models/analyze_a_recipe_search_query200_response_spec.rb +++ b/ruby/spec/models/analyze_a_recipe_search_query200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_recipe_instructions200_response_ingredients_inner_spec.rb b/ruby/spec/models/analyze_recipe_instructions200_response_ingredients_inner_spec.rb index 09356a613..47f6b483f 100644 --- a/ruby/spec/models/analyze_recipe_instructions200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/analyze_recipe_instructions200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_spec.rb b/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_spec.rb index 98cc93bb4..8250db9ce 100644 --- a/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_spec.rb +++ b/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb b/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb index f0b3b1cb2..71425037c 100644 --- a/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb +++ b/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb b/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb index 3c7192025..78089424a 100644 --- a/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb +++ b/ruby/spec/models/analyze_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_recipe_instructions200_response_spec.rb b/ruby/spec/models/analyze_recipe_instructions200_response_spec.rb index 641ecae38..b6752f328 100644 --- a/ruby/spec/models/analyze_recipe_instructions200_response_spec.rb +++ b/ruby/spec/models/analyze_recipe_instructions200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/analyze_recipe_request_spec.rb b/ruby/spec/models/analyze_recipe_request_spec.rb index 731400a96..04a3260e7 100644 --- a/ruby/spec/models/analyze_recipe_request_spec.rb +++ b/ruby/spec/models/analyze_recipe_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/autocomplete_ingredient_search200_response_inner_spec.rb b/ruby/spec/models/autocomplete_ingredient_search200_response_inner_spec.rb index f051e26b6..6b89fa2f0 100644 --- a/ruby/spec/models/autocomplete_ingredient_search200_response_inner_spec.rb +++ b/ruby/spec/models/autocomplete_ingredient_search200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/autocomplete_menu_item_search200_response_spec.rb b/ruby/spec/models/autocomplete_menu_item_search200_response_spec.rb index 949e728e4..24ba1cbc5 100644 --- a/ruby/spec/models/autocomplete_menu_item_search200_response_spec.rb +++ b/ruby/spec/models/autocomplete_menu_item_search200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/autocomplete_product_search200_response_results_inner_spec.rb b/ruby/spec/models/autocomplete_product_search200_response_results_inner_spec.rb index 040a3d3d6..545114a1e 100644 --- a/ruby/spec/models/autocomplete_product_search200_response_results_inner_spec.rb +++ b/ruby/spec/models/autocomplete_product_search200_response_results_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/autocomplete_product_search200_response_spec.rb b/ruby/spec/models/autocomplete_product_search200_response_spec.rb index d98235c74..f6f3c7ba1 100644 --- a/ruby/spec/models/autocomplete_product_search200_response_spec.rb +++ b/ruby/spec/models/autocomplete_product_search200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/autocomplete_recipe_search200_response_inner_spec.rb b/ruby/spec/models/autocomplete_recipe_search200_response_inner_spec.rb index dd2669291..564b02a5f 100644 --- a/ruby/spec/models/autocomplete_recipe_search200_response_inner_spec.rb +++ b/ruby/spec/models/autocomplete_recipe_search200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/classify_cuisine200_response_spec.rb b/ruby/spec/models/classify_cuisine200_response_spec.rb index 54c8d3aa2..8fd23ac2c 100644 --- a/ruby/spec/models/classify_cuisine200_response_spec.rb +++ b/ruby/spec/models/classify_cuisine200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/classify_grocery_product200_response_spec.rb b/ruby/spec/models/classify_grocery_product200_response_spec.rb index b3aa55477..6eb99c6a6 100644 --- a/ruby/spec/models/classify_grocery_product200_response_spec.rb +++ b/ruby/spec/models/classify_grocery_product200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/classify_grocery_product_bulk200_response_inner_spec.rb b/ruby/spec/models/classify_grocery_product_bulk200_response_inner_spec.rb index eb2ca7120..49be23c18 100644 --- a/ruby/spec/models/classify_grocery_product_bulk200_response_inner_spec.rb +++ b/ruby/spec/models/classify_grocery_product_bulk200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/classify_grocery_product_bulk_request_inner_spec.rb b/ruby/spec/models/classify_grocery_product_bulk_request_inner_spec.rb index abb4d0345..2f664a2a3 100644 --- a/ruby/spec/models/classify_grocery_product_bulk_request_inner_spec.rb +++ b/ruby/spec/models/classify_grocery_product_bulk_request_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/classify_grocery_product_request_spec.rb b/ruby/spec/models/classify_grocery_product_request_spec.rb index 8faa9a19d..11de4f377 100644 --- a/ruby/spec/models/classify_grocery_product_request_spec.rb +++ b/ruby/spec/models/classify_grocery_product_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/compute_glycemic_load200_response_ingredients_inner_spec.rb b/ruby/spec/models/compute_glycemic_load200_response_ingredients_inner_spec.rb index 4c8d51869..f15f91cd6 100644 --- a/ruby/spec/models/compute_glycemic_load200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/compute_glycemic_load200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/compute_glycemic_load200_response_spec.rb b/ruby/spec/models/compute_glycemic_load200_response_spec.rb index edbc08061..aa6aff415 100644 --- a/ruby/spec/models/compute_glycemic_load200_response_spec.rb +++ b/ruby/spec/models/compute_glycemic_load200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/compute_glycemic_load_request_spec.rb b/ruby/spec/models/compute_glycemic_load_request_spec.rb index 33313f347..4d95f863f 100644 --- a/ruby/spec/models/compute_glycemic_load_request_spec.rb +++ b/ruby/spec/models/compute_glycemic_load_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/compute_ingredient_amount200_response_spec.rb b/ruby/spec/models/compute_ingredient_amount200_response_spec.rb index 49f6f08c8..3e33edfb0 100644 --- a/ruby/spec/models/compute_ingredient_amount200_response_spec.rb +++ b/ruby/spec/models/compute_ingredient_amount200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/connect_user200_response_spec.rb b/ruby/spec/models/connect_user200_response_spec.rb index e5895ee7e..2ee327883 100644 --- a/ruby/spec/models/connect_user200_response_spec.rb +++ b/ruby/spec/models/connect_user200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/connect_user_request_spec.rb b/ruby/spec/models/connect_user_request_spec.rb index d56e2196e..8a3aa2974 100644 --- a/ruby/spec/models/connect_user_request_spec.rb +++ b/ruby/spec/models/connect_user_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/convert_amounts200_response_spec.rb b/ruby/spec/models/convert_amounts200_response_spec.rb index b0dfe38ab..790f6a7c1 100644 --- a/ruby/spec/models/convert_amounts200_response_spec.rb +++ b/ruby/spec/models/convert_amounts200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/create_recipe_card200_response_spec.rb b/ruby/spec/models/create_recipe_card200_response_spec.rb index 13b751b59..62b872197 100644 --- a/ruby/spec/models/create_recipe_card200_response_spec.rb +++ b/ruby/spec/models/create_recipe_card200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/detect_food_in_text200_response_annotations_inner_spec.rb b/ruby/spec/models/detect_food_in_text200_response_annotations_inner_spec.rb index 18370e6df..cdc8ab412 100644 --- a/ruby/spec/models/detect_food_in_text200_response_annotations_inner_spec.rb +++ b/ruby/spec/models/detect_food_in_text200_response_annotations_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/detect_food_in_text200_response_spec.rb b/ruby/spec/models/detect_food_in_text200_response_spec.rb index b6145dbc7..ab93f125f 100644 --- a/ruby/spec/models/detect_food_in_text200_response_spec.rb +++ b/ruby/spec/models/detect_food_in_text200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/generate_meal_plan200_response_nutrients_spec.rb b/ruby/spec/models/generate_meal_plan200_response_nutrients_spec.rb index f5e070f60..08885f8d4 100644 --- a/ruby/spec/models/generate_meal_plan200_response_nutrients_spec.rb +++ b/ruby/spec/models/generate_meal_plan200_response_nutrients_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/generate_meal_plan200_response_spec.rb b/ruby/spec/models/generate_meal_plan200_response_spec.rb index 8cbc1a064..be85cfd07 100644 --- a/ruby/spec/models/generate_meal_plan200_response_spec.rb +++ b/ruby/spec/models/generate_meal_plan200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/generate_shopping_list200_response_spec.rb b/ruby/spec/models/generate_shopping_list200_response_spec.rb index b62878fe1..581592557 100644 --- a/ruby/spec/models/generate_shopping_list200_response_spec.rb +++ b/ruby/spec/models/generate_shopping_list200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_a_random_food_joke200_response_spec.rb b/ruby/spec/models/get_a_random_food_joke200_response_spec.rb index 7294585e0..dd7dead59 100644 --- a/ruby/spec/models/get_a_random_food_joke200_response_spec.rb +++ b/ruby/spec/models/get_a_random_food_joke200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_analyzed_recipe_instructions200_response_ingredients_inner_spec.rb b/ruby/spec/models/get_analyzed_recipe_instructions200_response_ingredients_inner_spec.rb index 539c7ea35..3e33133ea 100644 --- a/ruby/spec/models/get_analyzed_recipe_instructions200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/get_analyzed_recipe_instructions200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_spec.rb b/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_spec.rb index 09006251a..e693ee388 100644 --- a/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_spec.rb +++ b/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb b/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb index a05432861..7e2cad4cd 100644 --- a/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb +++ b/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb b/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb index 2d9a02d5b..1a56f99d3 100644 --- a/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb +++ b/ruby/spec/models/get_analyzed_recipe_instructions200_response_parsed_instructions_inner_steps_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_analyzed_recipe_instructions200_response_spec.rb b/ruby/spec/models/get_analyzed_recipe_instructions200_response_spec.rb index 2f5b8ce23..40f2d81f7 100644 --- a/ruby/spec/models/get_analyzed_recipe_instructions200_response_spec.rb +++ b/ruby/spec/models/get_analyzed_recipe_instructions200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_comparable_products200_response_comparable_products_protein_inner_spec.rb b/ruby/spec/models/get_comparable_products200_response_comparable_products_protein_inner_spec.rb index a3613a4cb..2ef308c5f 100644 --- a/ruby/spec/models/get_comparable_products200_response_comparable_products_protein_inner_spec.rb +++ b/ruby/spec/models/get_comparable_products200_response_comparable_products_protein_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_comparable_products200_response_comparable_products_spec.rb b/ruby/spec/models/get_comparable_products200_response_comparable_products_spec.rb index a6c1aac9e..e7267a080 100644 --- a/ruby/spec/models/get_comparable_products200_response_comparable_products_spec.rb +++ b/ruby/spec/models/get_comparable_products200_response_comparable_products_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_comparable_products200_response_spec.rb b/ruby/spec/models/get_comparable_products200_response_spec.rb index 75ddd2d07..ac79e3f27 100644 --- a/ruby/spec/models/get_comparable_products200_response_spec.rb +++ b/ruby/spec/models/get_comparable_products200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_conversation_suggests200_response_spec.rb b/ruby/spec/models/get_conversation_suggests200_response_spec.rb index 0e390ecb8..18f22a70f 100644 --- a/ruby/spec/models/get_conversation_suggests200_response_spec.rb +++ b/ruby/spec/models/get_conversation_suggests200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_conversation_suggests200_response_suggests_inner_spec.rb b/ruby/spec/models/get_conversation_suggests200_response_suggests_inner_spec.rb index 4877ca54d..88ecfee48 100644 --- a/ruby/spec/models/get_conversation_suggests200_response_suggests_inner_spec.rb +++ b/ruby/spec/models/get_conversation_suggests200_response_suggests_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_conversation_suggests200_response_suggests_spec.rb b/ruby/spec/models/get_conversation_suggests200_response_suggests_spec.rb index 757332a82..4e452f5b3 100644 --- a/ruby/spec/models/get_conversation_suggests200_response_suggests_spec.rb +++ b/ruby/spec/models/get_conversation_suggests200_response_suggests_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_dish_pairing_for_wine200_response_spec.rb b/ruby/spec/models/get_dish_pairing_for_wine200_response_spec.rb index 812556079..b4e030334 100644 --- a/ruby/spec/models/get_dish_pairing_for_wine200_response_spec.rb +++ b/ruby/spec/models/get_dish_pairing_for_wine200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_ingredient_information200_response_nutrition_spec.rb b/ruby/spec/models/get_ingredient_information200_response_nutrition_spec.rb index 414a5009a..6cd127378 100644 --- a/ruby/spec/models/get_ingredient_information200_response_nutrition_spec.rb +++ b/ruby/spec/models/get_ingredient_information200_response_nutrition_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_ingredient_information200_response_spec.rb b/ruby/spec/models/get_ingredient_information200_response_spec.rb index cfb52111d..e20ccd8e3 100644 --- a/ruby/spec/models/get_ingredient_information200_response_spec.rb +++ b/ruby/spec/models/get_ingredient_information200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_ingredient_substitutes200_response_spec.rb b/ruby/spec/models/get_ingredient_substitutes200_response_spec.rb index ed3bfca13..ddc701a1d 100644 --- a/ruby/spec/models/get_ingredient_substitutes200_response_spec.rb +++ b/ruby/spec/models/get_ingredient_substitutes200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_spec.rb b/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_spec.rb index 2781cb68f..3ddcfcbee 100644 --- a/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_spec.rb +++ b/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_value_spec.rb b/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_value_spec.rb index 516e3d798..8ace328e5 100644 --- a/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_value_spec.rb +++ b/ruby/spec/models/get_meal_plan_template200_response_days_inner_items_inner_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_template200_response_days_inner_spec.rb b/ruby/spec/models/get_meal_plan_template200_response_days_inner_spec.rb index e62f3cd3b..3cfc245f2 100644 --- a/ruby/spec/models/get_meal_plan_template200_response_days_inner_spec.rb +++ b/ruby/spec/models/get_meal_plan_template200_response_days_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_template200_response_spec.rb b/ruby/spec/models/get_meal_plan_template200_response_spec.rb index a55a7b68b..57c8cdb6e 100644 --- a/ruby/spec/models/get_meal_plan_template200_response_spec.rb +++ b/ruby/spec/models/get_meal_plan_template200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_templates200_response_spec.rb b/ruby/spec/models/get_meal_plan_templates200_response_spec.rb index e0b3754b4..27c378ef3 100644 --- a/ruby/spec/models/get_meal_plan_templates200_response_spec.rb +++ b/ruby/spec/models/get_meal_plan_templates200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_spec.rb b/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_spec.rb index bac780959..f546918d1 100644 --- a/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_spec.rb +++ b/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_value_spec.rb b/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_value_spec.rb index 90b21b0e4..09a2e510c 100644 --- a/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_value_spec.rb +++ b/ruby/spec/models/get_meal_plan_week200_response_days_inner_items_inner_value_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_spec.rb b/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_spec.rb index b0281b451..906cee93e 100644 --- a/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_spec.rb +++ b/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_nutrients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_spec.rb b/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_spec.rb index c20f4ec9f..01ba361f0 100644 --- a/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_spec.rb +++ b/ruby/spec/models/get_meal_plan_week200_response_days_inner_nutrition_summary_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_week200_response_days_inner_spec.rb b/ruby/spec/models/get_meal_plan_week200_response_days_inner_spec.rb index 978f6f058..265bc762e 100644 --- a/ruby/spec/models/get_meal_plan_week200_response_days_inner_spec.rb +++ b/ruby/spec/models/get_meal_plan_week200_response_days_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_meal_plan_week200_response_spec.rb b/ruby/spec/models/get_meal_plan_week200_response_spec.rb index fdd3f40a7..3d0b5d606 100644 --- a/ruby/spec/models/get_meal_plan_week200_response_spec.rb +++ b/ruby/spec/models/get_meal_plan_week200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_menu_item_information200_response_spec.rb b/ruby/spec/models/get_menu_item_information200_response_spec.rb index 600e4c272..5d22b7901 100644 --- a/ruby/spec/models/get_menu_item_information200_response_spec.rb +++ b/ruby/spec/models/get_menu_item_information200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_product_information200_response_ingredients_inner_spec.rb b/ruby/spec/models/get_product_information200_response_ingredients_inner_spec.rb index ca7aeee9b..f2fddf3c3 100644 --- a/ruby/spec/models/get_product_information200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/get_product_information200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_product_information200_response_spec.rb b/ruby/spec/models/get_product_information200_response_spec.rb index cd2be3541..8dfc0e767 100644 --- a/ruby/spec/models/get_product_information200_response_spec.rb +++ b/ruby/spec/models/get_product_information200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_random_food_trivia200_response_spec.rb b/ruby/spec/models/get_random_food_trivia200_response_spec.rb index c5b675bfd..608c2c173 100644 --- a/ruby/spec/models/get_random_food_trivia200_response_spec.rb +++ b/ruby/spec/models/get_random_food_trivia200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_random_recipes200_response_recipes_inner_spec.rb b/ruby/spec/models/get_random_recipes200_response_recipes_inner_spec.rb index 00040c2d0..418fb2bf2 100644 --- a/ruby/spec/models/get_random_recipes200_response_recipes_inner_spec.rb +++ b/ruby/spec/models/get_random_recipes200_response_recipes_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_random_recipes200_response_spec.rb b/ruby/spec/models/get_random_recipes200_response_spec.rb index e38b5337c..10ff3edff 100644 --- a/ruby/spec/models/get_random_recipes200_response_spec.rb +++ b/ruby/spec/models/get_random_recipes200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_equipment_by_id200_response_equipment_inner_spec.rb b/ruby/spec/models/get_recipe_equipment_by_id200_response_equipment_inner_spec.rb index d3dd1cad4..c7f937c9a 100644 --- a/ruby/spec/models/get_recipe_equipment_by_id200_response_equipment_inner_spec.rb +++ b/ruby/spec/models/get_recipe_equipment_by_id200_response_equipment_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_equipment_by_id200_response_spec.rb b/ruby/spec/models/get_recipe_equipment_by_id200_response_spec.rb index 2b5b273f8..b2e28736a 100644 --- a/ruby/spec/models/get_recipe_equipment_by_id200_response_spec.rb +++ b/ruby/spec/models/get_recipe_equipment_by_id200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric_spec.rb b/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric_spec.rb index 5bdac97af..888958923 100644 --- a/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric_spec.rb +++ b/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_metric_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_spec.rb b/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_spec.rb index 2cbc12852..06857a4f3 100644 --- a/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_spec.rb +++ b/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_measures_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_spec.rb b/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_spec.rb index 7c63fffb9..e0ea94be6 100644 --- a/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_spec.rb +++ b/ruby/spec/models/get_recipe_information200_response_extended_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information200_response_spec.rb b/ruby/spec/models/get_recipe_information200_response_spec.rb index 9b6f5f53d..f44c4179b 100644 --- a/ruby/spec/models/get_recipe_information200_response_spec.rb +++ b/ruby/spec/models/get_recipe_information200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information200_response_wine_pairing_product_matches_inner_spec.rb b/ruby/spec/models/get_recipe_information200_response_wine_pairing_product_matches_inner_spec.rb index 751869ca1..ad5a29574 100644 --- a/ruby/spec/models/get_recipe_information200_response_wine_pairing_product_matches_inner_spec.rb +++ b/ruby/spec/models/get_recipe_information200_response_wine_pairing_product_matches_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information200_response_wine_pairing_spec.rb b/ruby/spec/models/get_recipe_information200_response_wine_pairing_spec.rb index a80349e1a..1d5c6051a 100644 --- a/ruby/spec/models/get_recipe_information200_response_wine_pairing_spec.rb +++ b/ruby/spec/models/get_recipe_information200_response_wine_pairing_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_information_bulk200_response_inner_spec.rb b/ruby/spec/models/get_recipe_information_bulk200_response_inner_spec.rb index 2fb4131a2..a44efe9e2 100644 --- a/ruby/spec/models/get_recipe_information_bulk200_response_inner_spec.rb +++ b/ruby/spec/models/get_recipe_information_bulk200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_ingredients_by_id200_response_ingredients_inner_spec.rb b/ruby/spec/models/get_recipe_ingredients_by_id200_response_ingredients_inner_spec.rb index 98ef007d7..664189c81 100644 --- a/ruby/spec/models/get_recipe_ingredients_by_id200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/get_recipe_ingredients_by_id200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_ingredients_by_id200_response_spec.rb b/ruby/spec/models/get_recipe_ingredients_by_id200_response_spec.rb index bdbf4d690..d5f1841d5 100644 --- a/ruby/spec/models/get_recipe_ingredients_by_id200_response_spec.rb +++ b/ruby/spec/models/get_recipe_ingredients_by_id200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_bad_inner_spec.rb b/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_bad_inner_spec.rb index b523c5874..41d06cfd2 100644 --- a/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_bad_inner_spec.rb +++ b/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_bad_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_good_inner_spec.rb b/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_good_inner_spec.rb index 22ed2ce84..6e6bac741 100644 --- a/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_good_inner_spec.rb +++ b/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_good_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_spec.rb b/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_spec.rb index d4bc11dc0..2fbb0852e 100644 --- a/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_spec.rb +++ b/ruby/spec/models/get_recipe_nutrition_widget_by_id200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_spec.rb b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_spec.rb index e309f4102..e3d188658 100644 --- a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_spec.rb +++ b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_metric_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_spec.rb b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_spec.rb index bd9d554d5..7d48b2e1c 100644 --- a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_spec.rb +++ b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_amount_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_spec.rb b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_spec.rb index d554e66b0..b2298681d 100644 --- a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_spec.rb b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_spec.rb index 729b41e96..3b7483772 100644 --- a/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_spec.rb +++ b/ruby/spec/models/get_recipe_price_breakdown_by_id200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_recipe_taste_by_id200_response_spec.rb b/ruby/spec/models/get_recipe_taste_by_id200_response_spec.rb index c0895d79e..2ba2a2be3 100644 --- a/ruby/spec/models/get_recipe_taste_by_id200_response_spec.rb +++ b/ruby/spec/models/get_recipe_taste_by_id200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_measures_spec.rb b/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_measures_spec.rb index 737c164bb..9a1a66b51 100644 --- a/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_measures_spec.rb +++ b/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_measures_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_spec.rb b/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_spec.rb index e8abfc373..0c65f81ad 100644 --- a/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_spec.rb +++ b/ruby/spec/models/get_shopping_list200_response_aisles_inner_items_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_shopping_list200_response_aisles_inner_spec.rb b/ruby/spec/models/get_shopping_list200_response_aisles_inner_spec.rb index 874b54b2c..02bc612a8 100644 --- a/ruby/spec/models/get_shopping_list200_response_aisles_inner_spec.rb +++ b/ruby/spec/models/get_shopping_list200_response_aisles_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_shopping_list200_response_spec.rb b/ruby/spec/models/get_shopping_list200_response_spec.rb index 001bb0609..270918da5 100644 --- a/ruby/spec/models/get_shopping_list200_response_spec.rb +++ b/ruby/spec/models/get_shopping_list200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_similar_recipes200_response_inner_spec.rb b/ruby/spec/models/get_similar_recipes200_response_inner_spec.rb index f6adccbad..875cb4484 100644 --- a/ruby/spec/models/get_similar_recipes200_response_inner_spec.rb +++ b/ruby/spec/models/get_similar_recipes200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_wine_description200_response_spec.rb b/ruby/spec/models/get_wine_description200_response_spec.rb index 4b4fc07b2..5ce3a91d1 100644 --- a/ruby/spec/models/get_wine_description200_response_spec.rb +++ b/ruby/spec/models/get_wine_description200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_wine_pairing200_response_product_matches_inner_spec.rb b/ruby/spec/models/get_wine_pairing200_response_product_matches_inner_spec.rb index 7ef407269..3bf093781 100644 --- a/ruby/spec/models/get_wine_pairing200_response_product_matches_inner_spec.rb +++ b/ruby/spec/models/get_wine_pairing200_response_product_matches_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_wine_pairing200_response_spec.rb b/ruby/spec/models/get_wine_pairing200_response_spec.rb index 0127047b9..029f9fd0e 100644 --- a/ruby/spec/models/get_wine_pairing200_response_spec.rb +++ b/ruby/spec/models/get_wine_pairing200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_wine_recommendation200_response_recommended_wines_inner_spec.rb b/ruby/spec/models/get_wine_recommendation200_response_recommended_wines_inner_spec.rb index 4ef2b00e4..1e8a9dea2 100644 --- a/ruby/spec/models/get_wine_recommendation200_response_recommended_wines_inner_spec.rb +++ b/ruby/spec/models/get_wine_recommendation200_response_recommended_wines_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/get_wine_recommendation200_response_spec.rb b/ruby/spec/models/get_wine_recommendation200_response_spec.rb index 27ce67d1a..78ac7565e 100644 --- a/ruby/spec/models/get_wine_recommendation200_response_spec.rb +++ b/ruby/spec/models/get_wine_recommendation200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_spec.rb b/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_spec.rb index 0a33f6c24..e0c74b5cd 100644 --- a/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_spec.rb +++ b/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_confidence_range95_percent_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_spec.rb b/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_spec.rb index c66664012..9c3c3e14e 100644 --- a/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_spec.rb +++ b/ruby/spec/models/guess_nutrition_by_dish_name200_response_calories_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/guess_nutrition_by_dish_name200_response_spec.rb b/ruby/spec/models/guess_nutrition_by_dish_name200_response_spec.rb index ba6c35a7d..498cbab07 100644 --- a/ruby/spec/models/guess_nutrition_by_dish_name200_response_spec.rb +++ b/ruby/spec/models/guess_nutrition_by_dish_name200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_analysis_by_url200_response_category_spec.rb b/ruby/spec/models/image_analysis_by_url200_response_category_spec.rb index 304cabda7..340336065 100644 --- a/ruby/spec/models/image_analysis_by_url200_response_category_spec.rb +++ b/ruby/spec/models/image_analysis_by_url200_response_category_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_spec.rb b/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_spec.rb index 4171b2e7b..bd3cd785c 100644 --- a/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_spec.rb +++ b/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_confidence_range95_percent_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_spec.rb b/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_spec.rb index 2123ada08..8b802834c 100644 --- a/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_spec.rb +++ b/ruby/spec/models/image_analysis_by_url200_response_nutrition_calories_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_analysis_by_url200_response_nutrition_spec.rb b/ruby/spec/models/image_analysis_by_url200_response_nutrition_spec.rb index 72fb4fd87..929eaeb0e 100644 --- a/ruby/spec/models/image_analysis_by_url200_response_nutrition_spec.rb +++ b/ruby/spec/models/image_analysis_by_url200_response_nutrition_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_analysis_by_url200_response_recipes_inner_spec.rb b/ruby/spec/models/image_analysis_by_url200_response_recipes_inner_spec.rb index 5183598fc..97a495212 100644 --- a/ruby/spec/models/image_analysis_by_url200_response_recipes_inner_spec.rb +++ b/ruby/spec/models/image_analysis_by_url200_response_recipes_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_analysis_by_url200_response_spec.rb b/ruby/spec/models/image_analysis_by_url200_response_spec.rb index 6758135e6..180a0d3b5 100644 --- a/ruby/spec/models/image_analysis_by_url200_response_spec.rb +++ b/ruby/spec/models/image_analysis_by_url200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/image_classification_by_url200_response_spec.rb b/ruby/spec/models/image_classification_by_url200_response_spec.rb index 70e428551..fa9d74144 100644 --- a/ruby/spec/models/image_classification_by_url200_response_spec.rb +++ b/ruby/spec/models/image_classification_by_url200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/ingredient_search200_response_results_inner_spec.rb b/ruby/spec/models/ingredient_search200_response_results_inner_spec.rb index 3d0d54459..07656a9fa 100644 --- a/ruby/spec/models/ingredient_search200_response_results_inner_spec.rb +++ b/ruby/spec/models/ingredient_search200_response_results_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/ingredient_search200_response_spec.rb b/ruby/spec/models/ingredient_search200_response_spec.rb index 63ec7b4cb..0c11b2bb9 100644 --- a/ruby/spec/models/ingredient_search200_response_spec.rb +++ b/ruby/spec/models/ingredient_search200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_products_inner_spec.rb b/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_products_inner_spec.rb index e4a580d19..3432e0a87 100644 --- a/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_products_inner_spec.rb +++ b/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_products_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_spec.rb b/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_spec.rb index 7212b68d5..a3312b572 100644 --- a/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_spec.rb +++ b/ruby/spec/models/map_ingredients_to_grocery_products200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/map_ingredients_to_grocery_products_request_spec.rb b/ruby/spec/models/map_ingredients_to_grocery_products_request_spec.rb index 9998b55fd..eaadf19cb 100644 --- a/ruby/spec/models/map_ingredients_to_grocery_products_request_spec.rb +++ b/ruby/spec/models/map_ingredients_to_grocery_products_request_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_estimated_cost_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_estimated_cost_spec.rb index 8fdb47440..ac0acae75 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_estimated_cost_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_estimated_cost_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown_spec.rb index 97a6009b8..e52e9f7ee 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_caloric_breakdown_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_nutrients_inner_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_nutrients_inner_spec.rb index 1dbe36218..7e749feca 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_nutrients_inner_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_nutrients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_properties_inner_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_properties_inner_spec.rb index e01cfd300..f7389cf2f 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_properties_inner_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_properties_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_spec.rb index 17ea8c722..15aa5a15b 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_weight_per_serving_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_weight_per_serving_spec.rb index de52d7d78..221f08cc7 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_nutrition_weight_per_serving_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_nutrition_weight_per_serving_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/parse_ingredients200_response_inner_spec.rb b/ruby/spec/models/parse_ingredients200_response_inner_spec.rb index e09bf2051..912f15f03 100644 --- a/ruby/spec/models/parse_ingredients200_response_inner_spec.rb +++ b/ruby/spec/models/parse_ingredients200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/quick_answer200_response_spec.rb b/ruby/spec/models/quick_answer200_response_spec.rb index 3db1c97e0..aca8cac98 100644 --- a/ruby/spec/models/quick_answer200_response_spec.rb +++ b/ruby/spec/models/quick_answer200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_all_food200_response_search_results_inner_results_inner_spec.rb b/ruby/spec/models/search_all_food200_response_search_results_inner_results_inner_spec.rb index 2680ac37a..ba0122dc9 100644 --- a/ruby/spec/models/search_all_food200_response_search_results_inner_results_inner_spec.rb +++ b/ruby/spec/models/search_all_food200_response_search_results_inner_results_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_all_food200_response_search_results_inner_spec.rb b/ruby/spec/models/search_all_food200_response_search_results_inner_spec.rb index b3488f6bc..05bafdcb5 100644 --- a/ruby/spec/models/search_all_food200_response_search_results_inner_spec.rb +++ b/ruby/spec/models/search_all_food200_response_search_results_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_all_food200_response_spec.rb b/ruby/spec/models/search_all_food200_response_spec.rb index 95975c253..e5eec2fcd 100644 --- a/ruby/spec/models/search_all_food200_response_spec.rb +++ b/ruby/spec/models/search_all_food200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_custom_foods200_response_custom_foods_inner_spec.rb b/ruby/spec/models/search_custom_foods200_response_custom_foods_inner_spec.rb index f11c2cf55..78da1a629 100644 --- a/ruby/spec/models/search_custom_foods200_response_custom_foods_inner_spec.rb +++ b/ruby/spec/models/search_custom_foods200_response_custom_foods_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_custom_foods200_response_spec.rb b/ruby/spec/models/search_custom_foods200_response_spec.rb index 33968a046..a54f7bcc9 100644 --- a/ruby/spec/models/search_custom_foods200_response_spec.rb +++ b/ruby/spec/models/search_custom_foods200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_food_videos200_response_spec.rb b/ruby/spec/models/search_food_videos200_response_spec.rb index 9b60c0fab..1da9f8b5f 100644 --- a/ruby/spec/models/search_food_videos200_response_spec.rb +++ b/ruby/spec/models/search_food_videos200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_food_videos200_response_videos_inner_spec.rb b/ruby/spec/models/search_food_videos200_response_videos_inner_spec.rb index 007f81a27..c83b54630 100644 --- a/ruby/spec/models/search_food_videos200_response_videos_inner_spec.rb +++ b/ruby/spec/models/search_food_videos200_response_videos_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_grocery_products200_response_spec.rb b/ruby/spec/models/search_grocery_products200_response_spec.rb index dc757470c..7ae3d5a1c 100644 --- a/ruby/spec/models/search_grocery_products200_response_spec.rb +++ b/ruby/spec/models/search_grocery_products200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_grocery_products_by_upc200_response_ingredients_inner_spec.rb b/ruby/spec/models/search_grocery_products_by_upc200_response_ingredients_inner_spec.rb index a4a49364c..9c2608abd 100644 --- a/ruby/spec/models/search_grocery_products_by_upc200_response_ingredients_inner_spec.rb +++ b/ruby/spec/models/search_grocery_products_by_upc200_response_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_grocery_products_by_upc200_response_nutrition_spec.rb b/ruby/spec/models/search_grocery_products_by_upc200_response_nutrition_spec.rb index f55ee7c83..42e1cbb56 100644 --- a/ruby/spec/models/search_grocery_products_by_upc200_response_nutrition_spec.rb +++ b/ruby/spec/models/search_grocery_products_by_upc200_response_nutrition_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_grocery_products_by_upc200_response_servings_spec.rb b/ruby/spec/models/search_grocery_products_by_upc200_response_servings_spec.rb index 2b4e0ec14..51e14d9b1 100644 --- a/ruby/spec/models/search_grocery_products_by_upc200_response_servings_spec.rb +++ b/ruby/spec/models/search_grocery_products_by_upc200_response_servings_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_grocery_products_by_upc200_response_spec.rb b/ruby/spec/models/search_grocery_products_by_upc200_response_spec.rb index 2cf5f779d..827d83bac 100644 --- a/ruby/spec/models/search_grocery_products_by_upc200_response_spec.rb +++ b/ruby/spec/models/search_grocery_products_by_upc200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_menu_items200_response_menu_items_inner_spec.rb b/ruby/spec/models/search_menu_items200_response_menu_items_inner_spec.rb index 956865642..40a7d6544 100644 --- a/ruby/spec/models/search_menu_items200_response_menu_items_inner_spec.rb +++ b/ruby/spec/models/search_menu_items200_response_menu_items_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_menu_items200_response_spec.rb b/ruby/spec/models/search_menu_items200_response_spec.rb index 7d47aa2db..33e7df140 100644 --- a/ruby/spec/models/search_menu_items200_response_spec.rb +++ b/ruby/spec/models/search_menu_items200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_recipes200_response_results_inner_spec.rb b/ruby/spec/models/search_recipes200_response_results_inner_spec.rb index 2ace3b818..073d0e191 100644 --- a/ruby/spec/models/search_recipes200_response_results_inner_spec.rb +++ b/ruby/spec/models/search_recipes200_response_results_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_recipes200_response_spec.rb b/ruby/spec/models/search_recipes200_response_spec.rb index 6143d483a..b72b8e5a1 100644 --- a/ruby/spec/models/search_recipes200_response_spec.rb +++ b/ruby/spec/models/search_recipes200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_spec.rb b/ruby/spec/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_spec.rb index baeb53b0b..ccee489f1 100644 --- a/ruby/spec/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_spec.rb +++ b/ruby/spec/models/search_recipes_by_ingredients200_response_inner_missed_ingredients_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_recipes_by_ingredients200_response_inner_spec.rb b/ruby/spec/models/search_recipes_by_ingredients200_response_inner_spec.rb index ceec07823..80f493037 100644 --- a/ruby/spec/models/search_recipes_by_ingredients200_response_inner_spec.rb +++ b/ruby/spec/models/search_recipes_by_ingredients200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_recipes_by_nutrients200_response_inner_spec.rb b/ruby/spec/models/search_recipes_by_nutrients200_response_inner_spec.rb index ac8c30591..88033236a 100644 --- a/ruby/spec/models/search_recipes_by_nutrients200_response_inner_spec.rb +++ b/ruby/spec/models/search_recipes_by_nutrients200_response_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_restaurants200_response_restaurants_inner_address_spec.rb b/ruby/spec/models/search_restaurants200_response_restaurants_inner_address_spec.rb index c403e5647..a9d9462b1 100644 --- a/ruby/spec/models/search_restaurants200_response_restaurants_inner_address_spec.rb +++ b/ruby/spec/models/search_restaurants200_response_restaurants_inner_address_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_operational_spec.rb b/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_operational_spec.rb index 42d5cb11b..d3daeadac 100644 --- a/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_operational_spec.rb +++ b/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_operational_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_spec.rb b/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_spec.rb index 3efca2c23..639588692 100644 --- a/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_spec.rb +++ b/ruby/spec/models/search_restaurants200_response_restaurants_inner_local_hours_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_restaurants200_response_restaurants_inner_spec.rb b/ruby/spec/models/search_restaurants200_response_restaurants_inner_spec.rb index c54dec566..3bc51ddea 100644 --- a/ruby/spec/models/search_restaurants200_response_restaurants_inner_spec.rb +++ b/ruby/spec/models/search_restaurants200_response_restaurants_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_restaurants200_response_spec.rb b/ruby/spec/models/search_restaurants200_response_spec.rb index 52ff42303..e440e28e3 100644 --- a/ruby/spec/models/search_restaurants200_response_spec.rb +++ b/ruby/spec/models/search_restaurants200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_site_content200_response_articles_inner_data_points_inner_spec.rb b/ruby/spec/models/search_site_content200_response_articles_inner_data_points_inner_spec.rb index d29004033..72fbf3f97 100644 --- a/ruby/spec/models/search_site_content200_response_articles_inner_data_points_inner_spec.rb +++ b/ruby/spec/models/search_site_content200_response_articles_inner_data_points_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_site_content200_response_articles_inner_spec.rb b/ruby/spec/models/search_site_content200_response_articles_inner_spec.rb index 1f7fa0d1f..446af2dbd 100644 --- a/ruby/spec/models/search_site_content200_response_articles_inner_spec.rb +++ b/ruby/spec/models/search_site_content200_response_articles_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/search_site_content200_response_spec.rb b/ruby/spec/models/search_site_content200_response_spec.rb index d95197300..5190351f3 100644 --- a/ruby/spec/models/search_site_content200_response_spec.rb +++ b/ruby/spec/models/search_site_content200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/summarize_recipe200_response_spec.rb b/ruby/spec/models/summarize_recipe200_response_spec.rb index de0db52a0..7af74bac5 100644 --- a/ruby/spec/models/summarize_recipe200_response_spec.rb +++ b/ruby/spec/models/summarize_recipe200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/talk_to_chatbot200_response_media_inner_spec.rb b/ruby/spec/models/talk_to_chatbot200_response_media_inner_spec.rb index 3fdfbee69..0fcd29f34 100644 --- a/ruby/spec/models/talk_to_chatbot200_response_media_inner_spec.rb +++ b/ruby/spec/models/talk_to_chatbot200_response_media_inner_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/models/talk_to_chatbot200_response_spec.rb b/ruby/spec/models/talk_to_chatbot200_response_spec.rb index 16f9290b4..172395a86 100644 --- a/ruby/spec/models/talk_to_chatbot200_response_spec.rb +++ b/ruby/spec/models/talk_to_chatbot200_response_spec.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/ruby/spec/spec_helper.rb b/ruby/spec/spec_helper.rb index 1402875f6..0d903c581 100644 --- a/ruby/spec/spec_helper.rb +++ b/ruby/spec/spec_helper.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 1.1 Contact: mail@spoonacular.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 7.3.0 +Generator version: 7.7.0-SNAPSHOT =end diff --git a/rust/.openapi-generator/VERSION b/rust/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/rust/.openapi-generator/VERSION +++ b/rust/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/rust/Cargo.toml b/rust/Cargo.toml index ff7affda0..72cf24c65 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,17 +1,14 @@ [package] name = "spoonacular" -version = "1.1.1" +version = "1.1.2" authors = ["mail@spoonacular.com"] description = "The spoonacular Nutrition, Recipe, and Food API allows you to access over thousands of recipes, thousands of ingredients, 800,000 food products, over 100,000 menu items, and restaurants. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as \"gluten free brownies without sugar\" or \"low fat vegan cupcakes.\" You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, whole 30, low sodium, low carb, Paleo, ketogenic, FODMAP, and Primal." license = "spoonacular API Terms" -edition = "2018" +edition = "2021" [dependencies] -serde = "^1.0" -serde_derive = "^1.0" +serde = { version = "^1.0", features = ["derive"] } serde_json = "^1.0" -url = "^2.2" -uuid = { version = "^1.0", features = ["serde", "v4"] } -[dependencies.reqwest] -version = "^0.11" -features = ["json", "multipart"] +url = "^2.5" +uuid = { version = "^1.8", features = ["serde", "v4"] } +reqwest = { version = "^0.12", features = ["json", "multipart"] } diff --git a/rust/README.md b/rust/README.md index 1a70f5953..0d3b3ecb8 100644 --- a/rust/README.md +++ b/rust/README.md @@ -11,7 +11,8 @@ For more information, please visit [https://spoonacular.com/contact](https://spo This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.1 -- Package version: 1.1.1 +- Package version: 1.1.2 +- Generator version: 7.7.0-SNAPSHOT - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation diff --git a/rust/docs/AddMealPlanTemplate200Response.md b/rust/docs/AddMealPlanTemplate200Response.md index 334bd654f..d1c46eaa3 100644 --- a/rust/docs/AddMealPlanTemplate200Response.md +++ b/rust/docs/AddMealPlanTemplate200Response.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**items** | [**Vec**](addMealPlanTemplate_200_response_items_inner.md) | | +**items** | [**Vec**](addMealPlanTemplate_200_response_items_inner.md) | | **publish_as_public** | **bool** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AddMealPlanTemplate200ResponseItemsInner.md b/rust/docs/AddMealPlanTemplate200ResponseItemsInner.md index b5a0eb298..e24e37ffc 100644 --- a/rust/docs/AddMealPlanTemplate200ResponseItemsInner.md +++ b/rust/docs/AddMealPlanTemplate200ResponseItemsInner.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **slot** | **i32** | | **position** | **i32** | | **r#type** | **String** | | -**value** | Option<[**crate::models::AddMealPlanTemplate200ResponseItemsInnerValue**](addMealPlanTemplate_200_response_items_inner_value.md)> | | [optional] +**value** | Option<[**models::AddMealPlanTemplate200ResponseItemsInnerValue**](addMealPlanTemplate_200_response_items_inner_value.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md b/rust/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md index 042f7f7d3..5871e3f21 100644 --- a/rust/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md +++ b/rust/docs/AddMealPlanTemplate200ResponseItemsInnerValue.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | Option<**i32**> | | [optional] -**servings** | Option<**f32**> | | [optional] +**servings** | Option<**f64**> | | [optional] **title** | Option<**String**> | | [optional] **image_type** | Option<**String**> | | [optional] diff --git a/rust/docs/AddToMealPlanRequest.md b/rust/docs/AddToMealPlanRequest.md index 5528cae25..5daa3ec5e 100644 --- a/rust/docs/AddToMealPlanRequest.md +++ b/rust/docs/AddToMealPlanRequest.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**date** | **f32** | | +**date** | **f64** | | **slot** | **i32** | | **position** | **i32** | | **r#type** | **String** | | -**value** | [**crate::models::AddToMealPlanRequestValue**](addToMealPlan_request_value.md) | | +**value** | [**models::AddToMealPlanRequestValue**](addToMealPlan_request_value.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AddToMealPlanRequestValue.md b/rust/docs/AddToMealPlanRequestValue.md index a03cbcadf..215c3ad53 100644 --- a/rust/docs/AddToMealPlanRequestValue.md +++ b/rust/docs/AddToMealPlanRequestValue.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ingredients** | [**Vec**](addToMealPlan_request_value_ingredients_inner.md) | | +**ingredients** | [**Vec**](addToMealPlan_request_value_ingredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AnalyzeARecipeSearchQuery200Response.md b/rust/docs/AnalyzeARecipeSearchQuery200Response.md index 99eb8cd51..c967cf90e 100644 --- a/rust/docs/AnalyzeARecipeSearchQuery200Response.md +++ b/rust/docs/AnalyzeARecipeSearchQuery200Response.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**dishes** | [**Vec**](analyzeARecipeSearchQuery_200_response_dishes_inner.md) | | -**ingredients** | [**Vec**](analyzeARecipeSearchQuery_200_response_ingredients_inner.md) | | +**dishes** | [**Vec**](analyzeARecipeSearchQuery_200_response_dishes_inner.md) | | +**ingredients** | [**Vec**](analyzeARecipeSearchQuery_200_response_ingredients_inner.md) | | **cuisines** | **Vec** | | **modifiers** | **Vec** | | diff --git a/rust/docs/AnalyzeRecipeInstructions200Response.md b/rust/docs/AnalyzeRecipeInstructions200Response.md index 93f4b24e8..85ed8b90a 100644 --- a/rust/docs/AnalyzeRecipeInstructions200Response.md +++ b/rust/docs/AnalyzeRecipeInstructions200Response.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**parsed_instructions** | [**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner.md) | | -**ingredients** | [**Vec**](analyzeRecipeInstructions_200_response_ingredients_inner.md) | | -**equipment** | [**Vec**](analyzeRecipeInstructions_200_response_ingredients_inner.md) | | +**parsed_instructions** | [**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner.md) | | +**ingredients** | [**Vec**](analyzeRecipeInstructions_200_response_ingredients_inner.md) | | +**equipment** | [**Vec**](analyzeRecipeInstructions_200_response_ingredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md b/rust/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md index 2ae036db6..0799f9559 100644 --- a/rust/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md +++ b/rust/docs/AnalyzeRecipeInstructions200ResponseIngredientsInner.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **f32** | | +**id** | **f64** | | **name** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md b/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md index e37e3ee78..4bbffb454 100644 --- a/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md +++ b/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**steps** | Option<[**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner_steps_inner.md)> | | [optional] +**steps** | Option<[**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner_steps_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md index 7294a33b0..984c0ab3f 100644 --- a/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ b/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**number** | **f32** | | +**number** | **f64** | | **step** | **String** | | -**ingredients** | Option<[**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] -**equipment** | Option<[**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] +**ingredients** | Option<[**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] +**equipment** | Option<[**Vec**](analyzeRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md b/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md index 82a757c07..88bc33315 100644 --- a/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md +++ b/rust/docs/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **f32** | | +**id** | **f64** | | **name** | **String** | | **localized_name** | **String** | | **image** | **String** | | diff --git a/rust/docs/AutocompleteMenuItemSearch200Response.md b/rust/docs/AutocompleteMenuItemSearch200Response.md index 2dc637ff8..730eb19ba 100644 --- a/rust/docs/AutocompleteMenuItemSearch200Response.md +++ b/rust/docs/AutocompleteMenuItemSearch200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**results** | [**Vec**](autocompleteProductSearch_200_response_results_inner.md) | | +**results** | [**Vec**](autocompleteProductSearch_200_response_results_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/AutocompleteProductSearch200Response.md b/rust/docs/AutocompleteProductSearch200Response.md index 6dc73c094..b401d7aff 100644 --- a/rust/docs/AutocompleteProductSearch200Response.md +++ b/rust/docs/AutocompleteProductSearch200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**results** | [**Vec**](autocompleteProductSearch_200_response_results_inner.md) | | +**results** | [**Vec**](autocompleteProductSearch_200_response_results_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ClassifyCuisine200Response.md b/rust/docs/ClassifyCuisine200Response.md index 493dfab06..69eceea66 100644 --- a/rust/docs/ClassifyCuisine200Response.md +++ b/rust/docs/ClassifyCuisine200Response.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cuisine** | **String** | | **cuisines** | **Vec** | | -**confidence** | **f32** | | +**confidence** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ComputeGlycemicLoad200Response.md b/rust/docs/ComputeGlycemicLoad200Response.md index 6eaf62298..64c785d66 100644 --- a/rust/docs/ComputeGlycemicLoad200Response.md +++ b/rust/docs/ComputeGlycemicLoad200Response.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**total_glycemic_load** | **f32** | | -**ingredients** | [**Vec**](computeGlycemicLoad_200_response_ingredients_inner.md) | | +**total_glycemic_load** | **f64** | | +**ingredients** | [**Vec**](computeGlycemicLoad_200_response_ingredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md b/rust/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md index 7eb42509e..18fdbbd5e 100644 --- a/rust/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md +++ b/rust/docs/ComputeGlycemicLoad200ResponseIngredientsInner.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **i32** | | **original** | **String** | | -**glycemic_index** | **f32** | | -**glycemic_load** | **f32** | | +**glycemic_index** | **f64** | | +**glycemic_load** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ComputeIngredientAmount200Response.md b/rust/docs/ComputeIngredientAmount200Response.md index d6372aebc..bdd77090f 100644 --- a/rust/docs/ComputeIngredientAmount200Response.md +++ b/rust/docs/ComputeIngredientAmount200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ConvertAmounts200Response.md b/rust/docs/ConvertAmounts200Response.md index 6138a1065..5ec3d095d 100644 --- a/rust/docs/ConvertAmounts200Response.md +++ b/rust/docs/ConvertAmounts200Response.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**source_amount** | **f32** | | +**source_amount** | **f64** | | **source_unit** | **String** | | -**target_amount** | **f32** | | +**target_amount** | **f64** | | **target_unit** | **String** | | **answer** | **String** | | diff --git a/rust/docs/DefaultApi.md b/rust/docs/DefaultApi.md index 9206e9369..00da705af 100644 --- a/rust/docs/DefaultApi.md +++ b/rust/docs/DefaultApi.md @@ -55,7 +55,7 @@ Generate a recipe card for a recipe. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | **mask** | Option<**String**> | The mask to put over the recipe image (\"ellipseMask\", \"diamondMask\", \"starMask\", \"heartMask\", \"potMask\", \"fishMask\"). | | **background_image** | Option<**String**> | The background image (\"none\",\"background1\", or \"background2\"). | | **background_color** | Option<**String**> | The background color for the recipe card as a hex-string. | | @@ -79,7 +79,7 @@ Name | Type | Description | Required | Notes ## search_restaurants -> crate::models::SearchRestaurants200Response search_restaurants(query, lat, lng, distance, budget, cuisine, min_rating, is_open, sort, page) +> models::SearchRestaurants200Response search_restaurants(query, lat, lng, distance, budget, cuisine, min_rating, is_open, sort, page) Search Restaurants Search through thousands of restaurants (in North America) by location, cuisine, budget, and more. @@ -90,19 +90,19 @@ Search through thousands of restaurants (in North America) by location, cuisine, Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **query** | Option<**String**> | The search query. | | -**lat** | Option<**f32**> | The latitude of the user's location. | | -**lng** | Option<**f32**> | The longitude of the user's location.\". | | -**distance** | Option<**f32**> | The distance around the location in miles. | | -**budget** | Option<**f32**> | The user's budget for a meal in USD. | | +**lat** | Option<**f64**> | The latitude of the user's location. | | +**lng** | Option<**f64**> | The longitude of the user's location.\". | | +**distance** | Option<**f64**> | The distance around the location in miles. | | +**budget** | Option<**f64**> | The user's budget for a meal in USD. | | **cuisine** | Option<**String**> | The cuisine of the restaurant. | | -**min_rating** | Option<**f32**> | The minimum rating of the restaurant between 0 and 5. | | +**min_rating** | Option<**f64**> | The minimum rating of the restaurant between 0 and 5. | | **is_open** | Option<**bool**> | Whether the restaurant must be open at the time of search. | | **sort** | Option<**String**> | How to sort the results, one of the following 'cheapest', 'fastest', 'rating', 'distance' or the default 'relevance'. | | -**page** | Option<**f32**> | The page number of results. | | +**page** | Option<**f64**> | The page number of results. | | ### Return type -[**crate::models::SearchRestaurants200Response**](searchRestaurants_200_response.md) +[**models::SearchRestaurants200Response**](searchRestaurants_200_response.md) ### Authorization diff --git a/rust/docs/DetectFoodInText200Response.md b/rust/docs/DetectFoodInText200Response.md index c7b256405..c9d46b117 100644 --- a/rust/docs/DetectFoodInText200Response.md +++ b/rust/docs/DetectFoodInText200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**annotations** | [**Vec**](detectFoodInText_200_response_annotations_inner.md) | | +**annotations** | [**Vec**](detectFoodInText_200_response_annotations_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GenerateMealPlan200Response.md b/rust/docs/GenerateMealPlan200Response.md index af60ffd0c..805022a7a 100644 --- a/rust/docs/GenerateMealPlan200Response.md +++ b/rust/docs/GenerateMealPlan200Response.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**meals** | [**Vec**](getSimilarRecipes_200_response_inner.md) | | -**nutrients** | [**crate::models::GenerateMealPlan200ResponseNutrients**](generateMealPlan_200_response_nutrients.md) | | +**meals** | [**Vec**](getSimilarRecipes_200_response_inner.md) | | +**nutrients** | [**models::GenerateMealPlan200ResponseNutrients**](generateMealPlan_200_response_nutrients.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GenerateMealPlan200ResponseNutrients.md b/rust/docs/GenerateMealPlan200ResponseNutrients.md index 4459d05e5..1f4185283 100644 --- a/rust/docs/GenerateMealPlan200ResponseNutrients.md +++ b/rust/docs/GenerateMealPlan200ResponseNutrients.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**calories** | **f32** | | -**carbohydrates** | **f32** | | -**fat** | **f32** | | -**protein** | **f32** | | +**calories** | **f64** | | +**carbohydrates** | **f64** | | +**fat** | **f64** | | +**protein** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GenerateShoppingList200Response.md b/rust/docs/GenerateShoppingList200Response.md index 68b536408..76aaf7c13 100644 --- a/rust/docs/GenerateShoppingList200Response.md +++ b/rust/docs/GenerateShoppingList200Response.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**aisles** | [**Vec**](getShoppingList_200_response_aisles_inner.md) | | -**cost** | **f32** | | -**start_date** | **f32** | | -**end_date** | **f32** | | +**aisles** | [**Vec**](getShoppingList_200_response_aisles_inner.md) | | +**cost** | **f64** | | +**start_date** | **f64** | | +**end_date** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetAnalyzedRecipeInstructions200Response.md b/rust/docs/GetAnalyzedRecipeInstructions200Response.md index 387577a10..661b22f7b 100644 --- a/rust/docs/GetAnalyzedRecipeInstructions200Response.md +++ b/rust/docs/GetAnalyzedRecipeInstructions200Response.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**parsed_instructions** | [**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner.md) | | -**ingredients** | [**Vec**](getAnalyzedRecipeInstructions_200_response_ingredients_inner.md) | | -**equipment** | [**Vec**](getAnalyzedRecipeInstructions_200_response_ingredients_inner.md) | | +**parsed_instructions** | [**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner.md) | | +**ingredients** | [**Vec**](getAnalyzedRecipeInstructions_200_response_ingredients_inner.md) | | +**equipment** | [**Vec**](getAnalyzedRecipeInstructions_200_response_ingredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md b/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md index 6f8301613..bf6d18391 100644 --- a/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md +++ b/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**steps** | Option<[**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner_steps_inner.md)> | | [optional] +**steps** | Option<[**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner_steps_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md b/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md index 96e03e8c5..5fc43e0c2 100644 --- a/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md +++ b/rust/docs/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**number** | **f32** | | +**number** | **f64** | | **step** | **String** | | -**ingredients** | Option<[**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] -**equipment** | Option<[**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] +**ingredients** | Option<[**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] +**equipment** | Option<[**Vec**](getAnalyzedRecipeInstructions_200_response_parsedInstructions_inner_steps_inner_ingredients_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetComparableProducts200Response.md b/rust/docs/GetComparableProducts200Response.md index 6cc757ade..dd1ad2c04 100644 --- a/rust/docs/GetComparableProducts200Response.md +++ b/rust/docs/GetComparableProducts200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**comparable_products** | [**crate::models::GetComparableProducts200ResponseComparableProducts**](getComparableProducts_200_response_comparableProducts.md) | | +**comparable_products** | [**models::GetComparableProducts200ResponseComparableProducts**](getComparableProducts_200_response_comparableProducts.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetComparableProducts200ResponseComparableProducts.md b/rust/docs/GetComparableProducts200ResponseComparableProducts.md index d5bd4db0c..377069e06 100644 --- a/rust/docs/GetComparableProducts200ResponseComparableProducts.md +++ b/rust/docs/GetComparableProducts200ResponseComparableProducts.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **calories** | [**Vec**](serde_json::Value.md) | | **likes** | [**Vec**](serde_json::Value.md) | | **price** | [**Vec**](serde_json::Value.md) | | -**protein** | [**Vec**](getComparableProducts_200_response_comparableProducts_protein_inner.md) | | -**spoonacular_score** | [**Vec**](getComparableProducts_200_response_comparableProducts_protein_inner.md) | | +**protein** | [**Vec**](getComparableProducts_200_response_comparableProducts_protein_inner.md) | | +**spoonacular_score** | [**Vec**](getComparableProducts_200_response_comparableProducts_protein_inner.md) | | **sugar** | [**Vec**](serde_json::Value.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md b/rust/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md index 10856c0a2..4b6680fec 100644 --- a/rust/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md +++ b/rust/docs/GetComparableProducts200ResponseComparableProductsProteinInner.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**difference** | **f32** | | +**difference** | **f64** | | **id** | **i32** | | **image** | **String** | | **title** | **String** | | diff --git a/rust/docs/GetConversationSuggests200Response.md b/rust/docs/GetConversationSuggests200Response.md index d592d3b1d..683c5fd8b 100644 --- a/rust/docs/GetConversationSuggests200Response.md +++ b/rust/docs/GetConversationSuggests200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**suggests** | [**crate::models::GetConversationSuggests200ResponseSuggests**](getConversationSuggests_200_response_suggests.md) | | +**suggests** | [**models::GetConversationSuggests200ResponseSuggests**](getConversationSuggests_200_response_suggests.md) | | **words** | **Vec** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetConversationSuggests200ResponseSuggests.md b/rust/docs/GetConversationSuggests200ResponseSuggests.md index 9b1801f5f..cc38d9bed 100644 --- a/rust/docs/GetConversationSuggests200ResponseSuggests.md +++ b/rust/docs/GetConversationSuggests200ResponseSuggests.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**underscore** | [**Vec**](getConversationSuggests_200_response_suggests___inner.md) | | +**underscore** | [**Vec**](getConversationSuggests_200_response_suggests___inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetIngredientInformation200Response.md b/rust/docs/GetIngredientInformation200Response.md index d633d7b07..d0215547a 100644 --- a/rust/docs/GetIngredientInformation200Response.md +++ b/rust/docs/GetIngredientInformation200Response.md @@ -9,18 +9,18 @@ Name | Type | Description | Notes **original_name** | **String** | | **name** | **String** | | **name_clean** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | **unit_short** | **String** | | **unit_long** | **String** | | **possible_units** | **Vec** | | -**estimated_cost** | [**crate::models::ParseIngredients200ResponseInnerEstimatedCost**](parseIngredients_200_response_inner_estimatedCost.md) | | +**estimated_cost** | [**models::ParseIngredients200ResponseInnerEstimatedCost**](parseIngredients_200_response_inner_estimatedCost.md) | | **consistency** | **String** | | **shopping_list_units** | **Vec** | | **aisle** | **String** | | **image** | **String** | | **meta** | [**Vec**](serde_json::Value.md) | | -**nutrition** | [**crate::models::GetIngredientInformation200ResponseNutrition**](getIngredientInformation_200_response_nutrition.md) | | +**nutrition** | [**models::GetIngredientInformation200ResponseNutrition**](getIngredientInformation_200_response_nutrition.md) | | **category_path** | **Vec** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetIngredientInformation200ResponseNutrition.md b/rust/docs/GetIngredientInformation200ResponseNutrition.md index 264a8c65f..5682e3811 100644 --- a/rust/docs/GetIngredientInformation200ResponseNutrition.md +++ b/rust/docs/GetIngredientInformation200ResponseNutrition.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrients** | [**Vec**](parseIngredients_200_response_inner_nutrition_nutrients_inner.md) | | -**properties** | [**Vec**](parseIngredients_200_response_inner_nutrition_properties_inner.md) | | -**caloric_breakdown** | [**crate::models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](parseIngredients_200_response_inner_nutrition_caloricBreakdown.md) | | -**weight_per_serving** | [**crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | +**nutrients** | [**Vec**](parseIngredients_200_response_inner_nutrition_nutrients_inner.md) | | +**properties** | [**Vec**](parseIngredients_200_response_inner_nutrition_properties_inner.md) | | +**caloric_breakdown** | [**models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](parseIngredients_200_response_inner_nutrition_caloricBreakdown.md) | | +**weight_per_serving** | [**models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanTemplate200Response.md b/rust/docs/GetMealPlanTemplate200Response.md index 11f324d4b..1c66f394e 100644 --- a/rust/docs/GetMealPlanTemplate200Response.md +++ b/rust/docs/GetMealPlanTemplate200Response.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **i32** | | **name** | **String** | | -**days** | [**Vec**](getMealPlanTemplate_200_response_days_inner.md) | | +**days** | [**Vec**](getMealPlanTemplate_200_response_days_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanTemplate200ResponseDaysInner.md b/rust/docs/GetMealPlanTemplate200ResponseDaysInner.md index d3fb3b4d7..f4f2d00f6 100644 --- a/rust/docs/GetMealPlanTemplate200ResponseDaysInner.md +++ b/rust/docs/GetMealPlanTemplate200ResponseDaysInner.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrition_summary** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**nutrition_summary_breakfast** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**nutrition_summary_lunch** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**nutrition_summary_dinner** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary_breakfast** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary_lunch** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary_dinner** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] **day** | **String** | | -**items** | Option<[**Vec**](getMealPlanTemplate_200_response_days_inner_items_inner.md)> | | [optional] +**items** | Option<[**Vec**](getMealPlanTemplate_200_response_days_inner_items_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md b/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md index 4542ef175..55a03d9a3 100644 --- a/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md +++ b/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInner.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **slot** | **i32** | | **position** | **i32** | | **r#type** | **String** | | -**value** | Option<[**crate::models::GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue**](getMealPlanTemplate_200_response_days_inner_items_inner_value.md)> | | [optional] +**value** | Option<[**models::GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue**](getMealPlanTemplate_200_response_days_inner_items_inner_value.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md b/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md index 956ad6917..b85b7ad8c 100644 --- a/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md +++ b/rust/docs/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **f32** | | +**id** | **f64** | | **title** | **String** | | **image_type** | **String** | | diff --git a/rust/docs/GetMealPlanTemplates200Response.md b/rust/docs/GetMealPlanTemplates200Response.md index 8d9d8f3ea..723cfb329 100644 --- a/rust/docs/GetMealPlanTemplates200Response.md +++ b/rust/docs/GetMealPlanTemplates200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**templates** | [**Vec**](getAnalyzedRecipeInstructions_200_response_ingredients_inner.md) | | +**templates** | [**Vec**](getAnalyzedRecipeInstructions_200_response_ingredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanWeek200Response.md b/rust/docs/GetMealPlanWeek200Response.md index 6fd0efd60..a820a7e42 100644 --- a/rust/docs/GetMealPlanWeek200Response.md +++ b/rust/docs/GetMealPlanWeek200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | [**Vec**](getMealPlanWeek_200_response_days_inner.md) | | +**days** | [**Vec**](getMealPlanWeek_200_response_days_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanWeek200ResponseDaysInner.md b/rust/docs/GetMealPlanWeek200ResponseDaysInner.md index 248ccec26..728065114 100644 --- a/rust/docs/GetMealPlanWeek200ResponseDaysInner.md +++ b/rust/docs/GetMealPlanWeek200ResponseDaysInner.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrition_summary** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**nutrition_summary_breakfast** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**nutrition_summary_lunch** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**nutrition_summary_dinner** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] -**date** | **f32** | | +**nutrition_summary** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary_breakfast** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary_lunch** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**nutrition_summary_dinner** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerNutritionSummary**](getMealPlanWeek_200_response_days_inner_nutritionSummary.md)> | | [optional] +**date** | **f64** | | **day** | **String** | | -**items** | Option<[**Vec**](getMealPlanWeek_200_response_days_inner_items_inner.md)> | | [optional] +**items** | Option<[**Vec**](getMealPlanWeek_200_response_days_inner_items_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md b/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md index 3711567a8..9f06167db 100644 --- a/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md +++ b/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInner.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **slot** | **i32** | | **position** | **i32** | | **r#type** | **String** | | -**value** | Option<[**crate::models::GetMealPlanWeek200ResponseDaysInnerItemsInnerValue**](getMealPlanWeek_200_response_days_inner_items_inner_value.md)> | | [optional] +**value** | Option<[**models::GetMealPlanWeek200ResponseDaysInnerItemsInnerValue**](getMealPlanWeek_200_response_days_inner_items_inner_value.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md b/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md index e14c36bc5..cc18b954e 100644 --- a/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md +++ b/rust/docs/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**servings** | **f32** | | -**id** | **f32** | | +**servings** | **f64** | | +**id** | **f64** | | **title** | **String** | | **image_type** | **String** | | diff --git a/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md b/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md index 9561753e5..9053afa15 100644 --- a/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md +++ b/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrients** | [**Vec**](getMealPlanWeek_200_response_days_inner_nutritionSummary_nutrients_inner.md) | | +**nutrients** | [**Vec**](getMealPlanWeek_200_response_days_inner_nutritionSummary_nutrients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md b/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md index ae633cb1a..ce99e0714 100644 --- a/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md +++ b/rust/docs/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | -**percent_daily_needs** | **f32** | | +**percent_daily_needs** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetMenuItemInformation200Response.md b/rust/docs/GetMenuItemInformation200Response.md index b0f04302d..5493ca04a 100644 --- a/rust/docs/GetMenuItemInformation200Response.md +++ b/rust/docs/GetMenuItemInformation200Response.md @@ -7,15 +7,15 @@ Name | Type | Description | Notes **id** | **i32** | | **title** | **String** | | **restaurant_chain** | **String** | | -**nutrition** | [**crate::models::SearchGroceryProductsByUpc200ResponseNutrition**](searchGroceryProductsByUPC_200_response_nutrition.md) | | +**nutrition** | [**models::SearchGroceryProductsByUpc200ResponseNutrition**](searchGroceryProductsByUPC_200_response_nutrition.md) | | **badges** | **Vec** | | **breadcrumbs** | **Vec** | | **generated_text** | Option<**String**> | | [optional] **image_type** | **String** | | -**likes** | **f32** | | -**servings** | [**crate::models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md) | | -**price** | Option<**f32**> | | [optional] -**spoonacular_score** | Option<**f32**> | | [optional] +**likes** | **f64** | | +**servings** | [**models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md) | | +**price** | Option<**f64**> | | [optional] +**spoonacular_score** | Option<**f64**> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetProductInformation200Response.md b/rust/docs/GetProductInformation200Response.md index a9fa2e1ec..b46de5a16 100644 --- a/rust/docs/GetProductInformation200Response.md +++ b/rust/docs/GetProductInformation200Response.md @@ -13,13 +13,13 @@ Name | Type | Description | Notes **ingredient_count** | **i32** | | **generated_text** | Option<**String**> | | [optional] **ingredient_list** | **String** | | -**ingredients** | [**Vec**](getProductInformation_200_response_ingredients_inner.md) | | -**likes** | **f32** | | +**ingredients** | [**Vec**](getProductInformation_200_response_ingredients_inner.md) | | +**likes** | **f64** | | **aisle** | **String** | | -**nutrition** | [**crate::models::SearchGroceryProductsByUpc200ResponseNutrition**](searchGroceryProductsByUPC_200_response_nutrition.md) | | -**price** | **f32** | | -**servings** | [**crate::models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md) | | -**spoonacular_score** | **f32** | | +**nutrition** | [**models::SearchGroceryProductsByUpc200ResponseNutrition**](searchGroceryProductsByUPC_200_response_nutrition.md) | | +**price** | **f64** | | +**servings** | [**models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md) | | +**spoonacular_score** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRandomRecipes200Response.md b/rust/docs/GetRandomRecipes200Response.md index 226425ecd..0b25394a4 100644 --- a/rust/docs/GetRandomRecipes200Response.md +++ b/rust/docs/GetRandomRecipes200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**recipes** | [**Vec**](getRandomRecipes_200_response_recipes_inner.md) | | +**recipes** | [**Vec**](getRandomRecipes_200_response_recipes_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRandomRecipes200ResponseRecipesInner.md b/rust/docs/GetRandomRecipes200ResponseRecipesInner.md index a87db14b4..133800f24 100644 --- a/rust/docs/GetRandomRecipes200ResponseRecipesInner.md +++ b/rust/docs/GetRandomRecipes200ResponseRecipesInner.md @@ -8,16 +8,16 @@ Name | Type | Description | Notes **title** | **String** | | **image** | **String** | | **image_type** | **String** | | -**servings** | **f32** | | +**servings** | **f64** | | **ready_in_minutes** | **i32** | | **license** | **String** | | **source_name** | **String** | | **source_url** | **String** | | **spoonacular_source_url** | **String** | | -**aggregate_likes** | **f32** | | -**health_score** | **f32** | | -**spoonacular_score** | **f32** | | -**price_per_serving** | **f32** | | +**aggregate_likes** | **f64** | | +**health_score** | **f64** | | +**spoonacular_score** | **f64** | | +**price_per_serving** | **f64** | | **analyzed_instructions** | Option<[**Vec**](serde_json::Value.md)> | | [optional] **cheap** | **bool** | | **credits_text** | **String** | | @@ -36,11 +36,11 @@ Name | Type | Description | Notes **very_healthy** | **bool** | | **very_popular** | **bool** | | **whole30** | **bool** | | -**weight_watcher_smart_points** | **f32** | | +**weight_watcher_smart_points** | **f64** | | **dish_types** | Option<**Vec**> | | [optional] -**extended_ingredients** | Option<[**Vec**](getRecipeInformation_200_response_extendedIngredients_inner.md)> | | [optional] +**extended_ingredients** | Option<[**Vec**](getRecipeInformation_200_response_extendedIngredients_inner.md)> | | [optional] **summary** | **String** | | -**wine_pairing** | Option<[**crate::models::GetRecipeInformation200ResponseWinePairing**](getRecipeInformation_200_response_winePairing.md)> | | [optional] +**wine_pairing** | Option<[**models::GetRecipeInformation200ResponseWinePairing**](getRecipeInformation_200_response_winePairing.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeEquipmentById200Response.md b/rust/docs/GetRecipeEquipmentById200Response.md index ce47e5a1d..8e0480acf 100644 --- a/rust/docs/GetRecipeEquipmentById200Response.md +++ b/rust/docs/GetRecipeEquipmentById200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**equipment** | [**Vec**](getRecipeEquipmentByID_200_response_equipment_inner.md) | | +**equipment** | [**Vec**](getRecipeEquipmentByID_200_response_equipment_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeInformation200Response.md b/rust/docs/GetRecipeInformation200Response.md index 7d1790408..9e6ec4ce0 100644 --- a/rust/docs/GetRecipeInformation200Response.md +++ b/rust/docs/GetRecipeInformation200Response.md @@ -8,16 +8,16 @@ Name | Type | Description | Notes **title** | **String** | | **image** | **String** | | **image_type** | **String** | | -**servings** | **f32** | | +**servings** | **f64** | | **ready_in_minutes** | **i32** | | **license** | **String** | | **source_name** | **String** | | **source_url** | **String** | | **spoonacular_source_url** | **String** | | **aggregate_likes** | **i32** | | -**health_score** | **f32** | | -**spoonacular_score** | **f32** | | -**price_per_serving** | **f32** | | +**health_score** | **f64** | | +**spoonacular_score** | **f64** | | +**price_per_serving** | **f64** | | **analyzed_instructions** | [**Vec**](serde_json::Value.md) | | **cheap** | **bool** | | **credits_text** | **String** | | @@ -36,11 +36,11 @@ Name | Type | Description | Notes **very_healthy** | **bool** | | **very_popular** | **bool** | | **whole30** | **bool** | | -**weight_watcher_smart_points** | **f32** | | +**weight_watcher_smart_points** | **f64** | | **dish_types** | **Vec** | | -**extended_ingredients** | [**Vec**](getRecipeInformation_200_response_extendedIngredients_inner.md) | | +**extended_ingredients** | [**Vec**](getRecipeInformation_200_response_extendedIngredients_inner.md) | | **summary** | **String** | | -**wine_pairing** | [**crate::models::GetRecipeInformation200ResponseWinePairing**](getRecipeInformation_200_response_winePairing.md) | | +**wine_pairing** | [**models::GetRecipeInformation200ResponseWinePairing**](getRecipeInformation_200_response_winePairing.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md b/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md index 550d4e2af..675cbe202 100644 --- a/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md +++ b/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInner.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aisle** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **consitency** | **String** | | **id** | **i32** | | **image** | **String** | | -**measures** | Option<[**crate::models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures**](getRecipeInformation_200_response_extendedIngredients_inner_measures.md)> | | [optional] +**measures** | Option<[**models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures**](getRecipeInformation_200_response_extendedIngredients_inner_measures.md)> | | [optional] **meta** | Option<**Vec**> | | [optional] **name** | **String** | | **original** | **String** | | diff --git a/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md b/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md index 137b9fadd..b47a6159c 100644 --- a/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md +++ b/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**metric** | [**crate::models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](getRecipeInformation_200_response_extendedIngredients_inner_measures_metric.md) | | -**us** | [**crate::models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](getRecipeInformation_200_response_extendedIngredients_inner_measures_metric.md) | | +**metric** | [**models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](getRecipeInformation_200_response_extendedIngredients_inner_measures_metric.md) | | +**us** | [**models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric**](getRecipeInformation_200_response_extendedIngredients_inner_measures_metric.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md b/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md index 5df4a9202..88be0bf31 100644 --- a/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md +++ b/rust/docs/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **f32** | | +**amount** | **f64** | | **unit_long** | **String** | | **unit_short** | **String** | | diff --git a/rust/docs/GetRecipeInformation200ResponseWinePairing.md b/rust/docs/GetRecipeInformation200ResponseWinePairing.md index d297a519f..8099dcbdf 100644 --- a/rust/docs/GetRecipeInformation200ResponseWinePairing.md +++ b/rust/docs/GetRecipeInformation200ResponseWinePairing.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **paired_wines** | **Vec** | | **pairing_text** | **String** | | -**product_matches** | [**Vec**](getRecipeInformation_200_response_winePairing_productMatches_inner.md) | | +**product_matches** | [**Vec**](getRecipeInformation_200_response_winePairing_productMatches_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md b/rust/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md index 156516e2f..5380466b9 100644 --- a/rust/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md +++ b/rust/docs/GetRecipeInformation200ResponseWinePairingProductMatchesInner.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **description** | **String** | | **price** | **String** | | **image_url** | **String** | | -**average_rating** | **f32** | | +**average_rating** | **f64** | | **rating_count** | **i32** | | -**score** | **f32** | | +**score** | **f64** | | **link** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeInformationBulk200ResponseInner.md b/rust/docs/GetRecipeInformationBulk200ResponseInner.md index 66fd06fd2..8b79f7950 100644 --- a/rust/docs/GetRecipeInformationBulk200ResponseInner.md +++ b/rust/docs/GetRecipeInformationBulk200ResponseInner.md @@ -8,16 +8,16 @@ Name | Type | Description | Notes **title** | **String** | | **image** | **String** | | **image_type** | **String** | | -**servings** | **f32** | | +**servings** | **f64** | | **ready_in_minutes** | **i32** | | **license** | **String** | | **source_name** | **String** | | **source_url** | **String** | | **spoonacular_source_url** | **String** | | **aggregate_likes** | **i32** | | -**health_score** | **f32** | | -**spoonacular_score** | **f32** | | -**price_per_serving** | **f32** | | +**health_score** | **f64** | | +**spoonacular_score** | **f64** | | +**price_per_serving** | **f64** | | **analyzed_instructions** | **Vec** | | **cheap** | **bool** | | **credits_text** | **String** | | @@ -36,11 +36,11 @@ Name | Type | Description | Notes **very_healthy** | **bool** | | **very_popular** | **bool** | | **whole30** | **bool** | | -**weight_watcher_smart_points** | **f32** | | +**weight_watcher_smart_points** | **f64** | | **dish_types** | **Vec** | | -**extended_ingredients** | [**Vec**](getRecipeInformation_200_response_extendedIngredients_inner.md) | | +**extended_ingredients** | [**Vec**](getRecipeInformation_200_response_extendedIngredients_inner.md) | | **summary** | **String** | | -**wine_pairing** | [**crate::models::GetRecipeInformation200ResponseWinePairing**](getRecipeInformation_200_response_winePairing.md) | | +**wine_pairing** | [**models::GetRecipeInformation200ResponseWinePairing**](getRecipeInformation_200_response_winePairing.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeIngredientsById200Response.md b/rust/docs/GetRecipeIngredientsById200Response.md index c42f2a653..faca9c0b5 100644 --- a/rust/docs/GetRecipeIngredientsById200Response.md +++ b/rust/docs/GetRecipeIngredientsById200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ingredients** | [**Vec**](getRecipeIngredientsByID_200_response_ingredients_inner.md) | | +**ingredients** | [**Vec**](getRecipeIngredientsByID_200_response_ingredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeIngredientsById200ResponseIngredientsInner.md b/rust/docs/GetRecipeIngredientsById200ResponseIngredientsInner.md index cac670c4a..4c73eb568 100644 --- a/rust/docs/GetRecipeIngredientsById200ResponseIngredientsInner.md +++ b/rust/docs/GetRecipeIngredientsById200ResponseIngredientsInner.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | Option<[**crate::models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount.md)> | | [optional] +**amount** | Option<[**models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount.md)> | | [optional] **image** | **String** | | **name** | **String** | | diff --git a/rust/docs/GetRecipeNutritionWidgetById200Response.md b/rust/docs/GetRecipeNutritionWidgetById200Response.md index 0e811e247..a9c9a567b 100644 --- a/rust/docs/GetRecipeNutritionWidgetById200Response.md +++ b/rust/docs/GetRecipeNutritionWidgetById200Response.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **carbs** | **String** | | **fat** | **String** | | **protein** | **String** | | -**bad** | [**Vec**](getRecipeNutritionWidgetByID_200_response_bad_inner.md) | | -**good** | [**Vec**](getRecipeNutritionWidgetByID_200_response_good_inner.md) | | +**bad** | [**Vec**](getRecipeNutritionWidgetByID_200_response_bad_inner.md) | | +**good** | [**Vec**](getRecipeNutritionWidgetByID_200_response_good_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeNutritionWidgetById200ResponseBadInner.md b/rust/docs/GetRecipeNutritionWidgetById200ResponseBadInner.md index 4a7c87664..41db9d201 100644 --- a/rust/docs/GetRecipeNutritionWidgetById200ResponseBadInner.md +++ b/rust/docs/GetRecipeNutritionWidgetById200ResponseBadInner.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **String** | | **amount** | **String** | | **indented** | **bool** | | -**percent_of_daily_needs** | **f32** | | +**percent_of_daily_needs** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeNutritionWidgetById200ResponseGoodInner.md b/rust/docs/GetRecipeNutritionWidgetById200ResponseGoodInner.md index dc44be249..f776d1cac 100644 --- a/rust/docs/GetRecipeNutritionWidgetById200ResponseGoodInner.md +++ b/rust/docs/GetRecipeNutritionWidgetById200ResponseGoodInner.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **amount** | **String** | | **indented** | **bool** | | -**percent_of_daily_needs** | **f32** | | +**percent_of_daily_needs** | **f64** | | **name** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipePriceBreakdownById200Response.md b/rust/docs/GetRecipePriceBreakdownById200Response.md index f84a41b66..3ac75b690 100644 --- a/rust/docs/GetRecipePriceBreakdownById200Response.md +++ b/rust/docs/GetRecipePriceBreakdownById200Response.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ingredients** | [**Vec**](getRecipePriceBreakdownByID_200_response_ingredients_inner.md) | | -**total_cost** | **f32** | | -**total_cost_per_serving** | **f32** | | +**ingredients** | [**Vec**](getRecipePriceBreakdownByID_200_response_ingredients_inner.md) | | +**total_cost** | **f64** | | +**total_cost_per_serving** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInner.md b/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInner.md index 8ffa4d786..9d5b69988 100644 --- a/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInner.md +++ b/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInner.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | Option<[**crate::models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount.md)> | | [optional] +**amount** | Option<[**models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount.md)> | | [optional] **image** | **String** | | **name** | **String** | | -**price** | **f32** | | +**price** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount.md b/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount.md index 735582d55..d2789c2d7 100644 --- a/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount.md +++ b/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**metric** | [**crate::models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount_metric.md) | | -**us** | [**crate::models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount_metric.md) | | +**metric** | [**models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount_metric.md) | | +**us** | [**models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric**](getRecipePriceBreakdownByID_200_response_ingredients_inner_amount_metric.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric.md b/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric.md index c333b4335..ebb4b20ac 100644 --- a/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric.md +++ b/rust/docs/GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **unit** | **String** | | -**value** | **f32** | | +**value** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetRecipeTasteById200Response.md b/rust/docs/GetRecipeTasteById200Response.md index 2dbdf3d55..8e01392d1 100644 --- a/rust/docs/GetRecipeTasteById200Response.md +++ b/rust/docs/GetRecipeTasteById200Response.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**sweetness** | **f32** | | -**saltiness** | **f32** | | -**sourness** | **f32** | | -**bitterness** | **f32** | | -**savoriness** | **f32** | | -**fattiness** | **f32** | | -**spiciness** | **f32** | | +**sweetness** | **f64** | | +**saltiness** | **f64** | | +**sourness** | **f64** | | +**bitterness** | **f64** | | +**savoriness** | **f64** | | +**fattiness** | **f64** | | +**spiciness** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetShoppingList200Response.md b/rust/docs/GetShoppingList200Response.md index fa47d6968..c80195cf9 100644 --- a/rust/docs/GetShoppingList200Response.md +++ b/rust/docs/GetShoppingList200Response.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**aisles** | [**Vec**](getShoppingList_200_response_aisles_inner.md) | | -**cost** | **f32** | | -**start_date** | **f32** | | -**end_date** | **f32** | | +**aisles** | [**Vec**](getShoppingList_200_response_aisles_inner.md) | | +**cost** | **f64** | | +**start_date** | **f64** | | +**end_date** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetShoppingList200ResponseAislesInner.md b/rust/docs/GetShoppingList200ResponseAislesInner.md index 3ddda0c13..bdcde24b3 100644 --- a/rust/docs/GetShoppingList200ResponseAislesInner.md +++ b/rust/docs/GetShoppingList200ResponseAislesInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aisle** | **String** | | -**items** | Option<[**Vec**](getShoppingList_200_response_aisles_inner_items_inner.md)> | | [optional] +**items** | Option<[**Vec**](getShoppingList_200_response_aisles_inner_items_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetShoppingList200ResponseAislesInnerItemsInner.md b/rust/docs/GetShoppingList200ResponseAislesInnerItemsInner.md index 3f0576ae8..2fe0887a8 100644 --- a/rust/docs/GetShoppingList200ResponseAislesInnerItemsInner.md +++ b/rust/docs/GetShoppingList200ResponseAislesInnerItemsInner.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **i32** | | **name** | **String** | | -**measures** | Option<[**crate::models::GetShoppingList200ResponseAislesInnerItemsInnerMeasures**](getShoppingList_200_response_aisles_inner_items_inner_measures.md)> | | [optional] +**measures** | Option<[**models::GetShoppingList200ResponseAislesInnerItemsInnerMeasures**](getShoppingList_200_response_aisles_inner_items_inner_measures.md)> | | [optional] **pantry_item** | **bool** | | **aisle** | **String** | | -**cost** | **f32** | | +**cost** | **f64** | | **ingredient_id** | **i32** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md b/rust/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md index 56224df93..7b6e7d4b7 100644 --- a/rust/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md +++ b/rust/docs/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**original** | [**crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | -**metric** | [**crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | -**us** | [**crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | +**original** | [**models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | +**metric** | [**models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | +**us** | [**models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetSimilarRecipes200ResponseInner.md b/rust/docs/GetSimilarRecipes200ResponseInner.md index 7bacc2495..772dde2a8 100644 --- a/rust/docs/GetSimilarRecipes200ResponseInner.md +++ b/rust/docs/GetSimilarRecipes200ResponseInner.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **title** | **String** | | **image_type** | **String** | | **ready_in_minutes** | **i32** | | -**servings** | **f32** | | +**servings** | **f64** | | **source_url** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetWinePairing200Response.md b/rust/docs/GetWinePairing200Response.md index 67a079a8d..2de9d1bae 100644 --- a/rust/docs/GetWinePairing200Response.md +++ b/rust/docs/GetWinePairing200Response.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **paired_wines** | **Vec** | | **pairing_text** | **String** | | -**product_matches** | [**Vec**](getWinePairing_200_response_productMatches_inner.md) | | +**product_matches** | [**Vec**](getWinePairing_200_response_productMatches_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetWinePairing200ResponseProductMatchesInner.md b/rust/docs/GetWinePairing200ResponseProductMatchesInner.md index 7e9093f8b..a65ee02ed 100644 --- a/rust/docs/GetWinePairing200ResponseProductMatchesInner.md +++ b/rust/docs/GetWinePairing200ResponseProductMatchesInner.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **i32** | | **title** | **String** | | -**average_rating** | **f32** | | +**average_rating** | **f64** | | **description** | Option<**String**> | | [optional] **image_url** | **String** | | **link** | **String** | | **price** | **String** | | **rating_count** | **i32** | | -**score** | **f32** | | +**score** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetWineRecommendation200Response.md b/rust/docs/GetWineRecommendation200Response.md index 5dd5f3057..d86086f6a 100644 --- a/rust/docs/GetWineRecommendation200Response.md +++ b/rust/docs/GetWineRecommendation200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**recommended_wines** | [**Vec**](getWineRecommendation_200_response_recommendedWines_inner.md) | | +**recommended_wines** | [**Vec**](getWineRecommendation_200_response_recommendedWines_inner.md) | | **total_found** | **i32** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md b/rust/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md index 1b4289424..f43f527da 100644 --- a/rust/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md +++ b/rust/docs/GetWineRecommendation200ResponseRecommendedWinesInner.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **i32** | | **title** | **String** | | -**average_rating** | **f32** | | +**average_rating** | **f64** | | **description** | **String** | | **image_url** | **String** | | **link** | **String** | | **price** | **String** | | **rating_count** | **i32** | | -**score** | **f32** | | +**score** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GuessNutritionByDishName200Response.md b/rust/docs/GuessNutritionByDishName200Response.md index a561275f7..a17d6af86 100644 --- a/rust/docs/GuessNutritionByDishName200Response.md +++ b/rust/docs/GuessNutritionByDishName200Response.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**calories** | [**crate::models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | -**carbs** | [**crate::models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | -**fat** | [**crate::models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | -**protein** | [**crate::models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | +**calories** | [**models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | +**carbs** | [**models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | +**fat** | [**models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | +**protein** | [**models::GuessNutritionByDishName200ResponseCalories**](guessNutritionByDishName_200_response_calories.md) | | **recipes_used** | **i32** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GuessNutritionByDishName200ResponseCalories.md b/rust/docs/GuessNutritionByDishName200ResponseCalories.md index fcc7b88c8..721f04196 100644 --- a/rust/docs/GuessNutritionByDishName200ResponseCalories.md +++ b/rust/docs/GuessNutritionByDishName200ResponseCalories.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**confidence_range95_percent** | [**crate::models::GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent**](guessNutritionByDishName_200_response_calories_confidenceRange95Percent.md) | | -**standard_deviation** | **f32** | | +**confidence_range95_percent** | [**models::GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent**](guessNutritionByDishName_200_response_calories_confidenceRange95Percent.md) | | +**standard_deviation** | **f64** | | **unit** | **String** | | -**value** | **f32** | | +**value** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md b/rust/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md index 7320e581f..a66068318 100644 --- a/rust/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md +++ b/rust/docs/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max** | **f32** | | -**min** | **f32** | | +**max** | **f64** | | +**min** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ImageAnalysisByUrl200Response.md b/rust/docs/ImageAnalysisByUrl200Response.md index b8a3df0f7..ae9c2f352 100644 --- a/rust/docs/ImageAnalysisByUrl200Response.md +++ b/rust/docs/ImageAnalysisByUrl200Response.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrition** | [**crate::models::ImageAnalysisByUrl200ResponseNutrition**](imageAnalysisByURL_200_response_nutrition.md) | | -**category** | [**crate::models::ImageAnalysisByUrl200ResponseCategory**](imageAnalysisByURL_200_response_category.md) | | -**recipes** | [**Vec**](imageAnalysisByURL_200_response_recipes_inner.md) | | +**nutrition** | [**models::ImageAnalysisByUrl200ResponseNutrition**](imageAnalysisByURL_200_response_nutrition.md) | | +**category** | [**models::ImageAnalysisByUrl200ResponseCategory**](imageAnalysisByURL_200_response_category.md) | | +**recipes** | [**Vec**](imageAnalysisByURL_200_response_recipes_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ImageAnalysisByUrl200ResponseCategory.md b/rust/docs/ImageAnalysisByUrl200ResponseCategory.md index 46e8d260c..31463aa15 100644 --- a/rust/docs/ImageAnalysisByUrl200ResponseCategory.md +++ b/rust/docs/ImageAnalysisByUrl200ResponseCategory.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**probability** | **f32** | | +**probability** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ImageAnalysisByUrl200ResponseNutrition.md b/rust/docs/ImageAnalysisByUrl200ResponseNutrition.md index 4f69a1c45..899dfa63f 100644 --- a/rust/docs/ImageAnalysisByUrl200ResponseNutrition.md +++ b/rust/docs/ImageAnalysisByUrl200ResponseNutrition.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **recipes_used** | **i32** | | -**calories** | [**crate::models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | -**fat** | [**crate::models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | -**protein** | [**crate::models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | -**carbs** | [**crate::models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | +**calories** | [**models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | +**fat** | [**models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | +**protein** | [**models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | +**carbs** | [**models::ImageAnalysisByUrl200ResponseNutritionCalories**](imageAnalysisByURL_200_response_nutrition_calories.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ImageAnalysisByUrl200ResponseNutritionCalories.md b/rust/docs/ImageAnalysisByUrl200ResponseNutritionCalories.md index 3767850f3..04774da1d 100644 --- a/rust/docs/ImageAnalysisByUrl200ResponseNutritionCalories.md +++ b/rust/docs/ImageAnalysisByUrl200ResponseNutritionCalories.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **f32** | | +**value** | **f64** | | **unit** | **String** | | -**confidence_range95_percent** | [**crate::models::ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent**](imageAnalysisByURL_200_response_nutrition_calories_confidenceRange95Percent.md) | | -**standard_deviation** | **f32** | | +**confidence_range95_percent** | [**models::ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent**](imageAnalysisByURL_200_response_nutrition_calories_confidenceRange95Percent.md) | | +**standard_deviation** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent.md b/rust/docs/ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent.md index 37a01f6d3..ad467eacf 100644 --- a/rust/docs/ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent.md +++ b/rust/docs/ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**min** | **f32** | | -**max** | **f32** | | +**min** | **f64** | | +**max** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ImageClassificationByUrl200Response.md b/rust/docs/ImageClassificationByUrl200Response.md index 03a82067d..e65f3158b 100644 --- a/rust/docs/ImageClassificationByUrl200Response.md +++ b/rust/docs/ImageClassificationByUrl200Response.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **category** | **String** | | -**probability** | **f32** | | +**probability** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/IngredientSearch200Response.md b/rust/docs/IngredientSearch200Response.md index e23400c27..eec5a211e 100644 --- a/rust/docs/IngredientSearch200Response.md +++ b/rust/docs/IngredientSearch200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**results** | [**Vec**](ingredientSearch_200_response_results_inner.md) | | +**results** | [**Vec**](ingredientSearch_200_response_results_inner.md) | | **offset** | **i32** | | **number** | **i32** | | **total_results** | **i32** | | diff --git a/rust/docs/IngredientsApi.md b/rust/docs/IngredientsApi.md index 00973c472..37c1b3e0d 100644 --- a/rust/docs/IngredientsApi.md +++ b/rust/docs/IngredientsApi.md @@ -18,7 +18,7 @@ Method | HTTP request | Description ## autocomplete_ingredient_search -> Vec autocomplete_ingredient_search(query, number, meta_information, intolerances, language) +> Vec autocomplete_ingredient_search(query, number, meta_information, intolerances, language) Autocomplete Ingredient Search Autocomplete the entry of an ingredient. @@ -36,7 +36,7 @@ Name | Type | Description | Required | Notes ### Return type -[**Vec**](autocompleteIngredientSearch_200_response_inner.md) +[**Vec**](autocompleteIngredientSearch_200_response_inner.md) ### Authorization @@ -52,7 +52,7 @@ Name | Type | Description | Required | Notes ## compute_ingredient_amount -> crate::models::ComputeIngredientAmount200Response compute_ingredient_amount(id, nutrient, target, unit) +> models::ComputeIngredientAmount200Response compute_ingredient_amount(id, nutrient, target, unit) Compute Ingredient Amount Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein? @@ -62,14 +62,14 @@ Compute the amount you need of a certain ingredient for a certain nutritional go Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The id of the ingredient you want the amount for. | [required] | +**id** | **f64** | The id of the ingredient you want the amount for. | [required] | **nutrient** | **String** | The target nutrient. See a list of supported nutrients. | [required] | -**target** | **f32** | The target number of the given nutrient. | [required] | +**target** | **f64** | The target number of the given nutrient. | [required] | **unit** | Option<**String**> | The target unit. | | ### Return type -[**crate::models::ComputeIngredientAmount200Response**](computeIngredientAmount_200_response.md) +[**models::ComputeIngredientAmount200Response**](computeIngredientAmount_200_response.md) ### Authorization @@ -85,7 +85,7 @@ Name | Type | Description | Required | Notes ## get_ingredient_information -> crate::models::GetIngredientInformation200Response get_ingredient_information(id, amount, unit) +> models::GetIngredientInformation200Response get_ingredient_information(id, amount, unit) Get Ingredient Information Use an ingredient id to get all available information about an ingredient, such as its image and supermarket aisle. @@ -96,12 +96,12 @@ Use an ingredient id to get all available information about an ingredient, such Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **i32** | The item's id. | [required] | -**amount** | Option<**f32**> | The amount of this ingredient. | | +**amount** | Option<**f64**> | The amount of this ingredient. | | **unit** | Option<**String**> | The unit for the given amount. | | ### Return type -[**crate::models::GetIngredientInformation200Response**](getIngredientInformation_200_response.md) +[**models::GetIngredientInformation200Response**](getIngredientInformation_200_response.md) ### Authorization @@ -117,7 +117,7 @@ Name | Type | Description | Required | Notes ## get_ingredient_substitutes -> crate::models::GetIngredientSubstitutes200Response get_ingredient_substitutes(ingredient_name) +> models::GetIngredientSubstitutes200Response get_ingredient_substitutes(ingredient_name) Get Ingredient Substitutes Search for substitutes for a given ingredient. @@ -131,7 +131,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetIngredientSubstitutes200Response**](getIngredientSubstitutes_200_response.md) +[**models::GetIngredientSubstitutes200Response**](getIngredientSubstitutes_200_response.md) ### Authorization @@ -147,7 +147,7 @@ Name | Type | Description | Required | Notes ## get_ingredient_substitutes_by_id -> crate::models::GetIngredientSubstitutes200Response get_ingredient_substitutes_by_id(id) +> models::GetIngredientSubstitutes200Response get_ingredient_substitutes_by_id(id) Get Ingredient Substitutes by ID Search for substitutes for a given ingredient. @@ -161,7 +161,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetIngredientSubstitutes200Response**](getIngredientSubstitutes_200_response.md) +[**models::GetIngredientSubstitutes200Response**](getIngredientSubstitutes_200_response.md) ### Authorization @@ -177,7 +177,7 @@ Name | Type | Description | Required | Notes ## ingredient_search -> crate::models::IngredientSearch200Response ingredient_search(query, add_children, min_protein_percent, max_protein_percent, min_fat_percent, max_fat_percent, min_carbs_percent, max_carbs_percent, meta_information, intolerances, sort, sort_direction, offset, number, language) +> models::IngredientSearch200Response ingredient_search(query, add_children, min_protein_percent, max_protein_percent, min_fat_percent, max_fat_percent, min_carbs_percent, max_carbs_percent, meta_information, intolerances, sort, sort_direction, offset, number, language) Ingredient Search Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). @@ -189,12 +189,12 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **query** | Option<**String**> | The (natural language) search query. | | **add_children** | Option<**bool**> | Whether to add children of found foods. | | -**min_protein_percent** | Option<**f32**> | The minimum percentage of protein the food must have (between 0 and 100). | | -**max_protein_percent** | Option<**f32**> | The maximum percentage of protein the food can have (between 0 and 100). | | -**min_fat_percent** | Option<**f32**> | The minimum percentage of fat the food must have (between 0 and 100). | | -**max_fat_percent** | Option<**f32**> | The maximum percentage of fat the food can have (between 0 and 100). | | -**min_carbs_percent** | Option<**f32**> | The minimum percentage of carbs the food must have (between 0 and 100). | | -**max_carbs_percent** | Option<**f32**> | The maximum percentage of carbs the food can have (between 0 and 100). | | +**min_protein_percent** | Option<**f64**> | The minimum percentage of protein the food must have (between 0 and 100). | | +**max_protein_percent** | Option<**f64**> | The maximum percentage of protein the food can have (between 0 and 100). | | +**min_fat_percent** | Option<**f64**> | The minimum percentage of fat the food must have (between 0 and 100). | | +**max_fat_percent** | Option<**f64**> | The maximum percentage of fat the food can have (between 0 and 100). | | +**min_carbs_percent** | Option<**f64**> | The minimum percentage of carbs the food must have (between 0 and 100). | | +**max_carbs_percent** | Option<**f64**> | The maximum percentage of carbs the food can have (between 0 and 100). | | **meta_information** | Option<**bool**> | Whether to return more meta information about the ingredients. | | **intolerances** | Option<**String**> | A comma-separated list of intolerances. All recipes returned must not contain ingredients that are not suitable for people with the intolerances entered. See a full list of supported intolerances. | | **sort** | Option<**String**> | The strategy to sort recipes by. See a full list of supported sorting options. | | @@ -205,7 +205,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::IngredientSearch200Response**](ingredientSearch_200_response.md) +[**models::IngredientSearch200Response**](ingredientSearch_200_response.md) ### Authorization @@ -231,7 +231,7 @@ Visualize a recipe's ingredient list. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | **measure** | Option<**String**> | Whether the the measures should be 'us' or 'metric'. | | ### Return type @@ -252,7 +252,7 @@ Name | Type | Description | Required | Notes ## map_ingredients_to_grocery_products -> Vec map_ingredients_to_grocery_products(map_ingredients_to_grocery_products_request) +> Vec map_ingredients_to_grocery_products(map_ingredients_to_grocery_products_request) Map Ingredients to Grocery Products Map a set of ingredients to products you can buy in the grocery store. @@ -266,7 +266,7 @@ Name | Type | Description | Required | Notes ### Return type -[**Vec**](mapIngredientsToGroceryProducts_200_response_inner.md) +[**Vec**](mapIngredientsToGroceryProducts_200_response_inner.md) ### Authorization @@ -293,7 +293,7 @@ Visualize ingredients of a recipe. You can play around with that endpoint! Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **ingredient_list** | **String** | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | [required] | -**servings** | **f32** | The number of servings. | [required] | +**servings** | **f64** | The number of servings. | [required] | **language** | Option<**String**> | The language of the input. Either 'en' or 'de'. | | **measure** | Option<**String**> | The original system of measurement, either 'metric' or 'us'. | | **view** | Option<**String**> | How to visualize the ingredients, either 'grid' or 'list'. | | diff --git a/rust/docs/MapIngredientsToGroceryProducts200ResponseInner.md b/rust/docs/MapIngredientsToGroceryProducts200ResponseInner.md index 6103983d0..d48af16b0 100644 --- a/rust/docs/MapIngredientsToGroceryProducts200ResponseInner.md +++ b/rust/docs/MapIngredientsToGroceryProducts200ResponseInner.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **original_name** | **String** | | **ingredient_image** | **String** | | **meta** | **Vec** | | -**products** | [**Vec**](mapIngredientsToGroceryProducts_200_response_inner_products_inner.md) | | +**products** | [**Vec**](mapIngredientsToGroceryProducts_200_response_inner_products_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/MapIngredientsToGroceryProductsRequest.md b/rust/docs/MapIngredientsToGroceryProductsRequest.md index 547732476..41b023d09 100644 --- a/rust/docs/MapIngredientsToGroceryProductsRequest.md +++ b/rust/docs/MapIngredientsToGroceryProductsRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ingredients** | **Vec** | | -**servings** | **f32** | | +**servings** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/MealPlanningApi.md b/rust/docs/MealPlanningApi.md index 2229af9e2..f255012a5 100644 --- a/rust/docs/MealPlanningApi.md +++ b/rust/docs/MealPlanningApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description ## add_meal_plan_template -> crate::models::AddMealPlanTemplate200Response add_meal_plan_template(username, hash) +> models::AddMealPlanTemplate200Response add_meal_plan_template(username, hash) Add Meal Plan Template Add a meal plan template for a user. @@ -38,7 +38,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::AddMealPlanTemplate200Response**](addMealPlanTemplate_200_response.md) +[**models::AddMealPlanTemplate200Response**](addMealPlanTemplate_200_response.md) ### Authorization @@ -86,7 +86,7 @@ Name | Type | Description | Required | Notes ## add_to_shopping_list -> crate::models::GenerateShoppingList200Response add_to_shopping_list(username, hash, add_to_shopping_list_request) +> models::GenerateShoppingList200Response add_to_shopping_list(username, hash, add_to_shopping_list_request) Add to Shopping List Add an item to the current shopping list of a user. @@ -102,7 +102,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GenerateShoppingList200Response**](generateShoppingList_200_response.md) +[**models::GenerateShoppingList200Response**](generateShoppingList_200_response.md) ### Authorization @@ -150,7 +150,7 @@ Name | Type | Description | Required | Notes ## connect_user -> crate::models::ConnectUser200Response connect_user(connect_user_request) +> models::ConnectUser200Response connect_user(connect_user_request) Connect User In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. @@ -164,7 +164,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::ConnectUser200Response**](connectUser_200_response.md) +[**models::ConnectUser200Response**](connectUser_200_response.md) ### Authorization @@ -191,7 +191,7 @@ Delete an item from the user's meal plan. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **username** | **String** | The username. | [required] | -**id** | **f32** | The shopping list item id. | [required] | +**id** | **f64** | The shopping list item id. | [required] | **hash** | **String** | The private hash for the username. | [required] | ### Return type @@ -276,7 +276,7 @@ Name | Type | Description | Required | Notes ## generate_meal_plan -> crate::models::GenerateMealPlan200Response generate_meal_plan(time_frame, target_calories, diet, exclude) +> models::GenerateMealPlan200Response generate_meal_plan(time_frame, target_calories, diet, exclude) Generate Meal Plan Generate a meal plan with three meals per day (breakfast, lunch, and dinner). @@ -287,13 +287,13 @@ Generate a meal plan with three meals per day (breakfast, lunch, and dinner). Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **time_frame** | Option<**String**> | Either for one \"day\" or an entire \"week\". | | -**target_calories** | Option<**f32**> | What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. | | +**target_calories** | Option<**f64**> | What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal. | | **diet** | Option<**String**> | Enter a diet that the meal plan has to adhere to. See a full list of supported diets. | | **exclude** | Option<**String**> | A comma-separated list of allergens or ingredients that must be excluded. | | ### Return type -[**crate::models::GenerateMealPlan200Response**](generateMealPlan_200_response.md) +[**models::GenerateMealPlan200Response**](generateMealPlan_200_response.md) ### Authorization @@ -309,7 +309,7 @@ Name | Type | Description | Required | Notes ## generate_shopping_list -> crate::models::GenerateShoppingList200Response generate_shopping_list(username, start_date, end_date, hash) +> models::GenerateShoppingList200Response generate_shopping_list(username, start_date, end_date, hash) Generate Shopping List Generate the shopping list for a user from the meal planner in a given time frame. @@ -326,7 +326,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GenerateShoppingList200Response**](generateShoppingList_200_response.md) +[**models::GenerateShoppingList200Response**](generateShoppingList_200_response.md) ### Authorization @@ -342,7 +342,7 @@ Name | Type | Description | Required | Notes ## get_meal_plan_template -> crate::models::GetMealPlanTemplate200Response get_meal_plan_template(username, id, hash) +> models::GetMealPlanTemplate200Response get_meal_plan_template(username, id, hash) Get Meal Plan Template Get information about a meal plan template. @@ -358,7 +358,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetMealPlanTemplate200Response**](getMealPlanTemplate_200_response.md) +[**models::GetMealPlanTemplate200Response**](getMealPlanTemplate_200_response.md) ### Authorization @@ -374,7 +374,7 @@ Name | Type | Description | Required | Notes ## get_meal_plan_templates -> crate::models::GetMealPlanTemplates200Response get_meal_plan_templates(username, hash) +> models::GetMealPlanTemplates200Response get_meal_plan_templates(username, hash) Get Meal Plan Templates Get meal plan templates from user or public ones. @@ -389,7 +389,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetMealPlanTemplates200Response**](getMealPlanTemplates_200_response.md) +[**models::GetMealPlanTemplates200Response**](getMealPlanTemplates_200_response.md) ### Authorization @@ -405,7 +405,7 @@ Name | Type | Description | Required | Notes ## get_meal_plan_week -> crate::models::GetMealPlanWeek200Response get_meal_plan_week(username, start_date, hash) +> models::GetMealPlanWeek200Response get_meal_plan_week(username, start_date, hash) Get Meal Plan Week Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account. @@ -421,7 +421,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetMealPlanWeek200Response**](getMealPlanWeek_200_response.md) +[**models::GetMealPlanWeek200Response**](getMealPlanWeek_200_response.md) ### Authorization @@ -437,7 +437,7 @@ Name | Type | Description | Required | Notes ## get_shopping_list -> crate::models::GetShoppingList200Response get_shopping_list(username, hash) +> models::GetShoppingList200Response get_shopping_list(username, hash) Get Shopping List Get the current shopping list for the given user. @@ -452,7 +452,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetShoppingList200Response**](getShoppingList_200_response.md) +[**models::GetShoppingList200Response**](getShoppingList_200_response.md) ### Authorization diff --git a/rust/docs/MenuItemsApi.md b/rust/docs/MenuItemsApi.md index 299bffad9..d9c678704 100644 --- a/rust/docs/MenuItemsApi.md +++ b/rust/docs/MenuItemsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description ## autocomplete_menu_item_search -> crate::models::AutocompleteMenuItemSearch200Response autocomplete_menu_item_search(query, number) +> models::AutocompleteMenuItemSearch200Response autocomplete_menu_item_search(query, number) Autocomplete Menu Item Search Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. @@ -27,11 +27,11 @@ Generate suggestions for menu items based on a (partial) query. The matches will Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **query** | **String** | The (partial) search query. | [required] | -**number** | Option<**f32**> | The number of results to return (between 1 and 25). | | +**number** | Option<**f64**> | The number of results to return (between 1 and 25). | | ### Return type -[**crate::models::AutocompleteMenuItemSearch200Response**](autocompleteMenuItemSearch_200_response.md) +[**models::AutocompleteMenuItemSearch200Response**](autocompleteMenuItemSearch_200_response.md) ### Authorization @@ -47,7 +47,7 @@ Name | Type | Description | Required | Notes ## get_menu_item_information -> crate::models::GetMenuItemInformation200Response get_menu_item_information(id) +> models::GetMenuItemInformation200Response get_menu_item_information(id) Get Menu Item Information Use a menu item id to get all available information about a menu item, such as nutrition. @@ -61,7 +61,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetMenuItemInformation200Response**](getMenuItemInformation_200_response.md) +[**models::GetMenuItemInformation200Response**](getMenuItemInformation_200_response.md) ### Authorization @@ -87,7 +87,7 @@ Visualize a menu item's nutritional information as HTML including CSS. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The menu item id. | [required] | +**id** | **f64** | The menu item id. | [required] | ### Return type @@ -117,7 +117,7 @@ Visualize a menu item's nutritional label information as an image. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The menu item id. | [required] | +**id** | **f64** | The menu item id. | [required] | **show_optional_nutrients** | Option<**bool**> | Whether to show optional nutrients. | | **show_zero_values** | Option<**bool**> | Whether to show zero values. | | **show_ingredients** | Option<**bool**> | Whether to show a list of ingredients. | | @@ -150,7 +150,7 @@ Visualize a menu item's nutritional label information as HTML including CSS. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The menu item id. | [required] | +**id** | **f64** | The menu item id. | [required] | **default_css** | Option<**bool**> | Whether the default CSS should be added to the response. | |[default to true] **show_optional_nutrients** | Option<**bool**> | Whether to show optional nutrients. | | **show_zero_values** | Option<**bool**> | Whether to show zero values. | | @@ -174,7 +174,7 @@ Name | Type | Description | Required | Notes ## search_menu_items -> crate::models::SearchMenuItems200Response search_menu_items(query, min_calories, max_calories, min_carbs, max_carbs, min_protein, max_protein, min_fat, max_fat, add_menu_item_information, offset, number) +> models::SearchMenuItems200Response search_menu_items(query, min_calories, max_calories, min_carbs, max_carbs, min_protein, max_protein, min_fat, max_fat, add_menu_item_information, offset, number) Search Menu Items Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. @@ -185,21 +185,21 @@ Search over 115,000 menu items from over 800 fast food and chain restaurants. Fo Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **query** | Option<**String**> | The (natural language) search query. | | -**min_calories** | Option<**f32**> | The minimum amount of calories the menu item must have. | | -**max_calories** | Option<**f32**> | The maximum amount of calories the menu item can have. | | -**min_carbs** | Option<**f32**> | The minimum amount of carbohydrates in grams the menu item must have. | | -**max_carbs** | Option<**f32**> | The maximum amount of carbohydrates in grams the menu item can have. | | -**min_protein** | Option<**f32**> | The minimum amount of protein in grams the menu item must have. | | -**max_protein** | Option<**f32**> | The maximum amount of protein in grams the menu item can have. | | -**min_fat** | Option<**f32**> | The minimum amount of fat in grams the menu item must have. | | -**max_fat** | Option<**f32**> | The maximum amount of fat in grams the menu item can have. | | +**min_calories** | Option<**f64**> | The minimum amount of calories the menu item must have. | | +**max_calories** | Option<**f64**> | The maximum amount of calories the menu item can have. | | +**min_carbs** | Option<**f64**> | The minimum amount of carbohydrates in grams the menu item must have. | | +**max_carbs** | Option<**f64**> | The maximum amount of carbohydrates in grams the menu item can have. | | +**min_protein** | Option<**f64**> | The minimum amount of protein in grams the menu item must have. | | +**max_protein** | Option<**f64**> | The maximum amount of protein in grams the menu item can have. | | +**min_fat** | Option<**f64**> | The minimum amount of fat in grams the menu item must have. | | +**max_fat** | Option<**f64**> | The maximum amount of fat in grams the menu item can have. | | **add_menu_item_information** | Option<**bool**> | If set to true, you get more information about the menu items returned. | | **offset** | Option<**i32**> | The number of results to skip (between 0 and 900). | | **number** | Option<**i32**> | The maximum number of items to return (between 1 and 100). Defaults to 10. | |[default to 10] ### Return type -[**crate::models::SearchMenuItems200Response**](searchMenuItems_200_response.md) +[**models::SearchMenuItems200Response**](searchMenuItems_200_response.md) ### Authorization diff --git a/rust/docs/MiscApi.md b/rust/docs/MiscApi.md index 34791b255..6e99d9579 100644 --- a/rust/docs/MiscApi.md +++ b/rust/docs/MiscApi.md @@ -20,7 +20,7 @@ Method | HTTP request | Description ## detect_food_in_text -> crate::models::DetectFoodInText200Response detect_food_in_text(text) +> models::DetectFoodInText200Response detect_food_in_text(text) Detect Food in Text Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. @@ -34,7 +34,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::DetectFoodInText200Response**](detectFoodInText_200_response.md) +[**models::DetectFoodInText200Response**](detectFoodInText_200_response.md) ### Authorization @@ -50,7 +50,7 @@ Name | Type | Description | Required | Notes ## get_a_random_food_joke -> crate::models::GetARandomFoodJoke200Response get_a_random_food_joke() +> models::GetARandomFoodJoke200Response get_a_random_food_joke() Random Food Joke Get a random joke that is related to food. Caution: this is an endpoint for adults! @@ -61,7 +61,7 @@ This endpoint does not need any parameter. ### Return type -[**crate::models::GetARandomFoodJoke200Response**](getARandomFoodJoke_200_response.md) +[**models::GetARandomFoodJoke200Response**](getARandomFoodJoke_200_response.md) ### Authorization @@ -77,7 +77,7 @@ This endpoint does not need any parameter. ## get_conversation_suggests -> crate::models::GetConversationSuggests200Response get_conversation_suggests(query, number) +> models::GetConversationSuggests200Response get_conversation_suggests(query, number) Conversation Suggests This endpoint returns suggestions for things the user can say or ask the chatbot. @@ -88,11 +88,11 @@ This endpoint returns suggestions for things the user can say or ask the chatbot Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **query** | **String** | A (partial) query from the user. The endpoint will return if it matches topics it can talk about. | [required] | -**number** | Option<**f32**> | The number of suggestions to return (between 1 and 25). | | +**number** | Option<**f64**> | The number of suggestions to return (between 1 and 25). | | ### Return type -[**crate::models::GetConversationSuggests200Response**](getConversationSuggests_200_response.md) +[**models::GetConversationSuggests200Response**](getConversationSuggests_200_response.md) ### Authorization @@ -108,7 +108,7 @@ Name | Type | Description | Required | Notes ## get_random_food_trivia -> crate::models::GetRandomFoodTrivia200Response get_random_food_trivia() +> models::GetRandomFoodTrivia200Response get_random_food_trivia() Random Food Trivia Returns random food trivia. @@ -119,7 +119,7 @@ This endpoint does not need any parameter. ### Return type -[**crate::models::GetRandomFoodTrivia200Response**](getRandomFoodTrivia_200_response.md) +[**models::GetRandomFoodTrivia200Response**](getRandomFoodTrivia_200_response.md) ### Authorization @@ -135,7 +135,7 @@ This endpoint does not need any parameter. ## image_analysis_by_url -> crate::models::ImageAnalysisByUrl200Response image_analysis_by_url(image_url) +> models::ImageAnalysisByUrl200Response image_analysis_by_url(image_url) Image Analysis by URL Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. @@ -149,7 +149,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::ImageAnalysisByUrl200Response**](imageAnalysisByURL_200_response.md) +[**models::ImageAnalysisByUrl200Response**](imageAnalysisByURL_200_response.md) ### Authorization @@ -165,7 +165,7 @@ Name | Type | Description | Required | Notes ## image_classification_by_url -> crate::models::ImageClassificationByUrl200Response image_classification_by_url(image_url) +> models::ImageClassificationByUrl200Response image_classification_by_url(image_url) Image Classification by URL Classify a food image. @@ -179,7 +179,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::ImageClassificationByUrl200Response**](imageClassificationByURL_200_response.md) +[**models::ImageClassificationByUrl200Response**](imageClassificationByURL_200_response.md) ### Authorization @@ -195,7 +195,7 @@ Name | Type | Description | Required | Notes ## search_all_food -> crate::models::SearchAllFood200Response search_all_food(query, offset, number) +> models::SearchAllFood200Response search_all_food(query, offset, number) Search All Food Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. @@ -211,7 +211,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::SearchAllFood200Response**](searchAllFood_200_response.md) +[**models::SearchAllFood200Response**](searchAllFood_200_response.md) ### Authorization @@ -227,7 +227,7 @@ Name | Type | Description | Required | Notes ## search_custom_foods -> crate::models::SearchCustomFoods200Response search_custom_foods(username, hash, query, offset, number) +> models::SearchCustomFoods200Response search_custom_foods(username, hash, query, offset, number) Search Custom Foods Search custom foods in a user's account. @@ -245,7 +245,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::SearchCustomFoods200Response**](searchCustomFoods_200_response.md) +[**models::SearchCustomFoods200Response**](searchCustomFoods_200_response.md) ### Authorization @@ -261,7 +261,7 @@ Name | Type | Description | Required | Notes ## search_food_videos -> crate::models::SearchFoodVideos200Response search_food_videos(query, r#type, cuisine, diet, include_ingredients, exclude_ingredients, min_length, max_length, offset, number) +> models::SearchFoodVideos200Response search_food_videos(query, r#type, cuisine, diet, include_ingredients, exclude_ingredients, min_length, max_length, offset, number) Search Food Videos Find recipe and other food related videos. @@ -277,14 +277,14 @@ Name | Type | Description | Required | Notes **diet** | Option<**String**> | The diet for which the recipes must be suitable. See a full list of supported diets. | | **include_ingredients** | Option<**String**> | A comma-separated list of ingredients that the recipes should contain. | | **exclude_ingredients** | Option<**String**> | A comma-separated list of ingredients or ingredient types that the recipes must not contain. | | -**min_length** | Option<**f32**> | Minimum video length in seconds. | | -**max_length** | Option<**f32**> | Maximum video length in seconds. | | +**min_length** | Option<**f64**> | Minimum video length in seconds. | | +**max_length** | Option<**f64**> | Maximum video length in seconds. | | **offset** | Option<**i32**> | The number of results to skip (between 0 and 900). | | **number** | Option<**i32**> | The maximum number of items to return (between 1 and 100). Defaults to 10. | |[default to 10] ### Return type -[**crate::models::SearchFoodVideos200Response**](searchFoodVideos_200_response.md) +[**models::SearchFoodVideos200Response**](searchFoodVideos_200_response.md) ### Authorization @@ -300,7 +300,7 @@ Name | Type | Description | Required | Notes ## search_site_content -> crate::models::SearchSiteContent200Response search_site_content(query) +> models::SearchSiteContent200Response search_site_content(query) Search Site Content Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. @@ -314,7 +314,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::SearchSiteContent200Response**](searchSiteContent_200_response.md) +[**models::SearchSiteContent200Response**](searchSiteContent_200_response.md) ### Authorization @@ -330,7 +330,7 @@ Name | Type | Description | Required | Notes ## talk_to_chatbot -> crate::models::TalkToChatbot200Response talk_to_chatbot(text, context_id) +> models::TalkToChatbot200Response talk_to_chatbot(text, context_id) Talk to Chatbot This endpoint can be used to have a conversation about food with the spoonacular chatbot. Use the \"Get Conversation Suggests\" endpoint to show your user what he or she can say. @@ -345,7 +345,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::TalkToChatbot200Response**](talkToChatbot_200_response.md) +[**models::TalkToChatbot200Response**](talkToChatbot_200_response.md) ### Authorization diff --git a/rust/docs/ParseIngredients200ResponseInner.md b/rust/docs/ParseIngredients200ResponseInner.md index 83ad77f92..13c0cabd1 100644 --- a/rust/docs/ParseIngredients200ResponseInner.md +++ b/rust/docs/ParseIngredients200ResponseInner.md @@ -9,17 +9,17 @@ Name | Type | Description | Notes **original_name** | **String** | | **name** | **String** | | **name_clean** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | **unit_short** | **String** | | **unit_long** | **String** | | **possible_units** | **Vec** | | -**estimated_cost** | [**crate::models::ParseIngredients200ResponseInnerEstimatedCost**](parseIngredients_200_response_inner_estimatedCost.md) | | +**estimated_cost** | [**models::ParseIngredients200ResponseInnerEstimatedCost**](parseIngredients_200_response_inner_estimatedCost.md) | | **consistency** | **String** | | **aisle** | **String** | | **image** | **String** | | **meta** | **Vec** | | -**nutrition** | [**crate::models::ParseIngredients200ResponseInnerNutrition**](parseIngredients_200_response_inner_nutrition.md) | | +**nutrition** | [**models::ParseIngredients200ResponseInnerNutrition**](parseIngredients_200_response_inner_nutrition.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ParseIngredients200ResponseInnerEstimatedCost.md b/rust/docs/ParseIngredients200ResponseInnerEstimatedCost.md index e01cd4802..34d5a24be 100644 --- a/rust/docs/ParseIngredients200ResponseInnerEstimatedCost.md +++ b/rust/docs/ParseIngredients200ResponseInnerEstimatedCost.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **f32** | | +**value** | **f64** | | **unit** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ParseIngredients200ResponseInnerNutrition.md b/rust/docs/ParseIngredients200ResponseInnerNutrition.md index 35894c189..15aedadbe 100644 --- a/rust/docs/ParseIngredients200ResponseInnerNutrition.md +++ b/rust/docs/ParseIngredients200ResponseInnerNutrition.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrients** | [**Vec**](parseIngredients_200_response_inner_nutrition_nutrients_inner.md) | | -**properties** | [**Vec**](parseIngredients_200_response_inner_nutrition_properties_inner.md) | | -**flavonoids** | [**Vec**](parseIngredients_200_response_inner_nutrition_properties_inner.md) | | -**caloric_breakdown** | [**crate::models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](parseIngredients_200_response_inner_nutrition_caloricBreakdown.md) | | -**weight_per_serving** | [**crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | +**nutrients** | [**Vec**](parseIngredients_200_response_inner_nutrition_nutrients_inner.md) | | +**properties** | [**Vec**](parseIngredients_200_response_inner_nutrition_properties_inner.md) | | +**flavonoids** | [**Vec**](parseIngredients_200_response_inner_nutrition_properties_inner.md) | | +**caloric_breakdown** | [**models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](parseIngredients_200_response_inner_nutrition_caloricBreakdown.md) | | +**weight_per_serving** | [**models::ParseIngredients200ResponseInnerNutritionWeightPerServing**](parseIngredients_200_response_inner_nutrition_weightPerServing.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md b/rust/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md index 7faa1530c..6b22cdc58 100644 --- a/rust/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md +++ b/rust/docs/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**percent_protein** | **f32** | | -**percent_fat** | **f32** | | -**percent_carbs** | **f32** | | +**percent_protein** | **f64** | | +**percent_fat** | **f64** | | +**percent_carbs** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md b/rust/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md index 551a1be9b..9d61e456e 100644 --- a/rust/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md +++ b/rust/docs/ParseIngredients200ResponseInnerNutritionNutrientsInner.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | -**percent_of_daily_needs** | **f32** | | +**percent_of_daily_needs** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md b/rust/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md index 6725a48e0..8f0359d2d 100644 --- a/rust/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md +++ b/rust/docs/ParseIngredients200ResponseInnerNutritionPropertiesInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md b/rust/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md index 12d28d81c..fc287e9f7 100644 --- a/rust/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md +++ b/rust/docs/ParseIngredients200ResponseInnerNutritionWeightPerServing.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **f32** | | +**amount** | **f64** | | **unit** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/ProductsApi.md b/rust/docs/ProductsApi.md index b5ffb9613..ae578132b 100644 --- a/rust/docs/ProductsApi.md +++ b/rust/docs/ProductsApi.md @@ -20,7 +20,7 @@ Method | HTTP request | Description ## autocomplete_product_search -> crate::models::AutocompleteProductSearch200Response autocomplete_product_search(query, number) +> models::AutocompleteProductSearch200Response autocomplete_product_search(query, number) Autocomplete Product Search Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. @@ -35,7 +35,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::AutocompleteProductSearch200Response**](autocompleteProductSearch_200_response.md) +[**models::AutocompleteProductSearch200Response**](autocompleteProductSearch_200_response.md) ### Authorization @@ -51,7 +51,7 @@ Name | Type | Description | Required | Notes ## classify_grocery_product -> crate::models::ClassifyGroceryProduct200Response classify_grocery_product(classify_grocery_product_request, locale) +> models::ClassifyGroceryProduct200Response classify_grocery_product(classify_grocery_product_request, locale) Classify Grocery Product This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. @@ -66,7 +66,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::ClassifyGroceryProduct200Response**](classifyGroceryProduct_200_response.md) +[**models::ClassifyGroceryProduct200Response**](classifyGroceryProduct_200_response.md) ### Authorization @@ -82,7 +82,7 @@ Name | Type | Description | Required | Notes ## classify_grocery_product_bulk -> Vec classify_grocery_product_bulk(classify_grocery_product_bulk_request_inner, locale) +> Vec classify_grocery_product_bulk(classify_grocery_product_bulk_request_inner, locale) Classify Grocery Product Bulk Provide a set of product jsons, get back classified products. @@ -92,12 +92,12 @@ Provide a set of product jsons, get back classified products. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**classify_grocery_product_bulk_request_inner** | [**Vec**](classifyGroceryProductBulk_request_inner.md) | | [required] | +**classify_grocery_product_bulk_request_inner** | [**Vec**](classifyGroceryProductBulk_request_inner.md) | | [required] | **locale** | Option<**String**> | The display name of the returned category, supported is en_US (for American English) and en_GB (for British English). | | ### Return type -[**Vec**](classifyGroceryProductBulk_200_response_inner.md) +[**Vec**](classifyGroceryProductBulk_200_response_inner.md) ### Authorization @@ -113,7 +113,7 @@ Name | Type | Description | Required | Notes ## get_comparable_products -> crate::models::GetComparableProducts200Response get_comparable_products(upc) +> models::GetComparableProducts200Response get_comparable_products(upc) Get Comparable Products Find comparable products to the given one. @@ -123,11 +123,11 @@ Find comparable products to the given one. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**upc** | **f32** | The UPC of the product for which you want to find comparable products. | [required] | +**upc** | **f64** | The UPC of the product for which you want to find comparable products. | [required] | ### Return type -[**crate::models::GetComparableProducts200Response**](getComparableProducts_200_response.md) +[**models::GetComparableProducts200Response**](getComparableProducts_200_response.md) ### Authorization @@ -143,7 +143,7 @@ Name | Type | Description | Required | Notes ## get_product_information -> crate::models::GetProductInformation200Response get_product_information(id) +> models::GetProductInformation200Response get_product_information(id) Get Product Information Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving. @@ -157,7 +157,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetProductInformation200Response**](getProductInformation_200_response.md) +[**models::GetProductInformation200Response**](getProductInformation_200_response.md) ### Authorization @@ -183,7 +183,7 @@ Visualize a product's nutritional information as an image. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The id of the product. | [required] | +**id** | **f64** | The id of the product. | [required] | ### Return type @@ -213,7 +213,7 @@ Get a product's nutrition label as an image. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The product id. | [required] | +**id** | **f64** | The product id. | [required] | **show_optional_nutrients** | Option<**bool**> | Whether to show optional nutrients. | | **show_zero_values** | Option<**bool**> | Whether to show zero values. | | **show_ingredients** | Option<**bool**> | Whether to show a list of ingredients. | | @@ -246,7 +246,7 @@ Get a product's nutrition label as an HTML widget. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The product id. | [required] | +**id** | **f64** | The product id. | [required] | **default_css** | Option<**bool**> | Whether the default CSS should be added to the response. | |[default to true] **show_optional_nutrients** | Option<**bool**> | Whether to show optional nutrients. | | **show_zero_values** | Option<**bool**> | Whether to show zero values. | | @@ -270,7 +270,7 @@ Name | Type | Description | Required | Notes ## search_grocery_products -> crate::models::SearchGroceryProducts200Response search_grocery_products(query, min_calories, max_calories, min_carbs, max_carbs, min_protein, max_protein, min_fat, max_fat, add_product_information, offset, number) +> models::SearchGroceryProducts200Response search_grocery_products(query, min_calories, max_calories, min_carbs, max_carbs, min_protein, max_protein, min_fat, max_fat, add_product_information, offset, number) Search Grocery Products Search packaged food products, such as frozen pizza or Greek yogurt. @@ -281,21 +281,21 @@ Search packaged food products, such as frozen pizza or Greek yogurt. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **query** | Option<**String**> | The (natural language) search query. | | -**min_calories** | Option<**f32**> | The minimum amount of calories the product must have. | | -**max_calories** | Option<**f32**> | The maximum amount of calories the product can have. | | -**min_carbs** | Option<**f32**> | The minimum amount of carbohydrates in grams the product must have. | | -**max_carbs** | Option<**f32**> | The maximum amount of carbohydrates in grams the product can have. | | -**min_protein** | Option<**f32**> | The minimum amount of protein in grams the product must have. | | -**max_protein** | Option<**f32**> | The maximum amount of protein in grams the product can have. | | -**min_fat** | Option<**f32**> | The minimum amount of fat in grams the product must have. | | -**max_fat** | Option<**f32**> | The maximum amount of fat in grams the product can have. | | +**min_calories** | Option<**f64**> | The minimum amount of calories the product must have. | | +**max_calories** | Option<**f64**> | The maximum amount of calories the product can have. | | +**min_carbs** | Option<**f64**> | The minimum amount of carbohydrates in grams the product must have. | | +**max_carbs** | Option<**f64**> | The maximum amount of carbohydrates in grams the product can have. | | +**min_protein** | Option<**f64**> | The minimum amount of protein in grams the product must have. | | +**max_protein** | Option<**f64**> | The maximum amount of protein in grams the product can have. | | +**min_fat** | Option<**f64**> | The minimum amount of fat in grams the product must have. | | +**max_fat** | Option<**f64**> | The maximum amount of fat in grams the product can have. | | **add_product_information** | Option<**bool**> | If set to true, you get more information about the products returned. | | **offset** | Option<**i32**> | The number of results to skip (between 0 and 900). | | **number** | Option<**i32**> | The maximum number of items to return (between 1 and 100). Defaults to 10. | |[default to 10] ### Return type -[**crate::models::SearchGroceryProducts200Response**](searchGroceryProducts_200_response.md) +[**models::SearchGroceryProducts200Response**](searchGroceryProducts_200_response.md) ### Authorization @@ -311,7 +311,7 @@ Name | Type | Description | Required | Notes ## search_grocery_products_by_upc -> crate::models::SearchGroceryProductsByUpc200Response search_grocery_products_by_upc(upc) +> models::SearchGroceryProductsByUpc200Response search_grocery_products_by_upc(upc) Search Grocery Products by UPC Get information about a packaged food using its UPC. @@ -321,11 +321,11 @@ Get information about a packaged food using its UPC. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**upc** | **f32** | The product's UPC. | [required] | +**upc** | **f64** | The product's UPC. | [required] | ### Return type -[**crate::models::SearchGroceryProductsByUpc200Response**](searchGroceryProductsByUPC_200_response.md) +[**models::SearchGroceryProductsByUpc200Response**](searchGroceryProductsByUPC_200_response.md) ### Authorization diff --git a/rust/docs/RecipesApi.md b/rust/docs/RecipesApi.md index 2acbfe9a6..d145fd932 100644 --- a/rust/docs/RecipesApi.md +++ b/rust/docs/RecipesApi.md @@ -49,7 +49,7 @@ Method | HTTP request | Description ## analyze_a_recipe_search_query -> crate::models::AnalyzeARecipeSearchQuery200Response analyze_a_recipe_search_query(q) +> models::AnalyzeARecipeSearchQuery200Response analyze_a_recipe_search_query(q) Analyze a Recipe Search Query Parse a recipe search query to find out its intention. @@ -63,7 +63,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::AnalyzeARecipeSearchQuery200Response**](analyzeARecipeSearchQuery_200_response.md) +[**models::AnalyzeARecipeSearchQuery200Response**](analyzeARecipeSearchQuery_200_response.md) ### Authorization @@ -79,7 +79,7 @@ Name | Type | Description | Required | Notes ## analyze_recipe_instructions -> crate::models::AnalyzeRecipeInstructions200Response analyze_recipe_instructions(instructions) +> models::AnalyzeRecipeInstructions200Response analyze_recipe_instructions(instructions) Analyze Recipe Instructions This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used in. @@ -93,7 +93,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::AnalyzeRecipeInstructions200Response**](analyzeRecipeInstructions_200_response.md) +[**models::AnalyzeRecipeInstructions200Response**](analyzeRecipeInstructions_200_response.md) ### Authorization @@ -109,7 +109,7 @@ Name | Type | Description | Required | Notes ## autocomplete_recipe_search -> Vec autocomplete_recipe_search(query, number) +> Vec autocomplete_recipe_search(query, number) Autocomplete Recipe Search Autocomplete a partial input to suggest possible recipe names. @@ -124,7 +124,7 @@ Name | Type | Description | Required | Notes ### Return type -[**Vec**](autocompleteRecipeSearch_200_response_inner.md) +[**Vec**](autocompleteRecipeSearch_200_response_inner.md) ### Authorization @@ -140,7 +140,7 @@ Name | Type | Description | Required | Notes ## classify_cuisine -> crate::models::ClassifyCuisine200Response classify_cuisine(title, ingredient_list, language) +> models::ClassifyCuisine200Response classify_cuisine(title, ingredient_list, language) Classify Cuisine Classify the recipe's cuisine. @@ -156,7 +156,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::ClassifyCuisine200Response**](classifyCuisine_200_response.md) +[**models::ClassifyCuisine200Response**](classifyCuisine_200_response.md) ### Authorization @@ -172,7 +172,7 @@ Name | Type | Description | Required | Notes ## compute_glycemic_load -> crate::models::ComputeGlycemicLoad200Response compute_glycemic_load(compute_glycemic_load_request, language) +> models::ComputeGlycemicLoad200Response compute_glycemic_load(compute_glycemic_load_request, language) Compute Glycemic Load Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. @@ -187,7 +187,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::ComputeGlycemicLoad200Response**](computeGlycemicLoad_200_response.md) +[**models::ComputeGlycemicLoad200Response**](computeGlycemicLoad_200_response.md) ### Authorization @@ -203,7 +203,7 @@ Name | Type | Description | Required | Notes ## convert_amounts -> crate::models::ConvertAmounts200Response convert_amounts(ingredient_name, source_amount, source_unit, target_unit) +> models::ConvertAmounts200Response convert_amounts(ingredient_name, source_amount, source_unit, target_unit) Convert Amounts Convert amounts like \"2 cups of flour to grams\". @@ -214,13 +214,13 @@ Convert amounts like \"2 cups of flour to grams\". Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **ingredient_name** | **String** | The ingredient which you want to convert. | [required] | -**source_amount** | **f32** | The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". | [required] | +**source_amount** | **f64** | The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\". | [required] | **source_unit** | **String** | The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | [required] | **target_unit** | **String** | The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\" | [required] | ### Return type -[**crate::models::ConvertAmounts200Response**](convertAmounts_200_response.md) +[**models::ConvertAmounts200Response**](convertAmounts_200_response.md) ### Authorization @@ -236,7 +236,7 @@ Name | Type | Description | Required | Notes ## create_recipe_card -> crate::models::CreateRecipeCard200Response create_recipe_card(title, ingredients, instructions, ready_in_minutes, servings, mask, background_image, image, image_url, author, background_color, font_color, source) +> models::CreateRecipeCard200Response create_recipe_card(title, ingredients, instructions, ready_in_minutes, servings, mask, background_image, image, image_url, author, background_color, font_color, source) Create Recipe Card Generate a recipe card for a recipe. @@ -249,8 +249,8 @@ Name | Type | Description | Required | Notes **title** | **String** | The title of the recipe. | [required] | **ingredients** | **String** | The ingredient list of the recipe, one ingredient per line (separate lines with \\\\n). | [required] | **instructions** | **String** | The instructions to make the recipe. One step per line (separate lines with \\\\n). | [required] | -**ready_in_minutes** | **f32** | The number of minutes it takes to get the recipe on the table. | [required] | -**servings** | **f32** | The number of servings the recipe makes. | [required] | +**ready_in_minutes** | **f64** | The number of minutes it takes to get the recipe on the table. | [required] | +**servings** | **f64** | The number of servings the recipe makes. | [required] | **mask** | **String** | The mask to put over the recipe image ('ellipseMask', 'diamondMask', 'starMask', 'heartMask', 'potMask', 'fishMask'). | [required] | **background_image** | **String** | The background image ('none', 'background1', or 'background2'). | [required] | **image** | Option<**std::path::PathBuf**> | The binary image of the recipe as jpg. | | @@ -262,7 +262,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::CreateRecipeCard200Response**](createRecipeCard_200_response.md) +[**models::CreateRecipeCard200Response**](createRecipeCard_200_response.md) ### Authorization @@ -288,7 +288,7 @@ Visualize a recipe's equipment list as an image. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | ### Return type @@ -308,7 +308,7 @@ Name | Type | Description | Required | Notes ## extract_recipe_from_website -> crate::models::GetRecipeInformation200Response extract_recipe_from_website(url, force_extraction, analyze, include_nutrition, include_taste) +> models::GetRecipeInformation200Response extract_recipe_from_website(url, force_extraction, analyze, include_nutrition, include_taste) Extract Recipe from Website This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. @@ -326,7 +326,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipeInformation200Response**](getRecipeInformation_200_response.md) +[**models::GetRecipeInformation200Response**](getRecipeInformation_200_response.md) ### Authorization @@ -342,7 +342,7 @@ Name | Type | Description | Required | Notes ## get_analyzed_recipe_instructions -> crate::models::GetAnalyzedRecipeInstructions200Response get_analyzed_recipe_instructions(id, step_breakdown) +> models::GetAnalyzedRecipeInstructions200Response get_analyzed_recipe_instructions(id, step_breakdown) Get Analyzed Recipe Instructions Get an analyzed breakdown of a recipe's instructions. Each step is enriched with the ingredients and equipment required. @@ -357,7 +357,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetAnalyzedRecipeInstructions200Response**](getAnalyzedRecipeInstructions_200_response.md) +[**models::GetAnalyzedRecipeInstructions200Response**](getAnalyzedRecipeInstructions_200_response.md) ### Authorization @@ -373,7 +373,7 @@ Name | Type | Description | Required | Notes ## get_random_recipes -> crate::models::GetRandomRecipes200Response get_random_recipes(limit_license, include_nutrition, include_tags, exclude_tags, number) +> models::GetRandomRecipes200Response get_random_recipes(limit_license, include_nutrition, include_tags, exclude_tags, number) Get Random Recipes Find random (popular) recipes. If you need to filter recipes by diet, nutrition etc. you might want to consider using the complex recipe search endpoint and set the sort request parameter to random. @@ -391,7 +391,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRandomRecipes200Response**](getRandomRecipes_200_response.md) +[**models::GetRandomRecipes200Response**](getRandomRecipes_200_response.md) ### Authorization @@ -407,7 +407,7 @@ Name | Type | Description | Required | Notes ## get_recipe_equipment_by_id -> crate::models::GetRecipeEquipmentById200Response get_recipe_equipment_by_id(id) +> models::GetRecipeEquipmentById200Response get_recipe_equipment_by_id(id) Equipment by ID Get a recipe's equipment list. @@ -421,7 +421,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipeEquipmentById200Response**](getRecipeEquipmentByID_200_response.md) +[**models::GetRecipeEquipmentById200Response**](getRecipeEquipmentByID_200_response.md) ### Authorization @@ -437,7 +437,7 @@ Name | Type | Description | Required | Notes ## get_recipe_information -> crate::models::GetRecipeInformation200Response get_recipe_information(id, include_nutrition) +> models::GetRecipeInformation200Response get_recipe_information(id, include_nutrition) Get Recipe Information Use a recipe id to get full information about a recipe, such as ingredients, nutrition, diet and allergen information, etc. @@ -452,7 +452,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipeInformation200Response**](getRecipeInformation_200_response.md) +[**models::GetRecipeInformation200Response**](getRecipeInformation_200_response.md) ### Authorization @@ -468,7 +468,7 @@ Name | Type | Description | Required | Notes ## get_recipe_information_bulk -> Vec get_recipe_information_bulk(ids, include_nutrition) +> Vec get_recipe_information_bulk(ids, include_nutrition) Get Recipe Information Bulk Get information about multiple recipes at once. This is equivalent to calling the Get Recipe Information endpoint multiple times, but faster. @@ -483,7 +483,7 @@ Name | Type | Description | Required | Notes ### Return type -[**Vec**](getRecipeInformationBulk_200_response_inner.md) +[**Vec**](getRecipeInformationBulk_200_response_inner.md) ### Authorization @@ -499,7 +499,7 @@ Name | Type | Description | Required | Notes ## get_recipe_ingredients_by_id -> crate::models::GetRecipeIngredientsById200Response get_recipe_ingredients_by_id(id) +> models::GetRecipeIngredientsById200Response get_recipe_ingredients_by_id(id) Ingredients by ID Get a recipe's ingredient list. @@ -513,7 +513,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipeIngredientsById200Response**](getRecipeIngredientsByID_200_response.md) +[**models::GetRecipeIngredientsById200Response**](getRecipeIngredientsByID_200_response.md) ### Authorization @@ -529,7 +529,7 @@ Name | Type | Description | Required | Notes ## get_recipe_nutrition_widget_by_id -> crate::models::GetRecipeNutritionWidgetById200Response get_recipe_nutrition_widget_by_id(id) +> models::GetRecipeNutritionWidgetById200Response get_recipe_nutrition_widget_by_id(id) Nutrition by ID Get a recipe's nutrition data. @@ -543,7 +543,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipeNutritionWidgetById200Response**](getRecipeNutritionWidgetByID_200_response.md) +[**models::GetRecipeNutritionWidgetById200Response**](getRecipeNutritionWidgetByID_200_response.md) ### Authorization @@ -559,7 +559,7 @@ Name | Type | Description | Required | Notes ## get_recipe_price_breakdown_by_id -> crate::models::GetRecipePriceBreakdownById200Response get_recipe_price_breakdown_by_id(id) +> models::GetRecipePriceBreakdownById200Response get_recipe_price_breakdown_by_id(id) Price Breakdown by ID Get a recipe's price breakdown data. @@ -573,7 +573,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipePriceBreakdownById200Response**](getRecipePriceBreakdownByID_200_response.md) +[**models::GetRecipePriceBreakdownById200Response**](getRecipePriceBreakdownByID_200_response.md) ### Authorization @@ -589,7 +589,7 @@ Name | Type | Description | Required | Notes ## get_recipe_taste_by_id -> crate::models::GetRecipeTasteById200Response get_recipe_taste_by_id(id, normalize) +> models::GetRecipeTasteById200Response get_recipe_taste_by_id(id, normalize) Taste by ID Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. @@ -604,7 +604,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetRecipeTasteById200Response**](getRecipeTasteByID_200_response.md) +[**models::GetRecipeTasteById200Response**](getRecipeTasteByID_200_response.md) ### Authorization @@ -620,7 +620,7 @@ Name | Type | Description | Required | Notes ## get_similar_recipes -> Vec get_similar_recipes(id, number, limit_license) +> Vec get_similar_recipes(id, number, limit_license) Get Similar Recipes Find recipes which are similar to the given one. @@ -636,7 +636,7 @@ Name | Type | Description | Required | Notes ### Return type -[**Vec**](getSimilarRecipes_200_response_inner.md) +[**Vec**](getSimilarRecipes_200_response_inner.md) ### Authorization @@ -652,7 +652,7 @@ Name | Type | Description | Required | Notes ## guess_nutrition_by_dish_name -> crate::models::GuessNutritionByDishName200Response guess_nutrition_by_dish_name(title) +> models::GuessNutritionByDishName200Response guess_nutrition_by_dish_name(title) Guess Nutrition by Dish Name Estimate the macronutrients of a dish based on its title. @@ -666,7 +666,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GuessNutritionByDishName200Response**](guessNutritionByDishName_200_response.md) +[**models::GuessNutritionByDishName200Response**](guessNutritionByDishName_200_response.md) ### Authorization @@ -682,7 +682,7 @@ Name | Type | Description | Required | Notes ## parse_ingredients -> Vec parse_ingredients(ingredient_list, servings, language, include_nutrition) +> Vec parse_ingredients(ingredient_list, servings, language, include_nutrition) Parse Ingredients Extract an ingredient from plain text. @@ -693,13 +693,13 @@ Extract an ingredient from plain text. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **ingredient_list** | **String** | The ingredient list of the recipe, one ingredient per line. | [required] | -**servings** | **f32** | The number of servings that you can make from the ingredients. | [required] | +**servings** | **f64** | The number of servings that you can make from the ingredients. | [required] | **language** | Option<**String**> | The language of the input. Either 'en' or 'de'. | | **include_nutrition** | Option<**bool**> | | | ### Return type -[**Vec**](parseIngredients_200_response_inner.md) +[**Vec**](parseIngredients_200_response_inner.md) ### Authorization @@ -725,7 +725,7 @@ Visualize a recipe's price breakdown. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | ### Return type @@ -745,7 +745,7 @@ Name | Type | Description | Required | Notes ## quick_answer -> crate::models::QuickAnswer200Response quick_answer(q) +> models::QuickAnswer200Response quick_answer(q) Quick Answer Answer a nutrition related natural language question. @@ -759,7 +759,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::QuickAnswer200Response**](quickAnswer_200_response.md) +[**models::QuickAnswer200Response**](quickAnswer_200_response.md) ### Authorization @@ -785,7 +785,7 @@ Visualize a recipe's nutritional information as an image. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | ### Return type @@ -815,7 +815,7 @@ Get a recipe's nutrition label as an image. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | **show_optional_nutrients** | Option<**bool**> | Whether to show optional nutrients. | | **show_zero_values** | Option<**bool**> | Whether to show zero values. | | **show_ingredients** | Option<**bool**> | Whether to show a list of ingredients. | | @@ -848,7 +848,7 @@ Get a recipe's nutrition label as an HTML widget. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | **default_css** | Option<**bool**> | Whether the default CSS should be added to the response. | |[default to true] **show_optional_nutrients** | Option<**bool**> | Whether to show optional nutrients. | | **show_zero_values** | Option<**bool**> | Whether to show zero values. | | @@ -882,7 +882,7 @@ Get a recipe's taste as an image. The tastes supported are sweet, salty, sour, b Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**id** | **f32** | The recipe id. | [required] | +**id** | **f64** | The recipe id. | [required] | **normalize** | Option<**bool**> | Normalize to the strongest taste. | | **rgb** | Option<**String**> | Red, green, blue values for the chart color. | | @@ -904,7 +904,7 @@ Name | Type | Description | Required | Notes ## search_recipes -> crate::models::SearchRecipes200Response search_recipes(query, cuisine, exclude_cuisine, diet, intolerances, equipment, include_ingredients, exclude_ingredients, r#type, instructions_required, fill_ingredients, add_recipe_information, add_recipe_nutrition, author, tags, recipe_box_id, title_match, max_ready_time, min_servings, max_servings, ignore_pantry, sort, sort_direction, min_carbs, max_carbs, min_protein, max_protein, min_calories, max_calories, min_fat, max_fat, min_alcohol, max_alcohol, min_caffeine, max_caffeine, min_copper, max_copper, min_calcium, max_calcium, min_choline, max_choline, min_cholesterol, max_cholesterol, min_fluoride, max_fluoride, min_saturated_fat, max_saturated_fat, min_vitamin_a, max_vitamin_a, min_vitamin_c, max_vitamin_c, min_vitamin_d, max_vitamin_d, min_vitamin_e, max_vitamin_e, min_vitamin_k, max_vitamin_k, min_vitamin_b1, max_vitamin_b1, min_vitamin_b2, max_vitamin_b2, min_vitamin_b5, max_vitamin_b5, min_vitamin_b3, max_vitamin_b3, min_vitamin_b6, max_vitamin_b6, min_vitamin_b12, max_vitamin_b12, min_fiber, max_fiber, min_folate, max_folate, min_folic_acid, max_folic_acid, min_iodine, max_iodine, min_iron, max_iron, min_magnesium, max_magnesium, min_manganese, max_manganese, min_phosphorus, max_phosphorus, min_potassium, max_potassium, min_selenium, max_selenium, min_sodium, max_sodium, min_sugar, max_sugar, min_zinc, max_zinc, offset, number, limit_license) +> models::SearchRecipes200Response search_recipes(query, cuisine, exclude_cuisine, diet, intolerances, equipment, include_ingredients, exclude_ingredients, r#type, instructions_required, fill_ingredients, add_recipe_information, add_recipe_nutrition, author, tags, recipe_box_id, title_match, max_ready_time, min_servings, max_servings, ignore_pantry, sort, sort_direction, min_carbs, max_carbs, min_protein, max_protein, min_calories, max_calories, min_fat, max_fat, min_alcohol, max_alcohol, min_caffeine, max_caffeine, min_copper, max_copper, min_calcium, max_calcium, min_choline, max_choline, min_cholesterol, max_cholesterol, min_fluoride, max_fluoride, min_saturated_fat, max_saturated_fat, min_vitamin_a, max_vitamin_a, min_vitamin_c, max_vitamin_c, min_vitamin_d, max_vitamin_d, min_vitamin_e, max_vitamin_e, min_vitamin_k, max_vitamin_k, min_vitamin_b1, max_vitamin_b1, min_vitamin_b2, max_vitamin_b2, min_vitamin_b5, max_vitamin_b5, min_vitamin_b3, max_vitamin_b3, min_vitamin_b6, max_vitamin_b6, min_vitamin_b12, max_vitamin_b12, min_fiber, max_fiber, min_folate, max_folate, min_folic_acid, max_folic_acid, min_iodine, max_iodine, min_iron, max_iron, min_magnesium, max_magnesium, min_manganese, max_manganese, min_phosphorus, max_phosphorus, min_potassium, max_potassium, min_selenium, max_selenium, min_sodium, max_sodium, min_sugar, max_sugar, min_zinc, max_zinc, offset, number, limit_license) Search Recipes Search through hundreds of thousands of recipes using advanced filtering and ranking. NOTE: This method combines searching by query, by ingredients, and by nutrients into one endpoint. @@ -929,93 +929,93 @@ Name | Type | Description | Required | Notes **add_recipe_nutrition** | Option<**bool**> | If set to true, you get nutritional information about each recipes returned. | | **author** | Option<**String**> | The username of the recipe author. | | **tags** | Option<**String**> | The tags (can be diets, meal types, cuisines, or intolerances) that the recipe must have. | | -**recipe_box_id** | Option<**f32**> | The id of the recipe box to which the search should be limited to. | | +**recipe_box_id** | Option<**f64**> | The id of the recipe box to which the search should be limited to. | | **title_match** | Option<**String**> | Enter text that must be found in the title of the recipes. | | -**max_ready_time** | Option<**f32**> | The maximum time in minutes it should take to prepare and cook the recipe. | | -**min_servings** | Option<**f32**> | The minimum amount of servings the recipe is for. | | -**max_servings** | Option<**f32**> | The maximum amount of servings the recipe is for. | | +**max_ready_time** | Option<**f64**> | The maximum time in minutes it should take to prepare and cook the recipe. | | +**min_servings** | Option<**f64**> | The minimum amount of servings the recipe is for. | | +**max_servings** | Option<**f64**> | The maximum amount of servings the recipe is for. | | **ignore_pantry** | Option<**bool**> | Whether to ignore typical pantry items, such as water, salt, flour, etc. | |[default to false] **sort** | Option<**String**> | The strategy to sort recipes by. See a full list of supported sorting options. | | **sort_direction** | Option<**String**> | The direction in which to sort. Must be either 'asc' (ascending) or 'desc' (descending). | | -**min_carbs** | Option<**f32**> | The minimum amount of carbohydrates in grams the recipe must have. | | -**max_carbs** | Option<**f32**> | The maximum amount of carbohydrates in grams the recipe can have. | | -**min_protein** | Option<**f32**> | The minimum amount of protein in grams the recipe must have. | | -**max_protein** | Option<**f32**> | The maximum amount of protein in grams the recipe can have. | | -**min_calories** | Option<**f32**> | The minimum amount of calories the recipe must have. | | -**max_calories** | Option<**f32**> | The maximum amount of calories the recipe can have. | | -**min_fat** | Option<**f32**> | The minimum amount of fat in grams the recipe must have. | | -**max_fat** | Option<**f32**> | The maximum amount of fat in grams the recipe can have. | | -**min_alcohol** | Option<**f32**> | The minimum amount of alcohol in grams the recipe must have. | | -**max_alcohol** | Option<**f32**> | The maximum amount of alcohol in grams the recipe can have. | | -**min_caffeine** | Option<**f32**> | The minimum amount of caffeine in milligrams the recipe must have. | | -**max_caffeine** | Option<**f32**> | The maximum amount of caffeine in milligrams the recipe can have. | | -**min_copper** | Option<**f32**> | The minimum amount of copper in milligrams the recipe must have. | | -**max_copper** | Option<**f32**> | The maximum amount of copper in milligrams the recipe can have. | | -**min_calcium** | Option<**f32**> | The minimum amount of calcium in milligrams the recipe must have. | | -**max_calcium** | Option<**f32**> | The maximum amount of calcium in milligrams the recipe can have. | | -**min_choline** | Option<**f32**> | The minimum amount of choline in milligrams the recipe must have. | | -**max_choline** | Option<**f32**> | The maximum amount of choline in milligrams the recipe can have. | | -**min_cholesterol** | Option<**f32**> | The minimum amount of cholesterol in milligrams the recipe must have. | | -**max_cholesterol** | Option<**f32**> | The maximum amount of cholesterol in milligrams the recipe can have. | | -**min_fluoride** | Option<**f32**> | The minimum amount of fluoride in milligrams the recipe must have. | | -**max_fluoride** | Option<**f32**> | The maximum amount of fluoride in milligrams the recipe can have. | | -**min_saturated_fat** | Option<**f32**> | The minimum amount of saturated fat in grams the recipe must have. | | -**max_saturated_fat** | Option<**f32**> | The maximum amount of saturated fat in grams the recipe can have. | | -**min_vitamin_a** | Option<**f32**> | The minimum amount of Vitamin A in IU the recipe must have. | | -**max_vitamin_a** | Option<**f32**> | The maximum amount of Vitamin A in IU the recipe can have. | | -**min_vitamin_c** | Option<**f32**> | The minimum amount of Vitamin C milligrams the recipe must have. | | -**max_vitamin_c** | Option<**f32**> | The maximum amount of Vitamin C in milligrams the recipe can have. | | -**min_vitamin_d** | Option<**f32**> | The minimum amount of Vitamin D in micrograms the recipe must have. | | -**max_vitamin_d** | Option<**f32**> | The maximum amount of Vitamin D in micrograms the recipe can have. | | -**min_vitamin_e** | Option<**f32**> | The minimum amount of Vitamin E in milligrams the recipe must have. | | -**max_vitamin_e** | Option<**f32**> | The maximum amount of Vitamin E in milligrams the recipe can have. | | -**min_vitamin_k** | Option<**f32**> | The minimum amount of Vitamin K in micrograms the recipe must have. | | -**max_vitamin_k** | Option<**f32**> | The maximum amount of Vitamin K in micrograms the recipe can have. | | -**min_vitamin_b1** | Option<**f32**> | The minimum amount of Vitamin B1 in milligrams the recipe must have. | | -**max_vitamin_b1** | Option<**f32**> | The maximum amount of Vitamin B1 in milligrams the recipe can have. | | -**min_vitamin_b2** | Option<**f32**> | The minimum amount of Vitamin B2 in milligrams the recipe must have. | | -**max_vitamin_b2** | Option<**f32**> | The maximum amount of Vitamin B2 in milligrams the recipe can have. | | -**min_vitamin_b5** | Option<**f32**> | The minimum amount of Vitamin B5 in milligrams the recipe must have. | | -**max_vitamin_b5** | Option<**f32**> | The maximum amount of Vitamin B5 in milligrams the recipe can have. | | -**min_vitamin_b3** | Option<**f32**> | The minimum amount of Vitamin B3 in milligrams the recipe must have. | | -**max_vitamin_b3** | Option<**f32**> | The maximum amount of Vitamin B3 in milligrams the recipe can have. | | -**min_vitamin_b6** | Option<**f32**> | The minimum amount of Vitamin B6 in milligrams the recipe must have. | | -**max_vitamin_b6** | Option<**f32**> | The maximum amount of Vitamin B6 in milligrams the recipe can have. | | -**min_vitamin_b12** | Option<**f32**> | The minimum amount of Vitamin B12 in micrograms the recipe must have. | | -**max_vitamin_b12** | Option<**f32**> | The maximum amount of Vitamin B12 in micrograms the recipe can have. | | -**min_fiber** | Option<**f32**> | The minimum amount of fiber in grams the recipe must have. | | -**max_fiber** | Option<**f32**> | The maximum amount of fiber in grams the recipe can have. | | -**min_folate** | Option<**f32**> | The minimum amount of folate in micrograms the recipe must have. | | -**max_folate** | Option<**f32**> | The maximum amount of folate in micrograms the recipe can have. | | -**min_folic_acid** | Option<**f32**> | The minimum amount of folic acid in micrograms the recipe must have. | | -**max_folic_acid** | Option<**f32**> | The maximum amount of folic acid in micrograms the recipe can have. | | -**min_iodine** | Option<**f32**> | The minimum amount of iodine in micrograms the recipe must have. | | -**max_iodine** | Option<**f32**> | The maximum amount of iodine in micrograms the recipe can have. | | -**min_iron** | Option<**f32**> | The minimum amount of iron in milligrams the recipe must have. | | -**max_iron** | Option<**f32**> | The maximum amount of iron in milligrams the recipe can have. | | -**min_magnesium** | Option<**f32**> | The minimum amount of magnesium in milligrams the recipe must have. | | -**max_magnesium** | Option<**f32**> | The maximum amount of magnesium in milligrams the recipe can have. | | -**min_manganese** | Option<**f32**> | The minimum amount of manganese in milligrams the recipe must have. | | -**max_manganese** | Option<**f32**> | The maximum amount of manganese in milligrams the recipe can have. | | -**min_phosphorus** | Option<**f32**> | The minimum amount of phosphorus in milligrams the recipe must have. | | -**max_phosphorus** | Option<**f32**> | The maximum amount of phosphorus in milligrams the recipe can have. | | -**min_potassium** | Option<**f32**> | The minimum amount of potassium in milligrams the recipe must have. | | -**max_potassium** | Option<**f32**> | The maximum amount of potassium in milligrams the recipe can have. | | -**min_selenium** | Option<**f32**> | The minimum amount of selenium in micrograms the recipe must have. | | -**max_selenium** | Option<**f32**> | The maximum amount of selenium in micrograms the recipe can have. | | -**min_sodium** | Option<**f32**> | The minimum amount of sodium in milligrams the recipe must have. | | -**max_sodium** | Option<**f32**> | The maximum amount of sodium in milligrams the recipe can have. | | -**min_sugar** | Option<**f32**> | The minimum amount of sugar in grams the recipe must have. | | -**max_sugar** | Option<**f32**> | The maximum amount of sugar in grams the recipe can have. | | -**min_zinc** | Option<**f32**> | The minimum amount of zinc in milligrams the recipe must have. | | -**max_zinc** | Option<**f32**> | The maximum amount of zinc in milligrams the recipe can have. | | +**min_carbs** | Option<**f64**> | The minimum amount of carbohydrates in grams the recipe must have. | | +**max_carbs** | Option<**f64**> | The maximum amount of carbohydrates in grams the recipe can have. | | +**min_protein** | Option<**f64**> | The minimum amount of protein in grams the recipe must have. | | +**max_protein** | Option<**f64**> | The maximum amount of protein in grams the recipe can have. | | +**min_calories** | Option<**f64**> | The minimum amount of calories the recipe must have. | | +**max_calories** | Option<**f64**> | The maximum amount of calories the recipe can have. | | +**min_fat** | Option<**f64**> | The minimum amount of fat in grams the recipe must have. | | +**max_fat** | Option<**f64**> | The maximum amount of fat in grams the recipe can have. | | +**min_alcohol** | Option<**f64**> | The minimum amount of alcohol in grams the recipe must have. | | +**max_alcohol** | Option<**f64**> | The maximum amount of alcohol in grams the recipe can have. | | +**min_caffeine** | Option<**f64**> | The minimum amount of caffeine in milligrams the recipe must have. | | +**max_caffeine** | Option<**f64**> | The maximum amount of caffeine in milligrams the recipe can have. | | +**min_copper** | Option<**f64**> | The minimum amount of copper in milligrams the recipe must have. | | +**max_copper** | Option<**f64**> | The maximum amount of copper in milligrams the recipe can have. | | +**min_calcium** | Option<**f64**> | The minimum amount of calcium in milligrams the recipe must have. | | +**max_calcium** | Option<**f64**> | The maximum amount of calcium in milligrams the recipe can have. | | +**min_choline** | Option<**f64**> | The minimum amount of choline in milligrams the recipe must have. | | +**max_choline** | Option<**f64**> | The maximum amount of choline in milligrams the recipe can have. | | +**min_cholesterol** | Option<**f64**> | The minimum amount of cholesterol in milligrams the recipe must have. | | +**max_cholesterol** | Option<**f64**> | The maximum amount of cholesterol in milligrams the recipe can have. | | +**min_fluoride** | Option<**f64**> | The minimum amount of fluoride in milligrams the recipe must have. | | +**max_fluoride** | Option<**f64**> | The maximum amount of fluoride in milligrams the recipe can have. | | +**min_saturated_fat** | Option<**f64**> | The minimum amount of saturated fat in grams the recipe must have. | | +**max_saturated_fat** | Option<**f64**> | The maximum amount of saturated fat in grams the recipe can have. | | +**min_vitamin_a** | Option<**f64**> | The minimum amount of Vitamin A in IU the recipe must have. | | +**max_vitamin_a** | Option<**f64**> | The maximum amount of Vitamin A in IU the recipe can have. | | +**min_vitamin_c** | Option<**f64**> | The minimum amount of Vitamin C milligrams the recipe must have. | | +**max_vitamin_c** | Option<**f64**> | The maximum amount of Vitamin C in milligrams the recipe can have. | | +**min_vitamin_d** | Option<**f64**> | The minimum amount of Vitamin D in micrograms the recipe must have. | | +**max_vitamin_d** | Option<**f64**> | The maximum amount of Vitamin D in micrograms the recipe can have. | | +**min_vitamin_e** | Option<**f64**> | The minimum amount of Vitamin E in milligrams the recipe must have. | | +**max_vitamin_e** | Option<**f64**> | The maximum amount of Vitamin E in milligrams the recipe can have. | | +**min_vitamin_k** | Option<**f64**> | The minimum amount of Vitamin K in micrograms the recipe must have. | | +**max_vitamin_k** | Option<**f64**> | The maximum amount of Vitamin K in micrograms the recipe can have. | | +**min_vitamin_b1** | Option<**f64**> | The minimum amount of Vitamin B1 in milligrams the recipe must have. | | +**max_vitamin_b1** | Option<**f64**> | The maximum amount of Vitamin B1 in milligrams the recipe can have. | | +**min_vitamin_b2** | Option<**f64**> | The minimum amount of Vitamin B2 in milligrams the recipe must have. | | +**max_vitamin_b2** | Option<**f64**> | The maximum amount of Vitamin B2 in milligrams the recipe can have. | | +**min_vitamin_b5** | Option<**f64**> | The minimum amount of Vitamin B5 in milligrams the recipe must have. | | +**max_vitamin_b5** | Option<**f64**> | The maximum amount of Vitamin B5 in milligrams the recipe can have. | | +**min_vitamin_b3** | Option<**f64**> | The minimum amount of Vitamin B3 in milligrams the recipe must have. | | +**max_vitamin_b3** | Option<**f64**> | The maximum amount of Vitamin B3 in milligrams the recipe can have. | | +**min_vitamin_b6** | Option<**f64**> | The minimum amount of Vitamin B6 in milligrams the recipe must have. | | +**max_vitamin_b6** | Option<**f64**> | The maximum amount of Vitamin B6 in milligrams the recipe can have. | | +**min_vitamin_b12** | Option<**f64**> | The minimum amount of Vitamin B12 in micrograms the recipe must have. | | +**max_vitamin_b12** | Option<**f64**> | The maximum amount of Vitamin B12 in micrograms the recipe can have. | | +**min_fiber** | Option<**f64**> | The minimum amount of fiber in grams the recipe must have. | | +**max_fiber** | Option<**f64**> | The maximum amount of fiber in grams the recipe can have. | | +**min_folate** | Option<**f64**> | The minimum amount of folate in micrograms the recipe must have. | | +**max_folate** | Option<**f64**> | The maximum amount of folate in micrograms the recipe can have. | | +**min_folic_acid** | Option<**f64**> | The minimum amount of folic acid in micrograms the recipe must have. | | +**max_folic_acid** | Option<**f64**> | The maximum amount of folic acid in micrograms the recipe can have. | | +**min_iodine** | Option<**f64**> | The minimum amount of iodine in micrograms the recipe must have. | | +**max_iodine** | Option<**f64**> | The maximum amount of iodine in micrograms the recipe can have. | | +**min_iron** | Option<**f64**> | The minimum amount of iron in milligrams the recipe must have. | | +**max_iron** | Option<**f64**> | The maximum amount of iron in milligrams the recipe can have. | | +**min_magnesium** | Option<**f64**> | The minimum amount of magnesium in milligrams the recipe must have. | | +**max_magnesium** | Option<**f64**> | The maximum amount of magnesium in milligrams the recipe can have. | | +**min_manganese** | Option<**f64**> | The minimum amount of manganese in milligrams the recipe must have. | | +**max_manganese** | Option<**f64**> | The maximum amount of manganese in milligrams the recipe can have. | | +**min_phosphorus** | Option<**f64**> | The minimum amount of phosphorus in milligrams the recipe must have. | | +**max_phosphorus** | Option<**f64**> | The maximum amount of phosphorus in milligrams the recipe can have. | | +**min_potassium** | Option<**f64**> | The minimum amount of potassium in milligrams the recipe must have. | | +**max_potassium** | Option<**f64**> | The maximum amount of potassium in milligrams the recipe can have. | | +**min_selenium** | Option<**f64**> | The minimum amount of selenium in micrograms the recipe must have. | | +**max_selenium** | Option<**f64**> | The maximum amount of selenium in micrograms the recipe can have. | | +**min_sodium** | Option<**f64**> | The minimum amount of sodium in milligrams the recipe must have. | | +**max_sodium** | Option<**f64**> | The maximum amount of sodium in milligrams the recipe can have. | | +**min_sugar** | Option<**f64**> | The minimum amount of sugar in grams the recipe must have. | | +**max_sugar** | Option<**f64**> | The maximum amount of sugar in grams the recipe can have. | | +**min_zinc** | Option<**f64**> | The minimum amount of zinc in milligrams the recipe must have. | | +**max_zinc** | Option<**f64**> | The maximum amount of zinc in milligrams the recipe can have. | | **offset** | Option<**i32**> | The number of results to skip (between 0 and 900). | | **number** | Option<**i32**> | The maximum number of items to return (between 1 and 100). Defaults to 10. | |[default to 10] **limit_license** | Option<**bool**> | Whether the recipes should have an open license that allows display with proper attribution. | |[default to true] ### Return type -[**crate::models::SearchRecipes200Response**](searchRecipes_200_response.md) +[**models::SearchRecipes200Response**](searchRecipes_200_response.md) ### Authorization @@ -1031,7 +1031,7 @@ Name | Type | Description | Required | Notes ## search_recipes_by_ingredients -> Vec search_recipes_by_ingredients(ingredients, number, limit_license, ranking, ignore_pantry) +> Vec search_recipes_by_ingredients(ingredients, number, limit_license, ranking, ignore_pantry) Search Recipes by Ingredients Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post shopping). @@ -1044,12 +1044,12 @@ Name | Type | Description | Required | Notes **ingredients** | Option<**String**> | A comma-separated list of ingredients that the recipes should contain. | | **number** | Option<**i32**> | The maximum number of items to return (between 1 and 100). Defaults to 10. | |[default to 10] **limit_license** | Option<**bool**> | Whether the recipes should have an open license that allows display with proper attribution. | |[default to true] -**ranking** | Option<**f32**> | Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. | | +**ranking** | Option<**f64**> | Whether to maximize used ingredients (1) or minimize missing ingredients (2) first. | | **ignore_pantry** | Option<**bool**> | Whether to ignore typical pantry items, such as water, salt, flour, etc. | |[default to false] ### Return type -[**Vec**](searchRecipesByIngredients_200_response_inner.md) +[**Vec**](searchRecipesByIngredients_200_response_inner.md) ### Authorization @@ -1065,7 +1065,7 @@ Name | Type | Description | Required | Notes ## search_recipes_by_nutrients -> Vec search_recipes_by_nutrients(min_carbs, max_carbs, min_protein, max_protein, min_calories, max_calories, min_fat, max_fat, min_alcohol, max_alcohol, min_caffeine, max_caffeine, min_copper, max_copper, min_calcium, max_calcium, min_choline, max_choline, min_cholesterol, max_cholesterol, min_fluoride, max_fluoride, min_saturated_fat, max_saturated_fat, min_vitamin_a, max_vitamin_a, min_vitamin_c, max_vitamin_c, min_vitamin_d, max_vitamin_d, min_vitamin_e, max_vitamin_e, min_vitamin_k, max_vitamin_k, min_vitamin_b1, max_vitamin_b1, min_vitamin_b2, max_vitamin_b2, min_vitamin_b5, max_vitamin_b5, min_vitamin_b3, max_vitamin_b3, min_vitamin_b6, max_vitamin_b6, min_vitamin_b12, max_vitamin_b12, min_fiber, max_fiber, min_folate, max_folate, min_folic_acid, max_folic_acid, min_iodine, max_iodine, min_iron, max_iron, min_magnesium, max_magnesium, min_manganese, max_manganese, min_phosphorus, max_phosphorus, min_potassium, max_potassium, min_selenium, max_selenium, min_sodium, max_sodium, min_sugar, max_sugar, min_zinc, max_zinc, offset, number, random, limit_license) +> Vec search_recipes_by_nutrients(min_carbs, max_carbs, min_protein, max_protein, min_calories, max_calories, min_fat, max_fat, min_alcohol, max_alcohol, min_caffeine, max_caffeine, min_copper, max_copper, min_calcium, max_calcium, min_choline, max_choline, min_cholesterol, max_cholesterol, min_fluoride, max_fluoride, min_saturated_fat, max_saturated_fat, min_vitamin_a, max_vitamin_a, min_vitamin_c, max_vitamin_c, min_vitamin_d, max_vitamin_d, min_vitamin_e, max_vitamin_e, min_vitamin_k, max_vitamin_k, min_vitamin_b1, max_vitamin_b1, min_vitamin_b2, max_vitamin_b2, min_vitamin_b5, max_vitamin_b5, min_vitamin_b3, max_vitamin_b3, min_vitamin_b6, max_vitamin_b6, min_vitamin_b12, max_vitamin_b12, min_fiber, max_fiber, min_folate, max_folate, min_folic_acid, max_folic_acid, min_iodine, max_iodine, min_iron, max_iron, min_magnesium, max_magnesium, min_manganese, max_manganese, min_phosphorus, max_phosphorus, min_potassium, max_potassium, min_selenium, max_selenium, min_sodium, max_sodium, min_sugar, max_sugar, min_zinc, max_zinc, offset, number, random, limit_license) Search Recipes by Nutrients Find a set of recipes that adhere to the given nutritional limits. You may set limits for macronutrients (calories, protein, fat, and carbohydrate) and/or many micronutrients. @@ -1075,78 +1075,78 @@ Find a set of recipes that adhere to the given nutritional limits. You may set l Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- -**min_carbs** | Option<**f32**> | The minimum amount of carbohydrates in grams the recipe must have. | | -**max_carbs** | Option<**f32**> | The maximum amount of carbohydrates in grams the recipe can have. | | -**min_protein** | Option<**f32**> | The minimum amount of protein in grams the recipe must have. | | -**max_protein** | Option<**f32**> | The maximum amount of protein in grams the recipe can have. | | -**min_calories** | Option<**f32**> | The minimum amount of calories the recipe must have. | | -**max_calories** | Option<**f32**> | The maximum amount of calories the recipe can have. | | -**min_fat** | Option<**f32**> | The minimum amount of fat in grams the recipe must have. | | -**max_fat** | Option<**f32**> | The maximum amount of fat in grams the recipe can have. | | -**min_alcohol** | Option<**f32**> | The minimum amount of alcohol in grams the recipe must have. | | -**max_alcohol** | Option<**f32**> | The maximum amount of alcohol in grams the recipe can have. | | -**min_caffeine** | Option<**f32**> | The minimum amount of caffeine in milligrams the recipe must have. | | -**max_caffeine** | Option<**f32**> | The maximum amount of caffeine in milligrams the recipe can have. | | -**min_copper** | Option<**f32**> | The minimum amount of copper in milligrams the recipe must have. | | -**max_copper** | Option<**f32**> | The maximum amount of copper in milligrams the recipe can have. | | -**min_calcium** | Option<**f32**> | The minimum amount of calcium in milligrams the recipe must have. | | -**max_calcium** | Option<**f32**> | The maximum amount of calcium in milligrams the recipe can have. | | -**min_choline** | Option<**f32**> | The minimum amount of choline in milligrams the recipe must have. | | -**max_choline** | Option<**f32**> | The maximum amount of choline in milligrams the recipe can have. | | -**min_cholesterol** | Option<**f32**> | The minimum amount of cholesterol in milligrams the recipe must have. | | -**max_cholesterol** | Option<**f32**> | The maximum amount of cholesterol in milligrams the recipe can have. | | -**min_fluoride** | Option<**f32**> | The minimum amount of fluoride in milligrams the recipe must have. | | -**max_fluoride** | Option<**f32**> | The maximum amount of fluoride in milligrams the recipe can have. | | -**min_saturated_fat** | Option<**f32**> | The minimum amount of saturated fat in grams the recipe must have. | | -**max_saturated_fat** | Option<**f32**> | The maximum amount of saturated fat in grams the recipe can have. | | -**min_vitamin_a** | Option<**f32**> | The minimum amount of Vitamin A in IU the recipe must have. | | -**max_vitamin_a** | Option<**f32**> | The maximum amount of Vitamin A in IU the recipe can have. | | -**min_vitamin_c** | Option<**f32**> | The minimum amount of Vitamin C in milligrams the recipe must have. | | -**max_vitamin_c** | Option<**f32**> | The maximum amount of Vitamin C in milligrams the recipe can have. | | -**min_vitamin_d** | Option<**f32**> | The minimum amount of Vitamin D in micrograms the recipe must have. | | -**max_vitamin_d** | Option<**f32**> | The maximum amount of Vitamin D in micrograms the recipe can have. | | -**min_vitamin_e** | Option<**f32**> | The minimum amount of Vitamin E in milligrams the recipe must have. | | -**max_vitamin_e** | Option<**f32**> | The maximum amount of Vitamin E in milligrams the recipe can have. | | -**min_vitamin_k** | Option<**f32**> | The minimum amount of Vitamin K in micrograms the recipe must have. | | -**max_vitamin_k** | Option<**f32**> | The maximum amount of Vitamin K in micrograms the recipe can have. | | -**min_vitamin_b1** | Option<**f32**> | The minimum amount of Vitamin B1 in milligrams the recipe must have. | | -**max_vitamin_b1** | Option<**f32**> | The maximum amount of Vitamin B1 in milligrams the recipe can have. | | -**min_vitamin_b2** | Option<**f32**> | The minimum amount of Vitamin B2 in milligrams the recipe must have. | | -**max_vitamin_b2** | Option<**f32**> | The maximum amount of Vitamin B2 in milligrams the recipe can have. | | -**min_vitamin_b5** | Option<**f32**> | The minimum amount of Vitamin B5 in milligrams the recipe must have. | | -**max_vitamin_b5** | Option<**f32**> | The maximum amount of Vitamin B5 in milligrams the recipe can have. | | -**min_vitamin_b3** | Option<**f32**> | The minimum amount of Vitamin B3 in milligrams the recipe must have. | | -**max_vitamin_b3** | Option<**f32**> | The maximum amount of Vitamin B3 in milligrams the recipe can have. | | -**min_vitamin_b6** | Option<**f32**> | The minimum amount of Vitamin B6 in milligrams the recipe must have. | | -**max_vitamin_b6** | Option<**f32**> | The maximum amount of Vitamin B6 in milligrams the recipe can have. | | -**min_vitamin_b12** | Option<**f32**> | The minimum amount of Vitamin B12 in micrograms the recipe must have. | | -**max_vitamin_b12** | Option<**f32**> | The maximum amount of Vitamin B12 in micrograms the recipe can have. | | -**min_fiber** | Option<**f32**> | The minimum amount of fiber in grams the recipe must have. | | -**max_fiber** | Option<**f32**> | The maximum amount of fiber in grams the recipe can have. | | -**min_folate** | Option<**f32**> | The minimum amount of folate in micrograms the recipe must have. | | -**max_folate** | Option<**f32**> | The maximum amount of folate in micrograms the recipe can have. | | -**min_folic_acid** | Option<**f32**> | The minimum amount of folic acid in micrograms the recipe must have. | | -**max_folic_acid** | Option<**f32**> | The maximum amount of folic acid in micrograms the recipe can have. | | -**min_iodine** | Option<**f32**> | The minimum amount of iodine in micrograms the recipe must have. | | -**max_iodine** | Option<**f32**> | The maximum amount of iodine in micrograms the recipe can have. | | -**min_iron** | Option<**f32**> | The minimum amount of iron in milligrams the recipe must have. | | -**max_iron** | Option<**f32**> | The maximum amount of iron in milligrams the recipe can have. | | -**min_magnesium** | Option<**f32**> | The minimum amount of magnesium in milligrams the recipe must have. | | -**max_magnesium** | Option<**f32**> | The maximum amount of magnesium in milligrams the recipe can have. | | -**min_manganese** | Option<**f32**> | The minimum amount of manganese in milligrams the recipe must have. | | -**max_manganese** | Option<**f32**> | The maximum amount of manganese in milligrams the recipe can have. | | -**min_phosphorus** | Option<**f32**> | The minimum amount of phosphorus in milligrams the recipe must have. | | -**max_phosphorus** | Option<**f32**> | The maximum amount of phosphorus in milligrams the recipe can have. | | -**min_potassium** | Option<**f32**> | The minimum amount of potassium in milligrams the recipe must have. | | -**max_potassium** | Option<**f32**> | The maximum amount of potassium in milligrams the recipe can have. | | -**min_selenium** | Option<**f32**> | The minimum amount of selenium in micrograms the recipe must have. | | -**max_selenium** | Option<**f32**> | The maximum amount of selenium in micrograms the recipe can have. | | -**min_sodium** | Option<**f32**> | The minimum amount of sodium in milligrams the recipe must have. | | -**max_sodium** | Option<**f32**> | The maximum amount of sodium in milligrams the recipe can have. | | -**min_sugar** | Option<**f32**> | The minimum amount of sugar in grams the recipe must have. | | -**max_sugar** | Option<**f32**> | The maximum amount of sugar in grams the recipe can have. | | -**min_zinc** | Option<**f32**> | The minimum amount of zinc in milligrams the recipe must have. | | -**max_zinc** | Option<**f32**> | The maximum amount of zinc in milligrams the recipe can have. | | +**min_carbs** | Option<**f64**> | The minimum amount of carbohydrates in grams the recipe must have. | | +**max_carbs** | Option<**f64**> | The maximum amount of carbohydrates in grams the recipe can have. | | +**min_protein** | Option<**f64**> | The minimum amount of protein in grams the recipe must have. | | +**max_protein** | Option<**f64**> | The maximum amount of protein in grams the recipe can have. | | +**min_calories** | Option<**f64**> | The minimum amount of calories the recipe must have. | | +**max_calories** | Option<**f64**> | The maximum amount of calories the recipe can have. | | +**min_fat** | Option<**f64**> | The minimum amount of fat in grams the recipe must have. | | +**max_fat** | Option<**f64**> | The maximum amount of fat in grams the recipe can have. | | +**min_alcohol** | Option<**f64**> | The minimum amount of alcohol in grams the recipe must have. | | +**max_alcohol** | Option<**f64**> | The maximum amount of alcohol in grams the recipe can have. | | +**min_caffeine** | Option<**f64**> | The minimum amount of caffeine in milligrams the recipe must have. | | +**max_caffeine** | Option<**f64**> | The maximum amount of caffeine in milligrams the recipe can have. | | +**min_copper** | Option<**f64**> | The minimum amount of copper in milligrams the recipe must have. | | +**max_copper** | Option<**f64**> | The maximum amount of copper in milligrams the recipe can have. | | +**min_calcium** | Option<**f64**> | The minimum amount of calcium in milligrams the recipe must have. | | +**max_calcium** | Option<**f64**> | The maximum amount of calcium in milligrams the recipe can have. | | +**min_choline** | Option<**f64**> | The minimum amount of choline in milligrams the recipe must have. | | +**max_choline** | Option<**f64**> | The maximum amount of choline in milligrams the recipe can have. | | +**min_cholesterol** | Option<**f64**> | The minimum amount of cholesterol in milligrams the recipe must have. | | +**max_cholesterol** | Option<**f64**> | The maximum amount of cholesterol in milligrams the recipe can have. | | +**min_fluoride** | Option<**f64**> | The minimum amount of fluoride in milligrams the recipe must have. | | +**max_fluoride** | Option<**f64**> | The maximum amount of fluoride in milligrams the recipe can have. | | +**min_saturated_fat** | Option<**f64**> | The minimum amount of saturated fat in grams the recipe must have. | | +**max_saturated_fat** | Option<**f64**> | The maximum amount of saturated fat in grams the recipe can have. | | +**min_vitamin_a** | Option<**f64**> | The minimum amount of Vitamin A in IU the recipe must have. | | +**max_vitamin_a** | Option<**f64**> | The maximum amount of Vitamin A in IU the recipe can have. | | +**min_vitamin_c** | Option<**f64**> | The minimum amount of Vitamin C in milligrams the recipe must have. | | +**max_vitamin_c** | Option<**f64**> | The maximum amount of Vitamin C in milligrams the recipe can have. | | +**min_vitamin_d** | Option<**f64**> | The minimum amount of Vitamin D in micrograms the recipe must have. | | +**max_vitamin_d** | Option<**f64**> | The maximum amount of Vitamin D in micrograms the recipe can have. | | +**min_vitamin_e** | Option<**f64**> | The minimum amount of Vitamin E in milligrams the recipe must have. | | +**max_vitamin_e** | Option<**f64**> | The maximum amount of Vitamin E in milligrams the recipe can have. | | +**min_vitamin_k** | Option<**f64**> | The minimum amount of Vitamin K in micrograms the recipe must have. | | +**max_vitamin_k** | Option<**f64**> | The maximum amount of Vitamin K in micrograms the recipe can have. | | +**min_vitamin_b1** | Option<**f64**> | The minimum amount of Vitamin B1 in milligrams the recipe must have. | | +**max_vitamin_b1** | Option<**f64**> | The maximum amount of Vitamin B1 in milligrams the recipe can have. | | +**min_vitamin_b2** | Option<**f64**> | The minimum amount of Vitamin B2 in milligrams the recipe must have. | | +**max_vitamin_b2** | Option<**f64**> | The maximum amount of Vitamin B2 in milligrams the recipe can have. | | +**min_vitamin_b5** | Option<**f64**> | The minimum amount of Vitamin B5 in milligrams the recipe must have. | | +**max_vitamin_b5** | Option<**f64**> | The maximum amount of Vitamin B5 in milligrams the recipe can have. | | +**min_vitamin_b3** | Option<**f64**> | The minimum amount of Vitamin B3 in milligrams the recipe must have. | | +**max_vitamin_b3** | Option<**f64**> | The maximum amount of Vitamin B3 in milligrams the recipe can have. | | +**min_vitamin_b6** | Option<**f64**> | The minimum amount of Vitamin B6 in milligrams the recipe must have. | | +**max_vitamin_b6** | Option<**f64**> | The maximum amount of Vitamin B6 in milligrams the recipe can have. | | +**min_vitamin_b12** | Option<**f64**> | The minimum amount of Vitamin B12 in micrograms the recipe must have. | | +**max_vitamin_b12** | Option<**f64**> | The maximum amount of Vitamin B12 in micrograms the recipe can have. | | +**min_fiber** | Option<**f64**> | The minimum amount of fiber in grams the recipe must have. | | +**max_fiber** | Option<**f64**> | The maximum amount of fiber in grams the recipe can have. | | +**min_folate** | Option<**f64**> | The minimum amount of folate in micrograms the recipe must have. | | +**max_folate** | Option<**f64**> | The maximum amount of folate in micrograms the recipe can have. | | +**min_folic_acid** | Option<**f64**> | The minimum amount of folic acid in micrograms the recipe must have. | | +**max_folic_acid** | Option<**f64**> | The maximum amount of folic acid in micrograms the recipe can have. | | +**min_iodine** | Option<**f64**> | The minimum amount of iodine in micrograms the recipe must have. | | +**max_iodine** | Option<**f64**> | The maximum amount of iodine in micrograms the recipe can have. | | +**min_iron** | Option<**f64**> | The minimum amount of iron in milligrams the recipe must have. | | +**max_iron** | Option<**f64**> | The maximum amount of iron in milligrams the recipe can have. | | +**min_magnesium** | Option<**f64**> | The minimum amount of magnesium in milligrams the recipe must have. | | +**max_magnesium** | Option<**f64**> | The maximum amount of magnesium in milligrams the recipe can have. | | +**min_manganese** | Option<**f64**> | The minimum amount of manganese in milligrams the recipe must have. | | +**max_manganese** | Option<**f64**> | The maximum amount of manganese in milligrams the recipe can have. | | +**min_phosphorus** | Option<**f64**> | The minimum amount of phosphorus in milligrams the recipe must have. | | +**max_phosphorus** | Option<**f64**> | The maximum amount of phosphorus in milligrams the recipe can have. | | +**min_potassium** | Option<**f64**> | The minimum amount of potassium in milligrams the recipe must have. | | +**max_potassium** | Option<**f64**> | The maximum amount of potassium in milligrams the recipe can have. | | +**min_selenium** | Option<**f64**> | The minimum amount of selenium in micrograms the recipe must have. | | +**max_selenium** | Option<**f64**> | The maximum amount of selenium in micrograms the recipe can have. | | +**min_sodium** | Option<**f64**> | The minimum amount of sodium in milligrams the recipe must have. | | +**max_sodium** | Option<**f64**> | The maximum amount of sodium in milligrams the recipe can have. | | +**min_sugar** | Option<**f64**> | The minimum amount of sugar in grams the recipe must have. | | +**max_sugar** | Option<**f64**> | The maximum amount of sugar in grams the recipe can have. | | +**min_zinc** | Option<**f64**> | The minimum amount of zinc in milligrams the recipe must have. | | +**max_zinc** | Option<**f64**> | The maximum amount of zinc in milligrams the recipe can have. | | **offset** | Option<**i32**> | The number of results to skip (between 0 and 900). | | **number** | Option<**i32**> | The maximum number of items to return (between 1 and 100). Defaults to 10. | |[default to 10] **random** | Option<**bool**> | If true, every request will give you a random set of recipes within the requested limits. | | @@ -1154,7 +1154,7 @@ Name | Type | Description | Required | Notes ### Return type -[**Vec**](searchRecipesByNutrients_200_response_inner.md) +[**Vec**](searchRecipesByNutrients_200_response_inner.md) ### Authorization @@ -1170,7 +1170,7 @@ Name | Type | Description | Required | Notes ## summarize_recipe -> crate::models::SummarizeRecipe200Response summarize_recipe(id) +> models::SummarizeRecipe200Response summarize_recipe(id) Summarize Recipe Automatically generate a short description that summarizes key information about the recipe. @@ -1184,7 +1184,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::SummarizeRecipe200Response**](summarizeRecipe_200_response.md) +[**models::SummarizeRecipe200Response**](summarizeRecipe_200_response.md) ### Authorization @@ -1244,9 +1244,9 @@ Visualize the price breakdown of a recipe. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **ingredient_list** | **String** | The ingredient list of the recipe, one ingredient per line. | [required] | -**servings** | **f32** | The number of servings. | [required] | +**servings** | **f64** | The number of servings. | [required] | **language** | Option<**String**> | The language of the input. Either 'en' or 'de'. | | -**mode** | Option<**f32**> | The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). | | +**mode** | Option<**f64**> | The mode in which the widget should be delivered. 1 = separate views (compact), 2 = all in one view (full). | | **default_css** | Option<**bool**> | Whether the default CSS should be added to the response. | | **show_backlink** | Option<**bool**> | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | | @@ -1342,7 +1342,7 @@ Visualize a recipe's nutritional information as HTML including CSS. Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **ingredient_list** | **String** | The ingredient list of the recipe, one ingredient per line. | [required] | -**servings** | **f32** | The number of servings. | [required] | +**servings** | **f64** | The number of servings. | [required] | **language** | Option<**String**> | The language of the input. Either 'en' or 'de'. | | **default_css** | Option<**bool**> | Whether the default CSS should be added to the response. | | **show_backlink** | Option<**bool**> | Whether to show a backlink to spoonacular. If set false, this call counts against your quota. | | diff --git a/rust/docs/SearchAllFood200Response.md b/rust/docs/SearchAllFood200Response.md index 8d0856ba4..c5836583e 100644 --- a/rust/docs/SearchAllFood200Response.md +++ b/rust/docs/SearchAllFood200Response.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **total_results** | **i32** | | **limit** | **i32** | | **offset** | **i32** | | -**search_results** | [**Vec**](searchAllFood_200_response_searchResults_inner.md) | | +**search_results** | [**Vec**](searchAllFood_200_response_searchResults_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchAllFood200ResponseSearchResultsInner.md b/rust/docs/SearchAllFood200ResponseSearchResultsInner.md index 059187958..b10f1f054 100644 --- a/rust/docs/SearchAllFood200ResponseSearchResultsInner.md +++ b/rust/docs/SearchAllFood200ResponseSearchResultsInner.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | | **total_results** | **i32** | | -**results** | Option<[**Vec**](searchAllFood_200_response_searchResults_inner_results_inner.md)> | | [optional] +**results** | Option<[**Vec**](searchAllFood_200_response_searchResults_inner_results_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md b/rust/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md index af1de714a..ed8786a99 100644 --- a/rust/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md +++ b/rust/docs/SearchAllFood200ResponseSearchResultsInnerResultsInner.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **image** | Option<**String**> | | **link** | Option<**String**> | | **r#type** | **String** | | -**relevance** | **f32** | | +**relevance** | **f64** | | **content** | Option<**String**> | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchCustomFoods200Response.md b/rust/docs/SearchCustomFoods200Response.md index 80cc94c15..44a81e7dc 100644 --- a/rust/docs/SearchCustomFoods200Response.md +++ b/rust/docs/SearchCustomFoods200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**custom_foods** | [**Vec**](searchCustomFoods_200_response_customFoods_inner.md) | | +**custom_foods** | [**Vec**](searchCustomFoods_200_response_customFoods_inner.md) | | **r#type** | **String** | | **offset** | **i32** | | **number** | **i32** | | diff --git a/rust/docs/SearchCustomFoods200ResponseCustomFoodsInner.md b/rust/docs/SearchCustomFoods200ResponseCustomFoodsInner.md index 2146c9f3c..964cf6d47 100644 --- a/rust/docs/SearchCustomFoods200ResponseCustomFoodsInner.md +++ b/rust/docs/SearchCustomFoods200ResponseCustomFoodsInner.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **i32** | | **title** | **String** | | -**servings** | **f32** | | +**servings** | **f64** | | **image_url** | **String** | | -**price** | **f32** | | +**price** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchFoodVideos200Response.md b/rust/docs/SearchFoodVideos200Response.md index 6b2fb6381..dcd15edc5 100644 --- a/rust/docs/SearchFoodVideos200Response.md +++ b/rust/docs/SearchFoodVideos200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**videos** | [**Vec**](searchFoodVideos_200_response_videos_inner.md) | | +**videos** | [**Vec**](searchFoodVideos_200_response_videos_inner.md) | | **total_results** | **i32** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchFoodVideos200ResponseVideosInner.md b/rust/docs/SearchFoodVideos200ResponseVideosInner.md index 39ea46746..4c3e1fdf0 100644 --- a/rust/docs/SearchFoodVideos200ResponseVideosInner.md +++ b/rust/docs/SearchFoodVideos200ResponseVideosInner.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **title** | **String** | | **length** | **i32** | | -**rating** | **f32** | | +**rating** | **f64** | | **short_title** | **String** | | **thumbnail** | **String** | | **views** | **i32** | | diff --git a/rust/docs/SearchGroceryProducts200Response.md b/rust/docs/SearchGroceryProducts200Response.md index 02400cd53..76b462500 100644 --- a/rust/docs/SearchGroceryProducts200Response.md +++ b/rust/docs/SearchGroceryProducts200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**products** | [**Vec**](autocompleteRecipeSearch_200_response_inner.md) | | +**products** | [**Vec**](autocompleteRecipeSearch_200_response_inner.md) | | **total_products** | **i32** | | **r#type** | **String** | | **offset** | **i32** | | diff --git a/rust/docs/SearchGroceryProductsByUpc200Response.md b/rust/docs/SearchGroceryProductsByUpc200Response.md index 20762f8cf..3d257e3ed 100644 --- a/rust/docs/SearchGroceryProductsByUpc200Response.md +++ b/rust/docs/SearchGroceryProductsByUpc200Response.md @@ -13,12 +13,12 @@ Name | Type | Description | Notes **image_type** | **String** | | **ingredient_count** | Option<**i32**> | | [optional] **ingredient_list** | **String** | | -**ingredients** | [**Vec**](searchGroceryProductsByUPC_200_response_ingredients_inner.md) | | -**likes** | **f32** | | -**nutrition** | [**crate::models::SearchGroceryProductsByUpc200ResponseNutrition**](searchGroceryProductsByUPC_200_response_nutrition.md) | | -**price** | **f32** | | -**servings** | [**crate::models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md) | | -**spoonacular_score** | **f32** | | +**ingredients** | [**Vec**](searchGroceryProductsByUPC_200_response_ingredients_inner.md) | | +**likes** | **f64** | | +**nutrition** | [**models::SearchGroceryProductsByUpc200ResponseNutrition**](searchGroceryProductsByUPC_200_response_nutrition.md) | | +**price** | **f64** | | +**servings** | [**models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md) | | +**spoonacular_score** | **f64** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchGroceryProductsByUpc200ResponseNutrition.md b/rust/docs/SearchGroceryProductsByUpc200ResponseNutrition.md index 9d7e2b4f7..310ce2ace 100644 --- a/rust/docs/SearchGroceryProductsByUpc200ResponseNutrition.md +++ b/rust/docs/SearchGroceryProductsByUpc200ResponseNutrition.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nutrients** | [**Vec**](parseIngredients_200_response_inner_nutrition_nutrients_inner.md) | | -**caloric_breakdown** | [**crate::models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](parseIngredients_200_response_inner_nutrition_caloricBreakdown.md) | | +**nutrients** | [**Vec**](parseIngredients_200_response_inner_nutrition_nutrients_inner.md) | | +**caloric_breakdown** | [**models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown**](parseIngredients_200_response_inner_nutrition_caloricBreakdown.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchGroceryProductsByUpc200ResponseServings.md b/rust/docs/SearchGroceryProductsByUpc200ResponseServings.md index 4858e969b..07c8a098e 100644 --- a/rust/docs/SearchGroceryProductsByUpc200ResponseServings.md +++ b/rust/docs/SearchGroceryProductsByUpc200ResponseServings.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**number** | **f32** | | -**size** | **f32** | | +**number** | **f64** | | +**size** | **f64** | | **unit** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchMenuItems200Response.md b/rust/docs/SearchMenuItems200Response.md index 1f6a0c5d4..9143ccfb9 100644 --- a/rust/docs/SearchMenuItems200Response.md +++ b/rust/docs/SearchMenuItems200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**menu_items** | [**Vec**](searchMenuItems_200_response_menuItems_inner.md) | | +**menu_items** | [**Vec**](searchMenuItems_200_response_menuItems_inner.md) | | **total_menu_items** | **i32** | | **r#type** | **String** | | **offset** | **i32** | | diff --git a/rust/docs/SearchMenuItems200ResponseMenuItemsInner.md b/rust/docs/SearchMenuItems200ResponseMenuItemsInner.md index f83b10935..4a954ab8b 100644 --- a/rust/docs/SearchMenuItems200ResponseMenuItemsInner.md +++ b/rust/docs/SearchMenuItems200ResponseMenuItemsInner.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **restaurant_chain** | **String** | | **image** | **String** | | **image_type** | **String** | | -**servings** | Option<[**crate::models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md)> | | [optional] +**servings** | Option<[**models::SearchGroceryProductsByUpc200ResponseServings**](searchGroceryProductsByUPC_200_response_servings.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchRecipes200Response.md b/rust/docs/SearchRecipes200Response.md index e59c6f27d..a73373711 100644 --- a/rust/docs/SearchRecipes200Response.md +++ b/rust/docs/SearchRecipes200Response.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **offset** | **i32** | | **number** | **i32** | | -**results** | [**Vec**](searchRecipes_200_response_results_inner.md) | | +**results** | [**Vec**](searchRecipes_200_response_results_inner.md) | | **total_results** | **i32** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchRecipesByIngredients200ResponseInner.md b/rust/docs/SearchRecipesByIngredients200ResponseInner.md index cd5dcd692..5bcb160d6 100644 --- a/rust/docs/SearchRecipesByIngredients200ResponseInner.md +++ b/rust/docs/SearchRecipesByIngredients200ResponseInner.md @@ -9,11 +9,11 @@ Name | Type | Description | Notes **image_type** | **String** | | **likes** | **i32** | | **missed_ingredient_count** | **i32** | | -**missed_ingredients** | [**Vec**](searchRecipesByIngredients_200_response_inner_missedIngredients_inner.md) | | +**missed_ingredients** | [**Vec**](searchRecipesByIngredients_200_response_inner_missedIngredients_inner.md) | | **title** | **String** | | **unused_ingredients** | [**Vec**](serde_json::Value.md) | | -**used_ingredient_count** | **f32** | | -**used_ingredients** | [**Vec**](searchRecipesByIngredients_200_response_inner_missedIngredients_inner.md) | | +**used_ingredient_count** | **f64** | | +**used_ingredients** | [**Vec**](searchRecipesByIngredients_200_response_inner_missedIngredients_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md b/rust/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md index 412a7c22e..4261bca4c 100644 --- a/rust/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md +++ b/rust/docs/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aisle** | **String** | | -**amount** | **f32** | | +**amount** | **f64** | | **id** | **i32** | | **image** | **String** | | **meta** | Option<**Vec**> | | [optional] diff --git a/rust/docs/SearchRecipesByNutrients200ResponseInner.md b/rust/docs/SearchRecipesByNutrients200ResponseInner.md index b9532f882..960db757b 100644 --- a/rust/docs/SearchRecipesByNutrients200ResponseInner.md +++ b/rust/docs/SearchRecipesByNutrients200ResponseInner.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**calories** | **f32** | | +**calories** | **f64** | | **carbs** | **String** | | **fat** | **String** | | **id** | **i32** | | diff --git a/rust/docs/SearchRestaurants200Response.md b/rust/docs/SearchRestaurants200Response.md index 47c1d3710..50a622666 100644 --- a/rust/docs/SearchRestaurants200Response.md +++ b/rust/docs/SearchRestaurants200Response.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**restaurants** | Option<[**Vec**](searchRestaurants_200_response_restaurants_inner.md)> | | [optional] +**restaurants** | Option<[**Vec**](searchRestaurants_200_response_restaurants_inner.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchRestaurants200ResponseRestaurantsInner.md b/rust/docs/SearchRestaurants200ResponseRestaurantsInner.md index db9825f90..b8bfd59ff 100644 --- a/rust/docs/SearchRestaurants200ResponseRestaurantsInner.md +++ b/rust/docs/SearchRestaurants200ResponseRestaurantsInner.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **_id** | Option<**String**> | | [optional] **name** | Option<**String**> | | [optional] **phone_number** | Option<**i32**> | | [optional] -**address** | Option<[**crate::models::SearchRestaurants200ResponseRestaurantsInnerAddress**](searchRestaurants_200_response_restaurants_inner_address.md)> | | [optional] +**address** | Option<[**models::SearchRestaurants200ResponseRestaurantsInnerAddress**](searchRestaurants_200_response_restaurants_inner_address.md)> | | [optional] **r#type** | Option<**String**> | | [optional] **description** | Option<**String**> | | [optional] -**local_hours** | Option<[**crate::models::SearchRestaurants200ResponseRestaurantsInnerLocalHours**](searchRestaurants_200_response_restaurants_inner_local_hours.md)> | | [optional] +**local_hours** | Option<[**models::SearchRestaurants200ResponseRestaurantsInnerLocalHours**](searchRestaurants_200_response_restaurants_inner_local_hours.md)> | | [optional] **cuisines** | Option<**Vec**> | | [optional] **food_photos** | Option<**Vec**> | | [optional] **logo_photos** | Option<**Vec**> | | [optional] @@ -21,8 +21,8 @@ Name | Type | Description | Notes **is_open** | Option<**bool**> | | [optional] **offers_first_party_delivery** | Option<**bool**> | | [optional] **offers_third_party_delivery** | Option<**bool**> | | [optional] -**miles** | Option<**f32**> | | [optional] -**weighted_rating_value** | Option<**f32**> | | [optional] +**miles** | Option<**f64**> | | [optional] +**weighted_rating_value** | Option<**f64**> | | [optional] **aggregated_rating_count** | Option<**i32**> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md b/rust/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md index 765a6125a..211fe5979 100644 --- a/rust/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md +++ b/rust/docs/SearchRestaurants200ResponseRestaurantsInnerAddress.md @@ -9,11 +9,11 @@ Name | Type | Description | Notes **state** | Option<**String**> | | [optional] **zipcode** | Option<**String**> | | [optional] **country** | Option<**String**> | | [optional] -**lat** | Option<**f32**> | | [optional] -**lon** | Option<**f32**> | | [optional] +**lat** | Option<**f64**> | | [optional] +**lon** | Option<**f64**> | | [optional] **street_addr_2** | Option<**String**> | | [optional] -**latitude** | Option<**f32**> | | [optional] -**longitude** | Option<**f32**> | | [optional] +**latitude** | Option<**f64**> | | [optional] +**longitude** | Option<**f64**> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md b/rust/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md index cf24fe940..ee0919e91 100644 --- a/rust/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md +++ b/rust/docs/SearchRestaurants200ResponseRestaurantsInnerLocalHours.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**operational** | Option<[**crate::models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] -**delivery** | Option<[**crate::models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] -**pickup** | Option<[**crate::models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] -**dine_in** | Option<[**crate::models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] +**operational** | Option<[**models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] +**delivery** | Option<[**models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] +**pickup** | Option<[**models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] +**dine_in** | Option<[**models::SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational**](searchRestaurants_200_response_restaurants_inner_local_hours_operational.md)> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchSiteContent200Response.md b/rust/docs/SearchSiteContent200Response.md index e4d9c8bd0..eada699a4 100644 --- a/rust/docs/SearchSiteContent200Response.md +++ b/rust/docs/SearchSiteContent200Response.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**articles** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | -**grocery_products** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | -**menu_items** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | -**recipes** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | +**articles** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | +**grocery_products** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | +**menu_items** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | +**recipes** | [**Vec**](searchSiteContent_200_response_Articles_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/SearchSiteContent200ResponseArticlesInner.md b/rust/docs/SearchSiteContent200ResponseArticlesInner.md index 3101999a2..c113e9c26 100644 --- a/rust/docs/SearchSiteContent200ResponseArticlesInner.md +++ b/rust/docs/SearchSiteContent200ResponseArticlesInner.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data_points** | Option<[**Vec**](searchSiteContent_200_response_Articles_inner_dataPoints_inner.md)> | | [optional] +**data_points** | Option<[**Vec**](searchSiteContent_200_response_Articles_inner_dataPoints_inner.md)> | | [optional] **image** | **String** | | **link** | **String** | | **name** | **String** | | diff --git a/rust/docs/TalkToChatbot200Response.md b/rust/docs/TalkToChatbot200Response.md index f61123a6e..0bcc27ba2 100644 --- a/rust/docs/TalkToChatbot200Response.md +++ b/rust/docs/TalkToChatbot200Response.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **answer_text** | **String** | | -**media** | [**Vec**](talkToChatbot_200_response_media_inner.md) | | +**media** | [**Vec**](talkToChatbot_200_response_media_inner.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/docs/WineApi.md b/rust/docs/WineApi.md index 7fd710622..3c742a352 100644 --- a/rust/docs/WineApi.md +++ b/rust/docs/WineApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description ## get_dish_pairing_for_wine -> crate::models::GetDishPairingForWine200Response get_dish_pairing_for_wine(wine) +> models::GetDishPairingForWine200Response get_dish_pairing_for_wine(wine) Dish Pairing for Wine Find a dish that goes well with a given wine. @@ -27,7 +27,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetDishPairingForWine200Response**](getDishPairingForWine_200_response.md) +[**models::GetDishPairingForWine200Response**](getDishPairingForWine_200_response.md) ### Authorization @@ -43,7 +43,7 @@ Name | Type | Description | Required | Notes ## get_wine_description -> crate::models::GetWineDescription200Response get_wine_description(wine) +> models::GetWineDescription200Response get_wine_description(wine) Wine Description Get a simple description of a certain wine, e.g. \"malbec\", \"riesling\", or \"merlot\". @@ -57,7 +57,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::GetWineDescription200Response**](getWineDescription_200_response.md) +[**models::GetWineDescription200Response**](getWineDescription_200_response.md) ### Authorization @@ -73,7 +73,7 @@ Name | Type | Description | Required | Notes ## get_wine_pairing -> crate::models::GetWinePairing200Response get_wine_pairing(food, max_price) +> models::GetWinePairing200Response get_wine_pairing(food, max_price) Wine Pairing Find a wine that goes well with a food. Food can be a dish name (\"steak\"), an ingredient name (\"salmon\"), or a cuisine (\"italian\"). @@ -84,11 +84,11 @@ Find a wine that goes well with a food. Food can be a dish name (\"steak\"), an Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **food** | **String** | The food to get a pairing for. This can be a dish (\"steak\"), an ingredient (\"salmon\"), or a cuisine (\"italian\"). | [required] | -**max_price** | Option<**f32**> | The maximum price for the specific wine recommendation in USD. | | +**max_price** | Option<**f64**> | The maximum price for the specific wine recommendation in USD. | | ### Return type -[**crate::models::GetWinePairing200Response**](getWinePairing_200_response.md) +[**models::GetWinePairing200Response**](getWinePairing_200_response.md) ### Authorization @@ -104,7 +104,7 @@ Name | Type | Description | Required | Notes ## get_wine_recommendation -> crate::models::GetWineRecommendation200Response get_wine_recommendation(wine, max_price, min_rating, number) +> models::GetWineRecommendation200Response get_wine_recommendation(wine, max_price, min_rating, number) Wine Recommendation Get a specific wine recommendation (concrete product) for a given wine type, e.g. \"merlot\". @@ -115,13 +115,13 @@ Get a specific wine recommendation (concrete product) for a given wine type, e.g Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **wine** | **String** | The type of wine to get a specific product recommendation for. | [required] | -**max_price** | Option<**f32**> | The maximum price for the specific wine recommendation in USD. | | -**min_rating** | Option<**f32**> | The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. | | -**number** | Option<**f32**> | The number of wine recommendations expected (between 1 and 100). | |[default to 10] +**max_price** | Option<**f64**> | The maximum price for the specific wine recommendation in USD. | | +**min_rating** | Option<**f64**> | The minimum rating of the recommended wine between 0 and 1. For example, 0.8 equals 4 out of 5 stars. | | +**number** | Option<**f64**> | The number of wine recommendations expected (between 1 and 100). | |[default to 10] ### Return type -[**crate::models::GetWineRecommendation200Response**](getWineRecommendation_200_response.md) +[**models::GetWineRecommendation200Response**](getWineRecommendation_200_response.md) ### Authorization diff --git a/rust/src/apis/default_api.rs b/rust/src/apis/default_api.rs index 68c549c14..3ef414fbd 100644 --- a/rust/src/apis/default_api.rs +++ b/rust/src/apis/default_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -47,7 +47,7 @@ pub enum SearchRestaurantsError { /// This endpoint allows you to send raw recipe information, such as title, servings, and ingredients, to then see what we compute (badges, diets, nutrition, and more). This is useful if you have your own recipe data and want to enrich it with our semantic analysis. -pub async fn analyze_recipe(configuration: &configuration::Configuration, analyze_recipe_request: crate::models::AnalyzeRecipeRequest, language: Option<&str>, include_nutrition: Option, include_taste: Option) -> Result> { +pub async fn analyze_recipe(configuration: &configuration::Configuration, analyze_recipe_request: models::AnalyzeRecipeRequest, language: Option<&str>, include_nutrition: Option, include_taste: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -93,7 +93,7 @@ pub async fn analyze_recipe(configuration: &configuration::Configuration, analyz } /// Generate a recipe card for a recipe. -pub async fn create_recipe_card_get(configuration: &configuration::Configuration, id: f32, mask: Option<&str>, background_image: Option<&str>, background_color: Option<&str>, font_color: Option<&str>) -> Result> { +pub async fn create_recipe_card_get(configuration: &configuration::Configuration, id: f64, mask: Option<&str>, background_image: Option<&str>, background_color: Option<&str>, font_color: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -141,7 +141,7 @@ pub async fn create_recipe_card_get(configuration: &configuration::Configuration } /// Search through thousands of restaurants (in North America) by location, cuisine, budget, and more. -pub async fn search_restaurants(configuration: &configuration::Configuration, query: Option<&str>, lat: Option, lng: Option, distance: Option, budget: Option, cuisine: Option<&str>, min_rating: Option, is_open: Option, sort: Option<&str>, page: Option) -> Result> { +pub async fn search_restaurants(configuration: &configuration::Configuration, query: Option<&str>, lat: Option, lng: Option, distance: Option, budget: Option, cuisine: Option<&str>, min_rating: Option, is_open: Option, sort: Option<&str>, page: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/ingredients_api.rs b/rust/src/apis/ingredients_api.rs index ab10e9c8a..fefde3ed5 100644 --- a/rust/src/apis/ingredients_api.rs +++ b/rust/src/apis/ingredients_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -107,7 +107,7 @@ pub enum VisualizeIngredientsError { /// Autocomplete the entry of an ingredient. -pub async fn autocomplete_ingredient_search(configuration: &configuration::Configuration, query: Option<&str>, number: Option, meta_information: Option, intolerances: Option<&str>, language: Option<&str>) -> Result, Error> { +pub async fn autocomplete_ingredient_search(configuration: &configuration::Configuration, query: Option<&str>, number: Option, meta_information: Option, intolerances: Option<&str>, language: Option<&str>) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -158,7 +158,7 @@ pub async fn autocomplete_ingredient_search(configuration: &configuration::Confi } /// Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein? -pub async fn compute_ingredient_amount(configuration: &configuration::Configuration, id: f32, nutrient: &str, target: f32, unit: Option<&str>) -> Result> { +pub async fn compute_ingredient_amount(configuration: &configuration::Configuration, id: f64, nutrient: &str, target: f64, unit: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -199,7 +199,7 @@ pub async fn compute_ingredient_amount(configuration: &configuration::Configurat } /// Use an ingredient id to get all available information about an ingredient, such as its image and supermarket aisle. -pub async fn get_ingredient_information(configuration: &configuration::Configuration, id: i32, amount: Option, unit: Option<&str>) -> Result> { +pub async fn get_ingredient_information(configuration: &configuration::Configuration, id: i32, amount: Option, unit: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -241,7 +241,7 @@ pub async fn get_ingredient_information(configuration: &configuration::Configura } /// Search for substitutes for a given ingredient. -pub async fn get_ingredient_substitutes(configuration: &configuration::Configuration, ingredient_name: &str) -> Result> { +pub async fn get_ingredient_substitutes(configuration: &configuration::Configuration, ingredient_name: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -278,7 +278,7 @@ pub async fn get_ingredient_substitutes(configuration: &configuration::Configura } /// Search for substitutes for a given ingredient. -pub async fn get_ingredient_substitutes_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_ingredient_substitutes_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -314,7 +314,7 @@ pub async fn get_ingredient_substitutes_by_id(configuration: &configuration::Con } /// Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). -pub async fn ingredient_search(configuration: &configuration::Configuration, query: Option<&str>, add_children: Option, min_protein_percent: Option, max_protein_percent: Option, min_fat_percent: Option, max_fat_percent: Option, min_carbs_percent: Option, max_carbs_percent: Option, meta_information: Option, intolerances: Option<&str>, sort: Option<&str>, sort_direction: Option<&str>, offset: Option, number: Option, language: Option<&str>) -> Result> { +pub async fn ingredient_search(configuration: &configuration::Configuration, query: Option<&str>, add_children: Option, min_protein_percent: Option, max_protein_percent: Option, min_fat_percent: Option, max_fat_percent: Option, min_carbs_percent: Option, max_carbs_percent: Option, meta_information: Option, intolerances: Option<&str>, sort: Option<&str>, sort_direction: Option<&str>, offset: Option, number: Option, language: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -395,7 +395,7 @@ pub async fn ingredient_search(configuration: &configuration::Configuration, que } /// Visualize a recipe's ingredient list. -pub async fn ingredients_by_id_image(configuration: &configuration::Configuration, id: f32, measure: Option<&str>) -> Result> { +pub async fn ingredients_by_id_image(configuration: &configuration::Configuration, id: f64, measure: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -434,7 +434,7 @@ pub async fn ingredients_by_id_image(configuration: &configuration::Configuratio } /// Map a set of ingredients to products you can buy in the grocery store. -pub async fn map_ingredients_to_grocery_products(configuration: &configuration::Configuration, map_ingredients_to_grocery_products_request: crate::models::MapIngredientsToGroceryProductsRequest) -> Result, Error> { +pub async fn map_ingredients_to_grocery_products(configuration: &configuration::Configuration, map_ingredients_to_grocery_products_request: models::MapIngredientsToGroceryProductsRequest) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -471,7 +471,7 @@ pub async fn map_ingredients_to_grocery_products(configuration: &configuration:: } /// Visualize ingredients of a recipe. You can play around with that endpoint! -pub async fn visualize_ingredients(configuration: &configuration::Configuration, ingredient_list: &str, servings: f32, language: Option<&str>, measure: Option<&str>, view: Option<&str>, default_css: Option, show_backlink: Option) -> Result> { +pub async fn visualize_ingredients(configuration: &configuration::Configuration, ingredient_list: &str, servings: f64, language: Option<&str>, measure: Option<&str>, view: Option<&str>, default_css: Option, show_backlink: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/meal_planning_api.rs b/rust/src/apis/meal_planning_api.rs index 36576d743..daac0cd37 100644 --- a/rust/src/apis/meal_planning_api.rs +++ b/rust/src/apis/meal_planning_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -157,7 +157,7 @@ pub enum GetShoppingListError { /// Add a meal plan template for a user. -pub async fn add_meal_plan_template(configuration: &configuration::Configuration, username: &str, hash: &str) -> Result> { +pub async fn add_meal_plan_template(configuration: &configuration::Configuration, username: &str, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -194,7 +194,7 @@ pub async fn add_meal_plan_template(configuration: &configuration::Configuration } /// Add an item to the user's meal plan. -pub async fn add_to_meal_plan(configuration: &configuration::Configuration, username: &str, hash: &str, add_to_meal_plan_request: crate::models::AddToMealPlanRequest) -> Result> { +pub async fn add_to_meal_plan(configuration: &configuration::Configuration, username: &str, hash: &str, add_to_meal_plan_request: models::AddToMealPlanRequest) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -232,7 +232,7 @@ pub async fn add_to_meal_plan(configuration: &configuration::Configuration, user } /// Add an item to the current shopping list of a user. -pub async fn add_to_shopping_list(configuration: &configuration::Configuration, username: &str, hash: &str, add_to_shopping_list_request: crate::models::AddToShoppingListRequest) -> Result> { +pub async fn add_to_shopping_list(configuration: &configuration::Configuration, username: &str, hash: &str, add_to_shopping_list_request: models::AddToShoppingListRequest) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -307,7 +307,7 @@ pub async fn clear_meal_plan_day(configuration: &configuration::Configuration, u } /// In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. -pub async fn connect_user(configuration: &configuration::Configuration, connect_user_request: crate::models::ConnectUserRequest) -> Result> { +pub async fn connect_user(configuration: &configuration::Configuration, connect_user_request: models::ConnectUserRequest) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -344,7 +344,7 @@ pub async fn connect_user(configuration: &configuration::Configuration, connect_ } /// Delete an item from the user's meal plan. -pub async fn delete_from_meal_plan(configuration: &configuration::Configuration, username: &str, id: f32, hash: &str) -> Result> { +pub async fn delete_from_meal_plan(configuration: &configuration::Configuration, username: &str, id: f64, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -455,7 +455,7 @@ pub async fn delete_meal_plan_template(configuration: &configuration::Configurat } /// Generate a meal plan with three meals per day (breakfast, lunch, and dinner). -pub async fn generate_meal_plan(configuration: &configuration::Configuration, time_frame: Option<&str>, target_calories: Option, diet: Option<&str>, exclude: Option<&str>) -> Result> { +pub async fn generate_meal_plan(configuration: &configuration::Configuration, time_frame: Option<&str>, target_calories: Option, diet: Option<&str>, exclude: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -503,7 +503,7 @@ pub async fn generate_meal_plan(configuration: &configuration::Configuration, ti } /// Generate the shopping list for a user from the meal planner in a given time frame. -pub async fn generate_shopping_list(configuration: &configuration::Configuration, username: &str, start_date: &str, end_date: &str, hash: &str) -> Result> { +pub async fn generate_shopping_list(configuration: &configuration::Configuration, username: &str, start_date: &str, end_date: &str, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -540,7 +540,7 @@ pub async fn generate_shopping_list(configuration: &configuration::Configuration } /// Get information about a meal plan template. -pub async fn get_meal_plan_template(configuration: &configuration::Configuration, username: &str, id: i32, hash: &str) -> Result> { +pub async fn get_meal_plan_template(configuration: &configuration::Configuration, username: &str, id: i32, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -577,7 +577,7 @@ pub async fn get_meal_plan_template(configuration: &configuration::Configuration } /// Get meal plan templates from user or public ones. -pub async fn get_meal_plan_templates(configuration: &configuration::Configuration, username: &str, hash: &str) -> Result> { +pub async fn get_meal_plan_templates(configuration: &configuration::Configuration, username: &str, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -614,7 +614,7 @@ pub async fn get_meal_plan_templates(configuration: &configuration::Configuratio } /// Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account. -pub async fn get_meal_plan_week(configuration: &configuration::Configuration, username: &str, start_date: &str, hash: &str) -> Result> { +pub async fn get_meal_plan_week(configuration: &configuration::Configuration, username: &str, start_date: &str, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -651,7 +651,7 @@ pub async fn get_meal_plan_week(configuration: &configuration::Configuration, us } /// Get the current shopping list for the given user. -pub async fn get_shopping_list(configuration: &configuration::Configuration, username: &str, hash: &str) -> Result> { +pub async fn get_shopping_list(configuration: &configuration::Configuration, username: &str, hash: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/menu_items_api.rs b/rust/src/apis/menu_items_api.rs index fdf634641..39ccb7292 100644 --- a/rust/src/apis/menu_items_api.rs +++ b/rust/src/apis/menu_items_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -87,7 +87,7 @@ pub enum VisualizeMenuItemNutritionByIdError { /// Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. -pub async fn autocomplete_menu_item_search(configuration: &configuration::Configuration, query: &str, number: Option) -> Result> { +pub async fn autocomplete_menu_item_search(configuration: &configuration::Configuration, query: &str, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -127,7 +127,7 @@ pub async fn autocomplete_menu_item_search(configuration: &configuration::Config } /// Use a menu item id to get all available information about a menu item, such as nutrition. -pub async fn get_menu_item_information(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_menu_item_information(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -163,7 +163,7 @@ pub async fn get_menu_item_information(configuration: &configuration::Configurat } /// Visualize a menu item's nutritional information as HTML including CSS. -pub async fn menu_item_nutrition_by_id_image(configuration: &configuration::Configuration, id: f32) -> Result> { +pub async fn menu_item_nutrition_by_id_image(configuration: &configuration::Configuration, id: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -199,7 +199,7 @@ pub async fn menu_item_nutrition_by_id_image(configuration: &configuration::Conf } /// Visualize a menu item's nutritional label information as an image. -pub async fn menu_item_nutrition_label_image(configuration: &configuration::Configuration, id: f32, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { +pub async fn menu_item_nutrition_label_image(configuration: &configuration::Configuration, id: f64, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -244,7 +244,7 @@ pub async fn menu_item_nutrition_label_image(configuration: &configuration::Conf } /// Visualize a menu item's nutritional label information as HTML including CSS. -pub async fn menu_item_nutrition_label_widget(configuration: &configuration::Configuration, id: f32, default_css: Option, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { +pub async fn menu_item_nutrition_label_widget(configuration: &configuration::Configuration, id: f64, default_css: Option, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -292,7 +292,7 @@ pub async fn menu_item_nutrition_label_widget(configuration: &configuration::Con } /// Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. -pub async fn search_menu_items(configuration: &configuration::Configuration, query: Option<&str>, min_calories: Option, max_calories: Option, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_fat: Option, max_fat: Option, add_menu_item_information: Option, offset: Option, number: Option) -> Result> { +pub async fn search_menu_items(configuration: &configuration::Configuration, query: Option<&str>, min_calories: Option, max_calories: Option, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_fat: Option, max_fat: Option, add_menu_item_information: Option, offset: Option, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/misc_api.rs b/rust/src/apis/misc_api.rs index 324863b21..99d4de2c5 100644 --- a/rust/src/apis/misc_api.rs +++ b/rust/src/apis/misc_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -127,7 +127,7 @@ pub enum TalkToChatbotError { /// Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. -pub async fn detect_food_in_text(configuration: &configuration::Configuration, text: &str) -> Result> { +pub async fn detect_food_in_text(configuration: &configuration::Configuration, text: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -166,7 +166,7 @@ pub async fn detect_food_in_text(configuration: &configuration::Configuration, t } /// Get a random joke that is related to food. Caution: this is an endpoint for adults! -pub async fn get_a_random_food_joke(configuration: &configuration::Configuration, ) -> Result> { +pub async fn get_a_random_food_joke(configuration: &configuration::Configuration, ) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -202,7 +202,7 @@ pub async fn get_a_random_food_joke(configuration: &configuration::Configuration } /// This endpoint returns suggestions for things the user can say or ask the chatbot. -pub async fn get_conversation_suggests(configuration: &configuration::Configuration, query: &str, number: Option) -> Result> { +pub async fn get_conversation_suggests(configuration: &configuration::Configuration, query: &str, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -242,7 +242,7 @@ pub async fn get_conversation_suggests(configuration: &configuration::Configurat } /// Returns random food trivia. -pub async fn get_random_food_trivia(configuration: &configuration::Configuration, ) -> Result> { +pub async fn get_random_food_trivia(configuration: &configuration::Configuration, ) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -278,7 +278,7 @@ pub async fn get_random_food_trivia(configuration: &configuration::Configuration } /// Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. -pub async fn image_analysis_by_url(configuration: &configuration::Configuration, image_url: &str) -> Result> { +pub async fn image_analysis_by_url(configuration: &configuration::Configuration, image_url: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -315,7 +315,7 @@ pub async fn image_analysis_by_url(configuration: &configuration::Configuration, } /// Classify a food image. -pub async fn image_classification_by_url(configuration: &configuration::Configuration, image_url: &str) -> Result> { +pub async fn image_classification_by_url(configuration: &configuration::Configuration, image_url: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -352,7 +352,7 @@ pub async fn image_classification_by_url(configuration: &configuration::Configur } /// Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. -pub async fn search_all_food(configuration: &configuration::Configuration, query: &str, offset: Option, number: Option) -> Result> { +pub async fn search_all_food(configuration: &configuration::Configuration, query: &str, offset: Option, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -395,7 +395,7 @@ pub async fn search_all_food(configuration: &configuration::Configuration, query } /// Search custom foods in a user's account. -pub async fn search_custom_foods(configuration: &configuration::Configuration, username: &str, hash: &str, query: Option<&str>, offset: Option, number: Option) -> Result> { +pub async fn search_custom_foods(configuration: &configuration::Configuration, username: &str, hash: &str, query: Option<&str>, offset: Option, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -442,7 +442,7 @@ pub async fn search_custom_foods(configuration: &configuration::Configuration, u } /// Find recipe and other food related videos. -pub async fn search_food_videos(configuration: &configuration::Configuration, query: Option<&str>, r#type: Option<&str>, cuisine: Option<&str>, diet: Option<&str>, include_ingredients: Option<&str>, exclude_ingredients: Option<&str>, min_length: Option, max_length: Option, offset: Option, number: Option) -> Result> { +pub async fn search_food_videos(configuration: &configuration::Configuration, query: Option<&str>, r#type: Option<&str>, cuisine: Option<&str>, diet: Option<&str>, include_ingredients: Option<&str>, exclude_ingredients: Option<&str>, min_length: Option, max_length: Option, offset: Option, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -508,7 +508,7 @@ pub async fn search_food_videos(configuration: &configuration::Configuration, qu } /// Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. -pub async fn search_site_content(configuration: &configuration::Configuration, query: &str) -> Result> { +pub async fn search_site_content(configuration: &configuration::Configuration, query: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -545,7 +545,7 @@ pub async fn search_site_content(configuration: &configuration::Configuration, q } /// This endpoint can be used to have a conversation about food with the spoonacular chatbot. Use the \"Get Conversation Suggests\" endpoint to show your user what he or she can say. -pub async fn talk_to_chatbot(configuration: &configuration::Configuration, text: &str, context_id: Option<&str>) -> Result> { +pub async fn talk_to_chatbot(configuration: &configuration::Configuration, text: &str, context_id: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/products_api.rs b/rust/src/apis/products_api.rs index 85dd4d4e2..8f77ef18f 100644 --- a/rust/src/apis/products_api.rs +++ b/rust/src/apis/products_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -127,7 +127,7 @@ pub enum VisualizeProductNutritionByIdError { /// Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. -pub async fn autocomplete_product_search(configuration: &configuration::Configuration, query: &str, number: Option) -> Result> { +pub async fn autocomplete_product_search(configuration: &configuration::Configuration, query: &str, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -167,7 +167,7 @@ pub async fn autocomplete_product_search(configuration: &configuration::Configur } /// This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. -pub async fn classify_grocery_product(configuration: &configuration::Configuration, classify_grocery_product_request: crate::models::ClassifyGroceryProductRequest, locale: Option<&str>) -> Result> { +pub async fn classify_grocery_product(configuration: &configuration::Configuration, classify_grocery_product_request: models::ClassifyGroceryProductRequest, locale: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -207,7 +207,7 @@ pub async fn classify_grocery_product(configuration: &configuration::Configurati } /// Provide a set of product jsons, get back classified products. -pub async fn classify_grocery_product_bulk(configuration: &configuration::Configuration, classify_grocery_product_bulk_request_inner: Vec, locale: Option<&str>) -> Result, Error> { +pub async fn classify_grocery_product_bulk(configuration: &configuration::Configuration, classify_grocery_product_bulk_request_inner: Vec, locale: Option<&str>) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -247,7 +247,7 @@ pub async fn classify_grocery_product_bulk(configuration: &configuration::Config } /// Find comparable products to the given one. -pub async fn get_comparable_products(configuration: &configuration::Configuration, upc: f32) -> Result> { +pub async fn get_comparable_products(configuration: &configuration::Configuration, upc: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -283,7 +283,7 @@ pub async fn get_comparable_products(configuration: &configuration::Configuratio } /// Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving. -pub async fn get_product_information(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_product_information(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -319,7 +319,7 @@ pub async fn get_product_information(configuration: &configuration::Configuratio } /// Visualize a product's nutritional information as an image. -pub async fn product_nutrition_by_id_image(configuration: &configuration::Configuration, id: f32) -> Result> { +pub async fn product_nutrition_by_id_image(configuration: &configuration::Configuration, id: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -355,7 +355,7 @@ pub async fn product_nutrition_by_id_image(configuration: &configuration::Config } /// Get a product's nutrition label as an image. -pub async fn product_nutrition_label_image(configuration: &configuration::Configuration, id: f32, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { +pub async fn product_nutrition_label_image(configuration: &configuration::Configuration, id: f64, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -400,7 +400,7 @@ pub async fn product_nutrition_label_image(configuration: &configuration::Config } /// Get a product's nutrition label as an HTML widget. -pub async fn product_nutrition_label_widget(configuration: &configuration::Configuration, id: f32, default_css: Option, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { +pub async fn product_nutrition_label_widget(configuration: &configuration::Configuration, id: f64, default_css: Option, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -448,7 +448,7 @@ pub async fn product_nutrition_label_widget(configuration: &configuration::Confi } /// Search packaged food products, such as frozen pizza or Greek yogurt. -pub async fn search_grocery_products(configuration: &configuration::Configuration, query: Option<&str>, min_calories: Option, max_calories: Option, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_fat: Option, max_fat: Option, add_product_information: Option, offset: Option, number: Option) -> Result> { +pub async fn search_grocery_products(configuration: &configuration::Configuration, query: Option<&str>, min_calories: Option, max_calories: Option, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_fat: Option, max_fat: Option, add_product_information: Option, offset: Option, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -520,7 +520,7 @@ pub async fn search_grocery_products(configuration: &configuration::Configuratio } /// Get information about a packaged food using its UPC. -pub async fn search_grocery_products_by_upc(configuration: &configuration::Configuration, upc: f32) -> Result> { +pub async fn search_grocery_products_by_upc(configuration: &configuration::Configuration, upc: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/recipes_api.rs b/rust/src/apis/recipes_api.rs index f322d0b7f..75ba3a7fc 100644 --- a/rust/src/apis/recipes_api.rs +++ b/rust/src/apis/recipes_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -417,7 +417,7 @@ pub enum VisualizeRecipeTasteByIdError { /// Parse a recipe search query to find out its intention. -pub async fn analyze_a_recipe_search_query(configuration: &configuration::Configuration, q: &str) -> Result> { +pub async fn analyze_a_recipe_search_query(configuration: &configuration::Configuration, q: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -454,7 +454,7 @@ pub async fn analyze_a_recipe_search_query(configuration: &configuration::Config } /// This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used in. -pub async fn analyze_recipe_instructions(configuration: &configuration::Configuration, instructions: &str) -> Result> { +pub async fn analyze_recipe_instructions(configuration: &configuration::Configuration, instructions: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -493,7 +493,7 @@ pub async fn analyze_recipe_instructions(configuration: &configuration::Configur } /// Autocomplete a partial input to suggest possible recipe names. -pub async fn autocomplete_recipe_search(configuration: &configuration::Configuration, query: Option<&str>, number: Option) -> Result, Error> { +pub async fn autocomplete_recipe_search(configuration: &configuration::Configuration, query: Option<&str>, number: Option) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -535,7 +535,7 @@ pub async fn autocomplete_recipe_search(configuration: &configuration::Configura } /// Classify the recipe's cuisine. -pub async fn classify_cuisine(configuration: &configuration::Configuration, title: &str, ingredient_list: &str, language: Option<&str>) -> Result> { +pub async fn classify_cuisine(configuration: &configuration::Configuration, title: &str, ingredient_list: &str, language: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -578,7 +578,7 @@ pub async fn classify_cuisine(configuration: &configuration::Configuration, titl } /// Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. -pub async fn compute_glycemic_load(configuration: &configuration::Configuration, compute_glycemic_load_request: crate::models::ComputeGlycemicLoadRequest, language: Option<&str>) -> Result> { +pub async fn compute_glycemic_load(configuration: &configuration::Configuration, compute_glycemic_load_request: models::ComputeGlycemicLoadRequest, language: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -618,7 +618,7 @@ pub async fn compute_glycemic_load(configuration: &configuration::Configuration, } /// Convert amounts like \"2 cups of flour to grams\". -pub async fn convert_amounts(configuration: &configuration::Configuration, ingredient_name: &str, source_amount: f32, source_unit: &str, target_unit: &str) -> Result> { +pub async fn convert_amounts(configuration: &configuration::Configuration, ingredient_name: &str, source_amount: f64, source_unit: &str, target_unit: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -658,7 +658,7 @@ pub async fn convert_amounts(configuration: &configuration::Configuration, ingre } /// Generate a recipe card for a recipe. -pub async fn create_recipe_card(configuration: &configuration::Configuration, title: &str, ingredients: &str, instructions: &str, ready_in_minutes: f32, servings: f32, mask: &str, background_image: &str, image: Option, image_url: Option<&str>, author: Option<&str>, background_color: Option<&str>, font_color: Option<&str>, source: Option<&str>) -> Result> { +pub async fn create_recipe_card(configuration: &configuration::Configuration, title: &str, ingredients: &str, instructions: &str, ready_in_minutes: f64, servings: f64, mask: &str, background_image: &str, image: Option, image_url: Option<&str>, author: Option<&str>, background_color: Option<&str>, font_color: Option<&str>, source: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -719,7 +719,7 @@ pub async fn create_recipe_card(configuration: &configuration::Configuration, ti } /// Visualize a recipe's equipment list as an image. -pub async fn equipment_by_id_image(configuration: &configuration::Configuration, id: f32) -> Result> { +pub async fn equipment_by_id_image(configuration: &configuration::Configuration, id: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -755,7 +755,7 @@ pub async fn equipment_by_id_image(configuration: &configuration::Configuration, } /// This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. -pub async fn extract_recipe_from_website(configuration: &configuration::Configuration, url: &str, force_extraction: Option, analyze: Option, include_nutrition: Option, include_taste: Option) -> Result> { +pub async fn extract_recipe_from_website(configuration: &configuration::Configuration, url: &str, force_extraction: Option, analyze: Option, include_nutrition: Option, include_taste: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -804,7 +804,7 @@ pub async fn extract_recipe_from_website(configuration: &configuration::Configur } /// Get an analyzed breakdown of a recipe's instructions. Each step is enriched with the ingredients and equipment required. -pub async fn get_analyzed_recipe_instructions(configuration: &configuration::Configuration, id: i32, step_breakdown: Option) -> Result> { +pub async fn get_analyzed_recipe_instructions(configuration: &configuration::Configuration, id: i32, step_breakdown: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -843,7 +843,7 @@ pub async fn get_analyzed_recipe_instructions(configuration: &configuration::Con } /// Find random (popular) recipes. If you need to filter recipes by diet, nutrition etc. you might want to consider using the complex recipe search endpoint and set the sort request parameter to random. -pub async fn get_random_recipes(configuration: &configuration::Configuration, limit_license: Option, include_nutrition: Option, include_tags: Option<&str>, exclude_tags: Option<&str>, number: Option) -> Result> { +pub async fn get_random_recipes(configuration: &configuration::Configuration, limit_license: Option, include_nutrition: Option, include_tags: Option<&str>, exclude_tags: Option<&str>, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -894,7 +894,7 @@ pub async fn get_random_recipes(configuration: &configuration::Configuration, li } /// Get a recipe's equipment list. -pub async fn get_recipe_equipment_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_recipe_equipment_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -930,7 +930,7 @@ pub async fn get_recipe_equipment_by_id(configuration: &configuration::Configura } /// Use a recipe id to get full information about a recipe, such as ingredients, nutrition, diet and allergen information, etc. -pub async fn get_recipe_information(configuration: &configuration::Configuration, id: i32, include_nutrition: Option) -> Result> { +pub async fn get_recipe_information(configuration: &configuration::Configuration, id: i32, include_nutrition: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -969,7 +969,7 @@ pub async fn get_recipe_information(configuration: &configuration::Configuration } /// Get information about multiple recipes at once. This is equivalent to calling the Get Recipe Information endpoint multiple times, but faster. -pub async fn get_recipe_information_bulk(configuration: &configuration::Configuration, ids: &str, include_nutrition: Option) -> Result, Error> { +pub async fn get_recipe_information_bulk(configuration: &configuration::Configuration, ids: &str, include_nutrition: Option) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1009,7 +1009,7 @@ pub async fn get_recipe_information_bulk(configuration: &configuration::Configur } /// Get a recipe's ingredient list. -pub async fn get_recipe_ingredients_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_recipe_ingredients_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1045,7 +1045,7 @@ pub async fn get_recipe_ingredients_by_id(configuration: &configuration::Configu } /// Get a recipe's nutrition data. -pub async fn get_recipe_nutrition_widget_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_recipe_nutrition_widget_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1081,7 +1081,7 @@ pub async fn get_recipe_nutrition_widget_by_id(configuration: &configuration::Co } /// Get a recipe's price breakdown data. -pub async fn get_recipe_price_breakdown_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn get_recipe_price_breakdown_by_id(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1117,7 +1117,7 @@ pub async fn get_recipe_price_breakdown_by_id(configuration: &configuration::Con } /// Get a recipe's taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -pub async fn get_recipe_taste_by_id(configuration: &configuration::Configuration, id: i32, normalize: Option) -> Result> { +pub async fn get_recipe_taste_by_id(configuration: &configuration::Configuration, id: i32, normalize: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1156,7 +1156,7 @@ pub async fn get_recipe_taste_by_id(configuration: &configuration::Configuration } /// Find recipes which are similar to the given one. -pub async fn get_similar_recipes(configuration: &configuration::Configuration, id: i32, number: Option, limit_license: Option) -> Result, Error> { +pub async fn get_similar_recipes(configuration: &configuration::Configuration, id: i32, number: Option, limit_license: Option) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1198,7 +1198,7 @@ pub async fn get_similar_recipes(configuration: &configuration::Configuration, i } /// Estimate the macronutrients of a dish based on its title. -pub async fn guess_nutrition_by_dish_name(configuration: &configuration::Configuration, title: &str) -> Result> { +pub async fn guess_nutrition_by_dish_name(configuration: &configuration::Configuration, title: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1235,7 +1235,7 @@ pub async fn guess_nutrition_by_dish_name(configuration: &configuration::Configu } /// Extract an ingredient from plain text. -pub async fn parse_ingredients(configuration: &configuration::Configuration, ingredient_list: &str, servings: f32, language: Option<&str>, include_nutrition: Option) -> Result, Error> { +pub async fn parse_ingredients(configuration: &configuration::Configuration, ingredient_list: &str, servings: f64, language: Option<&str>, include_nutrition: Option) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1281,7 +1281,7 @@ pub async fn parse_ingredients(configuration: &configuration::Configuration, ing } /// Visualize a recipe's price breakdown. -pub async fn price_breakdown_by_id_image(configuration: &configuration::Configuration, id: f32) -> Result> { +pub async fn price_breakdown_by_id_image(configuration: &configuration::Configuration, id: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1317,7 +1317,7 @@ pub async fn price_breakdown_by_id_image(configuration: &configuration::Configur } /// Answer a nutrition related natural language question. -pub async fn quick_answer(configuration: &configuration::Configuration, q: &str) -> Result> { +pub async fn quick_answer(configuration: &configuration::Configuration, q: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1354,7 +1354,7 @@ pub async fn quick_answer(configuration: &configuration::Configuration, q: &str) } /// Visualize a recipe's nutritional information as an image. -pub async fn recipe_nutrition_by_id_image(configuration: &configuration::Configuration, id: f32) -> Result> { +pub async fn recipe_nutrition_by_id_image(configuration: &configuration::Configuration, id: f64) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1390,7 +1390,7 @@ pub async fn recipe_nutrition_by_id_image(configuration: &configuration::Configu } /// Get a recipe's nutrition label as an image. -pub async fn recipe_nutrition_label_image(configuration: &configuration::Configuration, id: f32, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { +pub async fn recipe_nutrition_label_image(configuration: &configuration::Configuration, id: f64, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1435,7 +1435,7 @@ pub async fn recipe_nutrition_label_image(configuration: &configuration::Configu } /// Get a recipe's nutrition label as an HTML widget. -pub async fn recipe_nutrition_label_widget(configuration: &configuration::Configuration, id: f32, default_css: Option, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { +pub async fn recipe_nutrition_label_widget(configuration: &configuration::Configuration, id: f64, default_css: Option, show_optional_nutrients: Option, show_zero_values: Option, show_ingredients: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1483,7 +1483,7 @@ pub async fn recipe_nutrition_label_widget(configuration: &configuration::Config } /// Get a recipe's taste as an image. The tastes supported are sweet, salty, sour, bitter, savory, and fatty. -pub async fn recipe_taste_by_id_image(configuration: &configuration::Configuration, id: f32, normalize: Option, rgb: Option<&str>) -> Result> { +pub async fn recipe_taste_by_id_image(configuration: &configuration::Configuration, id: f64, normalize: Option, rgb: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1525,7 +1525,7 @@ pub async fn recipe_taste_by_id_image(configuration: &configuration::Configurati } /// Search through hundreds of thousands of recipes using advanced filtering and ranking. NOTE: This method combines searching by query, by ingredients, and by nutrients into one endpoint. -pub async fn search_recipes(configuration: &configuration::Configuration, query: Option<&str>, cuisine: Option<&str>, exclude_cuisine: Option<&str>, diet: Option<&str>, intolerances: Option<&str>, equipment: Option<&str>, include_ingredients: Option<&str>, exclude_ingredients: Option<&str>, r#type: Option<&str>, instructions_required: Option, fill_ingredients: Option, add_recipe_information: Option, add_recipe_nutrition: Option, author: Option<&str>, tags: Option<&str>, recipe_box_id: Option, title_match: Option<&str>, max_ready_time: Option, min_servings: Option, max_servings: Option, ignore_pantry: Option, sort: Option<&str>, sort_direction: Option<&str>, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_calories: Option, max_calories: Option, min_fat: Option, max_fat: Option, min_alcohol: Option, max_alcohol: Option, min_caffeine: Option, max_caffeine: Option, min_copper: Option, max_copper: Option, min_calcium: Option, max_calcium: Option, min_choline: Option, max_choline: Option, min_cholesterol: Option, max_cholesterol: Option, min_fluoride: Option, max_fluoride: Option, min_saturated_fat: Option, max_saturated_fat: Option, min_vitamin_a: Option, max_vitamin_a: Option, min_vitamin_c: Option, max_vitamin_c: Option, min_vitamin_d: Option, max_vitamin_d: Option, min_vitamin_e: Option, max_vitamin_e: Option, min_vitamin_k: Option, max_vitamin_k: Option, min_vitamin_b1: Option, max_vitamin_b1: Option, min_vitamin_b2: Option, max_vitamin_b2: Option, min_vitamin_b5: Option, max_vitamin_b5: Option, min_vitamin_b3: Option, max_vitamin_b3: Option, min_vitamin_b6: Option, max_vitamin_b6: Option, min_vitamin_b12: Option, max_vitamin_b12: Option, min_fiber: Option, max_fiber: Option, min_folate: Option, max_folate: Option, min_folic_acid: Option, max_folic_acid: Option, min_iodine: Option, max_iodine: Option, min_iron: Option, max_iron: Option, min_magnesium: Option, max_magnesium: Option, min_manganese: Option, max_manganese: Option, min_phosphorus: Option, max_phosphorus: Option, min_potassium: Option, max_potassium: Option, min_selenium: Option, max_selenium: Option, min_sodium: Option, max_sodium: Option, min_sugar: Option, max_sugar: Option, min_zinc: Option, max_zinc: Option, offset: Option, number: Option, limit_license: Option) -> Result> { +pub async fn search_recipes(configuration: &configuration::Configuration, query: Option<&str>, cuisine: Option<&str>, exclude_cuisine: Option<&str>, diet: Option<&str>, intolerances: Option<&str>, equipment: Option<&str>, include_ingredients: Option<&str>, exclude_ingredients: Option<&str>, r#type: Option<&str>, instructions_required: Option, fill_ingredients: Option, add_recipe_information: Option, add_recipe_nutrition: Option, author: Option<&str>, tags: Option<&str>, recipe_box_id: Option, title_match: Option<&str>, max_ready_time: Option, min_servings: Option, max_servings: Option, ignore_pantry: Option, sort: Option<&str>, sort_direction: Option<&str>, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_calories: Option, max_calories: Option, min_fat: Option, max_fat: Option, min_alcohol: Option, max_alcohol: Option, min_caffeine: Option, max_caffeine: Option, min_copper: Option, max_copper: Option, min_calcium: Option, max_calcium: Option, min_choline: Option, max_choline: Option, min_cholesterol: Option, max_cholesterol: Option, min_fluoride: Option, max_fluoride: Option, min_saturated_fat: Option, max_saturated_fat: Option, min_vitamin_a: Option, max_vitamin_a: Option, min_vitamin_c: Option, max_vitamin_c: Option, min_vitamin_d: Option, max_vitamin_d: Option, min_vitamin_e: Option, max_vitamin_e: Option, min_vitamin_k: Option, max_vitamin_k: Option, min_vitamin_b1: Option, max_vitamin_b1: Option, min_vitamin_b2: Option, max_vitamin_b2: Option, min_vitamin_b5: Option, max_vitamin_b5: Option, min_vitamin_b3: Option, max_vitamin_b3: Option, min_vitamin_b6: Option, max_vitamin_b6: Option, min_vitamin_b12: Option, max_vitamin_b12: Option, min_fiber: Option, max_fiber: Option, min_folate: Option, max_folate: Option, min_folic_acid: Option, max_folic_acid: Option, min_iodine: Option, max_iodine: Option, min_iron: Option, max_iron: Option, min_magnesium: Option, max_magnesium: Option, min_manganese: Option, max_manganese: Option, min_phosphorus: Option, max_phosphorus: Option, min_potassium: Option, max_potassium: Option, min_selenium: Option, max_selenium: Option, min_sodium: Option, max_sodium: Option, min_sugar: Option, max_sugar: Option, min_zinc: Option, max_zinc: Option, offset: Option, number: Option, limit_license: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1855,7 +1855,7 @@ pub async fn search_recipes(configuration: &configuration::Configuration, query: } /// Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post shopping). -pub async fn search_recipes_by_ingredients(configuration: &configuration::Configuration, ingredients: Option<&str>, number: Option, limit_license: Option, ranking: Option, ignore_pantry: Option) -> Result, Error> { +pub async fn search_recipes_by_ingredients(configuration: &configuration::Configuration, ingredients: Option<&str>, number: Option, limit_license: Option, ranking: Option, ignore_pantry: Option) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -1906,7 +1906,7 @@ pub async fn search_recipes_by_ingredients(configuration: &configuration::Config } /// Find a set of recipes that adhere to the given nutritional limits. You may set limits for macronutrients (calories, protein, fat, and carbohydrate) and/or many micronutrients. -pub async fn search_recipes_by_nutrients(configuration: &configuration::Configuration, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_calories: Option, max_calories: Option, min_fat: Option, max_fat: Option, min_alcohol: Option, max_alcohol: Option, min_caffeine: Option, max_caffeine: Option, min_copper: Option, max_copper: Option, min_calcium: Option, max_calcium: Option, min_choline: Option, max_choline: Option, min_cholesterol: Option, max_cholesterol: Option, min_fluoride: Option, max_fluoride: Option, min_saturated_fat: Option, max_saturated_fat: Option, min_vitamin_a: Option, max_vitamin_a: Option, min_vitamin_c: Option, max_vitamin_c: Option, min_vitamin_d: Option, max_vitamin_d: Option, min_vitamin_e: Option, max_vitamin_e: Option, min_vitamin_k: Option, max_vitamin_k: Option, min_vitamin_b1: Option, max_vitamin_b1: Option, min_vitamin_b2: Option, max_vitamin_b2: Option, min_vitamin_b5: Option, max_vitamin_b5: Option, min_vitamin_b3: Option, max_vitamin_b3: Option, min_vitamin_b6: Option, max_vitamin_b6: Option, min_vitamin_b12: Option, max_vitamin_b12: Option, min_fiber: Option, max_fiber: Option, min_folate: Option, max_folate: Option, min_folic_acid: Option, max_folic_acid: Option, min_iodine: Option, max_iodine: Option, min_iron: Option, max_iron: Option, min_magnesium: Option, max_magnesium: Option, min_manganese: Option, max_manganese: Option, min_phosphorus: Option, max_phosphorus: Option, min_potassium: Option, max_potassium: Option, min_selenium: Option, max_selenium: Option, min_sodium: Option, max_sodium: Option, min_sugar: Option, max_sugar: Option, min_zinc: Option, max_zinc: Option, offset: Option, number: Option, random: Option, limit_license: Option) -> Result, Error> { +pub async fn search_recipes_by_nutrients(configuration: &configuration::Configuration, min_carbs: Option, max_carbs: Option, min_protein: Option, max_protein: Option, min_calories: Option, max_calories: Option, min_fat: Option, max_fat: Option, min_alcohol: Option, max_alcohol: Option, min_caffeine: Option, max_caffeine: Option, min_copper: Option, max_copper: Option, min_calcium: Option, max_calcium: Option, min_choline: Option, max_choline: Option, min_cholesterol: Option, max_cholesterol: Option, min_fluoride: Option, max_fluoride: Option, min_saturated_fat: Option, max_saturated_fat: Option, min_vitamin_a: Option, max_vitamin_a: Option, min_vitamin_c: Option, max_vitamin_c: Option, min_vitamin_d: Option, max_vitamin_d: Option, min_vitamin_e: Option, max_vitamin_e: Option, min_vitamin_k: Option, max_vitamin_k: Option, min_vitamin_b1: Option, max_vitamin_b1: Option, min_vitamin_b2: Option, max_vitamin_b2: Option, min_vitamin_b5: Option, max_vitamin_b5: Option, min_vitamin_b3: Option, max_vitamin_b3: Option, min_vitamin_b6: Option, max_vitamin_b6: Option, min_vitamin_b12: Option, max_vitamin_b12: Option, min_fiber: Option, max_fiber: Option, min_folate: Option, max_folate: Option, min_folic_acid: Option, max_folic_acid: Option, min_iodine: Option, max_iodine: Option, min_iron: Option, max_iron: Option, min_magnesium: Option, max_magnesium: Option, min_manganese: Option, max_manganese: Option, min_phosphorus: Option, max_phosphorus: Option, min_potassium: Option, max_potassium: Option, min_selenium: Option, max_selenium: Option, min_sodium: Option, max_sodium: Option, min_sugar: Option, max_sugar: Option, min_zinc: Option, max_zinc: Option, offset: Option, number: Option, random: Option, limit_license: Option) -> Result, Error> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -2170,7 +2170,7 @@ pub async fn search_recipes_by_nutrients(configuration: &configuration::Configur } /// Automatically generate a short description that summarizes key information about the recipe. -pub async fn summarize_recipe(configuration: &configuration::Configuration, id: i32) -> Result> { +pub async fn summarize_recipe(configuration: &configuration::Configuration, id: i32) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -2254,7 +2254,7 @@ pub async fn visualize_equipment(configuration: &configuration::Configuration, i } /// Visualize the price breakdown of a recipe. -pub async fn visualize_price_breakdown(configuration: &configuration::Configuration, ingredient_list: &str, servings: f32, language: Option<&str>, mode: Option, default_css: Option, show_backlink: Option) -> Result> { +pub async fn visualize_price_breakdown(configuration: &configuration::Configuration, ingredient_list: &str, servings: f64, language: Option<&str>, mode: Option, default_css: Option, show_backlink: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -2387,7 +2387,7 @@ pub async fn visualize_recipe_ingredients_by_id(configuration: &configuration::C } /// Visualize a recipe's nutritional information as HTML including CSS. -pub async fn visualize_recipe_nutrition(configuration: &configuration::Configuration, ingredient_list: &str, servings: f32, language: Option<&str>, default_css: Option, show_backlink: Option) -> Result> { +pub async fn visualize_recipe_nutrition(configuration: &configuration::Configuration, ingredient_list: &str, servings: f64, language: Option<&str>, default_css: Option, show_backlink: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/apis/wine_api.rs b/rust/src/apis/wine_api.rs index 9dc3a9329..e182367e5 100644 --- a/rust/src/apis/wine_api.rs +++ b/rust/src/apis/wine_api.rs @@ -10,8 +10,8 @@ use reqwest; - -use crate::apis::ResponseContent; +use serde::{Deserialize, Serialize}; +use crate::{apis::ResponseContent, models}; use super::{Error, configuration}; @@ -57,7 +57,7 @@ pub enum GetWineRecommendationError { /// Find a dish that goes well with a given wine. -pub async fn get_dish_pairing_for_wine(configuration: &configuration::Configuration, wine: &str) -> Result> { +pub async fn get_dish_pairing_for_wine(configuration: &configuration::Configuration, wine: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -94,7 +94,7 @@ pub async fn get_dish_pairing_for_wine(configuration: &configuration::Configurat } /// Get a simple description of a certain wine, e.g. \"malbec\", \"riesling\", or \"merlot\". -pub async fn get_wine_description(configuration: &configuration::Configuration, wine: &str) -> Result> { +pub async fn get_wine_description(configuration: &configuration::Configuration, wine: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -131,7 +131,7 @@ pub async fn get_wine_description(configuration: &configuration::Configuration, } /// Find a wine that goes well with a food. Food can be a dish name (\"steak\"), an ingredient name (\"salmon\"), or a cuisine (\"italian\"). -pub async fn get_wine_pairing(configuration: &configuration::Configuration, food: &str, max_price: Option) -> Result> { +pub async fn get_wine_pairing(configuration: &configuration::Configuration, food: &str, max_price: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -171,7 +171,7 @@ pub async fn get_wine_pairing(configuration: &configuration::Configuration, food } /// Get a specific wine recommendation (concrete product) for a given wine type, e.g. \"merlot\". -pub async fn get_wine_recommendation(configuration: &configuration::Configuration, wine: &str, max_price: Option, min_rating: Option, number: Option) -> Result> { +pub async fn get_wine_recommendation(configuration: &configuration::Configuration, wine: &str, max_price: Option, min_rating: Option, number: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/rust/src/lib.rs b/rust/src/lib.rs index c1dd666f7..a1837b966 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1,5 +1,5 @@ -#[macro_use] -extern crate serde_derive; +#![allow(unused_imports)] +#![allow(clippy::too_many_arguments)] extern crate serde; extern crate serde_json; diff --git a/rust/src/models/add_meal_plan_template_200_response.rs b/rust/src/models/add_meal_plan_template_200_response.rs index fcd3c7ec8..43532c114 100644 --- a/rust/src/models/add_meal_plan_template_200_response.rs +++ b/rust/src/models/add_meal_plan_template_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// AddMealPlanTemplate200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AddMealPlanTemplate200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddMealPlanTemplate200Response { #[serde(rename = "name")] pub name: String, #[serde(rename = "items")] - pub items: Vec, + pub items: Vec, #[serde(rename = "publishAsPublic")] pub publish_as_public: bool, } impl AddMealPlanTemplate200Response { /// - pub fn new(name: String, items: Vec, publish_as_public: bool) -> AddMealPlanTemplate200Response { + pub fn new(name: String, items: Vec, publish_as_public: bool) -> AddMealPlanTemplate200Response { AddMealPlanTemplate200Response { name, items, @@ -33,4 +33,3 @@ impl AddMealPlanTemplate200Response { } } - diff --git a/rust/src/models/add_meal_plan_template_200_response_items_inner.rs b/rust/src/models/add_meal_plan_template_200_response_items_inner.rs index 4a8aa18ed..101cb69f0 100644 --- a/rust/src/models/add_meal_plan_template_200_response_items_inner.rs +++ b/rust/src/models/add_meal_plan_template_200_response_items_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddMealPlanTemplate200ResponseItemsInner { #[serde(rename = "day")] pub day: i32, @@ -22,7 +22,7 @@ pub struct AddMealPlanTemplate200ResponseItemsInner { #[serde(rename = "type")] pub r#type: String, #[serde(rename = "value", skip_serializing_if = "Option::is_none")] - pub value: Option>, + pub value: Option>, } impl AddMealPlanTemplate200ResponseItemsInner { @@ -37,4 +37,3 @@ impl AddMealPlanTemplate200ResponseItemsInner { } } - diff --git a/rust/src/models/add_meal_plan_template_200_response_items_inner_value.rs b/rust/src/models/add_meal_plan_template_200_response_items_inner_value.rs index 75d2bd209..55b9e4005 100644 --- a/rust/src/models/add_meal_plan_template_200_response_items_inner_value.rs +++ b/rust/src/models/add_meal_plan_template_200_response_items_inner_value.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddMealPlanTemplate200ResponseItemsInnerValue { #[serde(rename = "id", skip_serializing_if = "Option::is_none")] pub id: Option, #[serde(rename = "servings", skip_serializing_if = "Option::is_none")] - pub servings: Option, + pub servings: Option, #[serde(rename = "title", skip_serializing_if = "Option::is_none")] pub title: Option, #[serde(rename = "imageType", skip_serializing_if = "Option::is_none")] @@ -34,4 +34,3 @@ impl AddMealPlanTemplate200ResponseItemsInnerValue { } } - diff --git a/rust/src/models/add_to_meal_plan_request.rs b/rust/src/models/add_to_meal_plan_request.rs index c3300c062..be252b221 100644 --- a/rust/src/models/add_to_meal_plan_request.rs +++ b/rust/src/models/add_to_meal_plan_request.rs @@ -8,14 +8,14 @@ * Generated by: https://openapi-generator.tech */ -/// AddToMealPlanRequest : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AddToMealPlanRequest : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddToMealPlanRequest { #[serde(rename = "date")] - pub date: f32, + pub date: f64, #[serde(rename = "slot")] pub slot: i32, #[serde(rename = "position")] @@ -23,12 +23,12 @@ pub struct AddToMealPlanRequest { #[serde(rename = "type")] pub r#type: String, #[serde(rename = "value")] - pub value: Box, + pub value: Box, } impl AddToMealPlanRequest { /// - pub fn new(date: f32, slot: i32, position: i32, r#type: String, value: crate::models::AddToMealPlanRequestValue) -> AddToMealPlanRequest { + pub fn new(date: f64, slot: i32, position: i32, r#type: String, value: models::AddToMealPlanRequestValue) -> AddToMealPlanRequest { AddToMealPlanRequest { date, slot, @@ -39,4 +39,3 @@ impl AddToMealPlanRequest { } } - diff --git a/rust/src/models/add_to_meal_plan_request_value.rs b/rust/src/models/add_to_meal_plan_request_value.rs index f2aff6efd..660b09c42 100644 --- a/rust/src/models/add_to_meal_plan_request_value.rs +++ b/rust/src/models/add_to_meal_plan_request_value.rs @@ -8,21 +8,20 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddToMealPlanRequestValue { #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, } impl AddToMealPlanRequestValue { - pub fn new(ingredients: Vec) -> AddToMealPlanRequestValue { + pub fn new(ingredients: Vec) -> AddToMealPlanRequestValue { AddToMealPlanRequestValue { ingredients, } } } - diff --git a/rust/src/models/add_to_meal_plan_request_value_ingredients_inner.rs b/rust/src/models/add_to_meal_plan_request_value_ingredients_inner.rs index 039b63929..c8e292296 100644 --- a/rust/src/models/add_to_meal_plan_request_value_ingredients_inner.rs +++ b/rust/src/models/add_to_meal_plan_request_value_ingredients_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddToMealPlanRequestValueIngredientsInner { #[serde(rename = "name")] pub name: String, @@ -25,4 +25,3 @@ impl AddToMealPlanRequestValueIngredientsInner { } } - diff --git a/rust/src/models/add_to_shopping_list_request.rs b/rust/src/models/add_to_shopping_list_request.rs index 4187d0150..9109e2482 100644 --- a/rust/src/models/add_to_shopping_list_request.rs +++ b/rust/src/models/add_to_shopping_list_request.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// AddToShoppingListRequest : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AddToShoppingListRequest : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AddToShoppingListRequest { #[serde(rename = "item")] pub item: String, @@ -33,4 +33,3 @@ impl AddToShoppingListRequest { } } - diff --git a/rust/src/models/analyze_a_recipe_search_query_200_response.rs b/rust/src/models/analyze_a_recipe_search_query_200_response.rs index 5dc088ca0..618653864 100644 --- a/rust/src/models/analyze_a_recipe_search_query_200_response.rs +++ b/rust/src/models/analyze_a_recipe_search_query_200_response.rs @@ -8,16 +8,16 @@ * Generated by: https://openapi-generator.tech */ -/// AnalyzeARecipeSearchQuery200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AnalyzeARecipeSearchQuery200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeARecipeSearchQuery200Response { #[serde(rename = "dishes")] - pub dishes: Vec, + pub dishes: Vec, #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, #[serde(rename = "cuisines")] pub cuisines: Vec, #[serde(rename = "modifiers")] @@ -26,7 +26,7 @@ pub struct AnalyzeARecipeSearchQuery200Response { impl AnalyzeARecipeSearchQuery200Response { /// - pub fn new(dishes: Vec, ingredients: Vec, cuisines: Vec, modifiers: Vec) -> AnalyzeARecipeSearchQuery200Response { + pub fn new(dishes: Vec, ingredients: Vec, cuisines: Vec, modifiers: Vec) -> AnalyzeARecipeSearchQuery200Response { AnalyzeARecipeSearchQuery200Response { dishes, ingredients, @@ -36,4 +36,3 @@ impl AnalyzeARecipeSearchQuery200Response { } } - diff --git a/rust/src/models/analyze_a_recipe_search_query_200_response_dishes_inner.rs b/rust/src/models/analyze_a_recipe_search_query_200_response_dishes_inner.rs index af88d508c..0ca2865ab 100644 --- a/rust/src/models/analyze_a_recipe_search_query_200_response_dishes_inner.rs +++ b/rust/src/models/analyze_a_recipe_search_query_200_response_dishes_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeARecipeSearchQuery200ResponseDishesInner { #[serde(rename = "image")] pub image: String, @@ -28,4 +28,3 @@ impl AnalyzeARecipeSearchQuery200ResponseDishesInner { } } - diff --git a/rust/src/models/analyze_a_recipe_search_query_200_response_ingredients_inner.rs b/rust/src/models/analyze_a_recipe_search_query_200_response_ingredients_inner.rs index 7724727a4..f2546d7f3 100644 --- a/rust/src/models/analyze_a_recipe_search_query_200_response_ingredients_inner.rs +++ b/rust/src/models/analyze_a_recipe_search_query_200_response_ingredients_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeARecipeSearchQuery200ResponseIngredientsInner { #[serde(rename = "image")] pub image: String, @@ -31,4 +31,3 @@ impl AnalyzeARecipeSearchQuery200ResponseIngredientsInner { } } - diff --git a/rust/src/models/analyze_recipe_instructions_200_response.rs b/rust/src/models/analyze_recipe_instructions_200_response.rs index d9bf641ab..6f741f522 100644 --- a/rust/src/models/analyze_recipe_instructions_200_response.rs +++ b/rust/src/models/analyze_recipe_instructions_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// AnalyzeRecipeInstructions200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AnalyzeRecipeInstructions200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeRecipeInstructions200Response { #[serde(rename = "parsedInstructions")] - pub parsed_instructions: Vec, + pub parsed_instructions: Vec, #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, #[serde(rename = "equipment")] - pub equipment: Vec, + pub equipment: Vec, } impl AnalyzeRecipeInstructions200Response { /// - pub fn new(parsed_instructions: Vec, ingredients: Vec, equipment: Vec) -> AnalyzeRecipeInstructions200Response { + pub fn new(parsed_instructions: Vec, ingredients: Vec, equipment: Vec) -> AnalyzeRecipeInstructions200Response { AnalyzeRecipeInstructions200Response { parsed_instructions, ingredients, @@ -33,4 +33,3 @@ impl AnalyzeRecipeInstructions200Response { } } - diff --git a/rust/src/models/analyze_recipe_instructions_200_response_ingredients_inner.rs b/rust/src/models/analyze_recipe_instructions_200_response_ingredients_inner.rs index 0dd1590a4..908d4cfa1 100644 --- a/rust/src/models/analyze_recipe_instructions_200_response_ingredients_inner.rs +++ b/rust/src/models/analyze_recipe_instructions_200_response_ingredients_inner.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeRecipeInstructions200ResponseIngredientsInner { #[serde(rename = "id")] - pub id: f32, + pub id: f64, #[serde(rename = "name")] pub name: String, } impl AnalyzeRecipeInstructions200ResponseIngredientsInner { - pub fn new(id: f32, name: String) -> AnalyzeRecipeInstructions200ResponseIngredientsInner { + pub fn new(id: f64, name: String) -> AnalyzeRecipeInstructions200ResponseIngredientsInner { AnalyzeRecipeInstructions200ResponseIngredientsInner { id, name, @@ -28,4 +28,3 @@ impl AnalyzeRecipeInstructions200ResponseIngredientsInner { } } - diff --git a/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner.rs b/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner.rs index ce3577880..3c4cabfc9 100644 --- a/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner.rs +++ b/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { #[serde(rename = "name")] pub name: String, #[serde(rename = "steps", skip_serializing_if = "Option::is_none")] - pub steps: Option>, + pub steps: Option>, } impl AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { @@ -28,4 +28,3 @@ impl AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { } } - diff --git a/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs b/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs index cbf0bbde9..2b83fe2f3 100644 --- a/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs +++ b/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { #[serde(rename = "number")] - pub number: f32, + pub number: f64, #[serde(rename = "step")] pub step: String, #[serde(rename = "ingredients", skip_serializing_if = "Option::is_none")] - pub ingredients: Option>, + pub ingredients: Option>, #[serde(rename = "equipment", skip_serializing_if = "Option::is_none")] - pub equipment: Option>, + pub equipment: Option>, } impl AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { - pub fn new(number: f32, step: String) -> AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { + pub fn new(number: f64, step: String) -> AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { number, step, @@ -34,4 +34,3 @@ impl AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { } } - diff --git a/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs b/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs index ceac91cc5..9834871c1 100644 --- a/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs +++ b/rust/src/models/analyze_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { #[serde(rename = "id")] - pub id: f32, + pub id: f64, #[serde(rename = "name")] pub name: String, #[serde(rename = "localizedName")] @@ -24,7 +24,7 @@ pub struct AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner } impl AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { - pub fn new(id: f32, name: String, localized_name: String, image: String) -> AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { + pub fn new(id: f64, name: String, localized_name: String, image: String) -> AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { id, name, @@ -34,4 +34,3 @@ impl AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngred } } - diff --git a/rust/src/models/analyze_recipe_request.rs b/rust/src/models/analyze_recipe_request.rs index 2d7b634c3..6d4431f4f 100644 --- a/rust/src/models/analyze_recipe_request.rs +++ b/rust/src/models/analyze_recipe_request.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AnalyzeRecipeRequest { #[serde(rename = "title", skip_serializing_if = "Option::is_none")] pub title: Option, @@ -34,4 +34,3 @@ impl AnalyzeRecipeRequest { } } - diff --git a/rust/src/models/autocomplete_ingredient_search_200_response_inner.rs b/rust/src/models/autocomplete_ingredient_search_200_response_inner.rs index 73b98a455..ed75d45fb 100644 --- a/rust/src/models/autocomplete_ingredient_search_200_response_inner.rs +++ b/rust/src/models/autocomplete_ingredient_search_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AutocompleteIngredientSearch200ResponseInner { #[serde(rename = "name")] pub name: String, @@ -37,4 +37,3 @@ impl AutocompleteIngredientSearch200ResponseInner { } } - diff --git a/rust/src/models/autocomplete_menu_item_search_200_response.rs b/rust/src/models/autocomplete_menu_item_search_200_response.rs index 1a6a0d583..2edc852a0 100644 --- a/rust/src/models/autocomplete_menu_item_search_200_response.rs +++ b/rust/src/models/autocomplete_menu_item_search_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// AutocompleteMenuItemSearch200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AutocompleteMenuItemSearch200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AutocompleteMenuItemSearch200Response { #[serde(rename = "results")] - pub results: Vec, + pub results: Vec, } impl AutocompleteMenuItemSearch200Response { /// - pub fn new(results: Vec) -> AutocompleteMenuItemSearch200Response { + pub fn new(results: Vec) -> AutocompleteMenuItemSearch200Response { AutocompleteMenuItemSearch200Response { results, } } } - diff --git a/rust/src/models/autocomplete_product_search_200_response.rs b/rust/src/models/autocomplete_product_search_200_response.rs index 1d02139b2..769e5b80d 100644 --- a/rust/src/models/autocomplete_product_search_200_response.rs +++ b/rust/src/models/autocomplete_product_search_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// AutocompleteProductSearch200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// AutocompleteProductSearch200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AutocompleteProductSearch200Response { #[serde(rename = "results")] - pub results: Vec, + pub results: Vec, } impl AutocompleteProductSearch200Response { /// - pub fn new(results: Vec) -> AutocompleteProductSearch200Response { + pub fn new(results: Vec) -> AutocompleteProductSearch200Response { AutocompleteProductSearch200Response { results, } } } - diff --git a/rust/src/models/autocomplete_product_search_200_response_results_inner.rs b/rust/src/models/autocomplete_product_search_200_response_results_inner.rs index 27e5c6081..a64d49fb1 100644 --- a/rust/src/models/autocomplete_product_search_200_response_results_inner.rs +++ b/rust/src/models/autocomplete_product_search_200_response_results_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AutocompleteProductSearch200ResponseResultsInner { #[serde(rename = "id")] pub id: i32, @@ -28,4 +28,3 @@ impl AutocompleteProductSearch200ResponseResultsInner { } } - diff --git a/rust/src/models/autocomplete_recipe_search_200_response_inner.rs b/rust/src/models/autocomplete_recipe_search_200_response_inner.rs index 540a0eefd..41df1a0e8 100644 --- a/rust/src/models/autocomplete_recipe_search_200_response_inner.rs +++ b/rust/src/models/autocomplete_recipe_search_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct AutocompleteRecipeSearch200ResponseInner { #[serde(rename = "id")] pub id: i32, @@ -31,4 +31,3 @@ impl AutocompleteRecipeSearch200ResponseInner { } } - diff --git a/rust/src/models/classify_cuisine_200_response.rs b/rust/src/models/classify_cuisine_200_response.rs index 7f69189d3..2272abccd 100644 --- a/rust/src/models/classify_cuisine_200_response.rs +++ b/rust/src/models/classify_cuisine_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// ClassifyCuisine200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ClassifyCuisine200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClassifyCuisine200Response { #[serde(rename = "cuisine")] pub cuisine: String, #[serde(rename = "cuisines")] pub cuisines: Vec, #[serde(rename = "confidence")] - pub confidence: f32, + pub confidence: f64, } impl ClassifyCuisine200Response { /// - pub fn new(cuisine: String, cuisines: Vec, confidence: f32) -> ClassifyCuisine200Response { + pub fn new(cuisine: String, cuisines: Vec, confidence: f64) -> ClassifyCuisine200Response { ClassifyCuisine200Response { cuisine, cuisines, @@ -33,4 +33,3 @@ impl ClassifyCuisine200Response { } } - diff --git a/rust/src/models/classify_grocery_product_200_response.rs b/rust/src/models/classify_grocery_product_200_response.rs index 15f262482..d556e43b6 100644 --- a/rust/src/models/classify_grocery_product_200_response.rs +++ b/rust/src/models/classify_grocery_product_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// ClassifyGroceryProduct200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ClassifyGroceryProduct200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClassifyGroceryProduct200Response { #[serde(rename = "cleanTitle")] pub clean_title: String, @@ -39,4 +39,3 @@ impl ClassifyGroceryProduct200Response { } } - diff --git a/rust/src/models/classify_grocery_product_bulk_200_response_inner.rs b/rust/src/models/classify_grocery_product_bulk_200_response_inner.rs index 512e14a93..df63e1f8e 100644 --- a/rust/src/models/classify_grocery_product_bulk_200_response_inner.rs +++ b/rust/src/models/classify_grocery_product_bulk_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClassifyGroceryProductBulk200ResponseInner { #[serde(rename = "cleanTitle")] pub clean_title: String, @@ -37,4 +37,3 @@ impl ClassifyGroceryProductBulk200ResponseInner { } } - diff --git a/rust/src/models/classify_grocery_product_bulk_request_inner.rs b/rust/src/models/classify_grocery_product_bulk_request_inner.rs index 25d0061a7..2a841377b 100644 --- a/rust/src/models/classify_grocery_product_bulk_request_inner.rs +++ b/rust/src/models/classify_grocery_product_bulk_request_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClassifyGroceryProductBulkRequestInner { #[serde(rename = "title")] pub title: String, @@ -31,4 +31,3 @@ impl ClassifyGroceryProductBulkRequestInner { } } - diff --git a/rust/src/models/classify_grocery_product_request.rs b/rust/src/models/classify_grocery_product_request.rs index fa09ab5ba..17b61c910 100644 --- a/rust/src/models/classify_grocery_product_request.rs +++ b/rust/src/models/classify_grocery_product_request.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// ClassifyGroceryProductRequest : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ClassifyGroceryProductRequest : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClassifyGroceryProductRequest { #[serde(rename = "title")] pub title: String, @@ -33,4 +33,3 @@ impl ClassifyGroceryProductRequest { } } - diff --git a/rust/src/models/compute_glycemic_load_200_response.rs b/rust/src/models/compute_glycemic_load_200_response.rs index d145da520..8c0024d63 100644 --- a/rust/src/models/compute_glycemic_load_200_response.rs +++ b/rust/src/models/compute_glycemic_load_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// ComputeGlycemicLoad200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ComputeGlycemicLoad200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ComputeGlycemicLoad200Response { #[serde(rename = "totalGlycemicLoad")] - pub total_glycemic_load: f32, + pub total_glycemic_load: f64, #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, } impl ComputeGlycemicLoad200Response { /// - pub fn new(total_glycemic_load: f32, ingredients: Vec) -> ComputeGlycemicLoad200Response { + pub fn new(total_glycemic_load: f64, ingredients: Vec) -> ComputeGlycemicLoad200Response { ComputeGlycemicLoad200Response { total_glycemic_load, ingredients, @@ -30,4 +30,3 @@ impl ComputeGlycemicLoad200Response { } } - diff --git a/rust/src/models/compute_glycemic_load_200_response_ingredients_inner.rs b/rust/src/models/compute_glycemic_load_200_response_ingredients_inner.rs index 193392f0b..8065dd38c 100644 --- a/rust/src/models/compute_glycemic_load_200_response_ingredients_inner.rs +++ b/rust/src/models/compute_glycemic_load_200_response_ingredients_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ComputeGlycemicLoad200ResponseIngredientsInner { #[serde(rename = "id")] pub id: i32, #[serde(rename = "original")] pub original: String, #[serde(rename = "glycemicIndex")] - pub glycemic_index: f32, + pub glycemic_index: f64, #[serde(rename = "glycemicLoad")] - pub glycemic_load: f32, + pub glycemic_load: f64, } impl ComputeGlycemicLoad200ResponseIngredientsInner { - pub fn new(id: i32, original: String, glycemic_index: f32, glycemic_load: f32) -> ComputeGlycemicLoad200ResponseIngredientsInner { + pub fn new(id: i32, original: String, glycemic_index: f64, glycemic_load: f64) -> ComputeGlycemicLoad200ResponseIngredientsInner { ComputeGlycemicLoad200ResponseIngredientsInner { id, original, @@ -34,4 +34,3 @@ impl ComputeGlycemicLoad200ResponseIngredientsInner { } } - diff --git a/rust/src/models/compute_glycemic_load_request.rs b/rust/src/models/compute_glycemic_load_request.rs index d977522c6..e038918db 100644 --- a/rust/src/models/compute_glycemic_load_request.rs +++ b/rust/src/models/compute_glycemic_load_request.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// ComputeGlycemicLoadRequest : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ComputeGlycemicLoadRequest : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ComputeGlycemicLoadRequest { #[serde(rename = "ingredients")] pub ingredients: Vec, @@ -27,4 +27,3 @@ impl ComputeGlycemicLoadRequest { } } - diff --git a/rust/src/models/compute_ingredient_amount_200_response.rs b/rust/src/models/compute_ingredient_amount_200_response.rs index c6016d6eb..a62bb052d 100644 --- a/rust/src/models/compute_ingredient_amount_200_response.rs +++ b/rust/src/models/compute_ingredient_amount_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// ComputeIngredientAmount200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ComputeIngredientAmount200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ComputeIngredientAmount200Response { #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, } impl ComputeIngredientAmount200Response { /// - pub fn new(amount: f32, unit: String) -> ComputeIngredientAmount200Response { + pub fn new(amount: f64, unit: String) -> ComputeIngredientAmount200Response { ComputeIngredientAmount200Response { amount, unit, @@ -30,4 +30,3 @@ impl ComputeIngredientAmount200Response { } } - diff --git a/rust/src/models/connect_user_200_response.rs b/rust/src/models/connect_user_200_response.rs index db2648404..6224ec170 100644 --- a/rust/src/models/connect_user_200_response.rs +++ b/rust/src/models/connect_user_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// ConnectUser200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ConnectUser200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ConnectUser200Response { #[serde(rename = "username")] pub username: String, @@ -30,4 +30,3 @@ impl ConnectUser200Response { } } - diff --git a/rust/src/models/connect_user_request.rs b/rust/src/models/connect_user_request.rs index d7ff02964..5d1e38f2d 100644 --- a/rust/src/models/connect_user_request.rs +++ b/rust/src/models/connect_user_request.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// ConnectUserRequest : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ConnectUserRequest : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ConnectUserRequest { #[serde(rename = "username")] pub username: String, @@ -36,4 +36,3 @@ impl ConnectUserRequest { } } - diff --git a/rust/src/models/convert_amounts_200_response.rs b/rust/src/models/convert_amounts_200_response.rs index afef07c38..818e7ff7d 100644 --- a/rust/src/models/convert_amounts_200_response.rs +++ b/rust/src/models/convert_amounts_200_response.rs @@ -8,18 +8,18 @@ * Generated by: https://openapi-generator.tech */ -/// ConvertAmounts200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ConvertAmounts200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ConvertAmounts200Response { #[serde(rename = "sourceAmount")] - pub source_amount: f32, + pub source_amount: f64, #[serde(rename = "sourceUnit")] pub source_unit: String, #[serde(rename = "targetAmount")] - pub target_amount: f32, + pub target_amount: f64, #[serde(rename = "targetUnit")] pub target_unit: String, #[serde(rename = "answer")] @@ -28,7 +28,7 @@ pub struct ConvertAmounts200Response { impl ConvertAmounts200Response { /// - pub fn new(source_amount: f32, source_unit: String, target_amount: f32, target_unit: String, answer: String) -> ConvertAmounts200Response { + pub fn new(source_amount: f64, source_unit: String, target_amount: f64, target_unit: String, answer: String) -> ConvertAmounts200Response { ConvertAmounts200Response { source_amount, source_unit, @@ -39,4 +39,3 @@ impl ConvertAmounts200Response { } } - diff --git a/rust/src/models/create_recipe_card_200_response.rs b/rust/src/models/create_recipe_card_200_response.rs index 3f2f2a13f..b007fd0d1 100644 --- a/rust/src/models/create_recipe_card_200_response.rs +++ b/rust/src/models/create_recipe_card_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// CreateRecipeCard200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// CreateRecipeCard200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct CreateRecipeCard200Response { #[serde(rename = "url")] pub url: String, @@ -27,4 +27,3 @@ impl CreateRecipeCard200Response { } } - diff --git a/rust/src/models/detect_food_in_text_200_response.rs b/rust/src/models/detect_food_in_text_200_response.rs index 79fd837c2..bbaa4d06a 100644 --- a/rust/src/models/detect_food_in_text_200_response.rs +++ b/rust/src/models/detect_food_in_text_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// DetectFoodInText200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// DetectFoodInText200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct DetectFoodInText200Response { #[serde(rename = "annotations")] - pub annotations: Vec, + pub annotations: Vec, } impl DetectFoodInText200Response { /// - pub fn new(annotations: Vec) -> DetectFoodInText200Response { + pub fn new(annotations: Vec) -> DetectFoodInText200Response { DetectFoodInText200Response { annotations, } } } - diff --git a/rust/src/models/detect_food_in_text_200_response_annotations_inner.rs b/rust/src/models/detect_food_in_text_200_response_annotations_inner.rs index d6ea2319d..ef8063ef2 100644 --- a/rust/src/models/detect_food_in_text_200_response_annotations_inner.rs +++ b/rust/src/models/detect_food_in_text_200_response_annotations_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct DetectFoodInText200ResponseAnnotationsInner { #[serde(rename = "annotation")] pub annotation: String, @@ -31,4 +31,3 @@ impl DetectFoodInText200ResponseAnnotationsInner { } } - diff --git a/rust/src/models/generate_meal_plan_200_response.rs b/rust/src/models/generate_meal_plan_200_response.rs index 8550722de..ea1240334 100644 --- a/rust/src/models/generate_meal_plan_200_response.rs +++ b/rust/src/models/generate_meal_plan_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// GenerateMealPlan200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GenerateMealPlan200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GenerateMealPlan200Response { #[serde(rename = "meals")] - pub meals: Vec, + pub meals: Vec, #[serde(rename = "nutrients")] - pub nutrients: Box, + pub nutrients: Box, } impl GenerateMealPlan200Response { /// - pub fn new(meals: Vec, nutrients: crate::models::GenerateMealPlan200ResponseNutrients) -> GenerateMealPlan200Response { + pub fn new(meals: Vec, nutrients: models::GenerateMealPlan200ResponseNutrients) -> GenerateMealPlan200Response { GenerateMealPlan200Response { meals, nutrients: Box::new(nutrients), @@ -30,4 +30,3 @@ impl GenerateMealPlan200Response { } } - diff --git a/rust/src/models/generate_meal_plan_200_response_nutrients.rs b/rust/src/models/generate_meal_plan_200_response_nutrients.rs index 599fbfbcf..9fe9d36b1 100644 --- a/rust/src/models/generate_meal_plan_200_response_nutrients.rs +++ b/rust/src/models/generate_meal_plan_200_response_nutrients.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GenerateMealPlan200ResponseNutrients { #[serde(rename = "calories")] - pub calories: f32, + pub calories: f64, #[serde(rename = "carbohydrates")] - pub carbohydrates: f32, + pub carbohydrates: f64, #[serde(rename = "fat")] - pub fat: f32, + pub fat: f64, #[serde(rename = "protein")] - pub protein: f32, + pub protein: f64, } impl GenerateMealPlan200ResponseNutrients { - pub fn new(calories: f32, carbohydrates: f32, fat: f32, protein: f32) -> GenerateMealPlan200ResponseNutrients { + pub fn new(calories: f64, carbohydrates: f64, fat: f64, protein: f64) -> GenerateMealPlan200ResponseNutrients { GenerateMealPlan200ResponseNutrients { calories, carbohydrates, @@ -34,4 +34,3 @@ impl GenerateMealPlan200ResponseNutrients { } } - diff --git a/rust/src/models/generate_shopping_list_200_response.rs b/rust/src/models/generate_shopping_list_200_response.rs index 7f035fddd..8098160af 100644 --- a/rust/src/models/generate_shopping_list_200_response.rs +++ b/rust/src/models/generate_shopping_list_200_response.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ -/// GenerateShoppingList200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GenerateShoppingList200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GenerateShoppingList200Response { #[serde(rename = "aisles")] - pub aisles: Vec, + pub aisles: Vec, #[serde(rename = "cost")] - pub cost: f32, + pub cost: f64, #[serde(rename = "startDate")] - pub start_date: f32, + pub start_date: f64, #[serde(rename = "endDate")] - pub end_date: f32, + pub end_date: f64, } impl GenerateShoppingList200Response { /// - pub fn new(aisles: Vec, cost: f32, start_date: f32, end_date: f32) -> GenerateShoppingList200Response { + pub fn new(aisles: Vec, cost: f64, start_date: f64, end_date: f64) -> GenerateShoppingList200Response { GenerateShoppingList200Response { aisles, cost, @@ -36,4 +36,3 @@ impl GenerateShoppingList200Response { } } - diff --git a/rust/src/models/get_a_random_food_joke_200_response.rs b/rust/src/models/get_a_random_food_joke_200_response.rs index ab10103b5..751159c08 100644 --- a/rust/src/models/get_a_random_food_joke_200_response.rs +++ b/rust/src/models/get_a_random_food_joke_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetARandomFoodJoke200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetARandomFoodJoke200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetARandomFoodJoke200Response { #[serde(rename = "text")] pub text: String, @@ -27,4 +27,3 @@ impl GetARandomFoodJoke200Response { } } - diff --git a/rust/src/models/get_analyzed_recipe_instructions_200_response.rs b/rust/src/models/get_analyzed_recipe_instructions_200_response.rs index 60a2a88c1..08c84747c 100644 --- a/rust/src/models/get_analyzed_recipe_instructions_200_response.rs +++ b/rust/src/models/get_analyzed_recipe_instructions_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// GetAnalyzedRecipeInstructions200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetAnalyzedRecipeInstructions200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetAnalyzedRecipeInstructions200Response { #[serde(rename = "parsedInstructions")] - pub parsed_instructions: Vec, + pub parsed_instructions: Vec, #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, #[serde(rename = "equipment")] - pub equipment: Vec, + pub equipment: Vec, } impl GetAnalyzedRecipeInstructions200Response { /// - pub fn new(parsed_instructions: Vec, ingredients: Vec, equipment: Vec) -> GetAnalyzedRecipeInstructions200Response { + pub fn new(parsed_instructions: Vec, ingredients: Vec, equipment: Vec) -> GetAnalyzedRecipeInstructions200Response { GetAnalyzedRecipeInstructions200Response { parsed_instructions, ingredients, @@ -33,4 +33,3 @@ impl GetAnalyzedRecipeInstructions200Response { } } - diff --git a/rust/src/models/get_analyzed_recipe_instructions_200_response_ingredients_inner.rs b/rust/src/models/get_analyzed_recipe_instructions_200_response_ingredients_inner.rs index 9960e7636..f6ac7325b 100644 --- a/rust/src/models/get_analyzed_recipe_instructions_200_response_ingredients_inner.rs +++ b/rust/src/models/get_analyzed_recipe_instructions_200_response_ingredients_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetAnalyzedRecipeInstructions200ResponseIngredientsInner { #[serde(rename = "id")] pub id: i32, @@ -28,4 +28,3 @@ impl GetAnalyzedRecipeInstructions200ResponseIngredientsInner { } } - diff --git a/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.rs b/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.rs index a9bb78d7a..040bf0536 100644 --- a/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.rs +++ b/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { #[serde(rename = "name")] pub name: String, #[serde(rename = "steps", skip_serializing_if = "Option::is_none")] - pub steps: Option>, + pub steps: Option>, } impl GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { @@ -28,4 +28,3 @@ impl GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { } } - diff --git a/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs b/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs index 81a926dc6..9964c4050 100644 --- a/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs +++ b/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { #[serde(rename = "number")] - pub number: f32, + pub number: f64, #[serde(rename = "step")] pub step: String, #[serde(rename = "ingredients", skip_serializing_if = "Option::is_none")] - pub ingredients: Option>, + pub ingredients: Option>, #[serde(rename = "equipment", skip_serializing_if = "Option::is_none")] - pub equipment: Option>, + pub equipment: Option>, } impl GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { - pub fn new(number: f32, step: String) -> GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { + pub fn new(number: f64, step: String) -> GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { number, step, @@ -34,4 +34,3 @@ impl GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { } } - diff --git a/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs b/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs index 81d56928f..2763d7cac 100644 --- a/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs +++ b/rust/src/models/get_analyzed_recipe_instructions_200_response_parsed_instructions_inner_steps_inner_ingredients_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { #[serde(rename = "id")] pub id: i32, @@ -34,4 +34,3 @@ impl GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIn } } - diff --git a/rust/src/models/get_comparable_products_200_response.rs b/rust/src/models/get_comparable_products_200_response.rs index 270e4acc0..10b517ef7 100644 --- a/rust/src/models/get_comparable_products_200_response.rs +++ b/rust/src/models/get_comparable_products_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// GetComparableProducts200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetComparableProducts200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetComparableProducts200Response { #[serde(rename = "comparableProducts")] - pub comparable_products: Box, + pub comparable_products: Box, } impl GetComparableProducts200Response { /// - pub fn new(comparable_products: crate::models::GetComparableProducts200ResponseComparableProducts) -> GetComparableProducts200Response { + pub fn new(comparable_products: models::GetComparableProducts200ResponseComparableProducts) -> GetComparableProducts200Response { GetComparableProducts200Response { comparable_products: Box::new(comparable_products), } } } - diff --git a/rust/src/models/get_comparable_products_200_response_comparable_products.rs b/rust/src/models/get_comparable_products_200_response_comparable_products.rs index d785e90bf..fa8a90bc8 100644 --- a/rust/src/models/get_comparable_products_200_response_comparable_products.rs +++ b/rust/src/models/get_comparable_products_200_response_comparable_products.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetComparableProducts200ResponseComparableProducts { #[serde(rename = "calories")] pub calories: Vec, @@ -20,15 +20,15 @@ pub struct GetComparableProducts200ResponseComparableProducts { #[serde(rename = "price")] pub price: Vec, #[serde(rename = "protein")] - pub protein: Vec, + pub protein: Vec, #[serde(rename = "spoonacularScore")] - pub spoonacular_score: Vec, + pub spoonacular_score: Vec, #[serde(rename = "sugar")] pub sugar: Vec, } impl GetComparableProducts200ResponseComparableProducts { - pub fn new(calories: Vec, likes: Vec, price: Vec, protein: Vec, spoonacular_score: Vec, sugar: Vec) -> GetComparableProducts200ResponseComparableProducts { + pub fn new(calories: Vec, likes: Vec, price: Vec, protein: Vec, spoonacular_score: Vec, sugar: Vec) -> GetComparableProducts200ResponseComparableProducts { GetComparableProducts200ResponseComparableProducts { calories, likes, @@ -40,4 +40,3 @@ impl GetComparableProducts200ResponseComparableProducts { } } - diff --git a/rust/src/models/get_comparable_products_200_response_comparable_products_protein_inner.rs b/rust/src/models/get_comparable_products_200_response_comparable_products_protein_inner.rs index 8fbf7a3b4..0f7690d94 100644 --- a/rust/src/models/get_comparable_products_200_response_comparable_products_protein_inner.rs +++ b/rust/src/models/get_comparable_products_200_response_comparable_products_protein_inner.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetComparableProducts200ResponseComparableProductsProteinInner { #[serde(rename = "difference")] - pub difference: f32, + pub difference: f64, #[serde(rename = "id")] pub id: i32, #[serde(rename = "image")] @@ -24,7 +24,7 @@ pub struct GetComparableProducts200ResponseComparableProductsProteinInner { } impl GetComparableProducts200ResponseComparableProductsProteinInner { - pub fn new(difference: f32, id: i32, image: String, title: String) -> GetComparableProducts200ResponseComparableProductsProteinInner { + pub fn new(difference: f64, id: i32, image: String, title: String) -> GetComparableProducts200ResponseComparableProductsProteinInner { GetComparableProducts200ResponseComparableProductsProteinInner { difference, id, @@ -34,4 +34,3 @@ impl GetComparableProducts200ResponseComparableProductsProteinInner { } } - diff --git a/rust/src/models/get_conversation_suggests_200_response.rs b/rust/src/models/get_conversation_suggests_200_response.rs index e9afb2962..77010260e 100644 --- a/rust/src/models/get_conversation_suggests_200_response.rs +++ b/rust/src/models/get_conversation_suggests_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// GetConversationSuggests200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetConversationSuggests200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetConversationSuggests200Response { #[serde(rename = "suggests")] - pub suggests: Box, + pub suggests: Box, #[serde(rename = "words")] pub words: Vec, } impl GetConversationSuggests200Response { /// - pub fn new(suggests: crate::models::GetConversationSuggests200ResponseSuggests, words: Vec) -> GetConversationSuggests200Response { + pub fn new(suggests: models::GetConversationSuggests200ResponseSuggests, words: Vec) -> GetConversationSuggests200Response { GetConversationSuggests200Response { suggests: Box::new(suggests), words, @@ -30,4 +30,3 @@ impl GetConversationSuggests200Response { } } - diff --git a/rust/src/models/get_conversation_suggests_200_response_suggests.rs b/rust/src/models/get_conversation_suggests_200_response_suggests.rs index 13ae35f07..f0f3ea0f5 100644 --- a/rust/src/models/get_conversation_suggests_200_response_suggests.rs +++ b/rust/src/models/get_conversation_suggests_200_response_suggests.rs @@ -8,21 +8,20 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetConversationSuggests200ResponseSuggests { #[serde(rename = "_")] - pub underscore: Vec, + pub underscore: Vec, } impl GetConversationSuggests200ResponseSuggests { - pub fn new(underscore: Vec) -> GetConversationSuggests200ResponseSuggests { + pub fn new(underscore: Vec) -> GetConversationSuggests200ResponseSuggests { GetConversationSuggests200ResponseSuggests { underscore, } } } - diff --git a/rust/src/models/get_conversation_suggests_200_response_suggests___inner.rs b/rust/src/models/get_conversation_suggests_200_response_suggests___inner.rs index 9b545e1ce..d7f9b0451 100644 --- a/rust/src/models/get_conversation_suggests_200_response_suggests___inner.rs +++ b/rust/src/models/get_conversation_suggests_200_response_suggests___inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetConversationSuggests200ResponseSuggestsInner { #[serde(rename = "name")] pub name: String, @@ -25,4 +25,3 @@ impl GetConversationSuggests200ResponseSuggestsInner { } } - diff --git a/rust/src/models/get_dish_pairing_for_wine_200_response.rs b/rust/src/models/get_dish_pairing_for_wine_200_response.rs index 62f0c6924..13a799514 100644 --- a/rust/src/models/get_dish_pairing_for_wine_200_response.rs +++ b/rust/src/models/get_dish_pairing_for_wine_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetDishPairingForWine200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetDishPairingForWine200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetDishPairingForWine200Response { #[serde(rename = "pairings")] pub pairings: Vec, @@ -30,4 +30,3 @@ impl GetDishPairingForWine200Response { } } - diff --git a/rust/src/models/get_ingredient_information_200_response.rs b/rust/src/models/get_ingredient_information_200_response.rs index 7aa8498c7..777de609f 100644 --- a/rust/src/models/get_ingredient_information_200_response.rs +++ b/rust/src/models/get_ingredient_information_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetIngredientInformation200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetIngredientInformation200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetIngredientInformation200Response { #[serde(rename = "id")] pub id: i32, @@ -25,7 +25,7 @@ pub struct GetIngredientInformation200Response { #[serde(rename = "nameClean")] pub name_clean: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, #[serde(rename = "unitShort")] @@ -35,7 +35,7 @@ pub struct GetIngredientInformation200Response { #[serde(rename = "possibleUnits")] pub possible_units: Vec, #[serde(rename = "estimatedCost")] - pub estimated_cost: Box, + pub estimated_cost: Box, #[serde(rename = "consistency")] pub consistency: String, #[serde(rename = "shoppingListUnits")] @@ -47,14 +47,14 @@ pub struct GetIngredientInformation200Response { #[serde(rename = "meta")] pub meta: Vec, #[serde(rename = "nutrition")] - pub nutrition: Box, + pub nutrition: Box, #[serde(rename = "categoryPath")] pub category_path: Vec, } impl GetIngredientInformation200Response { /// - pub fn new(id: i32, original: String, original_name: String, name: String, name_clean: String, amount: f32, unit: String, unit_short: String, unit_long: String, possible_units: Vec, estimated_cost: crate::models::ParseIngredients200ResponseInnerEstimatedCost, consistency: String, shopping_list_units: Vec, aisle: String, image: String, meta: Vec, nutrition: crate::models::GetIngredientInformation200ResponseNutrition, category_path: Vec) -> GetIngredientInformation200Response { + pub fn new(id: i32, original: String, original_name: String, name: String, name_clean: String, amount: f64, unit: String, unit_short: String, unit_long: String, possible_units: Vec, estimated_cost: models::ParseIngredients200ResponseInnerEstimatedCost, consistency: String, shopping_list_units: Vec, aisle: String, image: String, meta: Vec, nutrition: models::GetIngredientInformation200ResponseNutrition, category_path: Vec) -> GetIngredientInformation200Response { GetIngredientInformation200Response { id, original, @@ -78,4 +78,3 @@ impl GetIngredientInformation200Response { } } - diff --git a/rust/src/models/get_ingredient_information_200_response_nutrition.rs b/rust/src/models/get_ingredient_information_200_response_nutrition.rs index fc68bcc15..32691cf65 100644 --- a/rust/src/models/get_ingredient_information_200_response_nutrition.rs +++ b/rust/src/models/get_ingredient_information_200_response_nutrition.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetIngredientInformation200ResponseNutrition { #[serde(rename = "nutrients")] - pub nutrients: Vec, + pub nutrients: Vec, #[serde(rename = "properties")] - pub properties: Vec, + pub properties: Vec, #[serde(rename = "caloricBreakdown")] - pub caloric_breakdown: Box, + pub caloric_breakdown: Box, #[serde(rename = "weightPerServing")] - pub weight_per_serving: Box, + pub weight_per_serving: Box, } impl GetIngredientInformation200ResponseNutrition { - pub fn new(nutrients: Vec, properties: Vec, caloric_breakdown: crate::models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown, weight_per_serving: crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing) -> GetIngredientInformation200ResponseNutrition { + pub fn new(nutrients: Vec, properties: Vec, caloric_breakdown: models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown, weight_per_serving: models::ParseIngredients200ResponseInnerNutritionWeightPerServing) -> GetIngredientInformation200ResponseNutrition { GetIngredientInformation200ResponseNutrition { nutrients, properties, @@ -34,4 +34,3 @@ impl GetIngredientInformation200ResponseNutrition { } } - diff --git a/rust/src/models/get_ingredient_substitutes_200_response.rs b/rust/src/models/get_ingredient_substitutes_200_response.rs index d7b036115..14558f4e6 100644 --- a/rust/src/models/get_ingredient_substitutes_200_response.rs +++ b/rust/src/models/get_ingredient_substitutes_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetIngredientSubstitutes200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetIngredientSubstitutes200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetIngredientSubstitutes200Response { #[serde(rename = "ingredient")] pub ingredient: String, @@ -33,4 +33,3 @@ impl GetIngredientSubstitutes200Response { } } - diff --git a/rust/src/models/get_meal_plan_template_200_response.rs b/rust/src/models/get_meal_plan_template_200_response.rs index 89fe923e4..3ab5091f2 100644 --- a/rust/src/models/get_meal_plan_template_200_response.rs +++ b/rust/src/models/get_meal_plan_template_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// GetMealPlanTemplate200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetMealPlanTemplate200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanTemplate200Response { #[serde(rename = "id")] pub id: i32, #[serde(rename = "name")] pub name: String, #[serde(rename = "days")] - pub days: Vec, + pub days: Vec, } impl GetMealPlanTemplate200Response { /// - pub fn new(id: i32, name: String, days: Vec) -> GetMealPlanTemplate200Response { + pub fn new(id: i32, name: String, days: Vec) -> GetMealPlanTemplate200Response { GetMealPlanTemplate200Response { id, name, @@ -33,4 +33,3 @@ impl GetMealPlanTemplate200Response { } } - diff --git a/rust/src/models/get_meal_plan_template_200_response_days_inner.rs b/rust/src/models/get_meal_plan_template_200_response_days_inner.rs index d40388846..dbb66c35b 100644 --- a/rust/src/models/get_meal_plan_template_200_response_days_inner.rs +++ b/rust/src/models/get_meal_plan_template_200_response_days_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanTemplate200ResponseDaysInner { #[serde(rename = "nutritionSummary", skip_serializing_if = "Option::is_none")] - pub nutrition_summary: Option>, + pub nutrition_summary: Option>, #[serde(rename = "nutritionSummaryBreakfast", skip_serializing_if = "Option::is_none")] - pub nutrition_summary_breakfast: Option>, + pub nutrition_summary_breakfast: Option>, #[serde(rename = "nutritionSummaryLunch", skip_serializing_if = "Option::is_none")] - pub nutrition_summary_lunch: Option>, + pub nutrition_summary_lunch: Option>, #[serde(rename = "nutritionSummaryDinner", skip_serializing_if = "Option::is_none")] - pub nutrition_summary_dinner: Option>, + pub nutrition_summary_dinner: Option>, #[serde(rename = "day")] pub day: String, #[serde(rename = "items", skip_serializing_if = "Option::is_none")] - pub items: Option>, + pub items: Option>, } impl GetMealPlanTemplate200ResponseDaysInner { @@ -40,4 +40,3 @@ impl GetMealPlanTemplate200ResponseDaysInner { } } - diff --git a/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner.rs b/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner.rs index 5cd03ea08..f932453e4 100644 --- a/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner.rs +++ b/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanTemplate200ResponseDaysInnerItemsInner { #[serde(rename = "id")] pub id: i32, @@ -22,7 +22,7 @@ pub struct GetMealPlanTemplate200ResponseDaysInnerItemsInner { #[serde(rename = "type")] pub r#type: String, #[serde(rename = "value", skip_serializing_if = "Option::is_none")] - pub value: Option>, + pub value: Option>, } impl GetMealPlanTemplate200ResponseDaysInnerItemsInner { @@ -37,4 +37,3 @@ impl GetMealPlanTemplate200ResponseDaysInnerItemsInner { } } - diff --git a/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner_value.rs b/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner_value.rs index cce0e9e31..ce8c12604 100644 --- a/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner_value.rs +++ b/rust/src/models/get_meal_plan_template_200_response_days_inner_items_inner_value.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { #[serde(rename = "id")] - pub id: f32, + pub id: f64, #[serde(rename = "title")] pub title: String, #[serde(rename = "imageType")] @@ -22,7 +22,7 @@ pub struct GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { } impl GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { - pub fn new(id: f32, title: String, image_type: String) -> GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { + pub fn new(id: f64, title: String, image_type: String) -> GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { id, title, @@ -31,4 +31,3 @@ impl GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { } } - diff --git a/rust/src/models/get_meal_plan_templates_200_response.rs b/rust/src/models/get_meal_plan_templates_200_response.rs index 86dae525f..f2421c7a4 100644 --- a/rust/src/models/get_meal_plan_templates_200_response.rs +++ b/rust/src/models/get_meal_plan_templates_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// GetMealPlanTemplates200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetMealPlanTemplates200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanTemplates200Response { #[serde(rename = "templates")] - pub templates: Vec, + pub templates: Vec, } impl GetMealPlanTemplates200Response { /// - pub fn new(templates: Vec) -> GetMealPlanTemplates200Response { + pub fn new(templates: Vec) -> GetMealPlanTemplates200Response { GetMealPlanTemplates200Response { templates, } } } - diff --git a/rust/src/models/get_meal_plan_week_200_response.rs b/rust/src/models/get_meal_plan_week_200_response.rs index 2c1372b43..55db1842e 100644 --- a/rust/src/models/get_meal_plan_week_200_response.rs +++ b/rust/src/models/get_meal_plan_week_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// GetMealPlanWeek200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetMealPlanWeek200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanWeek200Response { #[serde(rename = "days")] - pub days: Vec, + pub days: Vec, } impl GetMealPlanWeek200Response { /// - pub fn new(days: Vec) -> GetMealPlanWeek200Response { + pub fn new(days: Vec) -> GetMealPlanWeek200Response { GetMealPlanWeek200Response { days, } } } - diff --git a/rust/src/models/get_meal_plan_week_200_response_days_inner.rs b/rust/src/models/get_meal_plan_week_200_response_days_inner.rs index 9ddc952db..89e26348a 100644 --- a/rust/src/models/get_meal_plan_week_200_response_days_inner.rs +++ b/rust/src/models/get_meal_plan_week_200_response_days_inner.rs @@ -8,29 +8,29 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanWeek200ResponseDaysInner { #[serde(rename = "nutritionSummary", skip_serializing_if = "Option::is_none")] - pub nutrition_summary: Option>, + pub nutrition_summary: Option>, #[serde(rename = "nutritionSummaryBreakfast", skip_serializing_if = "Option::is_none")] - pub nutrition_summary_breakfast: Option>, + pub nutrition_summary_breakfast: Option>, #[serde(rename = "nutritionSummaryLunch", skip_serializing_if = "Option::is_none")] - pub nutrition_summary_lunch: Option>, + pub nutrition_summary_lunch: Option>, #[serde(rename = "nutritionSummaryDinner", skip_serializing_if = "Option::is_none")] - pub nutrition_summary_dinner: Option>, + pub nutrition_summary_dinner: Option>, #[serde(rename = "date")] - pub date: f32, + pub date: f64, #[serde(rename = "day")] pub day: String, #[serde(rename = "items", skip_serializing_if = "Option::is_none")] - pub items: Option>, + pub items: Option>, } impl GetMealPlanWeek200ResponseDaysInner { - pub fn new(date: f32, day: String) -> GetMealPlanWeek200ResponseDaysInner { + pub fn new(date: f64, day: String) -> GetMealPlanWeek200ResponseDaysInner { GetMealPlanWeek200ResponseDaysInner { nutrition_summary: None, nutrition_summary_breakfast: None, @@ -43,4 +43,3 @@ impl GetMealPlanWeek200ResponseDaysInner { } } - diff --git a/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner.rs b/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner.rs index c21c057e3..452ce41b0 100644 --- a/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner.rs +++ b/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanWeek200ResponseDaysInnerItemsInner { #[serde(rename = "id")] pub id: i32, @@ -22,7 +22,7 @@ pub struct GetMealPlanWeek200ResponseDaysInnerItemsInner { #[serde(rename = "type")] pub r#type: String, #[serde(rename = "value", skip_serializing_if = "Option::is_none")] - pub value: Option>, + pub value: Option>, } impl GetMealPlanWeek200ResponseDaysInnerItemsInner { @@ -37,4 +37,3 @@ impl GetMealPlanWeek200ResponseDaysInnerItemsInner { } } - diff --git a/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner_value.rs b/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner_value.rs index c339dfa76..f2aaced45 100644 --- a/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner_value.rs +++ b/rust/src/models/get_meal_plan_week_200_response_days_inner_items_inner_value.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, #[serde(rename = "id")] - pub id: f32, + pub id: f64, #[serde(rename = "title")] pub title: String, #[serde(rename = "imageType")] @@ -24,7 +24,7 @@ pub struct GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { } impl GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { - pub fn new(servings: f32, id: f32, title: String, image_type: String) -> GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { + pub fn new(servings: f64, id: f64, title: String, image_type: String) -> GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { servings, id, @@ -34,4 +34,3 @@ impl GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { } } - diff --git a/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary.rs b/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary.rs index 776bc8736..52bec03e9 100644 --- a/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary.rs +++ b/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary.rs @@ -8,21 +8,20 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanWeek200ResponseDaysInnerNutritionSummary { #[serde(rename = "nutrients")] - pub nutrients: Vec, + pub nutrients: Vec, } impl GetMealPlanWeek200ResponseDaysInnerNutritionSummary { - pub fn new(nutrients: Vec) -> GetMealPlanWeek200ResponseDaysInnerNutritionSummary { + pub fn new(nutrients: Vec) -> GetMealPlanWeek200ResponseDaysInnerNutritionSummary { GetMealPlanWeek200ResponseDaysInnerNutritionSummary { nutrients, } } } - diff --git a/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.rs b/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.rs index 0dbb35f6d..7e6d4792e 100644 --- a/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.rs +++ b/rust/src/models/get_meal_plan_week_200_response_days_inner_nutrition_summary_nutrients_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { #[serde(rename = "name")] pub name: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, #[serde(rename = "percentDailyNeeds")] - pub percent_daily_needs: f32, + pub percent_daily_needs: f64, } impl GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { - pub fn new(name: String, amount: f32, unit: String, percent_daily_needs: f32) -> GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { + pub fn new(name: String, amount: f64, unit: String, percent_daily_needs: f64) -> GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { name, amount, @@ -34,4 +34,3 @@ impl GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { } } - diff --git a/rust/src/models/get_menu_item_information_200_response.rs b/rust/src/models/get_menu_item_information_200_response.rs index bfcda85a3..cf581698a 100644 --- a/rust/src/models/get_menu_item_information_200_response.rs +++ b/rust/src/models/get_menu_item_information_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetMenuItemInformation200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetMenuItemInformation200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetMenuItemInformation200Response { #[serde(rename = "id")] pub id: i32, @@ -21,7 +21,7 @@ pub struct GetMenuItemInformation200Response { #[serde(rename = "restaurantChain")] pub restaurant_chain: String, #[serde(rename = "nutrition")] - pub nutrition: Box, + pub nutrition: Box, #[serde(rename = "badges")] pub badges: Vec, #[serde(rename = "breadcrumbs")] @@ -31,18 +31,18 @@ pub struct GetMenuItemInformation200Response { #[serde(rename = "imageType")] pub image_type: String, #[serde(rename = "likes")] - pub likes: f32, + pub likes: f64, #[serde(rename = "servings")] - pub servings: Box, + pub servings: Box, #[serde(rename = "price", skip_serializing_if = "Option::is_none")] - pub price: Option, + pub price: Option, #[serde(rename = "spoonacularScore", skip_serializing_if = "Option::is_none")] - pub spoonacular_score: Option, + pub spoonacular_score: Option, } impl GetMenuItemInformation200Response { /// - pub fn new(id: i32, title: String, restaurant_chain: String, nutrition: crate::models::SearchGroceryProductsByUpc200ResponseNutrition, badges: Vec, breadcrumbs: Vec, image_type: String, likes: f32, servings: crate::models::SearchGroceryProductsByUpc200ResponseServings) -> GetMenuItemInformation200Response { + pub fn new(id: i32, title: String, restaurant_chain: String, nutrition: models::SearchGroceryProductsByUpc200ResponseNutrition, badges: Vec, breadcrumbs: Vec, image_type: String, likes: f64, servings: models::SearchGroceryProductsByUpc200ResponseServings) -> GetMenuItemInformation200Response { GetMenuItemInformation200Response { id, title, @@ -60,4 +60,3 @@ impl GetMenuItemInformation200Response { } } - diff --git a/rust/src/models/get_product_information_200_response.rs b/rust/src/models/get_product_information_200_response.rs index e382ce46b..845a8fe03 100644 --- a/rust/src/models/get_product_information_200_response.rs +++ b/rust/src/models/get_product_information_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetProductInformation200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetProductInformation200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetProductInformation200Response { #[serde(rename = "id")] pub id: i32, @@ -33,24 +33,24 @@ pub struct GetProductInformation200Response { #[serde(rename = "ingredientList")] pub ingredient_list: String, #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, #[serde(rename = "likes")] - pub likes: f32, + pub likes: f64, #[serde(rename = "aisle")] pub aisle: String, #[serde(rename = "nutrition")] - pub nutrition: Box, + pub nutrition: Box, #[serde(rename = "price")] - pub price: f32, + pub price: f64, #[serde(rename = "servings")] - pub servings: Box, + pub servings: Box, #[serde(rename = "spoonacularScore")] - pub spoonacular_score: f32, + pub spoonacular_score: f64, } impl GetProductInformation200Response { /// - pub fn new(id: i32, title: String, breadcrumbs: Vec, image_type: String, badges: Vec, important_badges: Vec, ingredient_count: i32, ingredient_list: String, ingredients: Vec, likes: f32, aisle: String, nutrition: crate::models::SearchGroceryProductsByUpc200ResponseNutrition, price: f32, servings: crate::models::SearchGroceryProductsByUpc200ResponseServings, spoonacular_score: f32) -> GetProductInformation200Response { + pub fn new(id: i32, title: String, breadcrumbs: Vec, image_type: String, badges: Vec, important_badges: Vec, ingredient_count: i32, ingredient_list: String, ingredients: Vec, likes: f64, aisle: String, nutrition: models::SearchGroceryProductsByUpc200ResponseNutrition, price: f64, servings: models::SearchGroceryProductsByUpc200ResponseServings, spoonacular_score: f64) -> GetProductInformation200Response { GetProductInformation200Response { id, title, @@ -72,4 +72,3 @@ impl GetProductInformation200Response { } } - diff --git a/rust/src/models/get_product_information_200_response_ingredients_inner.rs b/rust/src/models/get_product_information_200_response_ingredients_inner.rs index be12dbf31..44b81d17e 100644 --- a/rust/src/models/get_product_information_200_response_ingredients_inner.rs +++ b/rust/src/models/get_product_information_200_response_ingredients_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetProductInformation200ResponseIngredientsInner { #[serde(rename = "description", skip_serializing_if = "Option::is_none")] pub description: Option, @@ -31,4 +31,3 @@ impl GetProductInformation200ResponseIngredientsInner { } } - diff --git a/rust/src/models/get_random_food_trivia_200_response.rs b/rust/src/models/get_random_food_trivia_200_response.rs index 3b5a6c333..6ddfb038d 100644 --- a/rust/src/models/get_random_food_trivia_200_response.rs +++ b/rust/src/models/get_random_food_trivia_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetRandomFoodTrivia200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRandomFoodTrivia200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRandomFoodTrivia200Response { #[serde(rename = "text")] pub text: String, @@ -27,4 +27,3 @@ impl GetRandomFoodTrivia200Response { } } - diff --git a/rust/src/models/get_random_recipes_200_response.rs b/rust/src/models/get_random_recipes_200_response.rs index 606f3c11e..f81e6a0ab 100644 --- a/rust/src/models/get_random_recipes_200_response.rs +++ b/rust/src/models/get_random_recipes_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// GetRandomRecipes200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRandomRecipes200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRandomRecipes200Response { #[serde(rename = "recipes")] - pub recipes: Vec, + pub recipes: Vec, } impl GetRandomRecipes200Response { /// - pub fn new(recipes: Vec) -> GetRandomRecipes200Response { + pub fn new(recipes: Vec) -> GetRandomRecipes200Response { GetRandomRecipes200Response { recipes, } } } - diff --git a/rust/src/models/get_random_recipes_200_response_recipes_inner.rs b/rust/src/models/get_random_recipes_200_response_recipes_inner.rs index 2ea42d4a1..e2dd05255 100644 --- a/rust/src/models/get_random_recipes_200_response_recipes_inner.rs +++ b/rust/src/models/get_random_recipes_200_response_recipes_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRandomRecipes200ResponseRecipesInner { #[serde(rename = "id")] pub id: i32, @@ -22,7 +22,7 @@ pub struct GetRandomRecipes200ResponseRecipesInner { #[serde(rename = "imageType")] pub image_type: String, #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, #[serde(rename = "readyInMinutes")] pub ready_in_minutes: i32, #[serde(rename = "license")] @@ -34,13 +34,13 @@ pub struct GetRandomRecipes200ResponseRecipesInner { #[serde(rename = "spoonacularSourceUrl")] pub spoonacular_source_url: String, #[serde(rename = "aggregateLikes")] - pub aggregate_likes: f32, + pub aggregate_likes: f64, #[serde(rename = "healthScore")] - pub health_score: f32, + pub health_score: f64, #[serde(rename = "spoonacularScore")] - pub spoonacular_score: f32, + pub spoonacular_score: f64, #[serde(rename = "pricePerServing")] - pub price_per_serving: f32, + pub price_per_serving: f64, #[serde(rename = "analyzedInstructions", skip_serializing_if = "Option::is_none")] pub analyzed_instructions: Option>, #[serde(rename = "cheap")] @@ -78,19 +78,19 @@ pub struct GetRandomRecipes200ResponseRecipesInner { #[serde(rename = "whole30")] pub whole30: bool, #[serde(rename = "weightWatcherSmartPoints")] - pub weight_watcher_smart_points: f32, + pub weight_watcher_smart_points: f64, #[serde(rename = "dishTypes", skip_serializing_if = "Option::is_none")] pub dish_types: Option>, #[serde(rename = "extendedIngredients", skip_serializing_if = "Option::is_none")] - pub extended_ingredients: Option>, + pub extended_ingredients: Option>, #[serde(rename = "summary")] pub summary: String, #[serde(rename = "winePairing", skip_serializing_if = "Option::is_none")] - pub wine_pairing: Option>, + pub wine_pairing: Option>, } impl GetRandomRecipes200ResponseRecipesInner { - pub fn new(id: i32, title: String, image: String, image_type: String, servings: f32, ready_in_minutes: i32, license: String, source_name: String, source_url: String, spoonacular_source_url: String, aggregate_likes: f32, health_score: f32, spoonacular_score: f32, price_per_serving: f32, cheap: bool, credits_text: String, dairy_free: bool, gaps: String, gluten_free: bool, instructions: String, ketogenic: bool, low_fodmap: bool, sustainable: bool, vegan: bool, vegetarian: bool, very_healthy: bool, very_popular: bool, whole30: bool, weight_watcher_smart_points: f32, summary: String) -> GetRandomRecipes200ResponseRecipesInner { + pub fn new(id: i32, title: String, image: String, image_type: String, servings: f64, ready_in_minutes: i32, license: String, source_name: String, source_url: String, spoonacular_source_url: String, aggregate_likes: f64, health_score: f64, spoonacular_score: f64, price_per_serving: f64, cheap: bool, credits_text: String, dairy_free: bool, gaps: String, gluten_free: bool, instructions: String, ketogenic: bool, low_fodmap: bool, sustainable: bool, vegan: bool, vegetarian: bool, very_healthy: bool, very_popular: bool, whole30: bool, weight_watcher_smart_points: f64, summary: String) -> GetRandomRecipes200ResponseRecipesInner { GetRandomRecipes200ResponseRecipesInner { id, title, @@ -133,4 +133,3 @@ impl GetRandomRecipes200ResponseRecipesInner { } } - diff --git a/rust/src/models/get_recipe_equipment_by_id_200_response.rs b/rust/src/models/get_recipe_equipment_by_id_200_response.rs index c4f464f77..588bb8199 100644 --- a/rust/src/models/get_recipe_equipment_by_id_200_response.rs +++ b/rust/src/models/get_recipe_equipment_by_id_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// GetRecipeEquipmentById200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRecipeEquipmentById200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeEquipmentById200Response { #[serde(rename = "equipment")] - pub equipment: Vec, + pub equipment: Vec, } impl GetRecipeEquipmentById200Response { /// - pub fn new(equipment: Vec) -> GetRecipeEquipmentById200Response { + pub fn new(equipment: Vec) -> GetRecipeEquipmentById200Response { GetRecipeEquipmentById200Response { equipment, } } } - diff --git a/rust/src/models/get_recipe_equipment_by_id_200_response_equipment_inner.rs b/rust/src/models/get_recipe_equipment_by_id_200_response_equipment_inner.rs index 8e312495e..f7aa92d90 100644 --- a/rust/src/models/get_recipe_equipment_by_id_200_response_equipment_inner.rs +++ b/rust/src/models/get_recipe_equipment_by_id_200_response_equipment_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeEquipmentById200ResponseEquipmentInner { #[serde(rename = "image")] pub image: String, @@ -28,4 +28,3 @@ impl GetRecipeEquipmentById200ResponseEquipmentInner { } } - diff --git a/rust/src/models/get_recipe_information_200_response.rs b/rust/src/models/get_recipe_information_200_response.rs index be8fec13a..5a2f5a379 100644 --- a/rust/src/models/get_recipe_information_200_response.rs +++ b/rust/src/models/get_recipe_information_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetRecipeInformation200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRecipeInformation200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformation200Response { #[serde(rename = "id")] pub id: i32, @@ -23,7 +23,7 @@ pub struct GetRecipeInformation200Response { #[serde(rename = "imageType")] pub image_type: String, #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, #[serde(rename = "readyInMinutes")] pub ready_in_minutes: i32, #[serde(rename = "license")] @@ -37,11 +37,11 @@ pub struct GetRecipeInformation200Response { #[serde(rename = "aggregateLikes")] pub aggregate_likes: i32, #[serde(rename = "healthScore")] - pub health_score: f32, + pub health_score: f64, #[serde(rename = "spoonacularScore")] - pub spoonacular_score: f32, + pub spoonacular_score: f64, #[serde(rename = "pricePerServing")] - pub price_per_serving: f32, + pub price_per_serving: f64, #[serde(rename = "analyzedInstructions")] pub analyzed_instructions: Vec, #[serde(rename = "cheap")] @@ -79,20 +79,20 @@ pub struct GetRecipeInformation200Response { #[serde(rename = "whole30")] pub whole30: bool, #[serde(rename = "weightWatcherSmartPoints")] - pub weight_watcher_smart_points: f32, + pub weight_watcher_smart_points: f64, #[serde(rename = "dishTypes")] pub dish_types: Vec, #[serde(rename = "extendedIngredients")] - pub extended_ingredients: Vec, + pub extended_ingredients: Vec, #[serde(rename = "summary")] pub summary: String, #[serde(rename = "winePairing")] - pub wine_pairing: Box, + pub wine_pairing: Box, } impl GetRecipeInformation200Response { /// - pub fn new(id: i32, title: String, image: String, image_type: String, servings: f32, ready_in_minutes: i32, license: String, source_name: String, source_url: String, spoonacular_source_url: String, aggregate_likes: i32, health_score: f32, spoonacular_score: f32, price_per_serving: f32, analyzed_instructions: Vec, cheap: bool, credits_text: String, cuisines: Vec, dairy_free: bool, diets: Vec, gaps: String, gluten_free: bool, instructions: String, ketogenic: bool, low_fodmap: bool, occasions: Vec, sustainable: bool, vegan: bool, vegetarian: bool, very_healthy: bool, very_popular: bool, whole30: bool, weight_watcher_smart_points: f32, dish_types: Vec, extended_ingredients: Vec, summary: String, wine_pairing: crate::models::GetRecipeInformation200ResponseWinePairing) -> GetRecipeInformation200Response { + pub fn new(id: i32, title: String, image: String, image_type: String, servings: f64, ready_in_minutes: i32, license: String, source_name: String, source_url: String, spoonacular_source_url: String, aggregate_likes: i32, health_score: f64, spoonacular_score: f64, price_per_serving: f64, analyzed_instructions: Vec, cheap: bool, credits_text: String, cuisines: Vec, dairy_free: bool, diets: Vec, gaps: String, gluten_free: bool, instructions: String, ketogenic: bool, low_fodmap: bool, occasions: Vec, sustainable: bool, vegan: bool, vegetarian: bool, very_healthy: bool, very_popular: bool, whole30: bool, weight_watcher_smart_points: f64, dish_types: Vec, extended_ingredients: Vec, summary: String, wine_pairing: models::GetRecipeInformation200ResponseWinePairing) -> GetRecipeInformation200Response { GetRecipeInformation200Response { id, title, @@ -135,4 +135,3 @@ impl GetRecipeInformation200Response { } } - diff --git a/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner.rs b/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner.rs index b3e91d2e5..21a7bc408 100644 --- a/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner.rs +++ b/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformation200ResponseExtendedIngredientsInner { #[serde(rename = "aisle")] pub aisle: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "consitency")] pub consitency: String, #[serde(rename = "id")] @@ -24,7 +24,7 @@ pub struct GetRecipeInformation200ResponseExtendedIngredientsInner { #[serde(rename = "image")] pub image: String, #[serde(rename = "measures", skip_serializing_if = "Option::is_none")] - pub measures: Option>, + pub measures: Option>, #[serde(rename = "meta", skip_serializing_if = "Option::is_none")] pub meta: Option>, #[serde(rename = "name")] @@ -38,7 +38,7 @@ pub struct GetRecipeInformation200ResponseExtendedIngredientsInner { } impl GetRecipeInformation200ResponseExtendedIngredientsInner { - pub fn new(aisle: String, amount: f32, consitency: String, id: i32, image: String, name: String, original: String, original_name: String, unit: String) -> GetRecipeInformation200ResponseExtendedIngredientsInner { + pub fn new(aisle: String, amount: f64, consitency: String, id: i32, image: String, name: String, original: String, original_name: String, unit: String) -> GetRecipeInformation200ResponseExtendedIngredientsInner { GetRecipeInformation200ResponseExtendedIngredientsInner { aisle, amount, @@ -55,4 +55,3 @@ impl GetRecipeInformation200ResponseExtendedIngredientsInner { } } - diff --git a/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures.rs b/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures.rs index 7dbed460e..3df9ad0ec 100644 --- a/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures.rs +++ b/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { #[serde(rename = "metric")] - pub metric: Box, + pub metric: Box, #[serde(rename = "us")] - pub us: Box, + pub us: Box, } impl GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { - pub fn new(metric: crate::models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric, us: crate::models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric) -> GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { + pub fn new(metric: models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric, us: models::GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric) -> GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { metric: Box::new(metric), us: Box::new(us), @@ -28,4 +28,3 @@ impl GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { } } - diff --git a/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.rs b/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.rs index eec9a0feb..31400b036 100644 --- a/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.rs +++ b/rust/src/models/get_recipe_information_200_response_extended_ingredients_inner_measures_metric.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unitLong")] pub unit_long: String, #[serde(rename = "unitShort")] @@ -22,7 +22,7 @@ pub struct GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric } impl GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { - pub fn new(amount: f32, unit_long: String, unit_short: String) -> GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { + pub fn new(amount: f64, unit_long: String, unit_short: String) -> GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { amount, unit_long, @@ -31,4 +31,3 @@ impl GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { } } - diff --git a/rust/src/models/get_recipe_information_200_response_wine_pairing.rs b/rust/src/models/get_recipe_information_200_response_wine_pairing.rs index 0794a0d8f..b9f1f962f 100644 --- a/rust/src/models/get_recipe_information_200_response_wine_pairing.rs +++ b/rust/src/models/get_recipe_information_200_response_wine_pairing.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformation200ResponseWinePairing { #[serde(rename = "pairedWines")] pub paired_wines: Vec, #[serde(rename = "pairingText")] pub pairing_text: String, #[serde(rename = "productMatches")] - pub product_matches: Vec, + pub product_matches: Vec, } impl GetRecipeInformation200ResponseWinePairing { - pub fn new(paired_wines: Vec, pairing_text: String, product_matches: Vec) -> GetRecipeInformation200ResponseWinePairing { + pub fn new(paired_wines: Vec, pairing_text: String, product_matches: Vec) -> GetRecipeInformation200ResponseWinePairing { GetRecipeInformation200ResponseWinePairing { paired_wines, pairing_text, @@ -31,4 +31,3 @@ impl GetRecipeInformation200ResponseWinePairing { } } - diff --git a/rust/src/models/get_recipe_information_200_response_wine_pairing_product_matches_inner.rs b/rust/src/models/get_recipe_information_200_response_wine_pairing_product_matches_inner.rs index 389d492d4..fff9dcee3 100644 --- a/rust/src/models/get_recipe_information_200_response_wine_pairing_product_matches_inner.rs +++ b/rust/src/models/get_recipe_information_200_response_wine_pairing_product_matches_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformation200ResponseWinePairingProductMatchesInner { #[serde(rename = "id")] pub id: i32, @@ -24,17 +24,17 @@ pub struct GetRecipeInformation200ResponseWinePairingProductMatchesInner { #[serde(rename = "imageUrl")] pub image_url: String, #[serde(rename = "averageRating")] - pub average_rating: f32, + pub average_rating: f64, #[serde(rename = "ratingCount")] pub rating_count: i32, #[serde(rename = "score")] - pub score: f32, + pub score: f64, #[serde(rename = "link")] pub link: String, } impl GetRecipeInformation200ResponseWinePairingProductMatchesInner { - pub fn new(id: i32, title: String, description: String, price: String, image_url: String, average_rating: f32, rating_count: i32, score: f32, link: String) -> GetRecipeInformation200ResponseWinePairingProductMatchesInner { + pub fn new(id: i32, title: String, description: String, price: String, image_url: String, average_rating: f64, rating_count: i32, score: f64, link: String) -> GetRecipeInformation200ResponseWinePairingProductMatchesInner { GetRecipeInformation200ResponseWinePairingProductMatchesInner { id, title, @@ -49,4 +49,3 @@ impl GetRecipeInformation200ResponseWinePairingProductMatchesInner { } } - diff --git a/rust/src/models/get_recipe_information_bulk_200_response_inner.rs b/rust/src/models/get_recipe_information_bulk_200_response_inner.rs index fb38ae6dc..b6eaf0353 100644 --- a/rust/src/models/get_recipe_information_bulk_200_response_inner.rs +++ b/rust/src/models/get_recipe_information_bulk_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeInformationBulk200ResponseInner { #[serde(rename = "id")] pub id: i32, @@ -22,7 +22,7 @@ pub struct GetRecipeInformationBulk200ResponseInner { #[serde(rename = "imageType")] pub image_type: String, #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, #[serde(rename = "readyInMinutes")] pub ready_in_minutes: i32, #[serde(rename = "license")] @@ -36,11 +36,11 @@ pub struct GetRecipeInformationBulk200ResponseInner { #[serde(rename = "aggregateLikes")] pub aggregate_likes: i32, #[serde(rename = "healthScore")] - pub health_score: f32, + pub health_score: f64, #[serde(rename = "spoonacularScore")] - pub spoonacular_score: f32, + pub spoonacular_score: f64, #[serde(rename = "pricePerServing")] - pub price_per_serving: f32, + pub price_per_serving: f64, #[serde(rename = "analyzedInstructions")] pub analyzed_instructions: Vec, #[serde(rename = "cheap")] @@ -78,19 +78,19 @@ pub struct GetRecipeInformationBulk200ResponseInner { #[serde(rename = "whole30")] pub whole30: bool, #[serde(rename = "weightWatcherSmartPoints")] - pub weight_watcher_smart_points: f32, + pub weight_watcher_smart_points: f64, #[serde(rename = "dishTypes")] pub dish_types: Vec, #[serde(rename = "extendedIngredients")] - pub extended_ingredients: Vec, + pub extended_ingredients: Vec, #[serde(rename = "summary")] pub summary: String, #[serde(rename = "winePairing")] - pub wine_pairing: Box, + pub wine_pairing: Box, } impl GetRecipeInformationBulk200ResponseInner { - pub fn new(id: i32, title: String, image: String, image_type: String, servings: f32, ready_in_minutes: i32, license: String, source_name: String, source_url: String, spoonacular_source_url: String, aggregate_likes: i32, health_score: f32, spoonacular_score: f32, price_per_serving: f32, analyzed_instructions: Vec, cheap: bool, credits_text: String, cuisines: Vec, dairy_free: bool, diets: Vec, gaps: String, gluten_free: bool, instructions: String, ketogenic: bool, low_fodmap: bool, occasions: Vec, sustainable: bool, vegan: bool, vegetarian: bool, very_healthy: bool, very_popular: bool, whole30: bool, weight_watcher_smart_points: f32, dish_types: Vec, extended_ingredients: Vec, summary: String, wine_pairing: crate::models::GetRecipeInformation200ResponseWinePairing) -> GetRecipeInformationBulk200ResponseInner { + pub fn new(id: i32, title: String, image: String, image_type: String, servings: f64, ready_in_minutes: i32, license: String, source_name: String, source_url: String, spoonacular_source_url: String, aggregate_likes: i32, health_score: f64, spoonacular_score: f64, price_per_serving: f64, analyzed_instructions: Vec, cheap: bool, credits_text: String, cuisines: Vec, dairy_free: bool, diets: Vec, gaps: String, gluten_free: bool, instructions: String, ketogenic: bool, low_fodmap: bool, occasions: Vec, sustainable: bool, vegan: bool, vegetarian: bool, very_healthy: bool, very_popular: bool, whole30: bool, weight_watcher_smart_points: f64, dish_types: Vec, extended_ingredients: Vec, summary: String, wine_pairing: models::GetRecipeInformation200ResponseWinePairing) -> GetRecipeInformationBulk200ResponseInner { GetRecipeInformationBulk200ResponseInner { id, title, @@ -133,4 +133,3 @@ impl GetRecipeInformationBulk200ResponseInner { } } - diff --git a/rust/src/models/get_recipe_ingredients_by_id_200_response.rs b/rust/src/models/get_recipe_ingredients_by_id_200_response.rs index 017dc7d34..e7ce593b3 100644 --- a/rust/src/models/get_recipe_ingredients_by_id_200_response.rs +++ b/rust/src/models/get_recipe_ingredients_by_id_200_response.rs @@ -8,23 +8,22 @@ * Generated by: https://openapi-generator.tech */ -/// GetRecipeIngredientsById200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRecipeIngredientsById200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeIngredientsById200Response { #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, } impl GetRecipeIngredientsById200Response { /// - pub fn new(ingredients: Vec) -> GetRecipeIngredientsById200Response { + pub fn new(ingredients: Vec) -> GetRecipeIngredientsById200Response { GetRecipeIngredientsById200Response { ingredients, } } } - diff --git a/rust/src/models/get_recipe_ingredients_by_id_200_response_ingredients_inner.rs b/rust/src/models/get_recipe_ingredients_by_id_200_response_ingredients_inner.rs index a8b344525..05b9969dc 100644 --- a/rust/src/models/get_recipe_ingredients_by_id_200_response_ingredients_inner.rs +++ b/rust/src/models/get_recipe_ingredients_by_id_200_response_ingredients_inner.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeIngredientsById200ResponseIngredientsInner { #[serde(rename = "amount", skip_serializing_if = "Option::is_none")] - pub amount: Option>, + pub amount: Option>, #[serde(rename = "image")] pub image: String, #[serde(rename = "name")] @@ -31,4 +31,3 @@ impl GetRecipeIngredientsById200ResponseIngredientsInner { } } - diff --git a/rust/src/models/get_recipe_nutrition_widget_by_id_200_response.rs b/rust/src/models/get_recipe_nutrition_widget_by_id_200_response.rs index ea380b0c6..432f080e2 100644 --- a/rust/src/models/get_recipe_nutrition_widget_by_id_200_response.rs +++ b/rust/src/models/get_recipe_nutrition_widget_by_id_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetRecipeNutritionWidgetById200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRecipeNutritionWidgetById200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeNutritionWidgetById200Response { #[serde(rename = "calories")] pub calories: String, @@ -23,14 +23,14 @@ pub struct GetRecipeNutritionWidgetById200Response { #[serde(rename = "protein")] pub protein: String, #[serde(rename = "bad")] - pub bad: Vec, + pub bad: Vec, #[serde(rename = "good")] - pub good: Vec, + pub good: Vec, } impl GetRecipeNutritionWidgetById200Response { /// - pub fn new(calories: String, carbs: String, fat: String, protein: String, bad: Vec, good: Vec) -> GetRecipeNutritionWidgetById200Response { + pub fn new(calories: String, carbs: String, fat: String, protein: String, bad: Vec, good: Vec) -> GetRecipeNutritionWidgetById200Response { GetRecipeNutritionWidgetById200Response { calories, carbs, @@ -42,4 +42,3 @@ impl GetRecipeNutritionWidgetById200Response { } } - diff --git a/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_bad_inner.rs b/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_bad_inner.rs index 849be97a7..ee870ad41 100644 --- a/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_bad_inner.rs +++ b/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_bad_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeNutritionWidgetById200ResponseBadInner { #[serde(rename = "name")] pub name: String, @@ -20,11 +20,11 @@ pub struct GetRecipeNutritionWidgetById200ResponseBadInner { #[serde(rename = "indented")] pub indented: bool, #[serde(rename = "percentOfDailyNeeds")] - pub percent_of_daily_needs: f32, + pub percent_of_daily_needs: f64, } impl GetRecipeNutritionWidgetById200ResponseBadInner { - pub fn new(name: String, amount: String, indented: bool, percent_of_daily_needs: f32) -> GetRecipeNutritionWidgetById200ResponseBadInner { + pub fn new(name: String, amount: String, indented: bool, percent_of_daily_needs: f64) -> GetRecipeNutritionWidgetById200ResponseBadInner { GetRecipeNutritionWidgetById200ResponseBadInner { name, amount, @@ -34,4 +34,3 @@ impl GetRecipeNutritionWidgetById200ResponseBadInner { } } - diff --git a/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_good_inner.rs b/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_good_inner.rs index bbf3b80d1..ab00d1c6e 100644 --- a/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_good_inner.rs +++ b/rust/src/models/get_recipe_nutrition_widget_by_id_200_response_good_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeNutritionWidgetById200ResponseGoodInner { #[serde(rename = "amount")] pub amount: String, #[serde(rename = "indented")] pub indented: bool, #[serde(rename = "percentOfDailyNeeds")] - pub percent_of_daily_needs: f32, + pub percent_of_daily_needs: f64, #[serde(rename = "name")] pub name: String, } impl GetRecipeNutritionWidgetById200ResponseGoodInner { - pub fn new(amount: String, indented: bool, percent_of_daily_needs: f32, name: String) -> GetRecipeNutritionWidgetById200ResponseGoodInner { + pub fn new(amount: String, indented: bool, percent_of_daily_needs: f64, name: String) -> GetRecipeNutritionWidgetById200ResponseGoodInner { GetRecipeNutritionWidgetById200ResponseGoodInner { amount, indented, @@ -34,4 +34,3 @@ impl GetRecipeNutritionWidgetById200ResponseGoodInner { } } - diff --git a/rust/src/models/get_recipe_price_breakdown_by_id_200_response.rs b/rust/src/models/get_recipe_price_breakdown_by_id_200_response.rs index 620d28efd..75b955021 100644 --- a/rust/src/models/get_recipe_price_breakdown_by_id_200_response.rs +++ b/rust/src/models/get_recipe_price_breakdown_by_id_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// GetRecipePriceBreakdownById200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRecipePriceBreakdownById200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipePriceBreakdownById200Response { #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, #[serde(rename = "totalCost")] - pub total_cost: f32, + pub total_cost: f64, #[serde(rename = "totalCostPerServing")] - pub total_cost_per_serving: f32, + pub total_cost_per_serving: f64, } impl GetRecipePriceBreakdownById200Response { /// - pub fn new(ingredients: Vec, total_cost: f32, total_cost_per_serving: f32) -> GetRecipePriceBreakdownById200Response { + pub fn new(ingredients: Vec, total_cost: f64, total_cost_per_serving: f64) -> GetRecipePriceBreakdownById200Response { GetRecipePriceBreakdownById200Response { ingredients, total_cost, @@ -33,4 +33,3 @@ impl GetRecipePriceBreakdownById200Response { } } - diff --git a/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.rs b/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.rs index 59780fee0..edd052cb8 100644 --- a/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.rs +++ b/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipePriceBreakdownById200ResponseIngredientsInner { #[serde(rename = "amount", skip_serializing_if = "Option::is_none")] - pub amount: Option>, + pub amount: Option>, #[serde(rename = "image")] pub image: String, #[serde(rename = "name")] pub name: String, #[serde(rename = "price")] - pub price: f32, + pub price: f64, } impl GetRecipePriceBreakdownById200ResponseIngredientsInner { - pub fn new(image: String, name: String, price: f32) -> GetRecipePriceBreakdownById200ResponseIngredientsInner { + pub fn new(image: String, name: String, price: f64) -> GetRecipePriceBreakdownById200ResponseIngredientsInner { GetRecipePriceBreakdownById200ResponseIngredientsInner { amount: None, image, @@ -34,4 +34,3 @@ impl GetRecipePriceBreakdownById200ResponseIngredientsInner { } } - diff --git a/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.rs b/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.rs index bb4963b4e..9b3224f44 100644 --- a/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.rs +++ b/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount { #[serde(rename = "metric")] - pub metric: Box, + pub metric: Box, #[serde(rename = "us")] - pub us: Box, + pub us: Box, } impl GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount { - pub fn new(metric: crate::models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric, us: crate::models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric) -> GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount { + pub fn new(metric: models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric, us: models::GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric) -> GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount { GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount { metric: Box::new(metric), us: Box::new(us), @@ -28,4 +28,3 @@ impl GetRecipePriceBreakdownById200ResponseIngredientsInnerAmount { } } - diff --git a/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.rs b/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.rs index 7a85a68a5..a414e522c 100644 --- a/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.rs +++ b/rust/src/models/get_recipe_price_breakdown_by_id_200_response_ingredients_inner_amount_metric.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric { #[serde(rename = "unit")] pub unit: String, #[serde(rename = "value")] - pub value: f32, + pub value: f64, } impl GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric { - pub fn new(unit: String, value: f32) -> GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric { + pub fn new(unit: String, value: f64) -> GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric { GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric { unit, value, @@ -28,4 +28,3 @@ impl GetRecipePriceBreakdownById200ResponseIngredientsInnerAmountMetric { } } - diff --git a/rust/src/models/get_recipe_taste_by_id_200_response.rs b/rust/src/models/get_recipe_taste_by_id_200_response.rs index 6d5a035c0..2898468f9 100644 --- a/rust/src/models/get_recipe_taste_by_id_200_response.rs +++ b/rust/src/models/get_recipe_taste_by_id_200_response.rs @@ -8,31 +8,31 @@ * Generated by: https://openapi-generator.tech */ -/// GetRecipeTasteById200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetRecipeTasteById200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetRecipeTasteById200Response { #[serde(rename = "sweetness")] - pub sweetness: f32, + pub sweetness: f64, #[serde(rename = "saltiness")] - pub saltiness: f32, + pub saltiness: f64, #[serde(rename = "sourness")] - pub sourness: f32, + pub sourness: f64, #[serde(rename = "bitterness")] - pub bitterness: f32, + pub bitterness: f64, #[serde(rename = "savoriness")] - pub savoriness: f32, + pub savoriness: f64, #[serde(rename = "fattiness")] - pub fattiness: f32, + pub fattiness: f64, #[serde(rename = "spiciness")] - pub spiciness: f32, + pub spiciness: f64, } impl GetRecipeTasteById200Response { /// - pub fn new(sweetness: f32, saltiness: f32, sourness: f32, bitterness: f32, savoriness: f32, fattiness: f32, spiciness: f32) -> GetRecipeTasteById200Response { + pub fn new(sweetness: f64, saltiness: f64, sourness: f64, bitterness: f64, savoriness: f64, fattiness: f64, spiciness: f64) -> GetRecipeTasteById200Response { GetRecipeTasteById200Response { sweetness, saltiness, @@ -45,4 +45,3 @@ impl GetRecipeTasteById200Response { } } - diff --git a/rust/src/models/get_shopping_list_200_response.rs b/rust/src/models/get_shopping_list_200_response.rs index c49a00baf..925f1d9d5 100644 --- a/rust/src/models/get_shopping_list_200_response.rs +++ b/rust/src/models/get_shopping_list_200_response.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ -/// GetShoppingList200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetShoppingList200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetShoppingList200Response { #[serde(rename = "aisles")] - pub aisles: Vec, + pub aisles: Vec, #[serde(rename = "cost")] - pub cost: f32, + pub cost: f64, #[serde(rename = "startDate")] - pub start_date: f32, + pub start_date: f64, #[serde(rename = "endDate")] - pub end_date: f32, + pub end_date: f64, } impl GetShoppingList200Response { /// - pub fn new(aisles: Vec, cost: f32, start_date: f32, end_date: f32) -> GetShoppingList200Response { + pub fn new(aisles: Vec, cost: f64, start_date: f64, end_date: f64) -> GetShoppingList200Response { GetShoppingList200Response { aisles, cost, @@ -36,4 +36,3 @@ impl GetShoppingList200Response { } } - diff --git a/rust/src/models/get_shopping_list_200_response_aisles_inner.rs b/rust/src/models/get_shopping_list_200_response_aisles_inner.rs index bc1ee9812..ae9fac8ad 100644 --- a/rust/src/models/get_shopping_list_200_response_aisles_inner.rs +++ b/rust/src/models/get_shopping_list_200_response_aisles_inner.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetShoppingList200ResponseAislesInner { #[serde(rename = "aisle")] pub aisle: String, #[serde(rename = "items", skip_serializing_if = "Option::is_none")] - pub items: Option>, + pub items: Option>, } impl GetShoppingList200ResponseAislesInner { @@ -28,4 +28,3 @@ impl GetShoppingList200ResponseAislesInner { } } - diff --git a/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner.rs b/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner.rs index be8635485..05765051b 100644 --- a/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner.rs +++ b/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner.rs @@ -8,29 +8,29 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetShoppingList200ResponseAislesInnerItemsInner { #[serde(rename = "id")] pub id: i32, #[serde(rename = "name")] pub name: String, #[serde(rename = "measures", skip_serializing_if = "Option::is_none")] - pub measures: Option>, + pub measures: Option>, #[serde(rename = "pantryItem")] pub pantry_item: bool, #[serde(rename = "aisle")] pub aisle: String, #[serde(rename = "cost")] - pub cost: f32, + pub cost: f64, #[serde(rename = "ingredientId")] pub ingredient_id: i32, } impl GetShoppingList200ResponseAislesInnerItemsInner { - pub fn new(id: i32, name: String, pantry_item: bool, aisle: String, cost: f32, ingredient_id: i32) -> GetShoppingList200ResponseAislesInnerItemsInner { + pub fn new(id: i32, name: String, pantry_item: bool, aisle: String, cost: f64, ingredient_id: i32) -> GetShoppingList200ResponseAislesInnerItemsInner { GetShoppingList200ResponseAislesInnerItemsInner { id, name, @@ -43,4 +43,3 @@ impl GetShoppingList200ResponseAislesInnerItemsInner { } } - diff --git a/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner_measures.rs b/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner_measures.rs index 06b60bd4b..4a6145529 100644 --- a/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner_measures.rs +++ b/rust/src/models/get_shopping_list_200_response_aisles_inner_items_inner_measures.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetShoppingList200ResponseAislesInnerItemsInnerMeasures { #[serde(rename = "original")] - pub original: Box, + pub original: Box, #[serde(rename = "metric")] - pub metric: Box, + pub metric: Box, #[serde(rename = "us")] - pub us: Box, + pub us: Box, } impl GetShoppingList200ResponseAislesInnerItemsInnerMeasures { - pub fn new(original: crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing, metric: crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing, us: crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing) -> GetShoppingList200ResponseAislesInnerItemsInnerMeasures { + pub fn new(original: models::ParseIngredients200ResponseInnerNutritionWeightPerServing, metric: models::ParseIngredients200ResponseInnerNutritionWeightPerServing, us: models::ParseIngredients200ResponseInnerNutritionWeightPerServing) -> GetShoppingList200ResponseAislesInnerItemsInnerMeasures { GetShoppingList200ResponseAislesInnerItemsInnerMeasures { original: Box::new(original), metric: Box::new(metric), @@ -31,4 +31,3 @@ impl GetShoppingList200ResponseAislesInnerItemsInnerMeasures { } } - diff --git a/rust/src/models/get_similar_recipes_200_response_inner.rs b/rust/src/models/get_similar_recipes_200_response_inner.rs index 3a2c76ba7..d9c88c569 100644 --- a/rust/src/models/get_similar_recipes_200_response_inner.rs +++ b/rust/src/models/get_similar_recipes_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetSimilarRecipes200ResponseInner { #[serde(rename = "id")] pub id: i32, @@ -22,13 +22,13 @@ pub struct GetSimilarRecipes200ResponseInner { #[serde(rename = "readyInMinutes")] pub ready_in_minutes: i32, #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, #[serde(rename = "sourceUrl")] pub source_url: String, } impl GetSimilarRecipes200ResponseInner { - pub fn new(id: i32, title: String, image_type: String, ready_in_minutes: i32, servings: f32, source_url: String) -> GetSimilarRecipes200ResponseInner { + pub fn new(id: i32, title: String, image_type: String, ready_in_minutes: i32, servings: f64, source_url: String) -> GetSimilarRecipes200ResponseInner { GetSimilarRecipes200ResponseInner { id, title, @@ -40,4 +40,3 @@ impl GetSimilarRecipes200ResponseInner { } } - diff --git a/rust/src/models/get_wine_description_200_response.rs b/rust/src/models/get_wine_description_200_response.rs index 5d1a1c19a..ae05c54de 100644 --- a/rust/src/models/get_wine_description_200_response.rs +++ b/rust/src/models/get_wine_description_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// GetWineDescription200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetWineDescription200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetWineDescription200Response { #[serde(rename = "wineDescription")] pub wine_description: String, @@ -27,4 +27,3 @@ impl GetWineDescription200Response { } } - diff --git a/rust/src/models/get_wine_pairing_200_response.rs b/rust/src/models/get_wine_pairing_200_response.rs index 2b98dc750..3484d12a5 100644 --- a/rust/src/models/get_wine_pairing_200_response.rs +++ b/rust/src/models/get_wine_pairing_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// GetWinePairing200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetWinePairing200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetWinePairing200Response { #[serde(rename = "pairedWines")] pub paired_wines: Vec, #[serde(rename = "pairingText")] pub pairing_text: String, #[serde(rename = "productMatches")] - pub product_matches: Vec, + pub product_matches: Vec, } impl GetWinePairing200Response { /// - pub fn new(paired_wines: Vec, pairing_text: String, product_matches: Vec) -> GetWinePairing200Response { + pub fn new(paired_wines: Vec, pairing_text: String, product_matches: Vec) -> GetWinePairing200Response { GetWinePairing200Response { paired_wines, pairing_text, @@ -33,4 +33,3 @@ impl GetWinePairing200Response { } } - diff --git a/rust/src/models/get_wine_pairing_200_response_product_matches_inner.rs b/rust/src/models/get_wine_pairing_200_response_product_matches_inner.rs index 42086f90e..963739ecd 100644 --- a/rust/src/models/get_wine_pairing_200_response_product_matches_inner.rs +++ b/rust/src/models/get_wine_pairing_200_response_product_matches_inner.rs @@ -8,17 +8,17 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetWinePairing200ResponseProductMatchesInner { #[serde(rename = "id")] pub id: i32, #[serde(rename = "title")] pub title: String, #[serde(rename = "averageRating")] - pub average_rating: f32, + pub average_rating: f64, #[serde(rename = "description", skip_serializing_if = "Option::is_none")] pub description: Option, #[serde(rename = "imageUrl")] @@ -30,11 +30,11 @@ pub struct GetWinePairing200ResponseProductMatchesInner { #[serde(rename = "ratingCount")] pub rating_count: i32, #[serde(rename = "score")] - pub score: f32, + pub score: f64, } impl GetWinePairing200ResponseProductMatchesInner { - pub fn new(id: i32, title: String, average_rating: f32, image_url: String, link: String, price: String, rating_count: i32, score: f32) -> GetWinePairing200ResponseProductMatchesInner { + pub fn new(id: i32, title: String, average_rating: f64, image_url: String, link: String, price: String, rating_count: i32, score: f64) -> GetWinePairing200ResponseProductMatchesInner { GetWinePairing200ResponseProductMatchesInner { id, title, @@ -49,4 +49,3 @@ impl GetWinePairing200ResponseProductMatchesInner { } } - diff --git a/rust/src/models/get_wine_recommendation_200_response.rs b/rust/src/models/get_wine_recommendation_200_response.rs index 66c61c1c8..98d106832 100644 --- a/rust/src/models/get_wine_recommendation_200_response.rs +++ b/rust/src/models/get_wine_recommendation_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// GetWineRecommendation200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GetWineRecommendation200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetWineRecommendation200Response { #[serde(rename = "recommendedWines")] - pub recommended_wines: Vec, + pub recommended_wines: Vec, #[serde(rename = "totalFound")] pub total_found: i32, } impl GetWineRecommendation200Response { /// - pub fn new(recommended_wines: Vec, total_found: i32) -> GetWineRecommendation200Response { + pub fn new(recommended_wines: Vec, total_found: i32) -> GetWineRecommendation200Response { GetWineRecommendation200Response { recommended_wines, total_found, @@ -30,4 +30,3 @@ impl GetWineRecommendation200Response { } } - diff --git a/rust/src/models/get_wine_recommendation_200_response_recommended_wines_inner.rs b/rust/src/models/get_wine_recommendation_200_response_recommended_wines_inner.rs index e47cc95ab..a356aef2d 100644 --- a/rust/src/models/get_wine_recommendation_200_response_recommended_wines_inner.rs +++ b/rust/src/models/get_wine_recommendation_200_response_recommended_wines_inner.rs @@ -8,17 +8,17 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GetWineRecommendation200ResponseRecommendedWinesInner { #[serde(rename = "id")] pub id: i32, #[serde(rename = "title")] pub title: String, #[serde(rename = "averageRating")] - pub average_rating: f32, + pub average_rating: f64, #[serde(rename = "description")] pub description: String, #[serde(rename = "imageUrl")] @@ -30,11 +30,11 @@ pub struct GetWineRecommendation200ResponseRecommendedWinesInner { #[serde(rename = "ratingCount")] pub rating_count: i32, #[serde(rename = "score")] - pub score: f32, + pub score: f64, } impl GetWineRecommendation200ResponseRecommendedWinesInner { - pub fn new(id: i32, title: String, average_rating: f32, description: String, image_url: String, link: String, price: String, rating_count: i32, score: f32) -> GetWineRecommendation200ResponseRecommendedWinesInner { + pub fn new(id: i32, title: String, average_rating: f64, description: String, image_url: String, link: String, price: String, rating_count: i32, score: f64) -> GetWineRecommendation200ResponseRecommendedWinesInner { GetWineRecommendation200ResponseRecommendedWinesInner { id, title, @@ -49,4 +49,3 @@ impl GetWineRecommendation200ResponseRecommendedWinesInner { } } - diff --git a/rust/src/models/guess_nutrition_by_dish_name_200_response.rs b/rust/src/models/guess_nutrition_by_dish_name_200_response.rs index 7ef2806c6..841c7d6c5 100644 --- a/rust/src/models/guess_nutrition_by_dish_name_200_response.rs +++ b/rust/src/models/guess_nutrition_by_dish_name_200_response.rs @@ -8,27 +8,27 @@ * Generated by: https://openapi-generator.tech */ -/// GuessNutritionByDishName200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// GuessNutritionByDishName200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GuessNutritionByDishName200Response { #[serde(rename = "calories")] - pub calories: Box, + pub calories: Box, #[serde(rename = "carbs")] - pub carbs: Box, + pub carbs: Box, #[serde(rename = "fat")] - pub fat: Box, + pub fat: Box, #[serde(rename = "protein")] - pub protein: Box, + pub protein: Box, #[serde(rename = "recipesUsed")] pub recipes_used: i32, } impl GuessNutritionByDishName200Response { /// - pub fn new(calories: crate::models::GuessNutritionByDishName200ResponseCalories, carbs: crate::models::GuessNutritionByDishName200ResponseCalories, fat: crate::models::GuessNutritionByDishName200ResponseCalories, protein: crate::models::GuessNutritionByDishName200ResponseCalories, recipes_used: i32) -> GuessNutritionByDishName200Response { + pub fn new(calories: models::GuessNutritionByDishName200ResponseCalories, carbs: models::GuessNutritionByDishName200ResponseCalories, fat: models::GuessNutritionByDishName200ResponseCalories, protein: models::GuessNutritionByDishName200ResponseCalories, recipes_used: i32) -> GuessNutritionByDishName200Response { GuessNutritionByDishName200Response { calories: Box::new(calories), carbs: Box::new(carbs), @@ -39,4 +39,3 @@ impl GuessNutritionByDishName200Response { } } - diff --git a/rust/src/models/guess_nutrition_by_dish_name_200_response_calories.rs b/rust/src/models/guess_nutrition_by_dish_name_200_response_calories.rs index 36af323b6..8f3e11226 100644 --- a/rust/src/models/guess_nutrition_by_dish_name_200_response_calories.rs +++ b/rust/src/models/guess_nutrition_by_dish_name_200_response_calories.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GuessNutritionByDishName200ResponseCalories { #[serde(rename = "confidenceRange95Percent")] - pub confidence_range95_percent: Box, + pub confidence_range95_percent: Box, #[serde(rename = "standardDeviation")] - pub standard_deviation: f32, + pub standard_deviation: f64, #[serde(rename = "unit")] pub unit: String, #[serde(rename = "value")] - pub value: f32, + pub value: f64, } impl GuessNutritionByDishName200ResponseCalories { - pub fn new(confidence_range95_percent: crate::models::GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent, standard_deviation: f32, unit: String, value: f32) -> GuessNutritionByDishName200ResponseCalories { + pub fn new(confidence_range95_percent: models::GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent, standard_deviation: f64, unit: String, value: f64) -> GuessNutritionByDishName200ResponseCalories { GuessNutritionByDishName200ResponseCalories { confidence_range95_percent: Box::new(confidence_range95_percent), standard_deviation, @@ -34,4 +34,3 @@ impl GuessNutritionByDishName200ResponseCalories { } } - diff --git a/rust/src/models/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.rs b/rust/src/models/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.rs index 963171531..3785edc48 100644 --- a/rust/src/models/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.rs +++ b/rust/src/models/guess_nutrition_by_dish_name_200_response_calories_confidence_range95_percent.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { #[serde(rename = "max")] - pub max: f32, + pub max: f64, #[serde(rename = "min")] - pub min: f32, + pub min: f64, } impl GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { - pub fn new(max: f32, min: f32) -> GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { + pub fn new(max: f64, min: f64) -> GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { max, min, @@ -28,4 +28,3 @@ impl GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { } } - diff --git a/rust/src/models/image_analysis_by_url_200_response.rs b/rust/src/models/image_analysis_by_url_200_response.rs index c703fd19e..28da77c57 100644 --- a/rust/src/models/image_analysis_by_url_200_response.rs +++ b/rust/src/models/image_analysis_by_url_200_response.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ -/// ImageAnalysisByUrl200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ImageAnalysisByUrl200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageAnalysisByUrl200Response { #[serde(rename = "nutrition")] - pub nutrition: Box, + pub nutrition: Box, #[serde(rename = "category")] - pub category: Box, + pub category: Box, #[serde(rename = "recipes")] - pub recipes: Vec, + pub recipes: Vec, } impl ImageAnalysisByUrl200Response { /// - pub fn new(nutrition: crate::models::ImageAnalysisByUrl200ResponseNutrition, category: crate::models::ImageAnalysisByUrl200ResponseCategory, recipes: Vec) -> ImageAnalysisByUrl200Response { + pub fn new(nutrition: models::ImageAnalysisByUrl200ResponseNutrition, category: models::ImageAnalysisByUrl200ResponseCategory, recipes: Vec) -> ImageAnalysisByUrl200Response { ImageAnalysisByUrl200Response { nutrition: Box::new(nutrition), category: Box::new(category), @@ -33,4 +33,3 @@ impl ImageAnalysisByUrl200Response { } } - diff --git a/rust/src/models/image_analysis_by_url_200_response_category.rs b/rust/src/models/image_analysis_by_url_200_response_category.rs index ad3df4bb2..a761d7638 100644 --- a/rust/src/models/image_analysis_by_url_200_response_category.rs +++ b/rust/src/models/image_analysis_by_url_200_response_category.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageAnalysisByUrl200ResponseCategory { #[serde(rename = "name")] pub name: String, #[serde(rename = "probability")] - pub probability: f32, + pub probability: f64, } impl ImageAnalysisByUrl200ResponseCategory { - pub fn new(name: String, probability: f32) -> ImageAnalysisByUrl200ResponseCategory { + pub fn new(name: String, probability: f64) -> ImageAnalysisByUrl200ResponseCategory { ImageAnalysisByUrl200ResponseCategory { name, probability, @@ -28,4 +28,3 @@ impl ImageAnalysisByUrl200ResponseCategory { } } - diff --git a/rust/src/models/image_analysis_by_url_200_response_nutrition.rs b/rust/src/models/image_analysis_by_url_200_response_nutrition.rs index ead926785..726f34af7 100644 --- a/rust/src/models/image_analysis_by_url_200_response_nutrition.rs +++ b/rust/src/models/image_analysis_by_url_200_response_nutrition.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageAnalysisByUrl200ResponseNutrition { #[serde(rename = "recipesUsed")] pub recipes_used: i32, #[serde(rename = "calories")] - pub calories: Box, + pub calories: Box, #[serde(rename = "fat")] - pub fat: Box, + pub fat: Box, #[serde(rename = "protein")] - pub protein: Box, + pub protein: Box, #[serde(rename = "carbs")] - pub carbs: Box, + pub carbs: Box, } impl ImageAnalysisByUrl200ResponseNutrition { - pub fn new(recipes_used: i32, calories: crate::models::ImageAnalysisByUrl200ResponseNutritionCalories, fat: crate::models::ImageAnalysisByUrl200ResponseNutritionCalories, protein: crate::models::ImageAnalysisByUrl200ResponseNutritionCalories, carbs: crate::models::ImageAnalysisByUrl200ResponseNutritionCalories) -> ImageAnalysisByUrl200ResponseNutrition { + pub fn new(recipes_used: i32, calories: models::ImageAnalysisByUrl200ResponseNutritionCalories, fat: models::ImageAnalysisByUrl200ResponseNutritionCalories, protein: models::ImageAnalysisByUrl200ResponseNutritionCalories, carbs: models::ImageAnalysisByUrl200ResponseNutritionCalories) -> ImageAnalysisByUrl200ResponseNutrition { ImageAnalysisByUrl200ResponseNutrition { recipes_used, calories: Box::new(calories), @@ -37,4 +37,3 @@ impl ImageAnalysisByUrl200ResponseNutrition { } } - diff --git a/rust/src/models/image_analysis_by_url_200_response_nutrition_calories.rs b/rust/src/models/image_analysis_by_url_200_response_nutrition_calories.rs index e35ce8f34..5ed31223a 100644 --- a/rust/src/models/image_analysis_by_url_200_response_nutrition_calories.rs +++ b/rust/src/models/image_analysis_by_url_200_response_nutrition_calories.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageAnalysisByUrl200ResponseNutritionCalories { #[serde(rename = "value")] - pub value: f32, + pub value: f64, #[serde(rename = "unit")] pub unit: String, #[serde(rename = "confidenceRange95Percent")] - pub confidence_range95_percent: Box, + pub confidence_range95_percent: Box, #[serde(rename = "standardDeviation")] - pub standard_deviation: f32, + pub standard_deviation: f64, } impl ImageAnalysisByUrl200ResponseNutritionCalories { - pub fn new(value: f32, unit: String, confidence_range95_percent: crate::models::ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent, standard_deviation: f32) -> ImageAnalysisByUrl200ResponseNutritionCalories { + pub fn new(value: f64, unit: String, confidence_range95_percent: models::ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent, standard_deviation: f64) -> ImageAnalysisByUrl200ResponseNutritionCalories { ImageAnalysisByUrl200ResponseNutritionCalories { value, unit, @@ -34,4 +34,3 @@ impl ImageAnalysisByUrl200ResponseNutritionCalories { } } - diff --git a/rust/src/models/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.rs b/rust/src/models/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.rs index f22ff374e..228e236bd 100644 --- a/rust/src/models/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.rs +++ b/rust/src/models/image_analysis_by_url_200_response_nutrition_calories_confidence_range95_percent.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent { #[serde(rename = "min")] - pub min: f32, + pub min: f64, #[serde(rename = "max")] - pub max: f32, + pub max: f64, } impl ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent { - pub fn new(min: f32, max: f32) -> ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent { + pub fn new(min: f64, max: f64) -> ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent { ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent { min, max, @@ -28,4 +28,3 @@ impl ImageAnalysisByUrl200ResponseNutritionCaloriesConfidenceRange95Percent { } } - diff --git a/rust/src/models/image_analysis_by_url_200_response_recipes_inner.rs b/rust/src/models/image_analysis_by_url_200_response_recipes_inner.rs index caaf5ba39..c4e2cad41 100644 --- a/rust/src/models/image_analysis_by_url_200_response_recipes_inner.rs +++ b/rust/src/models/image_analysis_by_url_200_response_recipes_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageAnalysisByUrl200ResponseRecipesInner { #[serde(rename = "id")] pub id: i32, @@ -34,4 +34,3 @@ impl ImageAnalysisByUrl200ResponseRecipesInner { } } - diff --git a/rust/src/models/image_classification_by_url_200_response.rs b/rust/src/models/image_classification_by_url_200_response.rs index bbd6d7c52..a2f11fdb4 100644 --- a/rust/src/models/image_classification_by_url_200_response.rs +++ b/rust/src/models/image_classification_by_url_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// ImageClassificationByUrl200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// ImageClassificationByUrl200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ImageClassificationByUrl200Response { #[serde(rename = "category")] pub category: String, #[serde(rename = "probability")] - pub probability: f32, + pub probability: f64, } impl ImageClassificationByUrl200Response { /// - pub fn new(category: String, probability: f32) -> ImageClassificationByUrl200Response { + pub fn new(category: String, probability: f64) -> ImageClassificationByUrl200Response { ImageClassificationByUrl200Response { category, probability, @@ -30,4 +30,3 @@ impl ImageClassificationByUrl200Response { } } - diff --git a/rust/src/models/ingredient_search_200_response.rs b/rust/src/models/ingredient_search_200_response.rs index e13ec8071..b5237604b 100644 --- a/rust/src/models/ingredient_search_200_response.rs +++ b/rust/src/models/ingredient_search_200_response.rs @@ -8,14 +8,14 @@ * Generated by: https://openapi-generator.tech */ -/// IngredientSearch200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// IngredientSearch200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct IngredientSearch200Response { #[serde(rename = "results")] - pub results: Vec, + pub results: Vec, #[serde(rename = "offset")] pub offset: i32, #[serde(rename = "number")] @@ -26,7 +26,7 @@ pub struct IngredientSearch200Response { impl IngredientSearch200Response { /// - pub fn new(results: Vec, offset: i32, number: i32, total_results: i32) -> IngredientSearch200Response { + pub fn new(results: Vec, offset: i32, number: i32, total_results: i32) -> IngredientSearch200Response { IngredientSearch200Response { results, offset, @@ -36,4 +36,3 @@ impl IngredientSearch200Response { } } - diff --git a/rust/src/models/ingredient_search_200_response_results_inner.rs b/rust/src/models/ingredient_search_200_response_results_inner.rs index 2488a00f3..d151e6532 100644 --- a/rust/src/models/ingredient_search_200_response_results_inner.rs +++ b/rust/src/models/ingredient_search_200_response_results_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct IngredientSearch200ResponseResultsInner { #[serde(rename = "id")] pub id: i32, @@ -31,4 +31,3 @@ impl IngredientSearch200ResponseResultsInner { } } - diff --git a/rust/src/models/map_ingredients_to_grocery_products_200_response_inner.rs b/rust/src/models/map_ingredients_to_grocery_products_200_response_inner.rs index 77483f6e2..049cb425d 100644 --- a/rust/src/models/map_ingredients_to_grocery_products_200_response_inner.rs +++ b/rust/src/models/map_ingredients_to_grocery_products_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct MapIngredientsToGroceryProducts200ResponseInner { #[serde(rename = "original")] pub original: String, @@ -22,11 +22,11 @@ pub struct MapIngredientsToGroceryProducts200ResponseInner { #[serde(rename = "meta")] pub meta: Vec, #[serde(rename = "products")] - pub products: Vec, + pub products: Vec, } impl MapIngredientsToGroceryProducts200ResponseInner { - pub fn new(original: String, original_name: String, ingredient_image: String, meta: Vec, products: Vec) -> MapIngredientsToGroceryProducts200ResponseInner { + pub fn new(original: String, original_name: String, ingredient_image: String, meta: Vec, products: Vec) -> MapIngredientsToGroceryProducts200ResponseInner { MapIngredientsToGroceryProducts200ResponseInner { original, original_name, @@ -37,4 +37,3 @@ impl MapIngredientsToGroceryProducts200ResponseInner { } } - diff --git a/rust/src/models/map_ingredients_to_grocery_products_200_response_inner_products_inner.rs b/rust/src/models/map_ingredients_to_grocery_products_200_response_inner_products_inner.rs index 5bd4c77f2..a26fef111 100644 --- a/rust/src/models/map_ingredients_to_grocery_products_200_response_inner_products_inner.rs +++ b/rust/src/models/map_ingredients_to_grocery_products_200_response_inner_products_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct MapIngredientsToGroceryProducts200ResponseInnerProductsInner { #[serde(rename = "id")] pub id: i32, @@ -31,4 +31,3 @@ impl MapIngredientsToGroceryProducts200ResponseInnerProductsInner { } } - diff --git a/rust/src/models/map_ingredients_to_grocery_products_request.rs b/rust/src/models/map_ingredients_to_grocery_products_request.rs index e5f2379be..feaa7ad93 100644 --- a/rust/src/models/map_ingredients_to_grocery_products_request.rs +++ b/rust/src/models/map_ingredients_to_grocery_products_request.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// MapIngredientsToGroceryProductsRequest : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// MapIngredientsToGroceryProductsRequest : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct MapIngredientsToGroceryProductsRequest { #[serde(rename = "ingredients")] pub ingredients: Vec, #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, } impl MapIngredientsToGroceryProductsRequest { /// - pub fn new(ingredients: Vec, servings: f32) -> MapIngredientsToGroceryProductsRequest { + pub fn new(ingredients: Vec, servings: f64) -> MapIngredientsToGroceryProductsRequest { MapIngredientsToGroceryProductsRequest { ingredients, servings, @@ -30,4 +30,3 @@ impl MapIngredientsToGroceryProductsRequest { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner.rs b/rust/src/models/parse_ingredients_200_response_inner.rs index 4a70f1cdf..907ff0614 100644 --- a/rust/src/models/parse_ingredients_200_response_inner.rs +++ b/rust/src/models/parse_ingredients_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInner { #[serde(rename = "id")] pub id: i32, @@ -24,7 +24,7 @@ pub struct ParseIngredients200ResponseInner { #[serde(rename = "nameClean")] pub name_clean: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, #[serde(rename = "unitShort")] @@ -34,7 +34,7 @@ pub struct ParseIngredients200ResponseInner { #[serde(rename = "possibleUnits")] pub possible_units: Vec, #[serde(rename = "estimatedCost")] - pub estimated_cost: Box, + pub estimated_cost: Box, #[serde(rename = "consistency")] pub consistency: String, #[serde(rename = "aisle")] @@ -44,11 +44,11 @@ pub struct ParseIngredients200ResponseInner { #[serde(rename = "meta")] pub meta: Vec, #[serde(rename = "nutrition")] - pub nutrition: Box, + pub nutrition: Box, } impl ParseIngredients200ResponseInner { - pub fn new(id: i32, original: String, original_name: String, name: String, name_clean: String, amount: f32, unit: String, unit_short: String, unit_long: String, possible_units: Vec, estimated_cost: crate::models::ParseIngredients200ResponseInnerEstimatedCost, consistency: String, aisle: String, image: String, meta: Vec, nutrition: crate::models::ParseIngredients200ResponseInnerNutrition) -> ParseIngredients200ResponseInner { + pub fn new(id: i32, original: String, original_name: String, name: String, name_clean: String, amount: f64, unit: String, unit_short: String, unit_long: String, possible_units: Vec, estimated_cost: models::ParseIngredients200ResponseInnerEstimatedCost, consistency: String, aisle: String, image: String, meta: Vec, nutrition: models::ParseIngredients200ResponseInnerNutrition) -> ParseIngredients200ResponseInner { ParseIngredients200ResponseInner { id, original, @@ -70,4 +70,3 @@ impl ParseIngredients200ResponseInner { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner_estimated_cost.rs b/rust/src/models/parse_ingredients_200_response_inner_estimated_cost.rs index 79a7a9c32..4ceac335a 100644 --- a/rust/src/models/parse_ingredients_200_response_inner_estimated_cost.rs +++ b/rust/src/models/parse_ingredients_200_response_inner_estimated_cost.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInnerEstimatedCost { #[serde(rename = "value")] - pub value: f32, + pub value: f64, #[serde(rename = "unit")] pub unit: String, } impl ParseIngredients200ResponseInnerEstimatedCost { - pub fn new(value: f32, unit: String) -> ParseIngredients200ResponseInnerEstimatedCost { + pub fn new(value: f64, unit: String) -> ParseIngredients200ResponseInnerEstimatedCost { ParseIngredients200ResponseInnerEstimatedCost { value, unit, @@ -28,4 +28,3 @@ impl ParseIngredients200ResponseInnerEstimatedCost { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner_nutrition.rs b/rust/src/models/parse_ingredients_200_response_inner_nutrition.rs index e30cfb922..a73f1b2bf 100644 --- a/rust/src/models/parse_ingredients_200_response_inner_nutrition.rs +++ b/rust/src/models/parse_ingredients_200_response_inner_nutrition.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInnerNutrition { #[serde(rename = "nutrients")] - pub nutrients: Vec, + pub nutrients: Vec, #[serde(rename = "properties")] - pub properties: Vec, + pub properties: Vec, #[serde(rename = "flavonoids")] - pub flavonoids: Vec, + pub flavonoids: Vec, #[serde(rename = "caloricBreakdown")] - pub caloric_breakdown: Box, + pub caloric_breakdown: Box, #[serde(rename = "weightPerServing")] - pub weight_per_serving: Box, + pub weight_per_serving: Box, } impl ParseIngredients200ResponseInnerNutrition { - pub fn new(nutrients: Vec, properties: Vec, flavonoids: Vec, caloric_breakdown: crate::models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown, weight_per_serving: crate::models::ParseIngredients200ResponseInnerNutritionWeightPerServing) -> ParseIngredients200ResponseInnerNutrition { + pub fn new(nutrients: Vec, properties: Vec, flavonoids: Vec, caloric_breakdown: models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown, weight_per_serving: models::ParseIngredients200ResponseInnerNutritionWeightPerServing) -> ParseIngredients200ResponseInnerNutrition { ParseIngredients200ResponseInnerNutrition { nutrients, properties, @@ -37,4 +37,3 @@ impl ParseIngredients200ResponseInnerNutrition { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.rs b/rust/src/models/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.rs index c84937ce2..9797a95b7 100644 --- a/rust/src/models/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.rs +++ b/rust/src/models/parse_ingredients_200_response_inner_nutrition_caloric_breakdown.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInnerNutritionCaloricBreakdown { #[serde(rename = "percentProtein")] - pub percent_protein: f32, + pub percent_protein: f64, #[serde(rename = "percentFat")] - pub percent_fat: f32, + pub percent_fat: f64, #[serde(rename = "percentCarbs")] - pub percent_carbs: f32, + pub percent_carbs: f64, } impl ParseIngredients200ResponseInnerNutritionCaloricBreakdown { - pub fn new(percent_protein: f32, percent_fat: f32, percent_carbs: f32) -> ParseIngredients200ResponseInnerNutritionCaloricBreakdown { + pub fn new(percent_protein: f64, percent_fat: f64, percent_carbs: f64) -> ParseIngredients200ResponseInnerNutritionCaloricBreakdown { ParseIngredients200ResponseInnerNutritionCaloricBreakdown { percent_protein, percent_fat, @@ -31,4 +31,3 @@ impl ParseIngredients200ResponseInnerNutritionCaloricBreakdown { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner_nutrition_nutrients_inner.rs b/rust/src/models/parse_ingredients_200_response_inner_nutrition_nutrients_inner.rs index 2dff1e30e..1a1677ccf 100644 --- a/rust/src/models/parse_ingredients_200_response_inner_nutrition_nutrients_inner.rs +++ b/rust/src/models/parse_ingredients_200_response_inner_nutrition_nutrients_inner.rs @@ -8,23 +8,23 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInnerNutritionNutrientsInner { #[serde(rename = "name")] pub name: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, #[serde(rename = "percentOfDailyNeeds")] - pub percent_of_daily_needs: f32, + pub percent_of_daily_needs: f64, } impl ParseIngredients200ResponseInnerNutritionNutrientsInner { - pub fn new(name: String, amount: f32, unit: String, percent_of_daily_needs: f32) -> ParseIngredients200ResponseInnerNutritionNutrientsInner { + pub fn new(name: String, amount: f64, unit: String, percent_of_daily_needs: f64) -> ParseIngredients200ResponseInnerNutritionNutrientsInner { ParseIngredients200ResponseInnerNutritionNutrientsInner { name, amount, @@ -34,4 +34,3 @@ impl ParseIngredients200ResponseInnerNutritionNutrientsInner { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner_nutrition_properties_inner.rs b/rust/src/models/parse_ingredients_200_response_inner_nutrition_properties_inner.rs index 545a07f8f..577f5eac1 100644 --- a/rust/src/models/parse_ingredients_200_response_inner_nutrition_properties_inner.rs +++ b/rust/src/models/parse_ingredients_200_response_inner_nutrition_properties_inner.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInnerNutritionPropertiesInner { #[serde(rename = "name")] pub name: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, } impl ParseIngredients200ResponseInnerNutritionPropertiesInner { - pub fn new(name: String, amount: f32, unit: String) -> ParseIngredients200ResponseInnerNutritionPropertiesInner { + pub fn new(name: String, amount: f64, unit: String) -> ParseIngredients200ResponseInnerNutritionPropertiesInner { ParseIngredients200ResponseInnerNutritionPropertiesInner { name, amount, @@ -31,4 +31,3 @@ impl ParseIngredients200ResponseInnerNutritionPropertiesInner { } } - diff --git a/rust/src/models/parse_ingredients_200_response_inner_nutrition_weight_per_serving.rs b/rust/src/models/parse_ingredients_200_response_inner_nutrition_weight_per_serving.rs index a90c8c519..8902bfadc 100644 --- a/rust/src/models/parse_ingredients_200_response_inner_nutrition_weight_per_serving.rs +++ b/rust/src/models/parse_ingredients_200_response_inner_nutrition_weight_per_serving.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ParseIngredients200ResponseInnerNutritionWeightPerServing { #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "unit")] pub unit: String, } impl ParseIngredients200ResponseInnerNutritionWeightPerServing { - pub fn new(amount: f32, unit: String) -> ParseIngredients200ResponseInnerNutritionWeightPerServing { + pub fn new(amount: f64, unit: String) -> ParseIngredients200ResponseInnerNutritionWeightPerServing { ParseIngredients200ResponseInnerNutritionWeightPerServing { amount, unit, @@ -28,4 +28,3 @@ impl ParseIngredients200ResponseInnerNutritionWeightPerServing { } } - diff --git a/rust/src/models/quick_answer_200_response.rs b/rust/src/models/quick_answer_200_response.rs index 21d0e5ed6..be8068181 100644 --- a/rust/src/models/quick_answer_200_response.rs +++ b/rust/src/models/quick_answer_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// QuickAnswer200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// QuickAnswer200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct QuickAnswer200Response { #[serde(rename = "answer")] pub answer: String, @@ -30,4 +30,3 @@ impl QuickAnswer200Response { } } - diff --git a/rust/src/models/search_all_food_200_response.rs b/rust/src/models/search_all_food_200_response.rs index 25778560c..f0a406bb7 100644 --- a/rust/src/models/search_all_food_200_response.rs +++ b/rust/src/models/search_all_food_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// SearchAllFood200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchAllFood200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchAllFood200Response { #[serde(rename = "query")] pub query: String, @@ -23,12 +23,12 @@ pub struct SearchAllFood200Response { #[serde(rename = "offset")] pub offset: i32, #[serde(rename = "searchResults")] - pub search_results: Vec, + pub search_results: Vec, } impl SearchAllFood200Response { /// - pub fn new(query: String, total_results: i32, limit: i32, offset: i32, search_results: Vec) -> SearchAllFood200Response { + pub fn new(query: String, total_results: i32, limit: i32, offset: i32, search_results: Vec) -> SearchAllFood200Response { SearchAllFood200Response { query, total_results, @@ -39,4 +39,3 @@ impl SearchAllFood200Response { } } - diff --git a/rust/src/models/search_all_food_200_response_search_results_inner.rs b/rust/src/models/search_all_food_200_response_search_results_inner.rs index 46d78ac95..33c9436c0 100644 --- a/rust/src/models/search_all_food_200_response_search_results_inner.rs +++ b/rust/src/models/search_all_food_200_response_search_results_inner.rs @@ -8,17 +8,17 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchAllFood200ResponseSearchResultsInner { #[serde(rename = "name")] pub name: String, #[serde(rename = "totalResults")] pub total_results: i32, #[serde(rename = "results", skip_serializing_if = "Option::is_none")] - pub results: Option>, + pub results: Option>, } impl SearchAllFood200ResponseSearchResultsInner { @@ -31,4 +31,3 @@ impl SearchAllFood200ResponseSearchResultsInner { } } - diff --git a/rust/src/models/search_all_food_200_response_search_results_inner_results_inner.rs b/rust/src/models/search_all_food_200_response_search_results_inner_results_inner.rs index 526c649b1..8c248c667 100644 --- a/rust/src/models/search_all_food_200_response_search_results_inner_results_inner.rs +++ b/rust/src/models/search_all_food_200_response_search_results_inner_results_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchAllFood200ResponseSearchResultsInnerResultsInner { #[serde(rename = "id")] pub id: String, @@ -24,13 +24,13 @@ pub struct SearchAllFood200ResponseSearchResultsInnerResultsInner { #[serde(rename = "type")] pub r#type: String, #[serde(rename = "relevance")] - pub relevance: f32, + pub relevance: f64, #[serde(rename = "content", deserialize_with = "Option::deserialize")] pub content: Option, } impl SearchAllFood200ResponseSearchResultsInnerResultsInner { - pub fn new(id: String, name: String, image: Option, link: Option, r#type: String, relevance: f32, content: Option) -> SearchAllFood200ResponseSearchResultsInnerResultsInner { + pub fn new(id: String, name: String, image: Option, link: Option, r#type: String, relevance: f64, content: Option) -> SearchAllFood200ResponseSearchResultsInnerResultsInner { SearchAllFood200ResponseSearchResultsInnerResultsInner { id, name, @@ -43,4 +43,3 @@ impl SearchAllFood200ResponseSearchResultsInnerResultsInner { } } - diff --git a/rust/src/models/search_custom_foods_200_response.rs b/rust/src/models/search_custom_foods_200_response.rs index 5ad746795..1ac533491 100644 --- a/rust/src/models/search_custom_foods_200_response.rs +++ b/rust/src/models/search_custom_foods_200_response.rs @@ -8,14 +8,14 @@ * Generated by: https://openapi-generator.tech */ -/// SearchCustomFoods200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchCustomFoods200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchCustomFoods200Response { #[serde(rename = "customFoods")] - pub custom_foods: Vec, + pub custom_foods: Vec, #[serde(rename = "type")] pub r#type: String, #[serde(rename = "offset")] @@ -26,7 +26,7 @@ pub struct SearchCustomFoods200Response { impl SearchCustomFoods200Response { /// - pub fn new(custom_foods: Vec, r#type: String, offset: i32, number: i32) -> SearchCustomFoods200Response { + pub fn new(custom_foods: Vec, r#type: String, offset: i32, number: i32) -> SearchCustomFoods200Response { SearchCustomFoods200Response { custom_foods, r#type, @@ -36,4 +36,3 @@ impl SearchCustomFoods200Response { } } - diff --git a/rust/src/models/search_custom_foods_200_response_custom_foods_inner.rs b/rust/src/models/search_custom_foods_200_response_custom_foods_inner.rs index 6a66de041..358bdb32a 100644 --- a/rust/src/models/search_custom_foods_200_response_custom_foods_inner.rs +++ b/rust/src/models/search_custom_foods_200_response_custom_foods_inner.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchCustomFoods200ResponseCustomFoodsInner { #[serde(rename = "id")] pub id: i32, #[serde(rename = "title")] pub title: String, #[serde(rename = "servings")] - pub servings: f32, + pub servings: f64, #[serde(rename = "imageUrl")] pub image_url: String, #[serde(rename = "price")] - pub price: f32, + pub price: f64, } impl SearchCustomFoods200ResponseCustomFoodsInner { - pub fn new(id: i32, title: String, servings: f32, image_url: String, price: f32) -> SearchCustomFoods200ResponseCustomFoodsInner { + pub fn new(id: i32, title: String, servings: f64, image_url: String, price: f64) -> SearchCustomFoods200ResponseCustomFoodsInner { SearchCustomFoods200ResponseCustomFoodsInner { id, title, @@ -37,4 +37,3 @@ impl SearchCustomFoods200ResponseCustomFoodsInner { } } - diff --git a/rust/src/models/search_food_videos_200_response.rs b/rust/src/models/search_food_videos_200_response.rs index c4089e70c..bdafdf4af 100644 --- a/rust/src/models/search_food_videos_200_response.rs +++ b/rust/src/models/search_food_videos_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// SearchFoodVideos200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchFoodVideos200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchFoodVideos200Response { #[serde(rename = "videos")] - pub videos: Vec, + pub videos: Vec, #[serde(rename = "totalResults")] pub total_results: i32, } impl SearchFoodVideos200Response { /// - pub fn new(videos: Vec, total_results: i32) -> SearchFoodVideos200Response { + pub fn new(videos: Vec, total_results: i32) -> SearchFoodVideos200Response { SearchFoodVideos200Response { videos, total_results, @@ -30,4 +30,3 @@ impl SearchFoodVideos200Response { } } - diff --git a/rust/src/models/search_food_videos_200_response_videos_inner.rs b/rust/src/models/search_food_videos_200_response_videos_inner.rs index b11859931..c46ed9f82 100644 --- a/rust/src/models/search_food_videos_200_response_videos_inner.rs +++ b/rust/src/models/search_food_videos_200_response_videos_inner.rs @@ -8,17 +8,17 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchFoodVideos200ResponseVideosInner { #[serde(rename = "title")] pub title: String, #[serde(rename = "length")] pub length: i32, #[serde(rename = "rating")] - pub rating: f32, + pub rating: f64, #[serde(rename = "shortTitle")] pub short_title: String, #[serde(rename = "thumbnail")] @@ -30,7 +30,7 @@ pub struct SearchFoodVideos200ResponseVideosInner { } impl SearchFoodVideos200ResponseVideosInner { - pub fn new(title: String, length: i32, rating: f32, short_title: String, thumbnail: String, views: i32, you_tube_id: String) -> SearchFoodVideos200ResponseVideosInner { + pub fn new(title: String, length: i32, rating: f64, short_title: String, thumbnail: String, views: i32, you_tube_id: String) -> SearchFoodVideos200ResponseVideosInner { SearchFoodVideos200ResponseVideosInner { title, length, @@ -43,4 +43,3 @@ impl SearchFoodVideos200ResponseVideosInner { } } - diff --git a/rust/src/models/search_grocery_products_200_response.rs b/rust/src/models/search_grocery_products_200_response.rs index 880fece8e..c9d25b67e 100644 --- a/rust/src/models/search_grocery_products_200_response.rs +++ b/rust/src/models/search_grocery_products_200_response.rs @@ -8,14 +8,14 @@ * Generated by: https://openapi-generator.tech */ -/// SearchGroceryProducts200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchGroceryProducts200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchGroceryProducts200Response { #[serde(rename = "products")] - pub products: Vec, + pub products: Vec, #[serde(rename = "totalProducts")] pub total_products: i32, #[serde(rename = "type")] @@ -28,7 +28,7 @@ pub struct SearchGroceryProducts200Response { impl SearchGroceryProducts200Response { /// - pub fn new(products: Vec, total_products: i32, r#type: String, offset: i32, number: i32) -> SearchGroceryProducts200Response { + pub fn new(products: Vec, total_products: i32, r#type: String, offset: i32, number: i32) -> SearchGroceryProducts200Response { SearchGroceryProducts200Response { products, total_products, @@ -39,4 +39,3 @@ impl SearchGroceryProducts200Response { } } - diff --git a/rust/src/models/search_grocery_products_by_upc_200_response.rs b/rust/src/models/search_grocery_products_by_upc_200_response.rs index 6ca7bce42..533d843e9 100644 --- a/rust/src/models/search_grocery_products_by_upc_200_response.rs +++ b/rust/src/models/search_grocery_products_by_upc_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// SearchGroceryProductsByUpc200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchGroceryProductsByUpc200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchGroceryProductsByUpc200Response { #[serde(rename = "id")] pub id: i32, @@ -33,22 +33,22 @@ pub struct SearchGroceryProductsByUpc200Response { #[serde(rename = "ingredientList")] pub ingredient_list: String, #[serde(rename = "ingredients")] - pub ingredients: Vec, + pub ingredients: Vec, #[serde(rename = "likes")] - pub likes: f32, + pub likes: f64, #[serde(rename = "nutrition")] - pub nutrition: Box, + pub nutrition: Box, #[serde(rename = "price")] - pub price: f32, + pub price: f64, #[serde(rename = "servings")] - pub servings: Box, + pub servings: Box, #[serde(rename = "spoonacularScore")] - pub spoonacular_score: f32, + pub spoonacular_score: f64, } impl SearchGroceryProductsByUpc200Response { /// - pub fn new(id: i32, title: String, badges: Vec, important_badges: Vec, breadcrumbs: Vec, generated_text: String, image_type: String, ingredient_list: String, ingredients: Vec, likes: f32, nutrition: crate::models::SearchGroceryProductsByUpc200ResponseNutrition, price: f32, servings: crate::models::SearchGroceryProductsByUpc200ResponseServings, spoonacular_score: f32) -> SearchGroceryProductsByUpc200Response { + pub fn new(id: i32, title: String, badges: Vec, important_badges: Vec, breadcrumbs: Vec, generated_text: String, image_type: String, ingredient_list: String, ingredients: Vec, likes: f64, nutrition: models::SearchGroceryProductsByUpc200ResponseNutrition, price: f64, servings: models::SearchGroceryProductsByUpc200ResponseServings, spoonacular_score: f64) -> SearchGroceryProductsByUpc200Response { SearchGroceryProductsByUpc200Response { id, title, @@ -69,4 +69,3 @@ impl SearchGroceryProductsByUpc200Response { } } - diff --git a/rust/src/models/search_grocery_products_by_upc_200_response_ingredients_inner.rs b/rust/src/models/search_grocery_products_by_upc_200_response_ingredients_inner.rs index 838066562..33a048e5a 100644 --- a/rust/src/models/search_grocery_products_by_upc_200_response_ingredients_inner.rs +++ b/rust/src/models/search_grocery_products_by_upc_200_response_ingredients_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchGroceryProductsByUpc200ResponseIngredientsInner { #[serde(rename = "description", skip_serializing_if = "Option::is_none")] pub description: Option, @@ -31,4 +31,3 @@ impl SearchGroceryProductsByUpc200ResponseIngredientsInner { } } - diff --git a/rust/src/models/search_grocery_products_by_upc_200_response_nutrition.rs b/rust/src/models/search_grocery_products_by_upc_200_response_nutrition.rs index 925451903..a79b515f8 100644 --- a/rust/src/models/search_grocery_products_by_upc_200_response_nutrition.rs +++ b/rust/src/models/search_grocery_products_by_upc_200_response_nutrition.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchGroceryProductsByUpc200ResponseNutrition { #[serde(rename = "nutrients")] - pub nutrients: Vec, + pub nutrients: Vec, #[serde(rename = "caloricBreakdown")] - pub caloric_breakdown: Box, + pub caloric_breakdown: Box, } impl SearchGroceryProductsByUpc200ResponseNutrition { - pub fn new(nutrients: Vec, caloric_breakdown: crate::models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown) -> SearchGroceryProductsByUpc200ResponseNutrition { + pub fn new(nutrients: Vec, caloric_breakdown: models::ParseIngredients200ResponseInnerNutritionCaloricBreakdown) -> SearchGroceryProductsByUpc200ResponseNutrition { SearchGroceryProductsByUpc200ResponseNutrition { nutrients, caloric_breakdown: Box::new(caloric_breakdown), @@ -28,4 +28,3 @@ impl SearchGroceryProductsByUpc200ResponseNutrition { } } - diff --git a/rust/src/models/search_grocery_products_by_upc_200_response_servings.rs b/rust/src/models/search_grocery_products_by_upc_200_response_servings.rs index 9ccb100da..2215231d4 100644 --- a/rust/src/models/search_grocery_products_by_upc_200_response_servings.rs +++ b/rust/src/models/search_grocery_products_by_upc_200_response_servings.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchGroceryProductsByUpc200ResponseServings { #[serde(rename = "number")] - pub number: f32, + pub number: f64, #[serde(rename = "size")] - pub size: f32, + pub size: f64, #[serde(rename = "unit")] pub unit: String, } impl SearchGroceryProductsByUpc200ResponseServings { - pub fn new(number: f32, size: f32, unit: String) -> SearchGroceryProductsByUpc200ResponseServings { + pub fn new(number: f64, size: f64, unit: String) -> SearchGroceryProductsByUpc200ResponseServings { SearchGroceryProductsByUpc200ResponseServings { number, size, @@ -31,4 +31,3 @@ impl SearchGroceryProductsByUpc200ResponseServings { } } - diff --git a/rust/src/models/search_menu_items_200_response.rs b/rust/src/models/search_menu_items_200_response.rs index e644be63e..f384b9068 100644 --- a/rust/src/models/search_menu_items_200_response.rs +++ b/rust/src/models/search_menu_items_200_response.rs @@ -8,14 +8,14 @@ * Generated by: https://openapi-generator.tech */ -/// SearchMenuItems200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchMenuItems200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchMenuItems200Response { #[serde(rename = "menuItems")] - pub menu_items: Vec, + pub menu_items: Vec, #[serde(rename = "totalMenuItems")] pub total_menu_items: i32, #[serde(rename = "type")] @@ -28,7 +28,7 @@ pub struct SearchMenuItems200Response { impl SearchMenuItems200Response { /// - pub fn new(menu_items: Vec, total_menu_items: i32, r#type: String, offset: i32, number: i32) -> SearchMenuItems200Response { + pub fn new(menu_items: Vec, total_menu_items: i32, r#type: String, offset: i32, number: i32) -> SearchMenuItems200Response { SearchMenuItems200Response { menu_items, total_menu_items, @@ -39,4 +39,3 @@ impl SearchMenuItems200Response { } } - diff --git a/rust/src/models/search_menu_items_200_response_menu_items_inner.rs b/rust/src/models/search_menu_items_200_response_menu_items_inner.rs index ddb12e2ff..6464fe177 100644 --- a/rust/src/models/search_menu_items_200_response_menu_items_inner.rs +++ b/rust/src/models/search_menu_items_200_response_menu_items_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchMenuItems200ResponseMenuItemsInner { #[serde(rename = "id")] pub id: i32, @@ -24,7 +24,7 @@ pub struct SearchMenuItems200ResponseMenuItemsInner { #[serde(rename = "imageType")] pub image_type: String, #[serde(rename = "servings", skip_serializing_if = "Option::is_none")] - pub servings: Option>, + pub servings: Option>, } impl SearchMenuItems200ResponseMenuItemsInner { @@ -40,4 +40,3 @@ impl SearchMenuItems200ResponseMenuItemsInner { } } - diff --git a/rust/src/models/search_recipes_200_response.rs b/rust/src/models/search_recipes_200_response.rs index 74790a6ab..857b38d68 100644 --- a/rust/src/models/search_recipes_200_response.rs +++ b/rust/src/models/search_recipes_200_response.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ -/// SearchRecipes200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchRecipes200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRecipes200Response { #[serde(rename = "offset")] pub offset: i32, #[serde(rename = "number")] pub number: i32, #[serde(rename = "results")] - pub results: Vec, + pub results: Vec, #[serde(rename = "totalResults")] pub total_results: i32, } impl SearchRecipes200Response { /// - pub fn new(offset: i32, number: i32, results: Vec, total_results: i32) -> SearchRecipes200Response { + pub fn new(offset: i32, number: i32, results: Vec, total_results: i32) -> SearchRecipes200Response { SearchRecipes200Response { offset, number, @@ -36,4 +36,3 @@ impl SearchRecipes200Response { } } - diff --git a/rust/src/models/search_recipes_200_response_results_inner.rs b/rust/src/models/search_recipes_200_response_results_inner.rs index 5233b3258..405f7af98 100644 --- a/rust/src/models/search_recipes_200_response_results_inner.rs +++ b/rust/src/models/search_recipes_200_response_results_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRecipes200ResponseResultsInner { #[serde(rename = "id")] pub id: i32, @@ -34,4 +34,3 @@ impl SearchRecipes200ResponseResultsInner { } } - diff --git a/rust/src/models/search_recipes_by_ingredients_200_response_inner.rs b/rust/src/models/search_recipes_by_ingredients_200_response_inner.rs index 4a1ed7c78..c8b6b394f 100644 --- a/rust/src/models/search_recipes_by_ingredients_200_response_inner.rs +++ b/rust/src/models/search_recipes_by_ingredients_200_response_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRecipesByIngredients200ResponseInner { #[serde(rename = "id")] pub id: i32, @@ -24,19 +24,19 @@ pub struct SearchRecipesByIngredients200ResponseInner { #[serde(rename = "missedIngredientCount")] pub missed_ingredient_count: i32, #[serde(rename = "missedIngredients")] - pub missed_ingredients: Vec, + pub missed_ingredients: Vec, #[serde(rename = "title")] pub title: String, #[serde(rename = "unusedIngredients")] pub unused_ingredients: Vec, #[serde(rename = "usedIngredientCount")] - pub used_ingredient_count: f32, + pub used_ingredient_count: f64, #[serde(rename = "usedIngredients")] - pub used_ingredients: Vec, + pub used_ingredients: Vec, } impl SearchRecipesByIngredients200ResponseInner { - pub fn new(id: i32, image: String, image_type: String, likes: i32, missed_ingredient_count: i32, missed_ingredients: Vec, title: String, unused_ingredients: Vec, used_ingredient_count: f32, used_ingredients: Vec) -> SearchRecipesByIngredients200ResponseInner { + pub fn new(id: i32, image: String, image_type: String, likes: i32, missed_ingredient_count: i32, missed_ingredients: Vec, title: String, unused_ingredients: Vec, used_ingredient_count: f64, used_ingredients: Vec) -> SearchRecipesByIngredients200ResponseInner { SearchRecipesByIngredients200ResponseInner { id, image, @@ -52,4 +52,3 @@ impl SearchRecipesByIngredients200ResponseInner { } } - diff --git a/rust/src/models/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.rs b/rust/src/models/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.rs index 126b2ba7b..739fd110e 100644 --- a/rust/src/models/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.rs +++ b/rust/src/models/search_recipes_by_ingredients_200_response_inner_missed_ingredients_inner.rs @@ -8,15 +8,15 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { #[serde(rename = "aisle")] pub aisle: String, #[serde(rename = "amount")] - pub amount: f32, + pub amount: f64, #[serde(rename = "id")] pub id: i32, #[serde(rename = "image")] @@ -40,7 +40,7 @@ pub struct SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { } impl SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { - pub fn new(aisle: String, amount: f32, id: i32, image: String, name: String, original: String, original_name: String, unit: String, unit_long: String, unit_short: String) -> SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { + pub fn new(aisle: String, amount: f64, id: i32, image: String, name: String, original: String, original_name: String, unit: String, unit_long: String, unit_short: String) -> SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { aisle, amount, @@ -58,4 +58,3 @@ impl SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { } } - diff --git a/rust/src/models/search_recipes_by_nutrients_200_response_inner.rs b/rust/src/models/search_recipes_by_nutrients_200_response_inner.rs index 6b4cfaf26..7daab2478 100644 --- a/rust/src/models/search_recipes_by_nutrients_200_response_inner.rs +++ b/rust/src/models/search_recipes_by_nutrients_200_response_inner.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRecipesByNutrients200ResponseInner { #[serde(rename = "calories")] - pub calories: f32, + pub calories: f64, #[serde(rename = "carbs")] pub carbs: String, #[serde(rename = "fat")] @@ -32,7 +32,7 @@ pub struct SearchRecipesByNutrients200ResponseInner { } impl SearchRecipesByNutrients200ResponseInner { - pub fn new(calories: f32, carbs: String, fat: String, id: i32, image: String, image_type: String, protein: String, title: String) -> SearchRecipesByNutrients200ResponseInner { + pub fn new(calories: f64, carbs: String, fat: String, id: i32, image: String, image_type: String, protein: String, title: String) -> SearchRecipesByNutrients200ResponseInner { SearchRecipesByNutrients200ResponseInner { calories, carbs, @@ -46,4 +46,3 @@ impl SearchRecipesByNutrients200ResponseInner { } } - diff --git a/rust/src/models/search_restaurants_200_response.rs b/rust/src/models/search_restaurants_200_response.rs index 4477421f0..f9395991c 100644 --- a/rust/src/models/search_restaurants_200_response.rs +++ b/rust/src/models/search_restaurants_200_response.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRestaurants200Response { #[serde(rename = "restaurants", skip_serializing_if = "Option::is_none")] - pub restaurants: Option>, + pub restaurants: Option>, } impl SearchRestaurants200Response { @@ -25,4 +25,3 @@ impl SearchRestaurants200Response { } } - diff --git a/rust/src/models/search_restaurants_200_response_restaurants_inner.rs b/rust/src/models/search_restaurants_200_response_restaurants_inner.rs index e1b919e92..e74bc5dee 100644 --- a/rust/src/models/search_restaurants_200_response_restaurants_inner.rs +++ b/rust/src/models/search_restaurants_200_response_restaurants_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRestaurants200ResponseRestaurantsInner { #[serde(rename = "_id", skip_serializing_if = "Option::is_none")] pub _id: Option, @@ -20,13 +20,13 @@ pub struct SearchRestaurants200ResponseRestaurantsInner { #[serde(rename = "phone_number", skip_serializing_if = "Option::is_none")] pub phone_number: Option, #[serde(rename = "address", skip_serializing_if = "Option::is_none")] - pub address: Option>, + pub address: Option>, #[serde(rename = "type", skip_serializing_if = "Option::is_none")] pub r#type: Option, #[serde(rename = "description", skip_serializing_if = "Option::is_none")] pub description: Option, #[serde(rename = "local_hours", skip_serializing_if = "Option::is_none")] - pub local_hours: Option>, + pub local_hours: Option>, #[serde(rename = "cuisines", skip_serializing_if = "Option::is_none")] pub cuisines: Option>, #[serde(rename = "food_photos", skip_serializing_if = "Option::is_none")] @@ -48,9 +48,9 @@ pub struct SearchRestaurants200ResponseRestaurantsInner { #[serde(rename = "offers_third_party_delivery", skip_serializing_if = "Option::is_none")] pub offers_third_party_delivery: Option, #[serde(rename = "miles", skip_serializing_if = "Option::is_none")] - pub miles: Option, + pub miles: Option, #[serde(rename = "weighted_rating_value", skip_serializing_if = "Option::is_none")] - pub weighted_rating_value: Option, + pub weighted_rating_value: Option, #[serde(rename = "aggregated_rating_count", skip_serializing_if = "Option::is_none")] pub aggregated_rating_count: Option, } @@ -82,4 +82,3 @@ impl SearchRestaurants200ResponseRestaurantsInner { } } - diff --git a/rust/src/models/search_restaurants_200_response_restaurants_inner_address.rs b/rust/src/models/search_restaurants_200_response_restaurants_inner_address.rs index efdca9883..17b9d6e12 100644 --- a/rust/src/models/search_restaurants_200_response_restaurants_inner_address.rs +++ b/rust/src/models/search_restaurants_200_response_restaurants_inner_address.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRestaurants200ResponseRestaurantsInnerAddress { #[serde(rename = "street_addr", skip_serializing_if = "Option::is_none")] pub street_addr: Option, @@ -24,15 +24,15 @@ pub struct SearchRestaurants200ResponseRestaurantsInnerAddress { #[serde(rename = "country", skip_serializing_if = "Option::is_none")] pub country: Option, #[serde(rename = "lat", skip_serializing_if = "Option::is_none")] - pub lat: Option, + pub lat: Option, #[serde(rename = "lon", skip_serializing_if = "Option::is_none")] - pub lon: Option, + pub lon: Option, #[serde(rename = "street_addr_2", skip_serializing_if = "Option::is_none")] pub street_addr_2: Option, #[serde(rename = "latitude", skip_serializing_if = "Option::is_none")] - pub latitude: Option, + pub latitude: Option, #[serde(rename = "longitude", skip_serializing_if = "Option::is_none")] - pub longitude: Option, + pub longitude: Option, } impl SearchRestaurants200ResponseRestaurantsInnerAddress { @@ -52,4 +52,3 @@ impl SearchRestaurants200ResponseRestaurantsInnerAddress { } } - diff --git a/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours.rs b/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours.rs index e77ab1651..d926dc60c 100644 --- a/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours.rs +++ b/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours.rs @@ -8,19 +8,19 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRestaurants200ResponseRestaurantsInnerLocalHours { #[serde(rename = "operational", skip_serializing_if = "Option::is_none")] - pub operational: Option>, + pub operational: Option>, #[serde(rename = "delivery", skip_serializing_if = "Option::is_none")] - pub delivery: Option>, + pub delivery: Option>, #[serde(rename = "pickup", skip_serializing_if = "Option::is_none")] - pub pickup: Option>, + pub pickup: Option>, #[serde(rename = "dine_in", skip_serializing_if = "Option::is_none")] - pub dine_in: Option>, + pub dine_in: Option>, } impl SearchRestaurants200ResponseRestaurantsInnerLocalHours { @@ -34,4 +34,3 @@ impl SearchRestaurants200ResponseRestaurantsInnerLocalHours { } } - diff --git a/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours_operational.rs b/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours_operational.rs index 2d6b533a2..2e6081c0f 100644 --- a/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours_operational.rs +++ b/rust/src/models/search_restaurants_200_response_restaurants_inner_local_hours_operational.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational { #[serde(rename = "Monday", skip_serializing_if = "Option::is_none")] pub monday: Option, @@ -43,4 +43,3 @@ impl SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational { } } - diff --git a/rust/src/models/search_site_content_200_response.rs b/rust/src/models/search_site_content_200_response.rs index 62fa6760f..603eb9b5e 100644 --- a/rust/src/models/search_site_content_200_response.rs +++ b/rust/src/models/search_site_content_200_response.rs @@ -8,25 +8,25 @@ * Generated by: https://openapi-generator.tech */ -/// SearchSiteContent200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SearchSiteContent200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSiteContent200Response { #[serde(rename = "Articles")] - pub articles: Vec, + pub articles: Vec, #[serde(rename = "Grocery Products")] - pub grocery_products: Vec, + pub grocery_products: Vec, #[serde(rename = "Menu Items")] - pub menu_items: Vec, + pub menu_items: Vec, #[serde(rename = "Recipes")] - pub recipes: Vec, + pub recipes: Vec, } impl SearchSiteContent200Response { /// - pub fn new(articles: Vec, grocery_products: Vec, menu_items: Vec, recipes: Vec) -> SearchSiteContent200Response { + pub fn new(articles: Vec, grocery_products: Vec, menu_items: Vec, recipes: Vec) -> SearchSiteContent200Response { SearchSiteContent200Response { articles, grocery_products, @@ -36,4 +36,3 @@ impl SearchSiteContent200Response { } } - diff --git a/rust/src/models/search_site_content_200_response_articles_inner.rs b/rust/src/models/search_site_content_200_response_articles_inner.rs index 281ea7ea3..458496fdb 100644 --- a/rust/src/models/search_site_content_200_response_articles_inner.rs +++ b/rust/src/models/search_site_content_200_response_articles_inner.rs @@ -8,13 +8,13 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSiteContent200ResponseArticlesInner { #[serde(rename = "dataPoints", skip_serializing_if = "Option::is_none")] - pub data_points: Option>, + pub data_points: Option>, #[serde(rename = "image")] pub image: String, #[serde(rename = "link")] @@ -34,4 +34,3 @@ impl SearchSiteContent200ResponseArticlesInner { } } - diff --git a/rust/src/models/search_site_content_200_response_articles_inner_data_points_inner.rs b/rust/src/models/search_site_content_200_response_articles_inner_data_points_inner.rs index ebe631a1d..13c88e79e 100644 --- a/rust/src/models/search_site_content_200_response_articles_inner_data_points_inner.rs +++ b/rust/src/models/search_site_content_200_response_articles_inner_data_points_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SearchSiteContent200ResponseArticlesInnerDataPointsInner { #[serde(rename = "key")] pub key: String, @@ -28,4 +28,3 @@ impl SearchSiteContent200ResponseArticlesInnerDataPointsInner { } } - diff --git a/rust/src/models/summarize_recipe_200_response.rs b/rust/src/models/summarize_recipe_200_response.rs index f347128da..ef0b3ae79 100644 --- a/rust/src/models/summarize_recipe_200_response.rs +++ b/rust/src/models/summarize_recipe_200_response.rs @@ -8,11 +8,11 @@ * Generated by: https://openapi-generator.tech */ -/// SummarizeRecipe200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// SummarizeRecipe200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct SummarizeRecipe200Response { #[serde(rename = "id")] pub id: i32, @@ -33,4 +33,3 @@ impl SummarizeRecipe200Response { } } - diff --git a/rust/src/models/talk_to_chatbot_200_response.rs b/rust/src/models/talk_to_chatbot_200_response.rs index d7f1ca0e8..c26bc1a7b 100644 --- a/rust/src/models/talk_to_chatbot_200_response.rs +++ b/rust/src/models/talk_to_chatbot_200_response.rs @@ -8,21 +8,21 @@ * Generated by: https://openapi-generator.tech */ -/// TalkToChatbot200Response : - - +use crate::models; +use serde::{Deserialize, Serialize}; -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +/// TalkToChatbot200Response : +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct TalkToChatbot200Response { #[serde(rename = "answerText")] pub answer_text: String, #[serde(rename = "media")] - pub media: Vec, + pub media: Vec, } impl TalkToChatbot200Response { /// - pub fn new(answer_text: String, media: Vec) -> TalkToChatbot200Response { + pub fn new(answer_text: String, media: Vec) -> TalkToChatbot200Response { TalkToChatbot200Response { answer_text, media, @@ -30,4 +30,3 @@ impl TalkToChatbot200Response { } } - diff --git a/rust/src/models/talk_to_chatbot_200_response_media_inner.rs b/rust/src/models/talk_to_chatbot_200_response_media_inner.rs index 914d21394..7292717a7 100644 --- a/rust/src/models/talk_to_chatbot_200_response_media_inner.rs +++ b/rust/src/models/talk_to_chatbot_200_response_media_inner.rs @@ -8,10 +8,10 @@ * Generated by: https://openapi-generator.tech */ +use crate::models; +use serde::{Deserialize, Serialize}; - - -#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct TalkToChatbot200ResponseMediaInner { #[serde(rename = "title", skip_serializing_if = "Option::is_none")] pub title: Option, @@ -31,4 +31,3 @@ impl TalkToChatbot200ResponseMediaInner { } } - diff --git a/scala/.openapi-generator-ignore b/scala/.openapi-generator-ignore deleted file mode 100644 index 7484ee590..000000000 --- a/scala/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/scala/.openapi-generator/FILES b/scala/.openapi-generator/FILES deleted file mode 100644 index 9329bc9e5..000000000 --- a/scala/.openapi-generator/FILES +++ /dev/null @@ -1,172 +0,0 @@ -.openapi-generator-ignore -README.md -build.sbt -project/build.properties -project/plugins.sbt -sbt -src/main/scala/DataAccessor.scala -src/main/scala/Server.scala -src/main/scala/endpoint.scala -src/main/scala/errors.scala -src/main/scala/org/openapitools/apis/DefaultApi.scala -src/main/scala/org/openapitools/apis/IngredientsApi.scala -src/main/scala/org/openapitools/apis/MealPlanningApi.scala -src/main/scala/org/openapitools/apis/MenuItemsApi.scala -src/main/scala/org/openapitools/apis/MiscApi.scala -src/main/scala/org/openapitools/apis/ProductsApi.scala -src/main/scala/org/openapitools/apis/RecipesApi.scala -src/main/scala/org/openapitools/apis/WineApi.scala -src/main/scala/org/openapitools/models/AddMealPlanTemplate200Response.scala -src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInner.scala -src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInnerValue.scala -src/main/scala/org/openapitools/models/AddToMealPlanRequest.scala -src/main/scala/org/openapitools/models/AddToMealPlanRequestValue.scala -src/main/scala/org/openapitools/models/AddToMealPlanRequestValueIngredientsInner.scala -src/main/scala/org/openapitools/models/AddToShoppingListRequest.scala -src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200Response.scala -src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseDishesInner.scala -src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200Response.scala -src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.scala -src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala -src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala -src/main/scala/org/openapitools/models/AnalyzeRecipeRequest.scala -src/main/scala/org/openapitools/models/AutocompleteIngredientSearch200ResponseInner.scala -src/main/scala/org/openapitools/models/AutocompleteMenuItemSearch200Response.scala -src/main/scala/org/openapitools/models/AutocompleteProductSearch200Response.scala -src/main/scala/org/openapitools/models/AutocompleteProductSearch200ResponseResultsInner.scala -src/main/scala/org/openapitools/models/AutocompleteRecipeSearch200ResponseInner.scala -src/main/scala/org/openapitools/models/ClassifyCuisine200Response.scala -src/main/scala/org/openapitools/models/ClassifyGroceryProduct200Response.scala -src/main/scala/org/openapitools/models/ClassifyGroceryProductBulk200ResponseInner.scala -src/main/scala/org/openapitools/models/ClassifyGroceryProductBulkRequestInner.scala -src/main/scala/org/openapitools/models/ClassifyGroceryProductRequest.scala -src/main/scala/org/openapitools/models/ComputeGlycemicLoad200Response.scala -src/main/scala/org/openapitools/models/ComputeGlycemicLoad200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/ComputeGlycemicLoadRequest.scala -src/main/scala/org/openapitools/models/ComputeIngredientAmount200Response.scala -src/main/scala/org/openapitools/models/ConnectUser200Response.scala -src/main/scala/org/openapitools/models/ConnectUserRequest.scala -src/main/scala/org/openapitools/models/ConvertAmounts200Response.scala -src/main/scala/org/openapitools/models/CreateRecipeCard200Response.scala -src/main/scala/org/openapitools/models/DetectFoodInText200Response.scala -src/main/scala/org/openapitools/models/DetectFoodInText200ResponseAnnotationsInner.scala -src/main/scala/org/openapitools/models/GenerateMealPlan200Response.scala -src/main/scala/org/openapitools/models/GenerateMealPlan200ResponseNutrients.scala -src/main/scala/org/openapitools/models/GenerateShoppingList200Response.scala -src/main/scala/org/openapitools/models/GetARandomFoodJoke200Response.scala -src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200Response.scala -src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.scala -src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala -src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala -src/main/scala/org/openapitools/models/GetComparableProducts200Response.scala -src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProducts.scala -src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProductsProteinInner.scala -src/main/scala/org/openapitools/models/GetConversationSuggests200Response.scala -src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggests.scala -src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggestsInner.scala -src/main/scala/org/openapitools/models/GetDishPairingForWine200Response.scala -src/main/scala/org/openapitools/models/GetIngredientInformation200Response.scala -src/main/scala/org/openapitools/models/GetIngredientInformation200ResponseNutrition.scala -src/main/scala/org/openapitools/models/GetIngredientSubstitutes200Response.scala -src/main/scala/org/openapitools/models/GetMealPlanTemplate200Response.scala -src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInner.scala -src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInner.scala -src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.scala -src/main/scala/org/openapitools/models/GetMealPlanTemplates200Response.scala -src/main/scala/org/openapitools/models/GetMealPlanWeek200Response.scala -src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInner.scala -src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInner.scala -src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.scala -src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.scala -src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.scala -src/main/scala/org/openapitools/models/GetMenuItemInformation200Response.scala -src/main/scala/org/openapitools/models/GetProductInformation200Response.scala -src/main/scala/org/openapitools/models/GetProductInformation200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/GetRandomFoodTrivia200Response.scala -src/main/scala/org/openapitools/models/GetRandomRecipes200Response.scala -src/main/scala/org/openapitools/models/GetRandomRecipes200ResponseRecipesInner.scala -src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200Response.scala -src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200ResponseEquipmentInner.scala -src/main/scala/org/openapitools/models/GetRecipeInformation200Response.scala -src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInner.scala -src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.scala -src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.scala -src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairing.scala -src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairingProductMatchesInner.scala -src/main/scala/org/openapitools/models/GetRecipeInformationBulk200ResponseInner.scala -src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200Response.scala -src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200Response.scala -src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseBadInner.scala -src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseGoodInner.scala -src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200Response.scala -src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.scala -src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.scala -src/main/scala/org/openapitools/models/GetRecipeTasteByID200Response.scala -src/main/scala/org/openapitools/models/GetShoppingList200Response.scala -src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInner.scala -src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInner.scala -src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.scala -src/main/scala/org/openapitools/models/GetSimilarRecipes200ResponseInner.scala -src/main/scala/org/openapitools/models/GetWineDescription200Response.scala -src/main/scala/org/openapitools/models/GetWinePairing200Response.scala -src/main/scala/org/openapitools/models/GetWinePairing200ResponseProductMatchesInner.scala -src/main/scala/org/openapitools/models/GetWineRecommendation200Response.scala -src/main/scala/org/openapitools/models/GetWineRecommendation200ResponseRecommendedWinesInner.scala -src/main/scala/org/openapitools/models/GuessNutritionByDishName200Response.scala -src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCalories.scala -src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.scala -src/main/scala/org/openapitools/models/ImageAnalysisByURL200Response.scala -src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseCategory.scala -src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutrition.scala -src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCalories.scala -src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.scala -src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseRecipesInner.scala -src/main/scala/org/openapitools/models/ImageClassificationByURL200Response.scala -src/main/scala/org/openapitools/models/IngredientSearch200Response.scala -src/main/scala/org/openapitools/models/IngredientSearch200ResponseResultsInner.scala -src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInner.scala -src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.scala -src/main/scala/org/openapitools/models/MapIngredientsToGroceryProductsRequest.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInner.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerEstimatedCost.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutrition.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionNutrientsInner.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionPropertiesInner.scala -src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionWeightPerServing.scala -src/main/scala/org/openapitools/models/QuickAnswer200Response.scala -src/main/scala/org/openapitools/models/SearchAllFood200Response.scala -src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInner.scala -src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInnerResultsInner.scala -src/main/scala/org/openapitools/models/SearchCustomFoods200Response.scala -src/main/scala/org/openapitools/models/SearchCustomFoods200ResponseCustomFoodsInner.scala -src/main/scala/org/openapitools/models/SearchFoodVideos200Response.scala -src/main/scala/org/openapitools/models/SearchFoodVideos200ResponseVideosInner.scala -src/main/scala/org/openapitools/models/SearchGroceryProducts200Response.scala -src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200Response.scala -src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseIngredientsInner.scala -src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseNutrition.scala -src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseServings.scala -src/main/scala/org/openapitools/models/SearchMenuItems200Response.scala -src/main/scala/org/openapitools/models/SearchMenuItems200ResponseMenuItemsInner.scala -src/main/scala/org/openapitools/models/SearchRecipes200Response.scala -src/main/scala/org/openapitools/models/SearchRecipes200ResponseResultsInner.scala -src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInner.scala -src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.scala -src/main/scala/org/openapitools/models/SearchRecipesByNutrients200ResponseInner.scala -src/main/scala/org/openapitools/models/SearchRestaurants200Response.scala -src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInner.scala -src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerAddress.scala -src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHours.scala -src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.scala -src/main/scala/org/openapitools/models/SearchSiteContent200Response.scala -src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInner.scala -src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInnerDataPointsInner.scala -src/main/scala/org/openapitools/models/SummarizeRecipe200Response.scala -src/main/scala/org/openapitools/models/TalkToChatbot200Response.scala -src/main/scala/org/openapitools/models/TalkToChatbot200ResponseMediaInner.scala diff --git a/scala/.openapi-generator/VERSION b/scala/.openapi-generator/VERSION deleted file mode 100644 index 8b23b8d47..000000000 --- a/scala/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.3.0 \ No newline at end of file diff --git a/scala/README.md b/scala/README.md deleted file mode 100644 index 099ac4d90..000000000 --- a/scala/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# OpenAPI generated server - -## Overview -This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the -[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This -is an example of building a OpenAPI-enabled scalatra server. - -This example uses the [finch](http://github.com/finagle/finch/) framework. - -### After generation - -Run `scalafix RemoveUnusedImports` to cleanup unused imports. diff --git a/scala/build.sbt b/scala/build.sbt deleted file mode 100644 index de479d2ca..000000000 --- a/scala/build.sbt +++ /dev/null @@ -1,66 +0,0 @@ -scalariformSettings - -organization := "org.openapitools" - -name := "finch-sample" - -version := "0.1.0-SNAPSHOT" - -scalaVersion := "2.12.3" - -resolvers += Resolver.sonatypeRepo("snapshots") - -resolvers += "TM" at "https://maven.twttr.com" - -resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository" - -resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" - -resolvers += "Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases/" - -Defaults.itSettings - -lazy val circeVersion = "0.8.0" -lazy val finagleVersion = "6.45.0" -lazy val finchVersion = "0.15.1" -lazy val scalaTestVersion = "3.0.0" - -scalacOptions ++= Seq( - "-deprecation", - "-encoding", "UTF-8", - "-feature", - "-language:existentials", - "-language:higherKinds", - "-language:implicitConversions", - "-unchecked", - "-Yno-adapted-args", - "-Ywarn-dead-code", - "-Ywarn-numeric-widen", - "-Xfuture", - "-Xlint", - "-Ywarn-unused-import", - "-language:postfixOps" -) - -lazy val `it-config-sbt-project` = project.in(file(".")).configs(IntegrationTest) - -libraryDependencies ++= Seq( - "com.github.finagle" %% "finch-core" % finchVersion, - "com.github.finagle" %% "finch-circe" % finchVersion, - "io.circe" %% "circe-generic" % circeVersion, - "io.circe" %% "circe-java8" % circeVersion, - "com.twitter" %% "util-core" % finagleVersion, - "com.github.finagle" %% "finch-test" % finchVersion % "test", - "org.scalacheck" %% "scalacheck" % "1.13.4" % "test", - "org.scalatest" %% "scalatest" % scalaTestVersion % "test" -) - -assemblyMergeStrategy in assembly := { - case "application.conf" => MergeStrategy.concat - case "about.html" => MergeStrategy.discard - case x => - val oldStrategy = (assemblyMergeStrategy in assembly).value - oldStrategy(x) -} - -addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full) diff --git a/scala/project/build.properties b/scala/project/build.properties deleted file mode 100644 index 27e88aa11..000000000 --- a/scala/project/build.properties +++ /dev/null @@ -1 +0,0 @@ -sbt.version=0.13.13 diff --git a/scala/project/plugins.sbt b/scala/project/plugins.sbt deleted file mode 100644 index d005ee813..000000000 --- a/scala/project/plugins.sbt +++ /dev/null @@ -1,7 +0,0 @@ -resolvers += Resolver.typesafeRepo("releases") - -addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3") - -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.5.3") - -addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.6.0") diff --git a/scala/sbt b/scala/sbt deleted file mode 100644 index 08e588212..000000000 --- a/scala/sbt +++ /dev/null @@ -1,525 +0,0 @@ -#!/usr/bin/env bash -# -# A more capable sbt runner, coincidentally also called sbt. -# Author: Paul Phillips - -# todo - make this dynamic -declare -r sbt_release_version="0.13.6" -declare -r sbt_unreleased_version="0.13.6" -declare -r buildProps="project/build.properties" - -declare sbt_jar sbt_dir sbt_create sbt_version -declare scala_version sbt_explicit_version -declare verbose noshare batch trace_level log_level -declare sbt_saved_stty debugUs - -echoerr () { echo >&2 "$@"; } -vlog () { [[ -n "$verbose" ]] && echoerr "$@"; } - -# spaces are possible, e.g. sbt.version = 0.13.0 -build_props_sbt () { - [[ -r "$buildProps" ]] && \ - grep '^sbt\.version' "$buildProps" | tr '=' ' ' | awk '{ print $2; }' -} - -update_build_props_sbt () { - local ver="$1" - local old="$(build_props_sbt)" - - [[ -r "$buildProps" ]] && [[ "$ver" != "$old" ]] && { - perl -pi -e "s/^sbt\.version\b.*\$/sbt.version=${ver}/" "$buildProps" - grep -q '^sbt.version[ =]' "$buildProps" || printf "\nsbt.version=%s\n" "$ver" >> "$buildProps" - - vlog "!!!" - vlog "!!! Updated file $buildProps setting sbt.version to: $ver" - vlog "!!! Previous value was: $old" - vlog "!!!" - } -} - -set_sbt_version () { - sbt_version="${sbt_explicit_version:-$(build_props_sbt)}" - [[ -n "$sbt_version" ]] || sbt_version=$sbt_release_version - export sbt_version -} - -# restore stty settings (echo in particular) -onSbtRunnerExit() { - [[ -n "$sbt_saved_stty" ]] || return - vlog "" - vlog "restoring stty: $sbt_saved_stty" - stty "$sbt_saved_stty" - unset sbt_saved_stty -} - -# save stty and trap exit, to ensure echo is reenabled if we are interrupted. -trap onSbtRunnerExit EXIT -sbt_saved_stty="$(stty -g 2>/dev/null)" -vlog "Saved stty: $sbt_saved_stty" - -# this seems to cover the bases on OSX, and someone will -# have to tell me about the others. -get_script_path () { - local path="$1" - [[ -L "$path" ]] || { echo "$path" ; return; } - - local target="$(readlink "$path")" - if [[ "${target:0:1}" == "/" ]]; then - echo "$target" - else - echo "${path%/*}/$target" - fi -} - -die() { - echo "Aborting: $@" - exit 1 -} - -make_url () { - version="$1" - - case "$version" in - 0.7.*) echo "http://simple-build-tool.googlecode.com/files/sbt-launch-0.7.7.jar" ;; - 0.10.* ) echo "$sbt_launch_repo/org.scala-tools.sbt/sbt-launch/$version/sbt-launch.jar" ;; - 0.11.[12]) echo "$sbt_launch_repo/org.scala-tools.sbt/sbt-launch/$version/sbt-launch.jar" ;; - *) echo "$sbt_launch_repo/org.scala-sbt/sbt-launch/$version/sbt-launch.jar" ;; - esac -} - -init_default_option_file () { - local overriding_var="${!1}" - local default_file="$2" - if [[ ! -r "$default_file" && "$overriding_var" =~ ^@(.*)$ ]]; then - local envvar_file="${BASH_REMATCH[1]}" - if [[ -r "$envvar_file" ]]; then - default_file="$envvar_file" - fi - fi - echo "$default_file" -} - -declare -r cms_opts="-XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC" -declare -r jit_opts="-XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation" -declare -r default_jvm_opts_common="-Xms512m -Xmx1536m -Xss2m $jit_opts $cms_opts" -declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy" -declare -r latest_28="2.8.2" -declare -r latest_29="2.9.3" -declare -r latest_210="2.10.4" -declare -r latest_211="2.11.2" - -declare -r script_path="$(get_script_path "$BASH_SOURCE")" -declare -r script_name="${script_path##*/}" - -# some non-read-onlies set with defaults -declare java_cmd="java" -declare sbt_opts_file="$(init_default_option_file SBT_OPTS .sbtopts)" -declare jvm_opts_file="$(init_default_option_file JVM_OPTS .jvmopts)" -declare sbt_launch_repo="http://typesafe.artifactoryonline.com/typesafe/ivy-releases" - -# pull -J and -D options to give to java. -declare -a residual_args -declare -a java_args -declare -a scalac_args -declare -a sbt_commands - -# args to jvm/sbt via files or environment variables -declare -a extra_jvm_opts extra_sbt_opts - -# if set, use JAVA_HOME over java found in path -[[ -e "$JAVA_HOME/bin/java" ]] && java_cmd="$JAVA_HOME/bin/java" - -# directory to store sbt launchers -declare sbt_launch_dir="$HOME/.sbt/launchers" -[[ -d "$sbt_launch_dir" ]] || mkdir -p "$sbt_launch_dir" -[[ -w "$sbt_launch_dir" ]] || sbt_launch_dir="$(mktemp -d -t sbt_extras_launchers.XXXXXX)" - -java_version () { - local version=$("$java_cmd" -version 2>&1 | grep -e 'java version' | awk '{ print $3 }' | tr -d \") - vlog "Detected Java version: $version" - echo "${version:2:1}" -} - -# MaxPermSize critical on pre-8 jvms but incurs noisy warning on 8+ -default_jvm_opts () { - local v="$(java_version)" - if [[ $v -ge 8 ]]; then - echo "$default_jvm_opts_common" - else - echo "-XX:MaxPermSize=384m $default_jvm_opts_common" - fi -} - -build_props_scala () { - if [[ -r "$buildProps" ]]; then - versionLine="$(grep '^build.scala.versions' "$buildProps")" - versionString="${versionLine##build.scala.versions=}" - echo "${versionString%% .*}" - fi -} - -execRunner () { - # print the arguments one to a line, quoting any containing spaces - vlog "# Executing command line:" && { - for arg; do - if [[ -n "$arg" ]]; then - if printf "%s\n" "$arg" | grep -q ' '; then - printf >&2 "\"%s\"\n" "$arg" - else - printf >&2 "%s\n" "$arg" - fi - fi - done - vlog "" - } - - [[ -n "$batch" ]] && exec /dev/null; then - curl --fail --silent "$url" --output "$jar" - elif which wget >/dev/null; then - wget --quiet -O "$jar" "$url" - fi - } && [[ -r "$jar" ]] -} - -acquire_sbt_jar () { - sbt_url="$(jar_url "$sbt_version")" - sbt_jar="$(jar_file "$sbt_version")" - - [[ -r "$sbt_jar" ]] || download_url "$sbt_url" "$sbt_jar" -} - -usage () { - cat < display stack traces with a max of frames (default: -1, traces suppressed) - -debug-inc enable debugging log for the incremental compiler - -no-colors disable ANSI color codes - -sbt-create start sbt even if current directory contains no sbt project - -sbt-dir path to global settings/plugins directory (default: ~/.sbt/) - -sbt-boot path to shared boot directory (default: ~/.sbt/boot in 0.11+) - -ivy path to local Ivy repository (default: ~/.ivy2) - -no-share use all local caches; no sharing - -offline put sbt in offline mode - -jvm-debug Turn on JVM debugging, open at the given port. - -batch Disable interactive mode - -prompt Set the sbt prompt; in expr, 's' is the State and 'e' is Extracted - - # sbt version (default: sbt.version from $buildProps if present, otherwise $sbt_release_version) - -sbt-force-latest force the use of the latest release of sbt: $sbt_release_version - -sbt-version use the specified version of sbt (default: $sbt_release_version) - -sbt-dev use the latest pre-release version of sbt: $sbt_unreleased_version - -sbt-jar use the specified jar as the sbt launcher - -sbt-launch-dir directory to hold sbt launchers (default: ~/.sbt/launchers) - -sbt-launch-repo repo url for downloading sbt launcher jar (default: $sbt_launch_repo) - - # scala version (default: as chosen by sbt) - -28 use $latest_28 - -29 use $latest_29 - -210 use $latest_210 - -211 use $latest_211 - -scala-home use the scala build at the specified directory - -scala-version use the specified version of scala - -binary-version use the specified scala version when searching for dependencies - - # java version (default: java from PATH, currently $(java -version 2>&1 | grep version)) - -java-home alternate JAVA_HOME - - # passing options to the jvm - note it does NOT use JAVA_OPTS due to pollution - # The default set is used if JVM_OPTS is unset and no -jvm-opts file is found - $(default_jvm_opts) - JVM_OPTS environment variable holding either the jvm args directly, or - the reference to a file containing jvm args if given path is prepended by '@' (e.g. '@/etc/jvmopts') - Note: "@"-file is overridden by local '.jvmopts' or '-jvm-opts' argument. - -jvm-opts file containing jvm args (if not given, .jvmopts in project root is used if present) - -Dkey=val pass -Dkey=val directly to the jvm - -J-X pass option -X directly to the jvm (-J is stripped) - - # passing options to sbt, OR to this runner - SBT_OPTS environment variable holding either the sbt args directly, or - the reference to a file containing sbt args if given path is prepended by '@' (e.g. '@/etc/sbtopts') - Note: "@"-file is overridden by local '.sbtopts' or '-sbt-opts' argument. - -sbt-opts file containing sbt args (if not given, .sbtopts in project root is used if present) - -S-X add -X to sbt's scalacOptions (-S is stripped) -EOM -} - -addJava () { - vlog "[addJava] arg = '$1'" - java_args=( "${java_args[@]}" "$1" ) -} -addSbt () { - vlog "[addSbt] arg = '$1'" - sbt_commands=( "${sbt_commands[@]}" "$1" ) -} -setThisBuild () { - vlog "[addBuild] args = '$@'" - local key="$1" && shift - addSbt "set $key in ThisBuild := $@" -} - -addScalac () { - vlog "[addScalac] arg = '$1'" - scalac_args=( "${scalac_args[@]}" "$1" ) -} -addResidual () { - vlog "[residual] arg = '$1'" - residual_args=( "${residual_args[@]}" "$1" ) -} -addResolver () { - addSbt "set resolvers += $1" -} -addDebugger () { - addJava "-Xdebug" - addJava "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=$1" -} -setScalaVersion () { - [[ "$1" == *"-SNAPSHOT" ]] && addResolver 'Resolver.sonatypeRepo("snapshots")' - addSbt "++ $1" -} - -process_args () -{ - require_arg () { - local type="$1" - local opt="$2" - local arg="$3" - - if [[ -z "$arg" ]] || [[ "${arg:0:1}" == "-" ]]; then - die "$opt requires <$type> argument" - fi - } - while [[ $# -gt 0 ]]; do - case "$1" in - -h|-help) usage; exit 1 ;; - -v) verbose=true && shift ;; - -d) addSbt "--debug" && shift ;; - -w) addSbt "--warn" && shift ;; - -q) addSbt "--error" && shift ;; - -x) debugUs=true && shift ;; - -trace) require_arg integer "$1" "$2" && trace_level="$2" && shift 2 ;; - -ivy) require_arg path "$1" "$2" && addJava "-Dsbt.ivy.home=$2" && shift 2 ;; - -no-colors) addJava "-Dsbt.log.noformat=true" && shift ;; - -no-share) noshare=true && shift ;; - -sbt-boot) require_arg path "$1" "$2" && addJava "-Dsbt.boot.directory=$2" && shift 2 ;; - -sbt-dir) require_arg path "$1" "$2" && sbt_dir="$2" && shift 2 ;; - -debug-inc) addJava "-Dxsbt.inc.debug=true" && shift ;; - -offline) addSbt "set offline := true" && shift ;; - -jvm-debug) require_arg port "$1" "$2" && addDebugger "$2" && shift 2 ;; - -batch) batch=true && shift ;; - -prompt) require_arg "expr" "$1" "$2" && setThisBuild shellPrompt "(s => { val e = Project.extract(s) ; $2 })" && shift 2 ;; - - -sbt-create) sbt_create=true && shift ;; - -sbt-jar) require_arg path "$1" "$2" && sbt_jar="$2" && shift 2 ;; - -sbt-version) require_arg version "$1" "$2" && sbt_explicit_version="$2" && shift 2 ;; - -sbt-force-latest) sbt_explicit_version="$sbt_release_version" && shift ;; - -sbt-dev) sbt_explicit_version="$sbt_unreleased_version" && shift ;; - -sbt-launch-dir) require_arg path "$1" "$2" && sbt_launch_dir="$2" && shift 2 ;; - -sbt-launch-repo) require_arg path "$1" "$2" && sbt_launch_repo="$2" && shift 2 ;; - -scala-version) require_arg version "$1" "$2" && setScalaVersion "$2" && shift 2 ;; - -binary-version) require_arg version "$1" "$2" && setThisBuild scalaBinaryVersion "\"$2\"" && shift 2 ;; - -scala-home) require_arg path "$1" "$2" && setThisBuild scalaHome "Some(file(\"$2\"))" && shift 2 ;; - -java-home) require_arg path "$1" "$2" && java_cmd="$2/bin/java" && shift 2 ;; - -sbt-opts) require_arg path "$1" "$2" && sbt_opts_file="$2" && shift 2 ;; - -jvm-opts) require_arg path "$1" "$2" && jvm_opts_file="$2" && shift 2 ;; - - -D*) addJava "$1" && shift ;; - -J*) addJava "${1:2}" && shift ;; - -S*) addScalac "${1:2}" && shift ;; - -28) setScalaVersion "$latest_28" && shift ;; - -29) setScalaVersion "$latest_29" && shift ;; - -210) setScalaVersion "$latest_210" && shift ;; - -211) setScalaVersion "$latest_211" && shift ;; - - *) addResidual "$1" && shift ;; - esac - done -} - -# process the direct command line arguments -process_args "$@" - -# skip #-styled comments and blank lines -readConfigFile() { - while read line; do - [[ $line =~ ^# ]] || [[ -z $line ]] || echo "$line" - done < "$1" -} - -# if there are file/environment sbt_opts, process again so we -# can supply args to this runner -if [[ -r "$sbt_opts_file" ]]; then - vlog "Using sbt options defined in file $sbt_opts_file" - while read opt; do extra_sbt_opts+=("$opt"); done < <(readConfigFile "$sbt_opts_file") -elif [[ -n "$SBT_OPTS" && ! ("$SBT_OPTS" =~ ^@.*) ]]; then - vlog "Using sbt options defined in variable \$SBT_OPTS" - extra_sbt_opts=( $SBT_OPTS ) -else - vlog "No extra sbt options have been defined" -fi - -[[ -n "${extra_sbt_opts[*]}" ]] && process_args "${extra_sbt_opts[@]}" - -# reset "$@" to the residual args -set -- "${residual_args[@]}" -argumentCount=$# - -# set sbt version -set_sbt_version - -# only exists in 0.12+ -setTraceLevel() { - case "$sbt_version" in - "0.7."* | "0.10."* | "0.11."* ) echoerr "Cannot set trace level in sbt version $sbt_version" ;; - *) setThisBuild traceLevel $trace_level ;; - esac -} - -# set scalacOptions if we were given any -S opts -[[ ${#scalac_args[@]} -eq 0 ]] || addSbt "set scalacOptions in ThisBuild += \"${scalac_args[@]}\"" - -# Update build.properties on disk to set explicit version - sbt gives us no choice -[[ -n "$sbt_explicit_version" ]] && update_build_props_sbt "$sbt_explicit_version" -vlog "Detected sbt version $sbt_version" - -[[ -n "$scala_version" ]] && vlog "Overriding scala version to $scala_version" - -# no args - alert them there's stuff in here -(( argumentCount > 0 )) || { - vlog "Starting $script_name: invoke with -help for other options" - residual_args=( shell ) -} - -# verify this is an sbt dir or -create was given -[[ -r ./build.sbt || -d ./project || -n "$sbt_create" ]] || { - cat < apis -> operations = TODO error - private object TODO extends CommonError("Not implemented") { - def message = "Not implemented" - } - - /** - * - * @return A Object - */ - def Default_analyzeRecipe(analyzeRecipeRequest: AnalyzeRecipeRequest, language: Option[String], includeNutrition: Option[Boolean], includeTaste: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A Object - */ - def Default_createRecipeCardGet(id: BigDecimal, mask: Option[String], backgroundImage: Option[String], backgroundColor: Option[String], fontColor: Option[String], authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A SearchRestaurants200Response - */ - def Default_searchRestaurants(query: Option[String], lat: Option[BigDecimal], lng: Option[BigDecimal], distance: Option[BigDecimal], budget: Option[BigDecimal], cuisine: Option[String], minRating: Option[BigDecimal], isOpen: Option[Boolean], sort: Option[String], page: Option[BigDecimal], authParamapiKeyScheme: String): Either[CommonError,SearchRestaurants200Response] = Left(TODO) - - /** - * - * @return A Set[AutocompleteIngredientSearch200ResponseInner] - */ - def Ingredients_autocompleteIngredientSearch(query: Option[String], number: Option[Int], metaInformation: Option[Boolean], intolerances: Option[String], language: Option[String], authParamapiKeyScheme: String): Either[CommonError,Set[AutocompleteIngredientSearch200ResponseInner]] = Left(TODO) - - /** - * - * @return A ComputeIngredientAmount200Response - */ - def Ingredients_computeIngredientAmount(id: BigDecimal, nutrient: String, target: BigDecimal, unit: Option[String], authParamapiKeyScheme: String): Either[CommonError,ComputeIngredientAmount200Response] = Left(TODO) - - /** - * - * @return A GetIngredientInformation200Response - */ - def Ingredients_getIngredientInformation(id: Int, amount: Option[BigDecimal], unit: Option[String], authParamapiKeyScheme: String): Either[CommonError,GetIngredientInformation200Response] = Left(TODO) - - /** - * - * @return A GetIngredientSubstitutes200Response - */ - def Ingredients_getIngredientSubstitutes(ingredientName: String, authParamapiKeyScheme: String): Either[CommonError,GetIngredientSubstitutes200Response] = Left(TODO) - - /** - * - * @return A GetIngredientSubstitutes200Response - */ - def Ingredients_getIngredientSubstitutesByID(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetIngredientSubstitutes200Response] = Left(TODO) - - /** - * - * @return A IngredientSearch200Response - */ - def Ingredients_ingredientSearch(query: Option[String], addChildren: Option[Boolean], minProteinPercent: Option[BigDecimal], maxProteinPercent: Option[BigDecimal], minFatPercent: Option[BigDecimal], maxFatPercent: Option[BigDecimal], minCarbsPercent: Option[BigDecimal], maxCarbsPercent: Option[BigDecimal], metaInformation: Option[Boolean], intolerances: Option[String], sort: Option[String], sortDirection: Option[String], offset: Option[Int], number: Option[Int], language: Option[String], authParamapiKeyScheme: String): Either[CommonError,IngredientSearch200Response] = Left(TODO) - - /** - * - * @return A File - */ - def Ingredients_ingredientsByIDImage(id: BigDecimal, measure: Option[String], authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A Set[MapIngredientsToGroceryProducts200ResponseInner] - */ - def Ingredients_mapIngredientsToGroceryProducts(mapIngredientsToGroceryProductsRequest: MapIngredientsToGroceryProductsRequest, authParamapiKeyScheme: String): Either[CommonError,Set[MapIngredientsToGroceryProducts200ResponseInner]] = Left(TODO) - - /** - * - * @return A String - */ - def Ingredients_visualizeIngredients(ingredientList: String, servings: BigDecimal, language: Option[String], measure: Option[String], view: Option[String], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A AddMealPlanTemplate200Response - */ - def MealPlanning_addMealPlanTemplate(username: String, hash: String, authParamapiKeyScheme: String): Either[CommonError,AddMealPlanTemplate200Response] = Left(TODO) - - /** - * - * @return A Object - */ - def MealPlanning_addToMealPlan(username: String, hash: String, addToMealPlanRequest: AddToMealPlanRequest, authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A GenerateShoppingList200Response - */ - def MealPlanning_addToShoppingList(username: String, hash: String, addToShoppingListRequest: AddToShoppingListRequest, authParamapiKeyScheme: String): Either[CommonError,GenerateShoppingList200Response] = Left(TODO) - - /** - * - * @return A Object - */ - def MealPlanning_clearMealPlanDay(username: String, date: String, hash: String, authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A ConnectUser200Response - */ - def MealPlanning_connectUser(connectUserRequest: ConnectUserRequest, authParamapiKeyScheme: String): Either[CommonError,ConnectUser200Response] = Left(TODO) - - /** - * - * @return A Object - */ - def MealPlanning_deleteFromMealPlan(username: String, id: BigDecimal, hash: String, authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A Object - */ - def MealPlanning_deleteFromShoppingList(username: String, id: Int, hash: String, authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A Object - */ - def MealPlanning_deleteMealPlanTemplate(username: String, id: Int, hash: String, authParamapiKeyScheme: String): Either[CommonError,Object] = Left(TODO) - - /** - * - * @return A GenerateMealPlan200Response - */ - def MealPlanning_generateMealPlan(timeFrame: Option[String], targetCalories: Option[BigDecimal], diet: Option[String], exclude: Option[String], authParamapiKeyScheme: String): Either[CommonError,GenerateMealPlan200Response] = Left(TODO) - - /** - * - * @return A GenerateShoppingList200Response - */ - def MealPlanning_generateShoppingList(username: String, startDate: String, endDate: String, hash: String, authParamapiKeyScheme: String): Either[CommonError,GenerateShoppingList200Response] = Left(TODO) - - /** - * - * @return A GetMealPlanTemplate200Response - */ - def MealPlanning_getMealPlanTemplate(username: String, id: Int, hash: String, authParamapiKeyScheme: String): Either[CommonError,GetMealPlanTemplate200Response] = Left(TODO) - - /** - * - * @return A GetMealPlanTemplates200Response - */ - def MealPlanning_getMealPlanTemplates(username: String, hash: String, authParamapiKeyScheme: String): Either[CommonError,GetMealPlanTemplates200Response] = Left(TODO) - - /** - * - * @return A GetMealPlanWeek200Response - */ - def MealPlanning_getMealPlanWeek(username: String, startDate: String, hash: String, authParamapiKeyScheme: String): Either[CommonError,GetMealPlanWeek200Response] = Left(TODO) - - /** - * - * @return A GetShoppingList200Response - */ - def MealPlanning_getShoppingList(username: String, hash: String, authParamapiKeyScheme: String): Either[CommonError,GetShoppingList200Response] = Left(TODO) - - /** - * - * @return A AutocompleteMenuItemSearch200Response - */ - def MenuItems_autocompleteMenuItemSearch(query: String, number: Option[BigDecimal], authParamapiKeyScheme: String): Either[CommonError,AutocompleteMenuItemSearch200Response] = Left(TODO) - - /** - * - * @return A GetMenuItemInformation200Response - */ - def MenuItems_getMenuItemInformation(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetMenuItemInformation200Response] = Left(TODO) - - /** - * - * @return A File - */ - def MenuItems_menuItemNutritionByIDImage(id: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A File - */ - def MenuItems_menuItemNutritionLabelImage(id: BigDecimal, showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A String - */ - def MenuItems_menuItemNutritionLabelWidget(id: BigDecimal, defaultCss: Option[Boolean], showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A SearchMenuItems200Response - */ - def MenuItems_searchMenuItems(query: Option[String], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], addMenuItemInformation: Option[Boolean], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,SearchMenuItems200Response] = Left(TODO) - - /** - * - * @return A String - */ - def MenuItems_visualizeMenuItemNutritionByID(id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A DetectFoodInText200Response - */ - def Misc_detectFoodInText(text: String, authParamapiKeyScheme: String): Either[CommonError,DetectFoodInText200Response] = Left(TODO) - - /** - * - * @return A GetARandomFoodJoke200Response - */ - def Misc_getARandomFoodJoke(authParamapiKeyScheme: String): Either[CommonError,GetARandomFoodJoke200Response] = Left(TODO) - - /** - * - * @return A GetConversationSuggests200Response - */ - def Misc_getConversationSuggests(query: String, number: Option[BigDecimal], authParamapiKeyScheme: String): Either[CommonError,GetConversationSuggests200Response] = Left(TODO) - - /** - * - * @return A GetRandomFoodTrivia200Response - */ - def Misc_getRandomFoodTrivia(authParamapiKeyScheme: String): Either[CommonError,GetRandomFoodTrivia200Response] = Left(TODO) - - /** - * - * @return A ImageAnalysisByURL200Response - */ - def Misc_imageAnalysisByURL(imageUrl: String, authParamapiKeyScheme: String): Either[CommonError,ImageAnalysisByURL200Response] = Left(TODO) - - /** - * - * @return A ImageClassificationByURL200Response - */ - def Misc_imageClassificationByURL(imageUrl: String, authParamapiKeyScheme: String): Either[CommonError,ImageClassificationByURL200Response] = Left(TODO) - - /** - * - * @return A SearchAllFood200Response - */ - def Misc_searchAllFood(query: String, offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,SearchAllFood200Response] = Left(TODO) - - /** - * - * @return A SearchCustomFoods200Response - */ - def Misc_searchCustomFoods(username: String, hash: String, query: Option[String], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,SearchCustomFoods200Response] = Left(TODO) - - /** - * - * @return A SearchFoodVideos200Response - */ - def Misc_searchFoodVideos(query: Option[String], _type: Option[String], cuisine: Option[String], diet: Option[String], includeIngredients: Option[String], excludeIngredients: Option[String], minLength: Option[BigDecimal], maxLength: Option[BigDecimal], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,SearchFoodVideos200Response] = Left(TODO) - - /** - * - * @return A SearchSiteContent200Response - */ - def Misc_searchSiteContent(query: String, authParamapiKeyScheme: String): Either[CommonError,SearchSiteContent200Response] = Left(TODO) - - /** - * - * @return A TalkToChatbot200Response - */ - def Misc_talkToChatbot(text: String, contextId: Option[String], authParamapiKeyScheme: String): Either[CommonError,TalkToChatbot200Response] = Left(TODO) - - /** - * - * @return A AutocompleteProductSearch200Response - */ - def Products_autocompleteProductSearch(query: String, number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,AutocompleteProductSearch200Response] = Left(TODO) - - /** - * - * @return A ClassifyGroceryProduct200Response - */ - def Products_classifyGroceryProduct(classifyGroceryProductRequest: ClassifyGroceryProductRequest, locale: Option[String], authParamapiKeyScheme: String): Either[CommonError,ClassifyGroceryProduct200Response] = Left(TODO) - - /** - * - * @return A Set[ClassifyGroceryProductBulk200ResponseInner] - */ - def Products_classifyGroceryProductBulk(classifyGroceryProductBulkRequestInner: Set[ClassifyGroceryProductBulkRequestInner], locale: Option[String], authParamapiKeyScheme: String): Either[CommonError,Set[ClassifyGroceryProductBulk200ResponseInner]] = Left(TODO) - - /** - * - * @return A GetComparableProducts200Response - */ - def Products_getComparableProducts(upc: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,GetComparableProducts200Response] = Left(TODO) - - /** - * - * @return A GetProductInformation200Response - */ - def Products_getProductInformation(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetProductInformation200Response] = Left(TODO) - - /** - * - * @return A File - */ - def Products_productNutritionByIDImage(id: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A File - */ - def Products_productNutritionLabelImage(id: BigDecimal, showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A String - */ - def Products_productNutritionLabelWidget(id: BigDecimal, defaultCss: Option[Boolean], showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A SearchGroceryProducts200Response - */ - def Products_searchGroceryProducts(query: Option[String], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], addProductInformation: Option[Boolean], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,SearchGroceryProducts200Response] = Left(TODO) - - /** - * - * @return A SearchGroceryProductsByUPC200Response - */ - def Products_searchGroceryProductsByUPC(upc: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,SearchGroceryProductsByUPC200Response] = Left(TODO) - - /** - * - * @return A String - */ - def Products_visualizeProductNutritionByID(id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A AnalyzeARecipeSearchQuery200Response - */ - def Recipes_analyzeARecipeSearchQuery(q: String, authParamapiKeyScheme: String): Either[CommonError,AnalyzeARecipeSearchQuery200Response] = Left(TODO) - - /** - * - * @return A AnalyzeRecipeInstructions200Response - */ - def Recipes_analyzeRecipeInstructions(instructions: String, authParamapiKeyScheme: String): Either[CommonError,AnalyzeRecipeInstructions200Response] = Left(TODO) - - /** - * - * @return A Set[AutocompleteRecipeSearch200ResponseInner] - */ - def Recipes_autocompleteRecipeSearch(query: Option[String], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,Set[AutocompleteRecipeSearch200ResponseInner]] = Left(TODO) - - /** - * - * @return A ClassifyCuisine200Response - */ - def Recipes_classifyCuisine(title: String, ingredientList: String, language: Option[String], authParamapiKeyScheme: String): Either[CommonError,ClassifyCuisine200Response] = Left(TODO) - - /** - * - * @return A ComputeGlycemicLoad200Response - */ - def Recipes_computeGlycemicLoad(computeGlycemicLoadRequest: ComputeGlycemicLoadRequest, language: Option[String], authParamapiKeyScheme: String): Either[CommonError,ComputeGlycemicLoad200Response] = Left(TODO) - - /** - * - * @return A ConvertAmounts200Response - */ - def Recipes_convertAmounts(ingredientName: String, sourceAmount: BigDecimal, sourceUnit: String, targetUnit: String, authParamapiKeyScheme: String): Either[CommonError,ConvertAmounts200Response] = Left(TODO) - - /** - * - * @return A CreateRecipeCard200Response - */ - def Recipes_createRecipeCard(title: String, ingredients: String, instructions: String, readyInMinutes: BigDecimal, servings: BigDecimal, mask: String, backgroundImage: String, image: FileUpload, imageUrl: Option[String], author: Option[String], backgroundColor: Option[String], fontColor: Option[String], source: Option[String], authParamapiKeyScheme: String): Either[CommonError,CreateRecipeCard200Response] = Left(TODO) - - /** - * - * @return A File - */ - def Recipes_equipmentByIDImage(id: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A GetRecipeInformation200Response - */ - def Recipes_extractRecipeFromWebsite(url: String, forceExtraction: Option[Boolean], analyze: Option[Boolean], includeNutrition: Option[Boolean], includeTaste: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,GetRecipeInformation200Response] = Left(TODO) - - /** - * - * @return A GetAnalyzedRecipeInstructions200Response - */ - def Recipes_getAnalyzedRecipeInstructions(id: Int, stepBreakdown: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,GetAnalyzedRecipeInstructions200Response] = Left(TODO) - - /** - * - * @return A GetRandomRecipes200Response - */ - def Recipes_getRandomRecipes(limitLicense: Option[Boolean], includeNutrition: Option[Boolean], includeTags: Option[String], excludeTags: Option[String], number: Option[Int], authParamapiKeyScheme: String): Either[CommonError,GetRandomRecipes200Response] = Left(TODO) - - /** - * - * @return A GetRecipeEquipmentByID200Response - */ - def Recipes_getRecipeEquipmentByID(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetRecipeEquipmentByID200Response] = Left(TODO) - - /** - * - * @return A GetRecipeInformation200Response - */ - def Recipes_getRecipeInformation(id: Int, includeNutrition: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,GetRecipeInformation200Response] = Left(TODO) - - /** - * - * @return A Set[GetRecipeInformationBulk200ResponseInner] - */ - def Recipes_getRecipeInformationBulk(ids: String, includeNutrition: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,Set[GetRecipeInformationBulk200ResponseInner]] = Left(TODO) - - /** - * - * @return A GetRecipeIngredientsByID200Response - */ - def Recipes_getRecipeIngredientsByID(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetRecipeIngredientsByID200Response] = Left(TODO) - - /** - * - * @return A GetRecipeNutritionWidgetByID200Response - */ - def Recipes_getRecipeNutritionWidgetByID(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetRecipeNutritionWidgetByID200Response] = Left(TODO) - - /** - * - * @return A GetRecipePriceBreakdownByID200Response - */ - def Recipes_getRecipePriceBreakdownByID(id: Int, authParamapiKeyScheme: String): Either[CommonError,GetRecipePriceBreakdownByID200Response] = Left(TODO) - - /** - * - * @return A GetRecipeTasteByID200Response - */ - def Recipes_getRecipeTasteByID(id: Int, normalize: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,GetRecipeTasteByID200Response] = Left(TODO) - - /** - * - * @return A Set[GetSimilarRecipes200ResponseInner] - */ - def Recipes_getSimilarRecipes(id: Int, number: Option[Int], limitLicense: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,Set[GetSimilarRecipes200ResponseInner]] = Left(TODO) - - /** - * - * @return A GuessNutritionByDishName200Response - */ - def Recipes_guessNutritionByDishName(title: String, authParamapiKeyScheme: String): Either[CommonError,GuessNutritionByDishName200Response] = Left(TODO) - - /** - * - * @return A Set[ParseIngredients200ResponseInner] - */ - def Recipes_parseIngredients(ingredientList: String, servings: BigDecimal, language: Option[String], includeNutrition: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,Set[ParseIngredients200ResponseInner]] = Left(TODO) - - /** - * - * @return A File - */ - def Recipes_priceBreakdownByIDImage(id: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A QuickAnswer200Response - */ - def Recipes_quickAnswer(q: String, authParamapiKeyScheme: String): Either[CommonError,QuickAnswer200Response] = Left(TODO) - - /** - * - * @return A File - */ - def Recipes_recipeNutritionByIDImage(id: BigDecimal, authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A File - */ - def Recipes_recipeNutritionLabelImage(id: BigDecimal, showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_recipeNutritionLabelWidget(id: BigDecimal, defaultCss: Option[Boolean], showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A File - */ - def Recipes_recipeTasteByIDImage(id: BigDecimal, normalize: Option[Boolean], rgb: Option[String], authParamapiKeyScheme: String): Either[CommonError,File] = Left(TODO) - - /** - * - * @return A SearchRecipes200Response - */ - def Recipes_searchRecipes(query: Option[String], cuisine: Option[String], excludeCuisine: Option[String], diet: Option[String], intolerances: Option[String], equipment: Option[String], includeIngredients: Option[String], excludeIngredients: Option[String], _type: Option[String], instructionsRequired: Option[Boolean], fillIngredients: Option[Boolean], addRecipeInformation: Option[Boolean], addRecipeNutrition: Option[Boolean], author: Option[String], tags: Option[String], recipeBoxId: Option[BigDecimal], titleMatch: Option[String], maxReadyTime: Option[BigDecimal], minServings: Option[BigDecimal], maxServings: Option[BigDecimal], ignorePantry: Option[Boolean], sort: Option[String], sortDirection: Option[String], minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], minAlcohol: Option[BigDecimal], maxAlcohol: Option[BigDecimal], minCaffeine: Option[BigDecimal], maxCaffeine: Option[BigDecimal], minCopper: Option[BigDecimal], maxCopper: Option[BigDecimal], minCalcium: Option[BigDecimal], maxCalcium: Option[BigDecimal], minCholine: Option[BigDecimal], maxCholine: Option[BigDecimal], minCholesterol: Option[BigDecimal], maxCholesterol: Option[BigDecimal], minFluoride: Option[BigDecimal], maxFluoride: Option[BigDecimal], minSaturatedFat: Option[BigDecimal], maxSaturatedFat: Option[BigDecimal], minVitaminA: Option[BigDecimal], maxVitaminA: Option[BigDecimal], minVitaminC: Option[BigDecimal], maxVitaminC: Option[BigDecimal], minVitaminD: Option[BigDecimal], maxVitaminD: Option[BigDecimal], minVitaminE: Option[BigDecimal], maxVitaminE: Option[BigDecimal], minVitaminK: Option[BigDecimal], maxVitaminK: Option[BigDecimal], minVitaminB1: Option[BigDecimal], maxVitaminB1: Option[BigDecimal], minVitaminB2: Option[BigDecimal], maxVitaminB2: Option[BigDecimal], minVitaminB5: Option[BigDecimal], maxVitaminB5: Option[BigDecimal], minVitaminB3: Option[BigDecimal], maxVitaminB3: Option[BigDecimal], minVitaminB6: Option[BigDecimal], maxVitaminB6: Option[BigDecimal], minVitaminB12: Option[BigDecimal], maxVitaminB12: Option[BigDecimal], minFiber: Option[BigDecimal], maxFiber: Option[BigDecimal], minFolate: Option[BigDecimal], maxFolate: Option[BigDecimal], minFolicAcid: Option[BigDecimal], maxFolicAcid: Option[BigDecimal], minIodine: Option[BigDecimal], maxIodine: Option[BigDecimal], minIron: Option[BigDecimal], maxIron: Option[BigDecimal], minMagnesium: Option[BigDecimal], maxMagnesium: Option[BigDecimal], minManganese: Option[BigDecimal], maxManganese: Option[BigDecimal], minPhosphorus: Option[BigDecimal], maxPhosphorus: Option[BigDecimal], minPotassium: Option[BigDecimal], maxPotassium: Option[BigDecimal], minSelenium: Option[BigDecimal], maxSelenium: Option[BigDecimal], minSodium: Option[BigDecimal], maxSodium: Option[BigDecimal], minSugar: Option[BigDecimal], maxSugar: Option[BigDecimal], minZinc: Option[BigDecimal], maxZinc: Option[BigDecimal], offset: Option[Int], number: Option[Int], limitLicense: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,SearchRecipes200Response] = Left(TODO) - - /** - * - * @return A Set[SearchRecipesByIngredients200ResponseInner] - */ - def Recipes_searchRecipesByIngredients(ingredients: Option[String], number: Option[Int], limitLicense: Option[Boolean], ranking: Option[BigDecimal], ignorePantry: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,Set[SearchRecipesByIngredients200ResponseInner]] = Left(TODO) - - /** - * - * @return A Set[SearchRecipesByNutrients200ResponseInner] - */ - def Recipes_searchRecipesByNutrients(minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], minAlcohol: Option[BigDecimal], maxAlcohol: Option[BigDecimal], minCaffeine: Option[BigDecimal], maxCaffeine: Option[BigDecimal], minCopper: Option[BigDecimal], maxCopper: Option[BigDecimal], minCalcium: Option[BigDecimal], maxCalcium: Option[BigDecimal], minCholine: Option[BigDecimal], maxCholine: Option[BigDecimal], minCholesterol: Option[BigDecimal], maxCholesterol: Option[BigDecimal], minFluoride: Option[BigDecimal], maxFluoride: Option[BigDecimal], minSaturatedFat: Option[BigDecimal], maxSaturatedFat: Option[BigDecimal], minVitaminA: Option[BigDecimal], maxVitaminA: Option[BigDecimal], minVitaminC: Option[BigDecimal], maxVitaminC: Option[BigDecimal], minVitaminD: Option[BigDecimal], maxVitaminD: Option[BigDecimal], minVitaminE: Option[BigDecimal], maxVitaminE: Option[BigDecimal], minVitaminK: Option[BigDecimal], maxVitaminK: Option[BigDecimal], minVitaminB1: Option[BigDecimal], maxVitaminB1: Option[BigDecimal], minVitaminB2: Option[BigDecimal], maxVitaminB2: Option[BigDecimal], minVitaminB5: Option[BigDecimal], maxVitaminB5: Option[BigDecimal], minVitaminB3: Option[BigDecimal], maxVitaminB3: Option[BigDecimal], minVitaminB6: Option[BigDecimal], maxVitaminB6: Option[BigDecimal], minVitaminB12: Option[BigDecimal], maxVitaminB12: Option[BigDecimal], minFiber: Option[BigDecimal], maxFiber: Option[BigDecimal], minFolate: Option[BigDecimal], maxFolate: Option[BigDecimal], minFolicAcid: Option[BigDecimal], maxFolicAcid: Option[BigDecimal], minIodine: Option[BigDecimal], maxIodine: Option[BigDecimal], minIron: Option[BigDecimal], maxIron: Option[BigDecimal], minMagnesium: Option[BigDecimal], maxMagnesium: Option[BigDecimal], minManganese: Option[BigDecimal], maxManganese: Option[BigDecimal], minPhosphorus: Option[BigDecimal], maxPhosphorus: Option[BigDecimal], minPotassium: Option[BigDecimal], maxPotassium: Option[BigDecimal], minSelenium: Option[BigDecimal], maxSelenium: Option[BigDecimal], minSodium: Option[BigDecimal], maxSodium: Option[BigDecimal], minSugar: Option[BigDecimal], maxSugar: Option[BigDecimal], minZinc: Option[BigDecimal], maxZinc: Option[BigDecimal], offset: Option[Int], number: Option[Int], random: Option[Boolean], limitLicense: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,Set[SearchRecipesByNutrients200ResponseInner]] = Left(TODO) - - /** - * - * @return A SummarizeRecipe200Response - */ - def Recipes_summarizeRecipe(id: Int, authParamapiKeyScheme: String): Either[CommonError,SummarizeRecipe200Response] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeEquipment(instructions: String, view: Option[String], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizePriceBreakdown(ingredientList: String, servings: BigDecimal, language: Option[String], mode: Option[BigDecimal], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipeEquipmentByID(id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipeIngredientsByID(id: Int, defaultCss: Option[Boolean], measure: Option[String], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipeNutrition(ingredientList: String, servings: BigDecimal, language: Option[String], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipeNutritionByID(id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipePriceBreakdownByID(id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipeTaste(ingredientList: String, language: Option[String], normalize: Option[Boolean], rgb: Option[String], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A String - */ - def Recipes_visualizeRecipeTasteByID(id: Int, normalize: Option[Boolean], rgb: Option[String], authParamapiKeyScheme: String): Either[CommonError,String] = Left(TODO) - - /** - * - * @return A GetDishPairingForWine200Response - */ - def Wine_getDishPairingForWine(wine: String, authParamapiKeyScheme: String): Either[CommonError,GetDishPairingForWine200Response] = Left(TODO) - - /** - * - * @return A GetWineDescription200Response - */ - def Wine_getWineDescription(wine: String, authParamapiKeyScheme: String): Either[CommonError,GetWineDescription200Response] = Left(TODO) - - /** - * - * @return A GetWinePairing200Response - */ - def Wine_getWinePairing(food: String, maxPrice: Option[BigDecimal], authParamapiKeyScheme: String): Either[CommonError,GetWinePairing200Response] = Left(TODO) - - /** - * - * @return A GetWineRecommendation200Response - */ - def Wine_getWineRecommendation(wine: String, maxPrice: Option[BigDecimal], minRating: Option[BigDecimal], number: Option[BigDecimal], authParamapiKeyScheme: String): Either[CommonError,GetWineRecommendation200Response] = Left(TODO) - -} \ No newline at end of file diff --git a/scala/src/main/scala/Server.scala b/scala/src/main/scala/Server.scala deleted file mode 100644 index 20a12c52d..000000000 --- a/scala/src/main/scala/Server.scala +++ /dev/null @@ -1,35 +0,0 @@ -package spoonacular - -import io.finch._ -import io.finch.circe._ -import io.circe.{Decoder, ObjectEncoder} -import io.circe.generic.auto._ -import io.circe.generic.semiauto -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import com.twitter.finagle.Http -import com.twitter.finagle.util.LoadService -import com.twitter.util.{Await, Future} - - -class Server { - - // Loads implementation defined in resources/META-INF/services/spoonacular.DataAccessor - val impls: Seq[DataAccessor] = LoadService[DataAccessor]() - val db = if (impls.isEmpty) new DataAccessor { } else impls.head - - val service = endpoint.makeService(db) - - val server = Http.serve(":8080", service) //creates service - - def close(): Future[Unit] = { - Await.ready(server.close()) - } -} - -/** - * Launches the API service when the system is ready. - */ -object Server extends Server with App { - Await.ready(server) -} diff --git a/scala/src/main/scala/endpoint.scala b/scala/src/main/scala/endpoint.scala deleted file mode 100644 index 1caf68fec..000000000 --- a/scala/src/main/scala/endpoint.scala +++ /dev/null @@ -1,53 +0,0 @@ -package spoonacular - -import com.twitter.finagle.Service -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.FileUpload -import com.twitter.util.Future -import io.finch._, items._ -import io.circe.{Encoder, Json} -import io.finch.circe._ -import io.circe.generic.semiauto._ - -import org.openapitools.apis._ - -/** - * Provides the paths and endpoints for all the API's public service methods. - */ -object endpoint { - - def errorToJson(e: Exception): Json = e match { - case Error.NotPresent(_) => - Json.obj("error" -> Json.fromString("something_not_present")) - case Error.NotParsed(_, _, _) => - Json.obj("error" -> Json.fromString("something_not_parsed")) - case Error.NotValid(_, _) => - Json.obj("error" -> Json.fromString("something_not_valid")) - case error: CommonError => - Json.obj("error" -> Json.fromString(error.message)) - } - - implicit val ee: Encoder[Exception] = Encoder.instance { - case e: Error => errorToJson(e) - case Errors(nel) => Json.arr(nel.toList.map(errorToJson): _*) - } - - /** - * Compiles together all the endpoints relating to public service methods. - * - * @return A service that contains all provided endpoints of the API. - */ - def makeService(da: DataAccessor): Service[Request, Response] = ( - DefaultApi.endpoints(da) :+: - IngredientsApi.endpoints(da) :+: - MealPlanningApi.endpoints(da) :+: - MenuItemsApi.endpoints(da) :+: - MiscApi.endpoints(da) :+: - ProductsApi.endpoints(da) :+: - RecipesApi.endpoints(da) :+: - WineApi.endpoints(da) - ).handle({ - case e: CommonError => NotFound(e) - }).toService - -} \ No newline at end of file diff --git a/scala/src/main/scala/errors.scala b/scala/src/main/scala/errors.scala deleted file mode 100644 index a47487a62..000000000 --- a/scala/src/main/scala/errors.scala +++ /dev/null @@ -1,26 +0,0 @@ -package spoonacular - -/** - * The parent error from which most API errors extend. Thrown whenever something in the api goes wrong. - */ -abstract class CommonError(msg: String) extends Exception(msg) { - def message: String -} - -/** - * Thrown when the object given is invalid - * @param message An error message - */ -case class InvalidInput(message: String) extends CommonError(message) - -/** - * Thrown when the given object is missing a unique ID. - * @param message An error message - */ -case class MissingIdentifier(message: String) extends CommonError(message) - -/** - * Thrown when the given record does not exist in the database. - * @param message An error message - */ -case class RecordNotFound(message: String) extends CommonError(message) diff --git a/scala/src/main/scala/org/openapitools/apis/DefaultApi.scala b/scala/src/main/scala/org/openapitools/apis/DefaultApi.scala deleted file mode 100644 index b540ded64..000000000 --- a/scala/src/main/scala/org/openapitools/apis/DefaultApi.scala +++ /dev/null @@ -1,116 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.AnalyzeRecipeRequest -import org.openapitools.models.BigDecimal -import org.openapitools.models.SearchRestaurants200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object DefaultApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - analyzeRecipe(da) :+: - createRecipeCardGet(da) :+: - searchRestaurants(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a Object - */ - private def analyzeRecipe(da: DataAccessor): Endpoint[Object] = - post("recipes" :: "analyze" :: jsonBody[AnalyzeRecipeRequest] :: paramOption("language") :: paramOption("includeNutrition").map(_.map(_.toBoolean)) :: paramOption("includeTaste").map(_.map(_.toBoolean)) :: header("x-api-key")) { (analyzeRecipeRequest: AnalyzeRecipeRequest, language: Option[String], includeNutrition: Option[Boolean], includeTaste: Option[Boolean], authParamapiKeyScheme: String) => - da.Default_analyzeRecipe(analyzeRecipeRequest, language, includeNutrition, includeTaste, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Object - */ - private def createRecipeCardGet(da: DataAccessor): Endpoint[Object] = - get("recipes" :: bigdecimal :: "card" :: paramOption("mask") :: paramOption("backgroundImage") :: paramOption("backgroundColor") :: paramOption("fontColor") :: header("x-api-key")) { (id: BigDecimal, mask: Option[String], backgroundImage: Option[String], backgroundColor: Option[String], fontColor: Option[String], authParamapiKeyScheme: String) => - da.Default_createRecipeCardGet(id, mask, backgroundImage, backgroundColor, fontColor, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchRestaurants200Response - */ - private def searchRestaurants(da: DataAccessor): Endpoint[SearchRestaurants200Response] = - get("food" :: "restaurants" :: "search" :: paramOption("query") :: paramOption("lat").map(_.map(_.toBigDecimal)) :: paramOption("lng").map(_.map(_.toBigDecimal)) :: paramOption("distance").map(_.map(_.toBigDecimal)) :: paramOption("budget").map(_.map(_.toBigDecimal)) :: paramOption("cuisine") :: paramOption("min-rating").map(_.map(_.toBigDecimal)) :: paramOption("is-open").map(_.map(_.toBoolean)) :: paramOption("sort") :: paramOption("page").map(_.map(_.toBigDecimal)) :: header("x-api-key")) { (query: Option[String], lat: Option[BigDecimal], lng: Option[BigDecimal], distance: Option[BigDecimal], budget: Option[BigDecimal], cuisine: Option[String], minRating: Option[BigDecimal], isOpen: Option[Boolean], sort: Option[String], page: Option[BigDecimal], authParamapiKeyScheme: String) => - da.Default_searchRestaurants(query, lat, lng, distance, budget, cuisine, minRating, isOpen, sort, page, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpDefaultApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/IngredientsApi.scala b/scala/src/main/scala/org/openapitools/apis/IngredientsApi.scala deleted file mode 100644 index 926e63594..000000000 --- a/scala/src/main/scala/org/openapitools/apis/IngredientsApi.scala +++ /dev/null @@ -1,212 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.AutocompleteIngredientSearch200ResponseInner -import org.openapitools.models.BigDecimal -import org.openapitools.models.ComputeIngredientAmount200Response -import java.io.File -import org.openapitools.models.GetIngredientInformation200Response -import org.openapitools.models.GetIngredientSubstitutes200Response -import org.openapitools.models.IngredientSearch200Response -import org.openapitools.models.MapIngredientsToGroceryProducts200ResponseInner -import org.openapitools.models.MapIngredientsToGroceryProductsRequest -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object IngredientsApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - autocompleteIngredientSearch(da) :+: - computeIngredientAmount(da) :+: - getIngredientInformation(da) :+: - getIngredientSubstitutes(da) :+: - getIngredientSubstitutesByID(da) :+: - ingredientSearch(da) :+: - ingredientsByIDImage(da) :+: - mapIngredientsToGroceryProducts(da) :+: - visualizeIngredients(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a Set[AutocompleteIngredientSearch200ResponseInner] - */ - private def autocompleteIngredientSearch(da: DataAccessor): Endpoint[Set[AutocompleteIngredientSearch200ResponseInner]] = - get("food" :: "ingredients" :: "autocomplete" :: paramOption("query") :: paramOption("number").map(_.map(_.toInt)) :: paramOption("metaInformation").map(_.map(_.toBoolean)) :: paramOption("intolerances") :: paramOption("language") :: header("x-api-key")) { (query: Option[String], number: Option[Int], metaInformation: Option[Boolean], intolerances: Option[String], language: Option[String], authParamapiKeyScheme: String) => - da.Ingredients_autocompleteIngredientSearch(query, number, metaInformation, intolerances, language, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ComputeIngredientAmount200Response - */ - private def computeIngredientAmount(da: DataAccessor): Endpoint[ComputeIngredientAmount200Response] = - get("food" :: "ingredients" :: bigdecimal :: "amount" :: param("nutrient") :: param("target").map(_.toBigDecimal) :: paramOption("unit") :: header("x-api-key")) { (id: BigDecimal, nutrient: String, target: BigDecimal, unit: Option[String], authParamapiKeyScheme: String) => - da.Ingredients_computeIngredientAmount(id, nutrient, target, unit, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetIngredientInformation200Response - */ - private def getIngredientInformation(da: DataAccessor): Endpoint[GetIngredientInformation200Response] = - get("food" :: "ingredients" :: int :: "information" :: paramOption("amount").map(_.map(_.toBigDecimal)) :: paramOption("unit") :: header("x-api-key")) { (id: Int, amount: Option[BigDecimal], unit: Option[String], authParamapiKeyScheme: String) => - da.Ingredients_getIngredientInformation(id, amount, unit, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetIngredientSubstitutes200Response - */ - private def getIngredientSubstitutes(da: DataAccessor): Endpoint[GetIngredientSubstitutes200Response] = - get("food" :: "ingredients" :: "substitutes" :: param("ingredientName") :: header("x-api-key")) { (ingredientName: String, authParamapiKeyScheme: String) => - da.Ingredients_getIngredientSubstitutes(ingredientName, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetIngredientSubstitutes200Response - */ - private def getIngredientSubstitutesByID(da: DataAccessor): Endpoint[GetIngredientSubstitutes200Response] = - get("food" :: "ingredients" :: int :: "substitutes" :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Ingredients_getIngredientSubstitutesByID(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a IngredientSearch200Response - */ - private def ingredientSearch(da: DataAccessor): Endpoint[IngredientSearch200Response] = - get("food" :: "ingredients" :: "search" :: paramOption("query") :: paramOption("addChildren").map(_.map(_.toBoolean)) :: paramOption("minProteinPercent").map(_.map(_.toBigDecimal)) :: paramOption("maxProteinPercent").map(_.map(_.toBigDecimal)) :: paramOption("minFatPercent").map(_.map(_.toBigDecimal)) :: paramOption("maxFatPercent").map(_.map(_.toBigDecimal)) :: paramOption("minCarbsPercent").map(_.map(_.toBigDecimal)) :: paramOption("maxCarbsPercent").map(_.map(_.toBigDecimal)) :: paramOption("metaInformation").map(_.map(_.toBoolean)) :: paramOption("intolerances") :: paramOption("sort") :: paramOption("sortDirection") :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: paramOption("language") :: header("x-api-key")) { (query: Option[String], addChildren: Option[Boolean], minProteinPercent: Option[BigDecimal], maxProteinPercent: Option[BigDecimal], minFatPercent: Option[BigDecimal], maxFatPercent: Option[BigDecimal], minCarbsPercent: Option[BigDecimal], maxCarbsPercent: Option[BigDecimal], metaInformation: Option[Boolean], intolerances: Option[String], sort: Option[String], sortDirection: Option[String], offset: Option[Int], number: Option[Int], language: Option[String], authParamapiKeyScheme: String) => - da.Ingredients_ingredientSearch(query, addChildren, minProteinPercent, maxProteinPercent, minFatPercent, maxFatPercent, minCarbsPercent, maxCarbsPercent, metaInformation, intolerances, sort, sortDirection, offset, number, language, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def ingredientsByIDImage(da: DataAccessor): Endpoint[File] = - get("recipes" :: bigdecimal :: "ingredientWidget.png" :: paramOption("measure") :: header("x-api-key")) { (id: BigDecimal, measure: Option[String], authParamapiKeyScheme: String) => - da.Ingredients_ingredientsByIDImage(id, measure, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[MapIngredientsToGroceryProducts200ResponseInner] - */ - private def mapIngredientsToGroceryProducts(da: DataAccessor): Endpoint[Set[MapIngredientsToGroceryProducts200ResponseInner]] = - post("food" :: "ingredients" :: "map" :: jsonBody[MapIngredientsToGroceryProductsRequest] :: header("x-api-key")) { (mapIngredientsToGroceryProductsRequest: MapIngredientsToGroceryProductsRequest, authParamapiKeyScheme: String) => - da.Ingredients_mapIngredientsToGroceryProducts(mapIngredientsToGroceryProductsRequest, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeIngredients(da: DataAccessor): Endpoint[String] = - post("recipes" :: "visualizeIngredients" :: string :: bigdecimal :: paramOption("language") :: paramOption("measure") :: paramOption("view") :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showBacklink").map(_.map(_.toBoolean)) :: header("x-api-key")) { (ingredientList: String, servings: BigDecimal, language: Option[String], measure: Option[String], view: Option[String], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String) => - da.Ingredients_visualizeIngredients(ingredientList, servings, language, measure, view, defaultCss, showBacklink, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpIngredientsApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/MealPlanningApi.scala b/scala/src/main/scala/org/openapitools/apis/MealPlanningApi.scala deleted file mode 100644 index 3a2ebea3a..000000000 --- a/scala/src/main/scala/org/openapitools/apis/MealPlanningApi.scala +++ /dev/null @@ -1,290 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.AddMealPlanTemplate200Response -import org.openapitools.models.AddToMealPlanRequest -import org.openapitools.models.AddToShoppingListRequest -import org.openapitools.models.BigDecimal -import org.openapitools.models.ConnectUser200Response -import org.openapitools.models.ConnectUserRequest -import org.openapitools.models.GenerateMealPlan200Response -import org.openapitools.models.GenerateShoppingList200Response -import org.openapitools.models.GetMealPlanTemplate200Response -import org.openapitools.models.GetMealPlanTemplates200Response -import org.openapitools.models.GetMealPlanWeek200Response -import org.openapitools.models.GetShoppingList200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object MealPlanningApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - addMealPlanTemplate(da) :+: - addToMealPlan(da) :+: - addToShoppingList(da) :+: - clearMealPlanDay(da) :+: - connectUser(da) :+: - deleteFromMealPlan(da) :+: - deleteFromShoppingList(da) :+: - deleteMealPlanTemplate(da) :+: - generateMealPlan(da) :+: - generateShoppingList(da) :+: - getMealPlanTemplate(da) :+: - getMealPlanTemplates(da) :+: - getMealPlanWeek(da) :+: - getShoppingList(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a AddMealPlanTemplate200Response - */ - private def addMealPlanTemplate(da: DataAccessor): Endpoint[AddMealPlanTemplate200Response] = - post("mealplanner" :: string :: "templates" :: param("hash") :: header("x-api-key")) { (username: String, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_addMealPlanTemplate(username, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Object - */ - private def addToMealPlan(da: DataAccessor): Endpoint[Object] = - post("mealplanner" :: string :: "items" :: param("hash") :: jsonBody[AddToMealPlanRequest] :: header("x-api-key")) { (username: String, hash: String, addToMealPlanRequest: AddToMealPlanRequest, authParamapiKeyScheme: String) => - da.MealPlanning_addToMealPlan(username, hash, addToMealPlanRequest, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GenerateShoppingList200Response - */ - private def addToShoppingList(da: DataAccessor): Endpoint[GenerateShoppingList200Response] = - post("mealplanner" :: string :: "shopping-list" :: "items" :: param("hash") :: jsonBody[AddToShoppingListRequest] :: header("x-api-key")) { (username: String, hash: String, addToShoppingListRequest: AddToShoppingListRequest, authParamapiKeyScheme: String) => - da.MealPlanning_addToShoppingList(username, hash, addToShoppingListRequest, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Object - */ - private def clearMealPlanDay(da: DataAccessor): Endpoint[Object] = - delete("mealplanner" :: string :: "day" :: string :: param("hash") :: header("x-api-key")) { (username: String, date: String, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_clearMealPlanDay(username, date, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ConnectUser200Response - */ - private def connectUser(da: DataAccessor): Endpoint[ConnectUser200Response] = - post("users" :: "connect" :: jsonBody[ConnectUserRequest] :: header("x-api-key")) { (connectUserRequest: ConnectUserRequest, authParamapiKeyScheme: String) => - da.MealPlanning_connectUser(connectUserRequest, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Object - */ - private def deleteFromMealPlan(da: DataAccessor): Endpoint[Object] = - delete("mealplanner" :: string :: "items" :: bigdecimal :: param("hash") :: header("x-api-key")) { (username: String, id: BigDecimal, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_deleteFromMealPlan(username, id, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Object - */ - private def deleteFromShoppingList(da: DataAccessor): Endpoint[Object] = - delete("mealplanner" :: string :: "shopping-list" :: "items" :: int :: param("hash") :: header("x-api-key")) { (username: String, id: Int, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_deleteFromShoppingList(username, id, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Object - */ - private def deleteMealPlanTemplate(da: DataAccessor): Endpoint[Object] = - delete("mealplanner" :: string :: "templates" :: int :: param("hash") :: header("x-api-key")) { (username: String, id: Int, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_deleteMealPlanTemplate(username, id, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GenerateMealPlan200Response - */ - private def generateMealPlan(da: DataAccessor): Endpoint[GenerateMealPlan200Response] = - get("mealplanner" :: "generate" :: paramOption("timeFrame") :: paramOption("targetCalories").map(_.map(_.toBigDecimal)) :: paramOption("diet") :: paramOption("exclude") :: header("x-api-key")) { (timeFrame: Option[String], targetCalories: Option[BigDecimal], diet: Option[String], exclude: Option[String], authParamapiKeyScheme: String) => - da.MealPlanning_generateMealPlan(timeFrame, targetCalories, diet, exclude, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GenerateShoppingList200Response - */ - private def generateShoppingList(da: DataAccessor): Endpoint[GenerateShoppingList200Response] = - post("mealplanner" :: string :: "shopping-list" :: string :: string :: param("hash") :: header("x-api-key")) { (username: String, startDate: String, endDate: String, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_generateShoppingList(username, startDate, endDate, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetMealPlanTemplate200Response - */ - private def getMealPlanTemplate(da: DataAccessor): Endpoint[GetMealPlanTemplate200Response] = - get("mealplanner" :: string :: "templates" :: int :: param("hash") :: header("x-api-key")) { (username: String, id: Int, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_getMealPlanTemplate(username, id, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetMealPlanTemplates200Response - */ - private def getMealPlanTemplates(da: DataAccessor): Endpoint[GetMealPlanTemplates200Response] = - get("mealplanner" :: string :: "templates" :: param("hash") :: header("x-api-key")) { (username: String, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_getMealPlanTemplates(username, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetMealPlanWeek200Response - */ - private def getMealPlanWeek(da: DataAccessor): Endpoint[GetMealPlanWeek200Response] = - get("mealplanner" :: string :: "week" :: string :: param("hash") :: header("x-api-key")) { (username: String, startDate: String, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_getMealPlanWeek(username, startDate, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetShoppingList200Response - */ - private def getShoppingList(da: DataAccessor): Endpoint[GetShoppingList200Response] = - get("mealplanner" :: string :: "shopping-list" :: param("hash") :: header("x-api-key")) { (username: String, hash: String, authParamapiKeyScheme: String) => - da.MealPlanning_getShoppingList(username, hash, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpMealPlanningApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/MenuItemsApi.scala b/scala/src/main/scala/org/openapitools/apis/MenuItemsApi.scala deleted file mode 100644 index 6e22c109d..000000000 --- a/scala/src/main/scala/org/openapitools/apis/MenuItemsApi.scala +++ /dev/null @@ -1,178 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.AutocompleteMenuItemSearch200Response -import org.openapitools.models.BigDecimal -import java.io.File -import org.openapitools.models.GetMenuItemInformation200Response -import org.openapitools.models.SearchMenuItems200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object MenuItemsApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - autocompleteMenuItemSearch(da) :+: - getMenuItemInformation(da) :+: - menuItemNutritionByIDImage(da) :+: - menuItemNutritionLabelImage(da) :+: - menuItemNutritionLabelWidget(da) :+: - searchMenuItems(da) :+: - visualizeMenuItemNutritionByID(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a AutocompleteMenuItemSearch200Response - */ - private def autocompleteMenuItemSearch(da: DataAccessor): Endpoint[AutocompleteMenuItemSearch200Response] = - get("food" :: "menuItems" :: "suggest" :: param("query") :: paramOption("number").map(_.map(_.toBigDecimal)) :: header("x-api-key")) { (query: String, number: Option[BigDecimal], authParamapiKeyScheme: String) => - da.MenuItems_autocompleteMenuItemSearch(query, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetMenuItemInformation200Response - */ - private def getMenuItemInformation(da: DataAccessor): Endpoint[GetMenuItemInformation200Response] = - get("food" :: "menuItems" :: int :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.MenuItems_getMenuItemInformation(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def menuItemNutritionByIDImage(da: DataAccessor): Endpoint[File] = - get("food" :: "menuItems" :: bigdecimal :: "nutritionWidget.png" :: header("x-api-key")) { (id: BigDecimal, authParamapiKeyScheme: String) => - da.MenuItems_menuItemNutritionByIDImage(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def menuItemNutritionLabelImage(da: DataAccessor): Endpoint[File] = - get("food" :: "menuItems" :: bigdecimal :: "nutritionLabel.png" :: paramOption("showOptionalNutrients").map(_.map(_.toBoolean)) :: paramOption("showZeroValues").map(_.map(_.toBoolean)) :: paramOption("showIngredients").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: BigDecimal, showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String) => - da.MenuItems_menuItemNutritionLabelImage(id, showOptionalNutrients, showZeroValues, showIngredients, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def menuItemNutritionLabelWidget(da: DataAccessor): Endpoint[String] = - get("food" :: "menuItems" :: bigdecimal :: "nutritionLabel" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showOptionalNutrients").map(_.map(_.toBoolean)) :: paramOption("showZeroValues").map(_.map(_.toBoolean)) :: paramOption("showIngredients").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: BigDecimal, defaultCss: Option[Boolean], showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String) => - da.MenuItems_menuItemNutritionLabelWidget(id, defaultCss, showOptionalNutrients, showZeroValues, showIngredients, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchMenuItems200Response - */ - private def searchMenuItems(da: DataAccessor): Endpoint[SearchMenuItems200Response] = - get("food" :: "menuItems" :: "search" :: paramOption("query") :: paramOption("minCalories").map(_.map(_.toBigDecimal)) :: paramOption("maxCalories").map(_.map(_.toBigDecimal)) :: paramOption("minCarbs").map(_.map(_.toBigDecimal)) :: paramOption("maxCarbs").map(_.map(_.toBigDecimal)) :: paramOption("minProtein").map(_.map(_.toBigDecimal)) :: paramOption("maxProtein").map(_.map(_.toBigDecimal)) :: paramOption("minFat").map(_.map(_.toBigDecimal)) :: paramOption("maxFat").map(_.map(_.toBigDecimal)) :: paramOption("addMenuItemInformation").map(_.map(_.toBoolean)) :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (query: Option[String], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], addMenuItemInformation: Option[Boolean], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String) => - da.MenuItems_searchMenuItems(query, minCalories, maxCalories, minCarbs, maxCarbs, minProtein, maxProtein, minFat, maxFat, addMenuItemInformation, offset, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeMenuItemNutritionByID(da: DataAccessor): Endpoint[String] = - get("food" :: "menuItems" :: int :: "nutritionWidget" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String) => - da.MenuItems_visualizeMenuItemNutritionByID(id, defaultCss, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpMenuItemsApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/MiscApi.scala b/scala/src/main/scala/org/openapitools/apis/MiscApi.scala deleted file mode 100644 index 77138c174..000000000 --- a/scala/src/main/scala/org/openapitools/apis/MiscApi.scala +++ /dev/null @@ -1,245 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.DetectFoodInText200Response -import org.openapitools.models.GetARandomFoodJoke200Response -import org.openapitools.models.GetConversationSuggests200Response -import org.openapitools.models.GetRandomFoodTrivia200Response -import org.openapitools.models.ImageAnalysisByURL200Response -import org.openapitools.models.ImageClassificationByURL200Response -import org.openapitools.models.SearchAllFood200Response -import org.openapitools.models.SearchCustomFoods200Response -import org.openapitools.models.SearchFoodVideos200Response -import org.openapitools.models.SearchSiteContent200Response -import org.openapitools.models.TalkToChatbot200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object MiscApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - detectFoodInText(da) :+: - getARandomFoodJoke(da) :+: - getConversationSuggests(da) :+: - getRandomFoodTrivia(da) :+: - imageAnalysisByURL(da) :+: - imageClassificationByURL(da) :+: - searchAllFood(da) :+: - searchCustomFoods(da) :+: - searchFoodVideos(da) :+: - searchSiteContent(da) :+: - talkToChatbot(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a DetectFoodInText200Response - */ - private def detectFoodInText(da: DataAccessor): Endpoint[DetectFoodInText200Response] = - post("food" :: "detect" :: string :: header("x-api-key")) { (text: String, authParamapiKeyScheme: String) => - da.Misc_detectFoodInText(text, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetARandomFoodJoke200Response - */ - private def getARandomFoodJoke(da: DataAccessor): Endpoint[GetARandomFoodJoke200Response] = - get("food" :: "jokes" :: "random" :: header("x-api-key")) { (authParamapiKeyScheme: String) => - da.Misc_getARandomFoodJoke(authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetConversationSuggests200Response - */ - private def getConversationSuggests(da: DataAccessor): Endpoint[GetConversationSuggests200Response] = - get("food" :: "converse" :: "suggest" :: param("query") :: paramOption("number").map(_.map(_.toBigDecimal)) :: header("x-api-key")) { (query: String, number: Option[BigDecimal], authParamapiKeyScheme: String) => - da.Misc_getConversationSuggests(query, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRandomFoodTrivia200Response - */ - private def getRandomFoodTrivia(da: DataAccessor): Endpoint[GetRandomFoodTrivia200Response] = - get("food" :: "trivia" :: "random" :: header("x-api-key")) { (authParamapiKeyScheme: String) => - da.Misc_getRandomFoodTrivia(authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ImageAnalysisByURL200Response - */ - private def imageAnalysisByURL(da: DataAccessor): Endpoint[ImageAnalysisByURL200Response] = - get("food" :: "images" :: "analyze" :: param("imageUrl") :: header("x-api-key")) { (imageUrl: String, authParamapiKeyScheme: String) => - da.Misc_imageAnalysisByURL(imageUrl, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ImageClassificationByURL200Response - */ - private def imageClassificationByURL(da: DataAccessor): Endpoint[ImageClassificationByURL200Response] = - get("food" :: "images" :: "classify" :: param("imageUrl") :: header("x-api-key")) { (imageUrl: String, authParamapiKeyScheme: String) => - da.Misc_imageClassificationByURL(imageUrl, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchAllFood200Response - */ - private def searchAllFood(da: DataAccessor): Endpoint[SearchAllFood200Response] = - get("food" :: "search" :: param("query") :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (query: String, offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String) => - da.Misc_searchAllFood(query, offset, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchCustomFoods200Response - */ - private def searchCustomFoods(da: DataAccessor): Endpoint[SearchCustomFoods200Response] = - get("food" :: "customFoods" :: "search" :: param("username") :: param("hash") :: paramOption("query") :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (username: String, hash: String, query: Option[String], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String) => - da.Misc_searchCustomFoods(username, hash, query, offset, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchFoodVideos200Response - */ - private def searchFoodVideos(da: DataAccessor): Endpoint[SearchFoodVideos200Response] = - get("food" :: "videos" :: "search" :: paramOption("query") :: paramOption("type") :: paramOption("cuisine") :: paramOption("diet") :: paramOption("includeIngredients") :: paramOption("excludeIngredients") :: paramOption("minLength").map(_.map(_.toBigDecimal)) :: paramOption("maxLength").map(_.map(_.toBigDecimal)) :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (query: Option[String], _type: Option[String], cuisine: Option[String], diet: Option[String], includeIngredients: Option[String], excludeIngredients: Option[String], minLength: Option[BigDecimal], maxLength: Option[BigDecimal], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String) => - da.Misc_searchFoodVideos(query, _type, cuisine, diet, includeIngredients, excludeIngredients, minLength, maxLength, offset, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchSiteContent200Response - */ - private def searchSiteContent(da: DataAccessor): Endpoint[SearchSiteContent200Response] = - get("food" :: "site" :: "search" :: param("query") :: header("x-api-key")) { (query: String, authParamapiKeyScheme: String) => - da.Misc_searchSiteContent(query, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a TalkToChatbot200Response - */ - private def talkToChatbot(da: DataAccessor): Endpoint[TalkToChatbot200Response] = - get("food" :: "converse" :: param("text") :: paramOption("contextId") :: header("x-api-key")) { (text: String, contextId: Option[String], authParamapiKeyScheme: String) => - da.Misc_talkToChatbot(text, contextId, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpMiscApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/ProductsApi.scala b/scala/src/main/scala/org/openapitools/apis/ProductsApi.scala deleted file mode 100644 index 60343cc2f..000000000 --- a/scala/src/main/scala/org/openapitools/apis/ProductsApi.scala +++ /dev/null @@ -1,244 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.AutocompleteProductSearch200Response -import org.openapitools.models.BigDecimal -import org.openapitools.models.ClassifyGroceryProduct200Response -import org.openapitools.models.ClassifyGroceryProductBulk200ResponseInner -import org.openapitools.models.ClassifyGroceryProductBulkRequestInner -import org.openapitools.models.ClassifyGroceryProductRequest -import java.io.File -import org.openapitools.models.GetComparableProducts200Response -import org.openapitools.models.GetProductInformation200Response -import org.openapitools.models.SearchGroceryProducts200Response -import org.openapitools.models.SearchGroceryProductsByUPC200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object ProductsApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - autocompleteProductSearch(da) :+: - classifyGroceryProduct(da) :+: - classifyGroceryProductBulk(da) :+: - getComparableProducts(da) :+: - getProductInformation(da) :+: - productNutritionByIDImage(da) :+: - productNutritionLabelImage(da) :+: - productNutritionLabelWidget(da) :+: - searchGroceryProducts(da) :+: - searchGroceryProductsByUPC(da) :+: - visualizeProductNutritionByID(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a AutocompleteProductSearch200Response - */ - private def autocompleteProductSearch(da: DataAccessor): Endpoint[AutocompleteProductSearch200Response] = - get("food" :: "products" :: "suggest" :: param("query") :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (query: String, number: Option[Int], authParamapiKeyScheme: String) => - da.Products_autocompleteProductSearch(query, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ClassifyGroceryProduct200Response - */ - private def classifyGroceryProduct(da: DataAccessor): Endpoint[ClassifyGroceryProduct200Response] = - post("food" :: "products" :: "classify" :: jsonBody[ClassifyGroceryProductRequest] :: paramOption("locale") :: header("x-api-key")) { (classifyGroceryProductRequest: ClassifyGroceryProductRequest, locale: Option[String], authParamapiKeyScheme: String) => - da.Products_classifyGroceryProduct(classifyGroceryProductRequest, locale, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[ClassifyGroceryProductBulk200ResponseInner] - */ - private def classifyGroceryProductBulk(da: DataAccessor): Endpoint[Set[ClassifyGroceryProductBulk200ResponseInner]] = - post("food" :: "products" :: "classifyBatch" :: jsonBody[Set[ClassifyGroceryProductBulkRequestInner]] :: paramOption("locale") :: header("x-api-key")) { (classifyGroceryProductBulkRequestInner: Set[ClassifyGroceryProductBulkRequestInner], locale: Option[String], authParamapiKeyScheme: String) => - da.Products_classifyGroceryProductBulk(classifyGroceryProductBulkRequestInner, locale, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetComparableProducts200Response - */ - private def getComparableProducts(da: DataAccessor): Endpoint[GetComparableProducts200Response] = - get("food" :: "products" :: "upc" :: bigdecimal :: "comparable" :: header("x-api-key")) { (upc: BigDecimal, authParamapiKeyScheme: String) => - da.Products_getComparableProducts(upc, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetProductInformation200Response - */ - private def getProductInformation(da: DataAccessor): Endpoint[GetProductInformation200Response] = - get("food" :: "products" :: int :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Products_getProductInformation(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def productNutritionByIDImage(da: DataAccessor): Endpoint[File] = - get("food" :: "products" :: bigdecimal :: "nutritionWidget.png" :: header("x-api-key")) { (id: BigDecimal, authParamapiKeyScheme: String) => - da.Products_productNutritionByIDImage(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def productNutritionLabelImage(da: DataAccessor): Endpoint[File] = - get("food" :: "products" :: bigdecimal :: "nutritionLabel.png" :: paramOption("showOptionalNutrients").map(_.map(_.toBoolean)) :: paramOption("showZeroValues").map(_.map(_.toBoolean)) :: paramOption("showIngredients").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: BigDecimal, showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String) => - da.Products_productNutritionLabelImage(id, showOptionalNutrients, showZeroValues, showIngredients, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def productNutritionLabelWidget(da: DataAccessor): Endpoint[String] = - get("food" :: "products" :: bigdecimal :: "nutritionLabel" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showOptionalNutrients").map(_.map(_.toBoolean)) :: paramOption("showZeroValues").map(_.map(_.toBoolean)) :: paramOption("showIngredients").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: BigDecimal, defaultCss: Option[Boolean], showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String) => - da.Products_productNutritionLabelWidget(id, defaultCss, showOptionalNutrients, showZeroValues, showIngredients, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchGroceryProducts200Response - */ - private def searchGroceryProducts(da: DataAccessor): Endpoint[SearchGroceryProducts200Response] = - get("food" :: "products" :: "search" :: paramOption("query") :: paramOption("minCalories").map(_.map(_.toBigDecimal)) :: paramOption("maxCalories").map(_.map(_.toBigDecimal)) :: paramOption("minCarbs").map(_.map(_.toBigDecimal)) :: paramOption("maxCarbs").map(_.map(_.toBigDecimal)) :: paramOption("minProtein").map(_.map(_.toBigDecimal)) :: paramOption("maxProtein").map(_.map(_.toBigDecimal)) :: paramOption("minFat").map(_.map(_.toBigDecimal)) :: paramOption("maxFat").map(_.map(_.toBigDecimal)) :: paramOption("addProductInformation").map(_.map(_.toBoolean)) :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (query: Option[String], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], addProductInformation: Option[Boolean], offset: Option[Int], number: Option[Int], authParamapiKeyScheme: String) => - da.Products_searchGroceryProducts(query, minCalories, maxCalories, minCarbs, maxCarbs, minProtein, maxProtein, minFat, maxFat, addProductInformation, offset, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchGroceryProductsByUPC200Response - */ - private def searchGroceryProductsByUPC(da: DataAccessor): Endpoint[SearchGroceryProductsByUPC200Response] = - get("food" :: "products" :: "upc" :: bigdecimal :: header("x-api-key")) { (upc: BigDecimal, authParamapiKeyScheme: String) => - da.Products_searchGroceryProductsByUPC(upc, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeProductNutritionByID(da: DataAccessor): Endpoint[String] = - get("food" :: "products" :: int :: "nutritionWidget" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String) => - da.Products_visualizeProductNutritionByID(id, defaultCss, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpProductsApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/RecipesApi.scala b/scala/src/main/scala/org/openapitools/apis/RecipesApi.scala deleted file mode 100644 index ffe81e897..000000000 --- a/scala/src/main/scala/org/openapitools/apis/RecipesApi.scala +++ /dev/null @@ -1,695 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.AnalyzeARecipeSearchQuery200Response -import org.openapitools.models.AnalyzeRecipeInstructions200Response -import org.openapitools.models.AutocompleteRecipeSearch200ResponseInner -import org.openapitools.models.BigDecimal -import org.openapitools.models.ClassifyCuisine200Response -import org.openapitools.models.ComputeGlycemicLoad200Response -import org.openapitools.models.ComputeGlycemicLoadRequest -import org.openapitools.models.ConvertAmounts200Response -import org.openapitools.models.CreateRecipeCard200Response -import java.io.File -import org.openapitools.models.GetAnalyzedRecipeInstructions200Response -import org.openapitools.models.GetRandomRecipes200Response -import org.openapitools.models.GetRecipeEquipmentByID200Response -import org.openapitools.models.GetRecipeInformation200Response -import org.openapitools.models.GetRecipeInformationBulk200ResponseInner -import org.openapitools.models.GetRecipeIngredientsByID200Response -import org.openapitools.models.GetRecipeNutritionWidgetByID200Response -import org.openapitools.models.GetRecipePriceBreakdownByID200Response -import org.openapitools.models.GetRecipeTasteByID200Response -import org.openapitools.models.GetSimilarRecipes200ResponseInner -import org.openapitools.models.GuessNutritionByDishName200Response -import org.openapitools.models.ParseIngredients200ResponseInner -import org.openapitools.models.QuickAnswer200Response -import org.openapitools.models.SearchRecipes200Response -import org.openapitools.models.SearchRecipesByIngredients200ResponseInner -import org.openapitools.models.SearchRecipesByNutrients200ResponseInner -import org.openapitools.models.SummarizeRecipe200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object RecipesApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - analyzeARecipeSearchQuery(da) :+: - analyzeRecipeInstructions(da) :+: - autocompleteRecipeSearch(da) :+: - classifyCuisine(da) :+: - computeGlycemicLoad(da) :+: - convertAmounts(da) :+: - createRecipeCard(da) :+: - equipmentByIDImage(da) :+: - extractRecipeFromWebsite(da) :+: - getAnalyzedRecipeInstructions(da) :+: - getRandomRecipes(da) :+: - getRecipeEquipmentByID(da) :+: - getRecipeInformation(da) :+: - getRecipeInformationBulk(da) :+: - getRecipeIngredientsByID(da) :+: - getRecipeNutritionWidgetByID(da) :+: - getRecipePriceBreakdownByID(da) :+: - getRecipeTasteByID(da) :+: - getSimilarRecipes(da) :+: - guessNutritionByDishName(da) :+: - parseIngredients(da) :+: - priceBreakdownByIDImage(da) :+: - quickAnswer(da) :+: - recipeNutritionByIDImage(da) :+: - recipeNutritionLabelImage(da) :+: - recipeNutritionLabelWidget(da) :+: - recipeTasteByIDImage(da) :+: - searchRecipes(da) :+: - searchRecipesByIngredients(da) :+: - searchRecipesByNutrients(da) :+: - summarizeRecipe(da) :+: - visualizeEquipment(da) :+: - visualizePriceBreakdown(da) :+: - visualizeRecipeEquipmentByID(da) :+: - visualizeRecipeIngredientsByID(da) :+: - visualizeRecipeNutrition(da) :+: - visualizeRecipeNutritionByID(da) :+: - visualizeRecipePriceBreakdownByID(da) :+: - visualizeRecipeTaste(da) :+: - visualizeRecipeTasteByID(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a AnalyzeARecipeSearchQuery200Response - */ - private def analyzeARecipeSearchQuery(da: DataAccessor): Endpoint[AnalyzeARecipeSearchQuery200Response] = - get("recipes" :: "queries" :: "analyze" :: param("q") :: header("x-api-key")) { (q: String, authParamapiKeyScheme: String) => - da.Recipes_analyzeARecipeSearchQuery(q, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a AnalyzeRecipeInstructions200Response - */ - private def analyzeRecipeInstructions(da: DataAccessor): Endpoint[AnalyzeRecipeInstructions200Response] = - post("recipes" :: "analyzeInstructions" :: string :: header("x-api-key")) { (instructions: String, authParamapiKeyScheme: String) => - da.Recipes_analyzeRecipeInstructions(instructions, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[AutocompleteRecipeSearch200ResponseInner] - */ - private def autocompleteRecipeSearch(da: DataAccessor): Endpoint[Set[AutocompleteRecipeSearch200ResponseInner]] = - get("recipes" :: "autocomplete" :: paramOption("query") :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (query: Option[String], number: Option[Int], authParamapiKeyScheme: String) => - da.Recipes_autocompleteRecipeSearch(query, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ClassifyCuisine200Response - */ - private def classifyCuisine(da: DataAccessor): Endpoint[ClassifyCuisine200Response] = - post("recipes" :: "cuisine" :: string :: string :: paramOption("language") :: header("x-api-key")) { (title: String, ingredientList: String, language: Option[String], authParamapiKeyScheme: String) => - da.Recipes_classifyCuisine(title, ingredientList, language, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ComputeGlycemicLoad200Response - */ - private def computeGlycemicLoad(da: DataAccessor): Endpoint[ComputeGlycemicLoad200Response] = - post("food" :: "ingredients" :: "glycemicLoad" :: jsonBody[ComputeGlycemicLoadRequest] :: paramOption("language") :: header("x-api-key")) { (computeGlycemicLoadRequest: ComputeGlycemicLoadRequest, language: Option[String], authParamapiKeyScheme: String) => - da.Recipes_computeGlycemicLoad(computeGlycemicLoadRequest, language, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a ConvertAmounts200Response - */ - private def convertAmounts(da: DataAccessor): Endpoint[ConvertAmounts200Response] = - get("recipes" :: "convert" :: param("ingredientName") :: param("sourceAmount").map(_.toBigDecimal) :: param("sourceUnit") :: param("targetUnit") :: header("x-api-key")) { (ingredientName: String, sourceAmount: BigDecimal, sourceUnit: String, targetUnit: String, authParamapiKeyScheme: String) => - da.Recipes_convertAmounts(ingredientName, sourceAmount, sourceUnit, targetUnit, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a CreateRecipeCard200Response - */ - private def createRecipeCard(da: DataAccessor): Endpoint[CreateRecipeCard200Response] = - post("recipes" :: "visualizeRecipe" :: string :: string :: string :: bigdecimal :: bigdecimal :: string :: string :: fileUpload("image") :: paramOption("imageUrl") :: paramOption("author") :: paramOption("backgroundColor") :: paramOption("fontColor") :: paramOption("source") :: header("x-api-key")) { (title: String, ingredients: String, instructions: String, readyInMinutes: BigDecimal, servings: BigDecimal, mask: String, backgroundImage: String, image: FileUpload, imageUrl: Option[String], author: Option[String], backgroundColor: Option[String], fontColor: Option[String], source: Option[String], authParamapiKeyScheme: String) => - da.Recipes_createRecipeCard(title, ingredients, instructions, readyInMinutes, servings, mask, backgroundImage, image, imageUrl, author, backgroundColor, fontColor, source, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def equipmentByIDImage(da: DataAccessor): Endpoint[File] = - get("recipes" :: bigdecimal :: "equipmentWidget.png" :: header("x-api-key")) { (id: BigDecimal, authParamapiKeyScheme: String) => - da.Recipes_equipmentByIDImage(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipeInformation200Response - */ - private def extractRecipeFromWebsite(da: DataAccessor): Endpoint[GetRecipeInformation200Response] = - get("recipes" :: "extract" :: param("url") :: paramOption("forceExtraction").map(_.map(_.toBoolean)) :: paramOption("analyze").map(_.map(_.toBoolean)) :: paramOption("includeNutrition").map(_.map(_.toBoolean)) :: paramOption("includeTaste").map(_.map(_.toBoolean)) :: header("x-api-key")) { (url: String, forceExtraction: Option[Boolean], analyze: Option[Boolean], includeNutrition: Option[Boolean], includeTaste: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_extractRecipeFromWebsite(url, forceExtraction, analyze, includeNutrition, includeTaste, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetAnalyzedRecipeInstructions200Response - */ - private def getAnalyzedRecipeInstructions(da: DataAccessor): Endpoint[GetAnalyzedRecipeInstructions200Response] = - get("recipes" :: int :: "analyzedInstructions" :: paramOption("stepBreakdown").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, stepBreakdown: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_getAnalyzedRecipeInstructions(id, stepBreakdown, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRandomRecipes200Response - */ - private def getRandomRecipes(da: DataAccessor): Endpoint[GetRandomRecipes200Response] = - get("recipes" :: "random" :: paramOption("limitLicense").map(_.map(_.toBoolean)) :: paramOption("includeNutrition").map(_.map(_.toBoolean)) :: paramOption("include-tags") :: paramOption("exclude-tags") :: paramOption("number").map(_.map(_.toInt)) :: header("x-api-key")) { (limitLicense: Option[Boolean], includeNutrition: Option[Boolean], includeTags: Option[String], excludeTags: Option[String], number: Option[Int], authParamapiKeyScheme: String) => - da.Recipes_getRandomRecipes(limitLicense, includeNutrition, includeTags, excludeTags, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipeEquipmentByID200Response - */ - private def getRecipeEquipmentByID(da: DataAccessor): Endpoint[GetRecipeEquipmentByID200Response] = - get("recipes" :: int :: "equipmentWidget.json" :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Recipes_getRecipeEquipmentByID(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipeInformation200Response - */ - private def getRecipeInformation(da: DataAccessor): Endpoint[GetRecipeInformation200Response] = - get("recipes" :: int :: "information" :: paramOption("includeNutrition").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, includeNutrition: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_getRecipeInformation(id, includeNutrition, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[GetRecipeInformationBulk200ResponseInner] - */ - private def getRecipeInformationBulk(da: DataAccessor): Endpoint[Set[GetRecipeInformationBulk200ResponseInner]] = - get("recipes" :: "informationBulk" :: param("ids") :: paramOption("includeNutrition").map(_.map(_.toBoolean)) :: header("x-api-key")) { (ids: String, includeNutrition: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_getRecipeInformationBulk(ids, includeNutrition, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipeIngredientsByID200Response - */ - private def getRecipeIngredientsByID(da: DataAccessor): Endpoint[GetRecipeIngredientsByID200Response] = - get("recipes" :: int :: "ingredientWidget.json" :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Recipes_getRecipeIngredientsByID(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipeNutritionWidgetByID200Response - */ - private def getRecipeNutritionWidgetByID(da: DataAccessor): Endpoint[GetRecipeNutritionWidgetByID200Response] = - get("recipes" :: int :: "nutritionWidget.json" :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Recipes_getRecipeNutritionWidgetByID(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipePriceBreakdownByID200Response - */ - private def getRecipePriceBreakdownByID(da: DataAccessor): Endpoint[GetRecipePriceBreakdownByID200Response] = - get("recipes" :: int :: "priceBreakdownWidget.json" :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Recipes_getRecipePriceBreakdownByID(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetRecipeTasteByID200Response - */ - private def getRecipeTasteByID(da: DataAccessor): Endpoint[GetRecipeTasteByID200Response] = - get("recipes" :: int :: "tasteWidget.json" :: paramOption("normalize").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, normalize: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_getRecipeTasteByID(id, normalize, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[GetSimilarRecipes200ResponseInner] - */ - private def getSimilarRecipes(da: DataAccessor): Endpoint[Set[GetSimilarRecipes200ResponseInner]] = - get("recipes" :: int :: "similar" :: paramOption("number").map(_.map(_.toInt)) :: paramOption("limitLicense").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, number: Option[Int], limitLicense: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_getSimilarRecipes(id, number, limitLicense, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GuessNutritionByDishName200Response - */ - private def guessNutritionByDishName(da: DataAccessor): Endpoint[GuessNutritionByDishName200Response] = - get("recipes" :: "guessNutrition" :: param("title") :: header("x-api-key")) { (title: String, authParamapiKeyScheme: String) => - da.Recipes_guessNutritionByDishName(title, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[ParseIngredients200ResponseInner] - */ - private def parseIngredients(da: DataAccessor): Endpoint[Set[ParseIngredients200ResponseInner]] = - post("recipes" :: "parseIngredients" :: string :: bigdecimal :: paramOption("language") :: paramOption("includeNutrition").map(_.map(_.toBoolean)) :: header("x-api-key")) { (ingredientList: String, servings: BigDecimal, language: Option[String], includeNutrition: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_parseIngredients(ingredientList, servings, language, includeNutrition, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def priceBreakdownByIDImage(da: DataAccessor): Endpoint[File] = - get("recipes" :: bigdecimal :: "priceBreakdownWidget.png" :: header("x-api-key")) { (id: BigDecimal, authParamapiKeyScheme: String) => - da.Recipes_priceBreakdownByIDImage(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a QuickAnswer200Response - */ - private def quickAnswer(da: DataAccessor): Endpoint[QuickAnswer200Response] = - get("recipes" :: "quickAnswer" :: param("q") :: header("x-api-key")) { (q: String, authParamapiKeyScheme: String) => - da.Recipes_quickAnswer(q, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def recipeNutritionByIDImage(da: DataAccessor): Endpoint[File] = - get("recipes" :: bigdecimal :: "nutritionWidget.png" :: header("x-api-key")) { (id: BigDecimal, authParamapiKeyScheme: String) => - da.Recipes_recipeNutritionByIDImage(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def recipeNutritionLabelImage(da: DataAccessor): Endpoint[File] = - get("recipes" :: bigdecimal :: "nutritionLabel.png" :: paramOption("showOptionalNutrients").map(_.map(_.toBoolean)) :: paramOption("showZeroValues").map(_.map(_.toBoolean)) :: paramOption("showIngredients").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: BigDecimal, showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_recipeNutritionLabelImage(id, showOptionalNutrients, showZeroValues, showIngredients, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def recipeNutritionLabelWidget(da: DataAccessor): Endpoint[String] = - get("recipes" :: bigdecimal :: "nutritionLabel" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showOptionalNutrients").map(_.map(_.toBoolean)) :: paramOption("showZeroValues").map(_.map(_.toBoolean)) :: paramOption("showIngredients").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: BigDecimal, defaultCss: Option[Boolean], showOptionalNutrients: Option[Boolean], showZeroValues: Option[Boolean], showIngredients: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_recipeNutritionLabelWidget(id, defaultCss, showOptionalNutrients, showZeroValues, showIngredients, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a File - */ - private def recipeTasteByIDImage(da: DataAccessor): Endpoint[File] = - get("recipes" :: bigdecimal :: "tasteWidget.png" :: paramOption("normalize").map(_.map(_.toBoolean)) :: paramOption("rgb") :: header("x-api-key")) { (id: BigDecimal, normalize: Option[Boolean], rgb: Option[String], authParamapiKeyScheme: String) => - da.Recipes_recipeTasteByIDImage(id, normalize, rgb, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SearchRecipes200Response - */ - private def searchRecipes(da: DataAccessor): Endpoint[SearchRecipes200Response] = - get("recipes" :: "complexSearch" :: paramOption("query") :: paramOption("cuisine") :: paramOption("excludeCuisine") :: paramOption("diet") :: paramOption("intolerances") :: paramOption("equipment") :: paramOption("includeIngredients") :: paramOption("excludeIngredients") :: paramOption("type") :: paramOption("instructionsRequired").map(_.map(_.toBoolean)) :: paramOption("fillIngredients").map(_.map(_.toBoolean)) :: paramOption("addRecipeInformation").map(_.map(_.toBoolean)) :: paramOption("addRecipeNutrition").map(_.map(_.toBoolean)) :: paramOption("author") :: paramOption("tags") :: paramOption("recipeBoxId").map(_.map(_.toBigDecimal)) :: paramOption("titleMatch") :: paramOption("maxReadyTime").map(_.map(_.toBigDecimal)) :: paramOption("minServings").map(_.map(_.toBigDecimal)) :: paramOption("maxServings").map(_.map(_.toBigDecimal)) :: paramOption("ignorePantry").map(_.map(_.toBoolean)) :: paramOption("sort") :: paramOption("sortDirection") :: paramOption("minCarbs").map(_.map(_.toBigDecimal)) :: paramOption("maxCarbs").map(_.map(_.toBigDecimal)) :: paramOption("minProtein").map(_.map(_.toBigDecimal)) :: paramOption("maxProtein").map(_.map(_.toBigDecimal)) :: paramOption("minCalories").map(_.map(_.toBigDecimal)) :: paramOption("maxCalories").map(_.map(_.toBigDecimal)) :: paramOption("minFat").map(_.map(_.toBigDecimal)) :: paramOption("maxFat").map(_.map(_.toBigDecimal)) :: paramOption("minAlcohol").map(_.map(_.toBigDecimal)) :: paramOption("maxAlcohol").map(_.map(_.toBigDecimal)) :: paramOption("minCaffeine").map(_.map(_.toBigDecimal)) :: paramOption("maxCaffeine").map(_.map(_.toBigDecimal)) :: paramOption("minCopper").map(_.map(_.toBigDecimal)) :: paramOption("maxCopper").map(_.map(_.toBigDecimal)) :: paramOption("minCalcium").map(_.map(_.toBigDecimal)) :: paramOption("maxCalcium").map(_.map(_.toBigDecimal)) :: paramOption("minCholine").map(_.map(_.toBigDecimal)) :: paramOption("maxCholine").map(_.map(_.toBigDecimal)) :: paramOption("minCholesterol").map(_.map(_.toBigDecimal)) :: paramOption("maxCholesterol").map(_.map(_.toBigDecimal)) :: paramOption("minFluoride").map(_.map(_.toBigDecimal)) :: paramOption("maxFluoride").map(_.map(_.toBigDecimal)) :: paramOption("minSaturatedFat").map(_.map(_.toBigDecimal)) :: paramOption("maxSaturatedFat").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminA").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminA").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminC").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminC").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminD").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminD").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminE").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminE").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminK").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminK").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB1").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB1").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB2").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB2").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB5").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB5").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB3").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB3").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB6").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB6").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB12").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB12").map(_.map(_.toBigDecimal)) :: paramOption("minFiber").map(_.map(_.toBigDecimal)) :: paramOption("maxFiber").map(_.map(_.toBigDecimal)) :: paramOption("minFolate").map(_.map(_.toBigDecimal)) :: paramOption("maxFolate").map(_.map(_.toBigDecimal)) :: paramOption("minFolicAcid").map(_.map(_.toBigDecimal)) :: paramOption("maxFolicAcid").map(_.map(_.toBigDecimal)) :: paramOption("minIodine").map(_.map(_.toBigDecimal)) :: paramOption("maxIodine").map(_.map(_.toBigDecimal)) :: paramOption("minIron").map(_.map(_.toBigDecimal)) :: paramOption("maxIron").map(_.map(_.toBigDecimal)) :: paramOption("minMagnesium").map(_.map(_.toBigDecimal)) :: paramOption("maxMagnesium").map(_.map(_.toBigDecimal)) :: paramOption("minManganese").map(_.map(_.toBigDecimal)) :: paramOption("maxManganese").map(_.map(_.toBigDecimal)) :: paramOption("minPhosphorus").map(_.map(_.toBigDecimal)) :: paramOption("maxPhosphorus").map(_.map(_.toBigDecimal)) :: paramOption("minPotassium").map(_.map(_.toBigDecimal)) :: paramOption("maxPotassium").map(_.map(_.toBigDecimal)) :: paramOption("minSelenium").map(_.map(_.toBigDecimal)) :: paramOption("maxSelenium").map(_.map(_.toBigDecimal)) :: paramOption("minSodium").map(_.map(_.toBigDecimal)) :: paramOption("maxSodium").map(_.map(_.toBigDecimal)) :: paramOption("minSugar").map(_.map(_.toBigDecimal)) :: paramOption("maxSugar").map(_.map(_.toBigDecimal)) :: paramOption("minZinc").map(_.map(_.toBigDecimal)) :: paramOption("maxZinc").map(_.map(_.toBigDecimal)) :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: paramOption("limitLicense").map(_.map(_.toBoolean)) :: header("x-api-key")) { (query: Option[String], cuisine: Option[String], excludeCuisine: Option[String], diet: Option[String], intolerances: Option[String], equipment: Option[String], includeIngredients: Option[String], excludeIngredients: Option[String], _type: Option[String], instructionsRequired: Option[Boolean], fillIngredients: Option[Boolean], addRecipeInformation: Option[Boolean], addRecipeNutrition: Option[Boolean], author: Option[String], tags: Option[String], recipeBoxId: Option[BigDecimal], titleMatch: Option[String], maxReadyTime: Option[BigDecimal], minServings: Option[BigDecimal], maxServings: Option[BigDecimal], ignorePantry: Option[Boolean], sort: Option[String], sortDirection: Option[String], minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], minAlcohol: Option[BigDecimal], maxAlcohol: Option[BigDecimal], minCaffeine: Option[BigDecimal], maxCaffeine: Option[BigDecimal], minCopper: Option[BigDecimal], maxCopper: Option[BigDecimal], minCalcium: Option[BigDecimal], maxCalcium: Option[BigDecimal], minCholine: Option[BigDecimal], maxCholine: Option[BigDecimal], minCholesterol: Option[BigDecimal], maxCholesterol: Option[BigDecimal], minFluoride: Option[BigDecimal], maxFluoride: Option[BigDecimal], minSaturatedFat: Option[BigDecimal], maxSaturatedFat: Option[BigDecimal], minVitaminA: Option[BigDecimal], maxVitaminA: Option[BigDecimal], minVitaminC: Option[BigDecimal], maxVitaminC: Option[BigDecimal], minVitaminD: Option[BigDecimal], maxVitaminD: Option[BigDecimal], minVitaminE: Option[BigDecimal], maxVitaminE: Option[BigDecimal], minVitaminK: Option[BigDecimal], maxVitaminK: Option[BigDecimal], minVitaminB1: Option[BigDecimal], maxVitaminB1: Option[BigDecimal], minVitaminB2: Option[BigDecimal], maxVitaminB2: Option[BigDecimal], minVitaminB5: Option[BigDecimal], maxVitaminB5: Option[BigDecimal], minVitaminB3: Option[BigDecimal], maxVitaminB3: Option[BigDecimal], minVitaminB6: Option[BigDecimal], maxVitaminB6: Option[BigDecimal], minVitaminB12: Option[BigDecimal], maxVitaminB12: Option[BigDecimal], minFiber: Option[BigDecimal], maxFiber: Option[BigDecimal], minFolate: Option[BigDecimal], maxFolate: Option[BigDecimal], minFolicAcid: Option[BigDecimal], maxFolicAcid: Option[BigDecimal], minIodine: Option[BigDecimal], maxIodine: Option[BigDecimal], minIron: Option[BigDecimal], maxIron: Option[BigDecimal], minMagnesium: Option[BigDecimal], maxMagnesium: Option[BigDecimal], minManganese: Option[BigDecimal], maxManganese: Option[BigDecimal], minPhosphorus: Option[BigDecimal], maxPhosphorus: Option[BigDecimal], minPotassium: Option[BigDecimal], maxPotassium: Option[BigDecimal], minSelenium: Option[BigDecimal], maxSelenium: Option[BigDecimal], minSodium: Option[BigDecimal], maxSodium: Option[BigDecimal], minSugar: Option[BigDecimal], maxSugar: Option[BigDecimal], minZinc: Option[BigDecimal], maxZinc: Option[BigDecimal], offset: Option[Int], number: Option[Int], limitLicense: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_searchRecipes(query, cuisine, excludeCuisine, diet, intolerances, equipment, includeIngredients, excludeIngredients, _type, instructionsRequired, fillIngredients, addRecipeInformation, addRecipeNutrition, author, tags, recipeBoxId, titleMatch, maxReadyTime, minServings, maxServings, ignorePantry, sort, sortDirection, minCarbs, maxCarbs, minProtein, maxProtein, minCalories, maxCalories, minFat, maxFat, minAlcohol, maxAlcohol, minCaffeine, maxCaffeine, minCopper, maxCopper, minCalcium, maxCalcium, minCholine, maxCholine, minCholesterol, maxCholesterol, minFluoride, maxFluoride, minSaturatedFat, maxSaturatedFat, minVitaminA, maxVitaminA, minVitaminC, maxVitaminC, minVitaminD, maxVitaminD, minVitaminE, maxVitaminE, minVitaminK, maxVitaminK, minVitaminB1, maxVitaminB1, minVitaminB2, maxVitaminB2, minVitaminB5, maxVitaminB5, minVitaminB3, maxVitaminB3, minVitaminB6, maxVitaminB6, minVitaminB12, maxVitaminB12, minFiber, maxFiber, minFolate, maxFolate, minFolicAcid, maxFolicAcid, minIodine, maxIodine, minIron, maxIron, minMagnesium, maxMagnesium, minManganese, maxManganese, minPhosphorus, maxPhosphorus, minPotassium, maxPotassium, minSelenium, maxSelenium, minSodium, maxSodium, minSugar, maxSugar, minZinc, maxZinc, offset, number, limitLicense, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[SearchRecipesByIngredients200ResponseInner] - */ - private def searchRecipesByIngredients(da: DataAccessor): Endpoint[Set[SearchRecipesByIngredients200ResponseInner]] = - get("recipes" :: "findByIngredients" :: paramOption("ingredients") :: paramOption("number").map(_.map(_.toInt)) :: paramOption("limitLicense").map(_.map(_.toBoolean)) :: paramOption("ranking").map(_.map(_.toBigDecimal)) :: paramOption("ignorePantry").map(_.map(_.toBoolean)) :: header("x-api-key")) { (ingredients: Option[String], number: Option[Int], limitLicense: Option[Boolean], ranking: Option[BigDecimal], ignorePantry: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_searchRecipesByIngredients(ingredients, number, limitLicense, ranking, ignorePantry, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a Set[SearchRecipesByNutrients200ResponseInner] - */ - private def searchRecipesByNutrients(da: DataAccessor): Endpoint[Set[SearchRecipesByNutrients200ResponseInner]] = - get("recipes" :: "findByNutrients" :: paramOption("minCarbs").map(_.map(_.toBigDecimal)) :: paramOption("maxCarbs").map(_.map(_.toBigDecimal)) :: paramOption("minProtein").map(_.map(_.toBigDecimal)) :: paramOption("maxProtein").map(_.map(_.toBigDecimal)) :: paramOption("minCalories").map(_.map(_.toBigDecimal)) :: paramOption("maxCalories").map(_.map(_.toBigDecimal)) :: paramOption("minFat").map(_.map(_.toBigDecimal)) :: paramOption("maxFat").map(_.map(_.toBigDecimal)) :: paramOption("minAlcohol").map(_.map(_.toBigDecimal)) :: paramOption("maxAlcohol").map(_.map(_.toBigDecimal)) :: paramOption("minCaffeine").map(_.map(_.toBigDecimal)) :: paramOption("maxCaffeine").map(_.map(_.toBigDecimal)) :: paramOption("minCopper").map(_.map(_.toBigDecimal)) :: paramOption("maxCopper").map(_.map(_.toBigDecimal)) :: paramOption("minCalcium").map(_.map(_.toBigDecimal)) :: paramOption("maxCalcium").map(_.map(_.toBigDecimal)) :: paramOption("minCholine").map(_.map(_.toBigDecimal)) :: paramOption("maxCholine").map(_.map(_.toBigDecimal)) :: paramOption("minCholesterol").map(_.map(_.toBigDecimal)) :: paramOption("maxCholesterol").map(_.map(_.toBigDecimal)) :: paramOption("minFluoride").map(_.map(_.toBigDecimal)) :: paramOption("maxFluoride").map(_.map(_.toBigDecimal)) :: paramOption("minSaturatedFat").map(_.map(_.toBigDecimal)) :: paramOption("maxSaturatedFat").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminA").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminA").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminC").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminC").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminD").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminD").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminE").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminE").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminK").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminK").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB1").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB1").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB2").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB2").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB5").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB5").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB3").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB3").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB6").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB6").map(_.map(_.toBigDecimal)) :: paramOption("minVitaminB12").map(_.map(_.toBigDecimal)) :: paramOption("maxVitaminB12").map(_.map(_.toBigDecimal)) :: paramOption("minFiber").map(_.map(_.toBigDecimal)) :: paramOption("maxFiber").map(_.map(_.toBigDecimal)) :: paramOption("minFolate").map(_.map(_.toBigDecimal)) :: paramOption("maxFolate").map(_.map(_.toBigDecimal)) :: paramOption("minFolicAcid").map(_.map(_.toBigDecimal)) :: paramOption("maxFolicAcid").map(_.map(_.toBigDecimal)) :: paramOption("minIodine").map(_.map(_.toBigDecimal)) :: paramOption("maxIodine").map(_.map(_.toBigDecimal)) :: paramOption("minIron").map(_.map(_.toBigDecimal)) :: paramOption("maxIron").map(_.map(_.toBigDecimal)) :: paramOption("minMagnesium").map(_.map(_.toBigDecimal)) :: paramOption("maxMagnesium").map(_.map(_.toBigDecimal)) :: paramOption("minManganese").map(_.map(_.toBigDecimal)) :: paramOption("maxManganese").map(_.map(_.toBigDecimal)) :: paramOption("minPhosphorus").map(_.map(_.toBigDecimal)) :: paramOption("maxPhosphorus").map(_.map(_.toBigDecimal)) :: paramOption("minPotassium").map(_.map(_.toBigDecimal)) :: paramOption("maxPotassium").map(_.map(_.toBigDecimal)) :: paramOption("minSelenium").map(_.map(_.toBigDecimal)) :: paramOption("maxSelenium").map(_.map(_.toBigDecimal)) :: paramOption("minSodium").map(_.map(_.toBigDecimal)) :: paramOption("maxSodium").map(_.map(_.toBigDecimal)) :: paramOption("minSugar").map(_.map(_.toBigDecimal)) :: paramOption("maxSugar").map(_.map(_.toBigDecimal)) :: paramOption("minZinc").map(_.map(_.toBigDecimal)) :: paramOption("maxZinc").map(_.map(_.toBigDecimal)) :: paramOption("offset").map(_.map(_.toInt)) :: paramOption("number").map(_.map(_.toInt)) :: paramOption("random").map(_.map(_.toBoolean)) :: paramOption("limitLicense").map(_.map(_.toBoolean)) :: header("x-api-key")) { (minCarbs: Option[BigDecimal], maxCarbs: Option[BigDecimal], minProtein: Option[BigDecimal], maxProtein: Option[BigDecimal], minCalories: Option[BigDecimal], maxCalories: Option[BigDecimal], minFat: Option[BigDecimal], maxFat: Option[BigDecimal], minAlcohol: Option[BigDecimal], maxAlcohol: Option[BigDecimal], minCaffeine: Option[BigDecimal], maxCaffeine: Option[BigDecimal], minCopper: Option[BigDecimal], maxCopper: Option[BigDecimal], minCalcium: Option[BigDecimal], maxCalcium: Option[BigDecimal], minCholine: Option[BigDecimal], maxCholine: Option[BigDecimal], minCholesterol: Option[BigDecimal], maxCholesterol: Option[BigDecimal], minFluoride: Option[BigDecimal], maxFluoride: Option[BigDecimal], minSaturatedFat: Option[BigDecimal], maxSaturatedFat: Option[BigDecimal], minVitaminA: Option[BigDecimal], maxVitaminA: Option[BigDecimal], minVitaminC: Option[BigDecimal], maxVitaminC: Option[BigDecimal], minVitaminD: Option[BigDecimal], maxVitaminD: Option[BigDecimal], minVitaminE: Option[BigDecimal], maxVitaminE: Option[BigDecimal], minVitaminK: Option[BigDecimal], maxVitaminK: Option[BigDecimal], minVitaminB1: Option[BigDecimal], maxVitaminB1: Option[BigDecimal], minVitaminB2: Option[BigDecimal], maxVitaminB2: Option[BigDecimal], minVitaminB5: Option[BigDecimal], maxVitaminB5: Option[BigDecimal], minVitaminB3: Option[BigDecimal], maxVitaminB3: Option[BigDecimal], minVitaminB6: Option[BigDecimal], maxVitaminB6: Option[BigDecimal], minVitaminB12: Option[BigDecimal], maxVitaminB12: Option[BigDecimal], minFiber: Option[BigDecimal], maxFiber: Option[BigDecimal], minFolate: Option[BigDecimal], maxFolate: Option[BigDecimal], minFolicAcid: Option[BigDecimal], maxFolicAcid: Option[BigDecimal], minIodine: Option[BigDecimal], maxIodine: Option[BigDecimal], minIron: Option[BigDecimal], maxIron: Option[BigDecimal], minMagnesium: Option[BigDecimal], maxMagnesium: Option[BigDecimal], minManganese: Option[BigDecimal], maxManganese: Option[BigDecimal], minPhosphorus: Option[BigDecimal], maxPhosphorus: Option[BigDecimal], minPotassium: Option[BigDecimal], maxPotassium: Option[BigDecimal], minSelenium: Option[BigDecimal], maxSelenium: Option[BigDecimal], minSodium: Option[BigDecimal], maxSodium: Option[BigDecimal], minSugar: Option[BigDecimal], maxSugar: Option[BigDecimal], minZinc: Option[BigDecimal], maxZinc: Option[BigDecimal], offset: Option[Int], number: Option[Int], random: Option[Boolean], limitLicense: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_searchRecipesByNutrients(minCarbs, maxCarbs, minProtein, maxProtein, minCalories, maxCalories, minFat, maxFat, minAlcohol, maxAlcohol, minCaffeine, maxCaffeine, minCopper, maxCopper, minCalcium, maxCalcium, minCholine, maxCholine, minCholesterol, maxCholesterol, minFluoride, maxFluoride, minSaturatedFat, maxSaturatedFat, minVitaminA, maxVitaminA, minVitaminC, maxVitaminC, minVitaminD, maxVitaminD, minVitaminE, maxVitaminE, minVitaminK, maxVitaminK, minVitaminB1, maxVitaminB1, minVitaminB2, maxVitaminB2, minVitaminB5, maxVitaminB5, minVitaminB3, maxVitaminB3, minVitaminB6, maxVitaminB6, minVitaminB12, maxVitaminB12, minFiber, maxFiber, minFolate, maxFolate, minFolicAcid, maxFolicAcid, minIodine, maxIodine, minIron, maxIron, minMagnesium, maxMagnesium, minManganese, maxManganese, minPhosphorus, maxPhosphorus, minPotassium, maxPotassium, minSelenium, maxSelenium, minSodium, maxSodium, minSugar, maxSugar, minZinc, maxZinc, offset, number, random, limitLicense, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a SummarizeRecipe200Response - */ - private def summarizeRecipe(da: DataAccessor): Endpoint[SummarizeRecipe200Response] = - get("recipes" :: int :: "summary" :: header("x-api-key")) { (id: Int, authParamapiKeyScheme: String) => - da.Recipes_summarizeRecipe(id, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeEquipment(da: DataAccessor): Endpoint[String] = - post("recipes" :: "visualizeEquipment" :: string :: paramOption("view") :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showBacklink").map(_.map(_.toBoolean)) :: header("x-api-key")) { (instructions: String, view: Option[String], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_visualizeEquipment(instructions, view, defaultCss, showBacklink, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizePriceBreakdown(da: DataAccessor): Endpoint[String] = - post("recipes" :: "visualizePriceEstimator" :: string :: bigdecimal :: paramOption("language") :: paramOption("mode").map(_.map(_.toBigDecimal)) :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showBacklink").map(_.map(_.toBoolean)) :: header("x-api-key")) { (ingredientList: String, servings: BigDecimal, language: Option[String], mode: Option[BigDecimal], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_visualizePriceBreakdown(ingredientList, servings, language, mode, defaultCss, showBacklink, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipeEquipmentByID(da: DataAccessor): Endpoint[String] = - get("recipes" :: int :: "equipmentWidget" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipeEquipmentByID(id, defaultCss, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipeIngredientsByID(da: DataAccessor): Endpoint[String] = - get("recipes" :: int :: "ingredientWidget" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("measure") :: header("x-api-key")) { (id: Int, defaultCss: Option[Boolean], measure: Option[String], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipeIngredientsByID(id, defaultCss, measure, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipeNutrition(da: DataAccessor): Endpoint[String] = - post("recipes" :: "visualizeNutrition" :: string :: bigdecimal :: paramOption("language") :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: paramOption("showBacklink").map(_.map(_.toBoolean)) :: header("x-api-key")) { (ingredientList: String, servings: BigDecimal, language: Option[String], defaultCss: Option[Boolean], showBacklink: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipeNutrition(ingredientList, servings, language, defaultCss, showBacklink, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipeNutritionByID(da: DataAccessor): Endpoint[String] = - get("recipes" :: int :: "nutritionWidget" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipeNutritionByID(id, defaultCss, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipePriceBreakdownByID(da: DataAccessor): Endpoint[String] = - get("recipes" :: int :: "priceBreakdownWidget" :: paramOption("defaultCss").map(_.map(_.toBoolean)) :: header("x-api-key")) { (id: Int, defaultCss: Option[Boolean], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipePriceBreakdownByID(id, defaultCss, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipeTaste(da: DataAccessor): Endpoint[String] = - post("recipes" :: "visualizeTaste" :: string :: paramOption("language") :: paramOption("normalize").map(_.map(_.toBoolean)) :: paramOption("rgb") :: header("x-api-key")) { (ingredientList: String, language: Option[String], normalize: Option[Boolean], rgb: Option[String], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipeTaste(ingredientList, language, normalize, rgb, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a String - */ - private def visualizeRecipeTasteByID(da: DataAccessor): Endpoint[String] = - get("recipes" :: int :: "tasteWidget" :: paramOption("normalize").map(_.map(_.toBoolean)) :: paramOption("rgb") :: header("x-api-key")) { (id: Int, normalize: Option[Boolean], rgb: Option[String], authParamapiKeyScheme: String) => - da.Recipes_visualizeRecipeTasteByID(id, normalize, rgb, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpRecipesApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/apis/WineApi.scala b/scala/src/main/scala/org/openapitools/apis/WineApi.scala deleted file mode 100644 index e6985f6dc..000000000 --- a/scala/src/main/scala/org/openapitools/apis/WineApi.scala +++ /dev/null @@ -1,133 +0,0 @@ -package org.openapitools.apis - -import java.io._ -import spoonacular._ -import org.openapitools.models._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetDishPairingForWine200Response -import org.openapitools.models.GetWineDescription200Response -import org.openapitools.models.GetWinePairing200Response -import org.openapitools.models.GetWineRecommendation200Response -import io.finch.circe._ -import io.circe.generic.semiauto._ -import com.twitter.concurrent.AsyncStream -import com.twitter.finagle.Service -import com.twitter.finagle.Http -import com.twitter.finagle.http.{Request, Response} -import com.twitter.finagle.http.exp.Multipart.{FileUpload, InMemoryFileUpload, OnDiskFileUpload} -import com.twitter.util.Future -import com.twitter.io.Buf -import io.finch._, items._ -import java.io.File -import java.nio.file.Files -import java.time._ - -object WineApi { - /** - * Compiles all service endpoints. - * @return Bundled compilation of all service endpoints. - */ - def endpoints(da: DataAccessor) = - getDishPairingForWine(da) :+: - getWineDescription(da) :+: - getWinePairing(da) :+: - getWineRecommendation(da) - - - private def checkError(e: CommonError) = e match { - case InvalidInput(_) => BadRequest(e) - case MissingIdentifier(_) => BadRequest(e) - case RecordNotFound(_) => NotFound(e) - case _ => InternalServerError(e) - } - - implicit class StringOps(s: String) { - - import java.time.format.DateTimeFormatter - - lazy val localformatter: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd") - lazy val datetimeformatter: DateTimeFormatter = - DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ") - - def toLocalDateTime: LocalDateTime = LocalDateTime.parse(s,localformatter) - def toZonedDateTime: ZonedDateTime = ZonedDateTime.parse(s, datetimeformatter) - - } - - /** - * - * @return An endpoint representing a GetDishPairingForWine200Response - */ - private def getDishPairingForWine(da: DataAccessor): Endpoint[GetDishPairingForWine200Response] = - get("food" :: "wine" :: "dishes" :: param("wine") :: header("x-api-key")) { (wine: String, authParamapiKeyScheme: String) => - da.Wine_getDishPairingForWine(wine, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetWineDescription200Response - */ - private def getWineDescription(da: DataAccessor): Endpoint[GetWineDescription200Response] = - get("food" :: "wine" :: "description" :: param("wine") :: header("x-api-key")) { (wine: String, authParamapiKeyScheme: String) => - da.Wine_getWineDescription(wine, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetWinePairing200Response - */ - private def getWinePairing(da: DataAccessor): Endpoint[GetWinePairing200Response] = - get("food" :: "wine" :: "pairing" :: param("food") :: paramOption("maxPrice").map(_.map(_.toBigDecimal)) :: header("x-api-key")) { (food: String, maxPrice: Option[BigDecimal], authParamapiKeyScheme: String) => - da.Wine_getWinePairing(food, maxPrice, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - /** - * - * @return An endpoint representing a GetWineRecommendation200Response - */ - private def getWineRecommendation(da: DataAccessor): Endpoint[GetWineRecommendation200Response] = - get("food" :: "wine" :: "recommendation" :: param("wine") :: paramOption("maxPrice").map(_.map(_.toBigDecimal)) :: paramOption("minRating").map(_.map(_.toBigDecimal)) :: paramOption("number").map(_.map(_.toBigDecimal)) :: header("x-api-key")) { (wine: String, maxPrice: Option[BigDecimal], minRating: Option[BigDecimal], number: Option[BigDecimal], authParamapiKeyScheme: String) => - da.Wine_getWineRecommendation(wine, maxPrice, minRating, number, authParamapiKeyScheme) match { - case Left(error) => checkError(error) - case Right(data) => Ok(data) - } - } handle { - case e: Exception => BadRequest(e) - } - - - implicit private def fileUploadToFile(fileUpload: FileUpload) : File = { - fileUpload match { - case upload: InMemoryFileUpload => - bytesToFile(Buf.ByteArray.Owned.extract(upload.content)) - case upload: OnDiskFileUpload => - upload.content - case _ => null - } - } - - private def bytesToFile(input: Array[Byte]): java.io.File = { - val file = Files.createTempFile("tmpWineApi", null).toFile - val output = new FileOutputStream(file) - output.write(input) - file - } - - // This assists in params(string) application (which must be Seq[A] in parameter list) when the param is used as a List[A] elsewhere. - implicit def seqList[A](input: Seq[A]): List[A] = input.toList -} diff --git a/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200Response.scala b/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200Response.scala deleted file mode 100644 index 1e75566da..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200Response.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AddMealPlanTemplate200ResponseItemsInner - -/** - * - * @param name - * @param items - * @param publishAsPublic - */ -case class AddMealPlanTemplate200Response(name: String, - items: Set[AddMealPlanTemplate200ResponseItemsInner], - publishAsPublic: Boolean - ) - -object AddMealPlanTemplate200Response { - /** - * Creates the codec for converting AddMealPlanTemplate200Response from and to JSON. - */ - implicit val decoder: Decoder[AddMealPlanTemplate200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[AddMealPlanTemplate200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInner.scala b/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInner.scala deleted file mode 100644 index c42a803d8..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInner.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AddMealPlanTemplate200ResponseItemsInnerValue - -/** - * - * @param day - * @param slot - * @param position - * @param _type - * @param value - */ -case class AddMealPlanTemplate200ResponseItemsInner(day: Int, - slot: Int, - position: Int, - _type: String, - value: Option[AddMealPlanTemplate200ResponseItemsInnerValue] - ) - -object AddMealPlanTemplate200ResponseItemsInner { - /** - * Creates the codec for converting AddMealPlanTemplate200ResponseItemsInner from and to JSON. - */ - implicit val decoder: Decoder[AddMealPlanTemplate200ResponseItemsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AddMealPlanTemplate200ResponseItemsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInnerValue.scala b/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInnerValue.scala deleted file mode 100644 index 173c11647..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddMealPlanTemplate200ResponseItemsInnerValue.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param servings - * @param title - * @param imageType - */ -case class AddMealPlanTemplate200ResponseItemsInnerValue(id: Option[Int], - servings: Option[BigDecimal], - title: Option[String], - imageType: Option[String] - ) - -object AddMealPlanTemplate200ResponseItemsInnerValue { - /** - * Creates the codec for converting AddMealPlanTemplate200ResponseItemsInnerValue from and to JSON. - */ - implicit val decoder: Decoder[AddMealPlanTemplate200ResponseItemsInnerValue] = deriveDecoder - implicit val encoder: ObjectEncoder[AddMealPlanTemplate200ResponseItemsInnerValue] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequest.scala b/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequest.scala deleted file mode 100644 index fde07b122..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequest.scala +++ /dev/null @@ -1,32 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AddToMealPlanRequestValue -import org.openapitools.models.BigDecimal - -/** - * - * @param date - * @param slot - * @param position - * @param _type - * @param value - */ -case class AddToMealPlanRequest(date: BigDecimal, - slot: Int, - position: Int, - _type: String, - value: AddToMealPlanRequestValue - ) - -object AddToMealPlanRequest { - /** - * Creates the codec for converting AddToMealPlanRequest from and to JSON. - */ - implicit val decoder: Decoder[AddToMealPlanRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[AddToMealPlanRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequestValue.scala b/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequestValue.scala deleted file mode 100644 index 34aaef1fe..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequestValue.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AddToMealPlanRequestValueIngredientsInner - -/** - * - * @param ingredients - */ -case class AddToMealPlanRequestValue(ingredients: Set[AddToMealPlanRequestValueIngredientsInner] - ) - -object AddToMealPlanRequestValue { - /** - * Creates the codec for converting AddToMealPlanRequestValue from and to JSON. - */ - implicit val decoder: Decoder[AddToMealPlanRequestValue] = deriveDecoder - implicit val encoder: ObjectEncoder[AddToMealPlanRequestValue] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequestValueIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequestValueIngredientsInner.scala deleted file mode 100644 index f89a93d29..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddToMealPlanRequestValueIngredientsInner.scala +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param name - */ -case class AddToMealPlanRequestValueIngredientsInner(name: String - ) - -object AddToMealPlanRequestValueIngredientsInner { - /** - * Creates the codec for converting AddToMealPlanRequestValueIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[AddToMealPlanRequestValueIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AddToMealPlanRequestValueIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AddToShoppingListRequest.scala b/scala/src/main/scala/org/openapitools/models/AddToShoppingListRequest.scala deleted file mode 100644 index 5b1d5dd85..000000000 --- a/scala/src/main/scala/org/openapitools/models/AddToShoppingListRequest.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param item - * @param aisle - * @param parse - */ -case class AddToShoppingListRequest(item: String, - aisle: String, - parse: Boolean - ) - -object AddToShoppingListRequest { - /** - * Creates the codec for converting AddToShoppingListRequest from and to JSON. - */ - implicit val decoder: Decoder[AddToShoppingListRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[AddToShoppingListRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200Response.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200Response.scala deleted file mode 100644 index 13122c12a..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AnalyzeARecipeSearchQuery200ResponseDishesInner -import org.openapitools.models.AnalyzeARecipeSearchQuery200ResponseIngredientsInner -import scala.collection.immutable.Seq - -/** - * - * @param dishes - * @param ingredients - * @param cuisines - * @param modifiers - */ -case class AnalyzeARecipeSearchQuery200Response(dishes: Set[AnalyzeARecipeSearchQuery200ResponseDishesInner], - ingredients: Set[AnalyzeARecipeSearchQuery200ResponseIngredientsInner], - cuisines: Seq[String], - modifiers: Seq[String] - ) - -object AnalyzeARecipeSearchQuery200Response { - /** - * Creates the codec for converting AnalyzeARecipeSearchQuery200Response from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeARecipeSearchQuery200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeARecipeSearchQuery200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseDishesInner.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseDishesInner.scala deleted file mode 100644 index 254247ed1..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseDishesInner.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param image - * @param name - */ -case class AnalyzeARecipeSearchQuery200ResponseDishesInner(image: String, - name: String - ) - -object AnalyzeARecipeSearchQuery200ResponseDishesInner { - /** - * Creates the codec for converting AnalyzeARecipeSearchQuery200ResponseDishesInner from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeARecipeSearchQuery200ResponseDishesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeARecipeSearchQuery200ResponseDishesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.scala deleted file mode 100644 index e52f0d4e5..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeARecipeSearchQuery200ResponseIngredientsInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param image - * @param include - * @param name - */ -case class AnalyzeARecipeSearchQuery200ResponseIngredientsInner(image: String, - include: Boolean, - name: String - ) - -object AnalyzeARecipeSearchQuery200ResponseIngredientsInner { - /** - * Creates the codec for converting AnalyzeARecipeSearchQuery200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeARecipeSearchQuery200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeARecipeSearchQuery200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200Response.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200Response.scala deleted file mode 100644 index bcd059d94..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200Response.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AnalyzeRecipeInstructions200ResponseIngredientsInner -import org.openapitools.models.AnalyzeRecipeInstructions200ResponseParsedInstructionsInner - -/** - * - * @param parsedInstructions - * @param ingredients - * @param equipment - */ -case class AnalyzeRecipeInstructions200Response(parsedInstructions: Set[AnalyzeRecipeInstructions200ResponseParsedInstructionsInner], - ingredients: Set[AnalyzeRecipeInstructions200ResponseIngredientsInner], - equipment: Set[AnalyzeRecipeInstructions200ResponseIngredientsInner] - ) - -object AnalyzeRecipeInstructions200Response { - /** - * Creates the codec for converting AnalyzeRecipeInstructions200Response from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeRecipeInstructions200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeRecipeInstructions200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseIngredientsInner.scala deleted file mode 100644 index 764529108..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseIngredientsInner.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param name - */ -case class AnalyzeRecipeInstructions200ResponseIngredientsInner(id: BigDecimal, - name: String - ) - -object AnalyzeRecipeInstructions200ResponseIngredientsInner { - /** - * Creates the codec for converting AnalyzeRecipeInstructions200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeRecipeInstructions200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeRecipeInstructions200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.scala deleted file mode 100644 index 241f11fb3..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner - -/** - * - * @param name - * @param steps - */ -case class AnalyzeRecipeInstructions200ResponseParsedInstructionsInner(name: String, - steps: Option[Set[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner]] - ) - -object AnalyzeRecipeInstructions200ResponseParsedInstructionsInner { - /** - * Creates the codec for converting AnalyzeRecipeInstructions200ResponseParsedInstructionsInner from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeRecipeInstructions200ResponseParsedInstructionsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeRecipeInstructions200ResponseParsedInstructionsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala deleted file mode 100644 index cdc3e5aab..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner -import org.openapitools.models.BigDecimal - -/** - * - * @param number - * @param step - * @param ingredients - * @param equipment - */ -case class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner(number: BigDecimal, - step: String, - ingredients: Option[Set[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner]], - equipment: Option[Set[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner]] - ) - -object AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { - /** - * Creates the codec for converting AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala deleted file mode 100644 index 9ca0dae6b..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param name - * @param localizedName - * @param image - */ -case class AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner(id: BigDecimal, - name: String, - localizedName: String, - image: String - ) - -object AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { - /** - * Creates the codec for converting AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeRequest.scala b/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeRequest.scala deleted file mode 100644 index 5cec1eee4..000000000 --- a/scala/src/main/scala/org/openapitools/models/AnalyzeRecipeRequest.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param title - * @param servings - * @param ingredients - * @param instructions - */ -case class AnalyzeRecipeRequest(title: Option[String], - servings: Option[Int], - ingredients: Option[Seq[String]], - instructions: Option[String] - ) - -object AnalyzeRecipeRequest { - /** - * Creates the codec for converting AnalyzeRecipeRequest from and to JSON. - */ - implicit val decoder: Decoder[AnalyzeRecipeRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[AnalyzeRecipeRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AutocompleteIngredientSearch200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/AutocompleteIngredientSearch200ResponseInner.scala deleted file mode 100644 index added2f94..000000000 --- a/scala/src/main/scala/org/openapitools/models/AutocompleteIngredientSearch200ResponseInner.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param name - * @param image - * @param id - * @param aisle - * @param possibleUnits - */ -case class AutocompleteIngredientSearch200ResponseInner(name: String, - image: String, - id: Option[Int], - aisle: Option[String], - possibleUnits: Option[Seq[String]] - ) - -object AutocompleteIngredientSearch200ResponseInner { - /** - * Creates the codec for converting AutocompleteIngredientSearch200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[AutocompleteIngredientSearch200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AutocompleteIngredientSearch200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AutocompleteMenuItemSearch200Response.scala b/scala/src/main/scala/org/openapitools/models/AutocompleteMenuItemSearch200Response.scala deleted file mode 100644 index 283308a6e..000000000 --- a/scala/src/main/scala/org/openapitools/models/AutocompleteMenuItemSearch200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AutocompleteProductSearch200ResponseResultsInner - -/** - * - * @param results - */ -case class AutocompleteMenuItemSearch200Response(results: Set[AutocompleteProductSearch200ResponseResultsInner] - ) - -object AutocompleteMenuItemSearch200Response { - /** - * Creates the codec for converting AutocompleteMenuItemSearch200Response from and to JSON. - */ - implicit val decoder: Decoder[AutocompleteMenuItemSearch200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[AutocompleteMenuItemSearch200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AutocompleteProductSearch200Response.scala b/scala/src/main/scala/org/openapitools/models/AutocompleteProductSearch200Response.scala deleted file mode 100644 index 081b77b84..000000000 --- a/scala/src/main/scala/org/openapitools/models/AutocompleteProductSearch200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AutocompleteProductSearch200ResponseResultsInner - -/** - * - * @param results - */ -case class AutocompleteProductSearch200Response(results: Set[AutocompleteProductSearch200ResponseResultsInner] - ) - -object AutocompleteProductSearch200Response { - /** - * Creates the codec for converting AutocompleteProductSearch200Response from and to JSON. - */ - implicit val decoder: Decoder[AutocompleteProductSearch200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[AutocompleteProductSearch200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AutocompleteProductSearch200ResponseResultsInner.scala b/scala/src/main/scala/org/openapitools/models/AutocompleteProductSearch200ResponseResultsInner.scala deleted file mode 100644 index fa0979391..000000000 --- a/scala/src/main/scala/org/openapitools/models/AutocompleteProductSearch200ResponseResultsInner.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param title - */ -case class AutocompleteProductSearch200ResponseResultsInner(id: Int, - title: String - ) - -object AutocompleteProductSearch200ResponseResultsInner { - /** - * Creates the codec for converting AutocompleteProductSearch200ResponseResultsInner from and to JSON. - */ - implicit val decoder: Decoder[AutocompleteProductSearch200ResponseResultsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AutocompleteProductSearch200ResponseResultsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/AutocompleteRecipeSearch200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/AutocompleteRecipeSearch200ResponseInner.scala deleted file mode 100644 index 7eab6fd0a..000000000 --- a/scala/src/main/scala/org/openapitools/models/AutocompleteRecipeSearch200ResponseInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param title - * @param imageType - */ -case class AutocompleteRecipeSearch200ResponseInner(id: Int, - title: String, - imageType: String - ) - -object AutocompleteRecipeSearch200ResponseInner { - /** - * Creates the codec for converting AutocompleteRecipeSearch200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[AutocompleteRecipeSearch200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[AutocompleteRecipeSearch200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ClassifyCuisine200Response.scala b/scala/src/main/scala/org/openapitools/models/ClassifyCuisine200Response.scala deleted file mode 100644 index b78ed12db..000000000 --- a/scala/src/main/scala/org/openapitools/models/ClassifyCuisine200Response.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import scala.collection.immutable.Seq - -/** - * - * @param cuisine - * @param cuisines - * @param confidence - */ -case class ClassifyCuisine200Response(cuisine: String, - cuisines: Seq[String], - confidence: BigDecimal - ) - -object ClassifyCuisine200Response { - /** - * Creates the codec for converting ClassifyCuisine200Response from and to JSON. - */ - implicit val decoder: Decoder[ClassifyCuisine200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ClassifyCuisine200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProduct200Response.scala b/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProduct200Response.scala deleted file mode 100644 index 1f14333ac..000000000 --- a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProduct200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param cleanTitle - * @param image - * @param category - * @param breadcrumbs - * @param usdaCode - */ -case class ClassifyGroceryProduct200Response(cleanTitle: String, - image: String, - category: String, - breadcrumbs: Seq[String], - usdaCode: Int - ) - -object ClassifyGroceryProduct200Response { - /** - * Creates the codec for converting ClassifyGroceryProduct200Response from and to JSON. - */ - implicit val decoder: Decoder[ClassifyGroceryProduct200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ClassifyGroceryProduct200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductBulk200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductBulk200ResponseInner.scala deleted file mode 100644 index 5bc2cf391..000000000 --- a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductBulk200ResponseInner.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param cleanTitle - * @param image - * @param category - * @param breadcrumbs - * @param usdaCode - */ -case class ClassifyGroceryProductBulk200ResponseInner(cleanTitle: String, - image: String, - category: String, - breadcrumbs: Seq[String], - usdaCode: Int - ) - -object ClassifyGroceryProductBulk200ResponseInner { - /** - * Creates the codec for converting ClassifyGroceryProductBulk200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[ClassifyGroceryProductBulk200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ClassifyGroceryProductBulk200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductBulkRequestInner.scala b/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductBulkRequestInner.scala deleted file mode 100644 index 197f74c5f..000000000 --- a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductBulkRequestInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param title - * @param upc - * @param pluUnderscorecode - */ -case class ClassifyGroceryProductBulkRequestInner(title: String, - upc: String, - pluUnderscorecode: String - ) - -object ClassifyGroceryProductBulkRequestInner { - /** - * Creates the codec for converting ClassifyGroceryProductBulkRequestInner from and to JSON. - */ - implicit val decoder: Decoder[ClassifyGroceryProductBulkRequestInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ClassifyGroceryProductBulkRequestInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductRequest.scala b/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductRequest.scala deleted file mode 100644 index 8e806de54..000000000 --- a/scala/src/main/scala/org/openapitools/models/ClassifyGroceryProductRequest.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param title - * @param upc - * @param pluUnderscorecode - */ -case class ClassifyGroceryProductRequest(title: String, - upc: String, - pluUnderscorecode: String - ) - -object ClassifyGroceryProductRequest { - /** - * Creates the codec for converting ClassifyGroceryProductRequest from and to JSON. - */ - implicit val decoder: Decoder[ClassifyGroceryProductRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[ClassifyGroceryProductRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoad200Response.scala b/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoad200Response.scala deleted file mode 100644 index 3f7b01741..000000000 --- a/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoad200Response.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.ComputeGlycemicLoad200ResponseIngredientsInner - -/** - * - * @param totalGlycemicLoad - * @param ingredients - */ -case class ComputeGlycemicLoad200Response(totalGlycemicLoad: BigDecimal, - ingredients: Set[ComputeGlycemicLoad200ResponseIngredientsInner] - ) - -object ComputeGlycemicLoad200Response { - /** - * Creates the codec for converting ComputeGlycemicLoad200Response from and to JSON. - */ - implicit val decoder: Decoder[ComputeGlycemicLoad200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ComputeGlycemicLoad200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoad200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoad200ResponseIngredientsInner.scala deleted file mode 100644 index ab188702f..000000000 --- a/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoad200ResponseIngredientsInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param original - * @param glycemicIndex - * @param glycemicLoad - */ -case class ComputeGlycemicLoad200ResponseIngredientsInner(id: Int, - original: String, - glycemicIndex: BigDecimal, - glycemicLoad: BigDecimal - ) - -object ComputeGlycemicLoad200ResponseIngredientsInner { - /** - * Creates the codec for converting ComputeGlycemicLoad200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[ComputeGlycemicLoad200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ComputeGlycemicLoad200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoadRequest.scala b/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoadRequest.scala deleted file mode 100644 index 1eceaef28..000000000 --- a/scala/src/main/scala/org/openapitools/models/ComputeGlycemicLoadRequest.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param ingredients - */ -case class ComputeGlycemicLoadRequest(ingredients: Seq[String] - ) - -object ComputeGlycemicLoadRequest { - /** - * Creates the codec for converting ComputeGlycemicLoadRequest from and to JSON. - */ - implicit val decoder: Decoder[ComputeGlycemicLoadRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[ComputeGlycemicLoadRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ComputeIngredientAmount200Response.scala b/scala/src/main/scala/org/openapitools/models/ComputeIngredientAmount200Response.scala deleted file mode 100644 index ce9093c68..000000000 --- a/scala/src/main/scala/org/openapitools/models/ComputeIngredientAmount200Response.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param amount - * @param unit - */ -case class ComputeIngredientAmount200Response(amount: BigDecimal, - unit: String - ) - -object ComputeIngredientAmount200Response { - /** - * Creates the codec for converting ComputeIngredientAmount200Response from and to JSON. - */ - implicit val decoder: Decoder[ComputeIngredientAmount200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ComputeIngredientAmount200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ConnectUser200Response.scala b/scala/src/main/scala/org/openapitools/models/ConnectUser200Response.scala deleted file mode 100644 index 5bbb5570f..000000000 --- a/scala/src/main/scala/org/openapitools/models/ConnectUser200Response.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param username - * @param hash - */ -case class ConnectUser200Response(username: String, - hash: String - ) - -object ConnectUser200Response { - /** - * Creates the codec for converting ConnectUser200Response from and to JSON. - */ - implicit val decoder: Decoder[ConnectUser200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ConnectUser200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ConnectUserRequest.scala b/scala/src/main/scala/org/openapitools/models/ConnectUserRequest.scala deleted file mode 100644 index a9e7f104a..000000000 --- a/scala/src/main/scala/org/openapitools/models/ConnectUserRequest.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param username - * @param firstName - * @param lastName - * @param email - */ -case class ConnectUserRequest(username: String, - firstName: String, - lastName: String, - email: String - ) - -object ConnectUserRequest { - /** - * Creates the codec for converting ConnectUserRequest from and to JSON. - */ - implicit val decoder: Decoder[ConnectUserRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[ConnectUserRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ConvertAmounts200Response.scala b/scala/src/main/scala/org/openapitools/models/ConvertAmounts200Response.scala deleted file mode 100644 index a3c73b128..000000000 --- a/scala/src/main/scala/org/openapitools/models/ConvertAmounts200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param sourceAmount - * @param sourceUnit - * @param targetAmount - * @param targetUnit - * @param answer - */ -case class ConvertAmounts200Response(sourceAmount: BigDecimal, - sourceUnit: String, - targetAmount: BigDecimal, - targetUnit: String, - answer: String - ) - -object ConvertAmounts200Response { - /** - * Creates the codec for converting ConvertAmounts200Response from and to JSON. - */ - implicit val decoder: Decoder[ConvertAmounts200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ConvertAmounts200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/CreateRecipeCard200Response.scala b/scala/src/main/scala/org/openapitools/models/CreateRecipeCard200Response.scala deleted file mode 100644 index 7f81fba2c..000000000 --- a/scala/src/main/scala/org/openapitools/models/CreateRecipeCard200Response.scala +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param url - */ -case class CreateRecipeCard200Response(url: String - ) - -object CreateRecipeCard200Response { - /** - * Creates the codec for converting CreateRecipeCard200Response from and to JSON. - */ - implicit val decoder: Decoder[CreateRecipeCard200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[CreateRecipeCard200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/DetectFoodInText200Response.scala b/scala/src/main/scala/org/openapitools/models/DetectFoodInText200Response.scala deleted file mode 100644 index ccc62b7a6..000000000 --- a/scala/src/main/scala/org/openapitools/models/DetectFoodInText200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.DetectFoodInText200ResponseAnnotationsInner - -/** - * - * @param annotations - */ -case class DetectFoodInText200Response(annotations: Set[DetectFoodInText200ResponseAnnotationsInner] - ) - -object DetectFoodInText200Response { - /** - * Creates the codec for converting DetectFoodInText200Response from and to JSON. - */ - implicit val decoder: Decoder[DetectFoodInText200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[DetectFoodInText200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/DetectFoodInText200ResponseAnnotationsInner.scala b/scala/src/main/scala/org/openapitools/models/DetectFoodInText200ResponseAnnotationsInner.scala deleted file mode 100644 index c941f5f68..000000000 --- a/scala/src/main/scala/org/openapitools/models/DetectFoodInText200ResponseAnnotationsInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param annotation - * @param image - * @param tag - */ -case class DetectFoodInText200ResponseAnnotationsInner(annotation: String, - image: String, - tag: String - ) - -object DetectFoodInText200ResponseAnnotationsInner { - /** - * Creates the codec for converting DetectFoodInText200ResponseAnnotationsInner from and to JSON. - */ - implicit val decoder: Decoder[DetectFoodInText200ResponseAnnotationsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[DetectFoodInText200ResponseAnnotationsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GenerateMealPlan200Response.scala b/scala/src/main/scala/org/openapitools/models/GenerateMealPlan200Response.scala deleted file mode 100644 index 5b17c92f0..000000000 --- a/scala/src/main/scala/org/openapitools/models/GenerateMealPlan200Response.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GenerateMealPlan200ResponseNutrients -import org.openapitools.models.GetSimilarRecipes200ResponseInner - -/** - * - * @param meals - * @param nutrients - */ -case class GenerateMealPlan200Response(meals: Set[GetSimilarRecipes200ResponseInner], - nutrients: GenerateMealPlan200ResponseNutrients - ) - -object GenerateMealPlan200Response { - /** - * Creates the codec for converting GenerateMealPlan200Response from and to JSON. - */ - implicit val decoder: Decoder[GenerateMealPlan200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GenerateMealPlan200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GenerateMealPlan200ResponseNutrients.scala b/scala/src/main/scala/org/openapitools/models/GenerateMealPlan200ResponseNutrients.scala deleted file mode 100644 index 5401ccbc3..000000000 --- a/scala/src/main/scala/org/openapitools/models/GenerateMealPlan200ResponseNutrients.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param calories - * @param carbohydrates - * @param fat - * @param protein - */ -case class GenerateMealPlan200ResponseNutrients(calories: BigDecimal, - carbohydrates: BigDecimal, - fat: BigDecimal, - protein: BigDecimal - ) - -object GenerateMealPlan200ResponseNutrients { - /** - * Creates the codec for converting GenerateMealPlan200ResponseNutrients from and to JSON. - */ - implicit val decoder: Decoder[GenerateMealPlan200ResponseNutrients] = deriveDecoder - implicit val encoder: ObjectEncoder[GenerateMealPlan200ResponseNutrients] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GenerateShoppingList200Response.scala b/scala/src/main/scala/org/openapitools/models/GenerateShoppingList200Response.scala deleted file mode 100644 index 7ba846359..000000000 --- a/scala/src/main/scala/org/openapitools/models/GenerateShoppingList200Response.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetShoppingList200ResponseAislesInner - -/** - * - * @param aisles - * @param cost - * @param startDate - * @param endDate - */ -case class GenerateShoppingList200Response(aisles: Set[GetShoppingList200ResponseAislesInner], - cost: BigDecimal, - startDate: BigDecimal, - endDate: BigDecimal - ) - -object GenerateShoppingList200Response { - /** - * Creates the codec for converting GenerateShoppingList200Response from and to JSON. - */ - implicit val decoder: Decoder[GenerateShoppingList200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GenerateShoppingList200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetARandomFoodJoke200Response.scala b/scala/src/main/scala/org/openapitools/models/GetARandomFoodJoke200Response.scala deleted file mode 100644 index 269f4e0f2..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetARandomFoodJoke200Response.scala +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param text - */ -case class GetARandomFoodJoke200Response(text: String - ) - -object GetARandomFoodJoke200Response { - /** - * Creates the codec for converting GetARandomFoodJoke200Response from and to JSON. - */ - implicit val decoder: Decoder[GetARandomFoodJoke200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetARandomFoodJoke200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200Response.scala b/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200Response.scala deleted file mode 100644 index 1d7d5b080..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200Response.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetAnalyzedRecipeInstructions200ResponseIngredientsInner -import org.openapitools.models.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner - -/** - * - * @param parsedInstructions - * @param ingredients - * @param equipment - */ -case class GetAnalyzedRecipeInstructions200Response(parsedInstructions: Set[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner], - ingredients: Set[GetAnalyzedRecipeInstructions200ResponseIngredientsInner], - equipment: Set[GetAnalyzedRecipeInstructions200ResponseIngredientsInner] - ) - -object GetAnalyzedRecipeInstructions200Response { - /** - * Creates the codec for converting GetAnalyzedRecipeInstructions200Response from and to JSON. - */ - implicit val decoder: Decoder[GetAnalyzedRecipeInstructions200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetAnalyzedRecipeInstructions200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.scala deleted file mode 100644 index a0a7d49f2..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseIngredientsInner.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param name - */ -case class GetAnalyzedRecipeInstructions200ResponseIngredientsInner(id: Int, - name: String - ) - -object GetAnalyzedRecipeInstructions200ResponseIngredientsInner { - /** - * Creates the codec for converting GetAnalyzedRecipeInstructions200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetAnalyzedRecipeInstructions200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetAnalyzedRecipeInstructions200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.scala b/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.scala deleted file mode 100644 index 597a039e3..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner - -/** - * - * @param name - * @param steps - */ -case class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner(name: String, - steps: Option[Set[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner]] - ) - -object GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner { - /** - * Creates the codec for converting GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner from and to JSON. - */ - implicit val decoder: Decoder[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala b/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala deleted file mode 100644 index 5ef069f28..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner - -/** - * - * @param number - * @param step - * @param ingredients - * @param equipment - */ -case class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner(number: BigDecimal, - step: String, - ingredients: Option[Set[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner]], - equipment: Option[Set[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner]] - ) - -object GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner { - /** - * Creates the codec for converting GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner from and to JSON. - */ - implicit val decoder: Decoder[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala deleted file mode 100644 index 2cea4b5e8..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param name - * @param localizedName - * @param image - */ -case class GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner(id: Int, - name: String, - localizedName: String, - image: String - ) - -object GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner { - /** - * Creates the codec for converting GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetAnalyzedRecipeInstructions200ResponseParsedInstructionsInnerStepsInnerIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetComparableProducts200Response.scala b/scala/src/main/scala/org/openapitools/models/GetComparableProducts200Response.scala deleted file mode 100644 index e3150c825..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetComparableProducts200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetComparableProducts200ResponseComparableProducts - -/** - * - * @param comparableProducts - */ -case class GetComparableProducts200Response(comparableProducts: GetComparableProducts200ResponseComparableProducts - ) - -object GetComparableProducts200Response { - /** - * Creates the codec for converting GetComparableProducts200Response from and to JSON. - */ - implicit val decoder: Decoder[GetComparableProducts200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetComparableProducts200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProducts.scala b/scala/src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProducts.scala deleted file mode 100644 index 0bba01453..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProducts.scala +++ /dev/null @@ -1,34 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetComparableProducts200ResponseComparableProductsProteinInner -import scala.collection.immutable.Seq - -/** - * - * @param calories - * @param likes - * @param price - * @param protein - * @param spoonacularScore - * @param sugar - */ -case class GetComparableProducts200ResponseComparableProducts(calories: Seq[Object], - likes: Seq[Object], - price: Seq[Object], - protein: Set[GetComparableProducts200ResponseComparableProductsProteinInner], - spoonacularScore: Set[GetComparableProducts200ResponseComparableProductsProteinInner], - sugar: Seq[Object] - ) - -object GetComparableProducts200ResponseComparableProducts { - /** - * Creates the codec for converting GetComparableProducts200ResponseComparableProducts from and to JSON. - */ - implicit val decoder: Decoder[GetComparableProducts200ResponseComparableProducts] = deriveDecoder - implicit val encoder: ObjectEncoder[GetComparableProducts200ResponseComparableProducts] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProductsProteinInner.scala b/scala/src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProductsProteinInner.scala deleted file mode 100644 index 4244bb1d8..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetComparableProducts200ResponseComparableProductsProteinInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param difference - * @param id - * @param image - * @param title - */ -case class GetComparableProducts200ResponseComparableProductsProteinInner(difference: BigDecimal, - id: Int, - image: String, - title: String - ) - -object GetComparableProducts200ResponseComparableProductsProteinInner { - /** - * Creates the codec for converting GetComparableProducts200ResponseComparableProductsProteinInner from and to JSON. - */ - implicit val decoder: Decoder[GetComparableProducts200ResponseComparableProductsProteinInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetComparableProducts200ResponseComparableProductsProteinInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200Response.scala b/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200Response.scala deleted file mode 100644 index c25e386e5..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200Response.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetConversationSuggests200ResponseSuggests -import scala.collection.immutable.Seq - -/** - * - * @param suggests - * @param words - */ -case class GetConversationSuggests200Response(suggests: GetConversationSuggests200ResponseSuggests, - words: Seq[String] - ) - -object GetConversationSuggests200Response { - /** - * Creates the codec for converting GetConversationSuggests200Response from and to JSON. - */ - implicit val decoder: Decoder[GetConversationSuggests200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetConversationSuggests200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggests.scala b/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggests.scala deleted file mode 100644 index 42f4eb7a7..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggests.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetConversationSuggests200ResponseSuggestsInner - -/** - * - * @param Underscore - */ -case class GetConversationSuggests200ResponseSuggests(Underscore: Set[GetConversationSuggests200ResponseSuggestsInner] - ) - -object GetConversationSuggests200ResponseSuggests { - /** - * Creates the codec for converting GetConversationSuggests200ResponseSuggests from and to JSON. - */ - implicit val decoder: Decoder[GetConversationSuggests200ResponseSuggests] = deriveDecoder - implicit val encoder: ObjectEncoder[GetConversationSuggests200ResponseSuggests] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggestsInner.scala b/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggestsInner.scala deleted file mode 100644 index a1f65f57c..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetConversationSuggests200ResponseSuggestsInner.scala +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param name - */ -case class GetConversationSuggests200ResponseSuggestsInner(name: String - ) - -object GetConversationSuggests200ResponseSuggestsInner { - /** - * Creates the codec for converting GetConversationSuggests200ResponseSuggestsInner from and to JSON. - */ - implicit val decoder: Decoder[GetConversationSuggests200ResponseSuggestsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetConversationSuggests200ResponseSuggestsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetDishPairingForWine200Response.scala b/scala/src/main/scala/org/openapitools/models/GetDishPairingForWine200Response.scala deleted file mode 100644 index 3a32c7d3f..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetDishPairingForWine200Response.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param pairings - * @param text - */ -case class GetDishPairingForWine200Response(pairings: Seq[String], - text: String - ) - -object GetDishPairingForWine200Response { - /** - * Creates the codec for converting GetDishPairingForWine200Response from and to JSON. - */ - implicit val decoder: Decoder[GetDishPairingForWine200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetDishPairingForWine200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetIngredientInformation200Response.scala b/scala/src/main/scala/org/openapitools/models/GetIngredientInformation200Response.scala deleted file mode 100644 index 53b5f6b4c..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetIngredientInformation200Response.scala +++ /dev/null @@ -1,60 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetIngredientInformation200ResponseNutrition -import org.openapitools.models.ParseIngredients200ResponseInnerEstimatedCost -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param original - * @param originalName - * @param name - * @param nameClean - * @param amount - * @param unit - * @param unitShort - * @param unitLong - * @param possibleUnits - * @param estimatedCost - * @param consistency - * @param shoppingListUnits - * @param aisle - * @param image - * @param meta - * @param nutrition - * @param categoryPath - */ -case class GetIngredientInformation200Response(id: Int, - original: String, - originalName: String, - name: String, - nameClean: String, - amount: BigDecimal, - unit: String, - unitShort: String, - unitLong: String, - possibleUnits: Seq[String], - estimatedCost: ParseIngredients200ResponseInnerEstimatedCost, - consistency: String, - shoppingListUnits: Seq[String], - aisle: String, - image: String, - meta: Seq[Object], - nutrition: GetIngredientInformation200ResponseNutrition, - categoryPath: Seq[String] - ) - -object GetIngredientInformation200Response { - /** - * Creates the codec for converting GetIngredientInformation200Response from and to JSON. - */ - implicit val decoder: Decoder[GetIngredientInformation200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetIngredientInformation200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetIngredientInformation200ResponseNutrition.scala b/scala/src/main/scala/org/openapitools/models/GetIngredientInformation200ResponseNutrition.scala deleted file mode 100644 index 0bfe9526f..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetIngredientInformation200ResponseNutrition.scala +++ /dev/null @@ -1,32 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionCaloricBreakdown -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionNutrientsInner -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionPropertiesInner -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionWeightPerServing - -/** - * - * @param nutrients - * @param properties - * @param caloricBreakdown - * @param weightPerServing - */ -case class GetIngredientInformation200ResponseNutrition(nutrients: Set[ParseIngredients200ResponseInnerNutritionNutrientsInner], - properties: Set[ParseIngredients200ResponseInnerNutritionPropertiesInner], - caloricBreakdown: ParseIngredients200ResponseInnerNutritionCaloricBreakdown, - weightPerServing: ParseIngredients200ResponseInnerNutritionWeightPerServing - ) - -object GetIngredientInformation200ResponseNutrition { - /** - * Creates the codec for converting GetIngredientInformation200ResponseNutrition from and to JSON. - */ - implicit val decoder: Decoder[GetIngredientInformation200ResponseNutrition] = deriveDecoder - implicit val encoder: ObjectEncoder[GetIngredientInformation200ResponseNutrition] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetIngredientSubstitutes200Response.scala b/scala/src/main/scala/org/openapitools/models/GetIngredientSubstitutes200Response.scala deleted file mode 100644 index 9b8746258..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetIngredientSubstitutes200Response.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import scala.collection.immutable.Seq - -/** - * - * @param ingredient - * @param substitutes - * @param message - */ -case class GetIngredientSubstitutes200Response(ingredient: String, - substitutes: Seq[String], - message: String - ) - -object GetIngredientSubstitutes200Response { - /** - * Creates the codec for converting GetIngredientSubstitutes200Response from and to JSON. - */ - implicit val decoder: Decoder[GetIngredientSubstitutes200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetIngredientSubstitutes200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200Response.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200Response.scala deleted file mode 100644 index 36af0ec9e..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200Response.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetMealPlanTemplate200ResponseDaysInner - -/** - * - * @param id - * @param name - * @param days - */ -case class GetMealPlanTemplate200Response(id: Int, - name: String, - days: Set[GetMealPlanTemplate200ResponseDaysInner] - ) - -object GetMealPlanTemplate200Response { - /** - * Creates the codec for converting GetMealPlanTemplate200Response from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanTemplate200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanTemplate200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInner.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInner.scala deleted file mode 100644 index 1dae9a343..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInner.scala +++ /dev/null @@ -1,34 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetMealPlanTemplate200ResponseDaysInnerItemsInner -import org.openapitools.models.GetMealPlanWeek200ResponseDaysInnerNutritionSummary - -/** - * - * @param nutritionSummary - * @param nutritionSummaryBreakfast - * @param nutritionSummaryLunch - * @param nutritionSummaryDinner - * @param day - * @param items - */ -case class GetMealPlanTemplate200ResponseDaysInner(nutritionSummary: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - nutritionSummaryBreakfast: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - nutritionSummaryLunch: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - nutritionSummaryDinner: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - day: String, - items: Option[Set[GetMealPlanTemplate200ResponseDaysInnerItemsInner]] - ) - -object GetMealPlanTemplate200ResponseDaysInner { - /** - * Creates the codec for converting GetMealPlanTemplate200ResponseDaysInner from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanTemplate200ResponseDaysInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanTemplate200ResponseDaysInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInner.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInner.scala deleted file mode 100644 index 85c26649f..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInner.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue - -/** - * - * @param id - * @param slot - * @param position - * @param _type - * @param value - */ -case class GetMealPlanTemplate200ResponseDaysInnerItemsInner(id: Int, - slot: Int, - position: Int, - _type: String, - value: Option[GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue] - ) - -object GetMealPlanTemplate200ResponseDaysInnerItemsInner { - /** - * Creates the codec for converting GetMealPlanTemplate200ResponseDaysInnerItemsInner from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanTemplate200ResponseDaysInnerItemsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanTemplate200ResponseDaysInnerItemsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.scala deleted file mode 100644 index c14d38bbe..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param title - * @param imageType - */ -case class GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue(id: BigDecimal, - title: String, - imageType: String - ) - -object GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue { - /** - * Creates the codec for converting GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanTemplate200ResponseDaysInnerItemsInnerValue] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplates200Response.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplates200Response.scala deleted file mode 100644 index 5e1d60b60..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanTemplates200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetAnalyzedRecipeInstructions200ResponseIngredientsInner - -/** - * - * @param templates - */ -case class GetMealPlanTemplates200Response(templates: Set[GetAnalyzedRecipeInstructions200ResponseIngredientsInner] - ) - -object GetMealPlanTemplates200Response { - /** - * Creates the codec for converting GetMealPlanTemplates200Response from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanTemplates200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanTemplates200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200Response.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200Response.scala deleted file mode 100644 index e29736b96..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetMealPlanWeek200ResponseDaysInner - -/** - * - * @param days - */ -case class GetMealPlanWeek200Response(days: Set[GetMealPlanWeek200ResponseDaysInner] - ) - -object GetMealPlanWeek200Response { - /** - * Creates the codec for converting GetMealPlanWeek200Response from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanWeek200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanWeek200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInner.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInner.scala deleted file mode 100644 index 81731fcc1..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInner.scala +++ /dev/null @@ -1,37 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetMealPlanWeek200ResponseDaysInnerItemsInner -import org.openapitools.models.GetMealPlanWeek200ResponseDaysInnerNutritionSummary - -/** - * - * @param nutritionSummary - * @param nutritionSummaryBreakfast - * @param nutritionSummaryLunch - * @param nutritionSummaryDinner - * @param date - * @param day - * @param items - */ -case class GetMealPlanWeek200ResponseDaysInner(nutritionSummary: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - nutritionSummaryBreakfast: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - nutritionSummaryLunch: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - nutritionSummaryDinner: Option[GetMealPlanWeek200ResponseDaysInnerNutritionSummary], - date: BigDecimal, - day: String, - items: Option[Set[GetMealPlanWeek200ResponseDaysInnerItemsInner]] - ) - -object GetMealPlanWeek200ResponseDaysInner { - /** - * Creates the codec for converting GetMealPlanWeek200ResponseDaysInner from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanWeek200ResponseDaysInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanWeek200ResponseDaysInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInner.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInner.scala deleted file mode 100644 index 2f32d9cf7..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInner.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetMealPlanWeek200ResponseDaysInnerItemsInnerValue - -/** - * - * @param id - * @param slot - * @param position - * @param _type - * @param value - */ -case class GetMealPlanWeek200ResponseDaysInnerItemsInner(id: Int, - slot: Int, - position: Int, - _type: String, - value: Option[GetMealPlanWeek200ResponseDaysInnerItemsInnerValue] - ) - -object GetMealPlanWeek200ResponseDaysInnerItemsInner { - /** - * Creates the codec for converting GetMealPlanWeek200ResponseDaysInnerItemsInner from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanWeek200ResponseDaysInnerItemsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanWeek200ResponseDaysInnerItemsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.scala deleted file mode 100644 index 63ac344fa..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerItemsInnerValue.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param servings - * @param id - * @param title - * @param imageType - */ -case class GetMealPlanWeek200ResponseDaysInnerItemsInnerValue(servings: BigDecimal, - id: BigDecimal, - title: String, - imageType: String - ) - -object GetMealPlanWeek200ResponseDaysInnerItemsInnerValue { - /** - * Creates the codec for converting GetMealPlanWeek200ResponseDaysInnerItemsInnerValue from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanWeek200ResponseDaysInnerItemsInnerValue] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanWeek200ResponseDaysInnerItemsInnerValue] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.scala deleted file mode 100644 index 7d3efe8db..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummary.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner - -/** - * - * @param nutrients - */ -case class GetMealPlanWeek200ResponseDaysInnerNutritionSummary(nutrients: Set[GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner] - ) - -object GetMealPlanWeek200ResponseDaysInnerNutritionSummary { - /** - * Creates the codec for converting GetMealPlanWeek200ResponseDaysInnerNutritionSummary from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanWeek200ResponseDaysInnerNutritionSummary] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanWeek200ResponseDaysInnerNutritionSummary] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.scala deleted file mode 100644 index dba306391..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param name - * @param amount - * @param unit - * @param percentDailyNeeds - */ -case class GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner(name: String, - amount: BigDecimal, - unit: String, - percentDailyNeeds: BigDecimal - ) - -object GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner { - /** - * Creates the codec for converting GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMealPlanWeek200ResponseDaysInnerNutritionSummaryNutrientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetMenuItemInformation200Response.scala b/scala/src/main/scala/org/openapitools/models/GetMenuItemInformation200Response.scala deleted file mode 100644 index f093a14b8..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetMenuItemInformation200Response.scala +++ /dev/null @@ -1,48 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseNutrition -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseServings -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param title - * @param restaurantChain - * @param nutrition - * @param badges - * @param breadcrumbs - * @param generatedText - * @param imageType - * @param likes - * @param servings - * @param price - * @param spoonacularScore - */ -case class GetMenuItemInformation200Response(id: Int, - title: String, - restaurantChain: String, - nutrition: SearchGroceryProductsByUPC200ResponseNutrition, - badges: Seq[String], - breadcrumbs: Seq[String], - generatedText: Option[String], - imageType: String, - likes: BigDecimal, - servings: SearchGroceryProductsByUPC200ResponseServings, - price: Option[BigDecimal], - spoonacularScore: Option[BigDecimal] - ) - -object GetMenuItemInformation200Response { - /** - * Creates the codec for converting GetMenuItemInformation200Response from and to JSON. - */ - implicit val decoder: Decoder[GetMenuItemInformation200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetMenuItemInformation200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetProductInformation200Response.scala b/scala/src/main/scala/org/openapitools/models/GetProductInformation200Response.scala deleted file mode 100644 index f7be260e6..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetProductInformation200Response.scala +++ /dev/null @@ -1,57 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetProductInformation200ResponseIngredientsInner -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseNutrition -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseServings -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param title - * @param breadcrumbs - * @param imageType - * @param badges - * @param importantBadges - * @param ingredientCount - * @param generatedText - * @param ingredientList - * @param ingredients - * @param likes - * @param aisle - * @param nutrition - * @param price - * @param servings - * @param spoonacularScore - */ -case class GetProductInformation200Response(id: Int, - title: String, - breadcrumbs: Seq[String], - imageType: String, - badges: Seq[String], - importantBadges: Seq[String], - ingredientCount: Int, - generatedText: Option[String], - ingredientList: String, - ingredients: Seq[GetProductInformation200ResponseIngredientsInner], - likes: BigDecimal, - aisle: String, - nutrition: SearchGroceryProductsByUPC200ResponseNutrition, - price: BigDecimal, - servings: SearchGroceryProductsByUPC200ResponseServings, - spoonacularScore: BigDecimal - ) - -object GetProductInformation200Response { - /** - * Creates the codec for converting GetProductInformation200Response from and to JSON. - */ - implicit val decoder: Decoder[GetProductInformation200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetProductInformation200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetProductInformation200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetProductInformation200ResponseIngredientsInner.scala deleted file mode 100644 index 05edf4bfa..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetProductInformation200ResponseIngredientsInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param description - * @param name - * @param safetyUnderscorelevel - */ -case class GetProductInformation200ResponseIngredientsInner(description: Option[String], - name: String, - safetyUnderscorelevel: Option[String] - ) - -object GetProductInformation200ResponseIngredientsInner { - /** - * Creates the codec for converting GetProductInformation200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetProductInformation200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetProductInformation200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRandomFoodTrivia200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRandomFoodTrivia200Response.scala deleted file mode 100644 index 8d8ed6b89..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRandomFoodTrivia200Response.scala +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param text - */ -case class GetRandomFoodTrivia200Response(text: String - ) - -object GetRandomFoodTrivia200Response { - /** - * Creates the codec for converting GetRandomFoodTrivia200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRandomFoodTrivia200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRandomFoodTrivia200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRandomRecipes200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRandomRecipes200Response.scala deleted file mode 100644 index f72028f20..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRandomRecipes200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRandomRecipes200ResponseRecipesInner - -/** - * - * @param recipes - */ -case class GetRandomRecipes200Response(recipes: Set[GetRandomRecipes200ResponseRecipesInner] - ) - -object GetRandomRecipes200Response { - /** - * Creates the codec for converting GetRandomRecipes200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRandomRecipes200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRandomRecipes200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRandomRecipes200ResponseRecipesInner.scala b/scala/src/main/scala/org/openapitools/models/GetRandomRecipes200ResponseRecipesInner.scala deleted file mode 100644 index 651f86c09..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRandomRecipes200ResponseRecipesInner.scala +++ /dev/null @@ -1,98 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetRecipeInformation200ResponseExtendedIngredientsInner -import org.openapitools.models.GetRecipeInformation200ResponseWinePairing -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param title - * @param image - * @param imageType - * @param servings - * @param readyInMinutes - * @param license - * @param sourceName - * @param sourceUrl - * @param spoonacularSourceUrl - * @param aggregateLikes - * @param healthScore - * @param spoonacularScore - * @param pricePerServing - * @param analyzedInstructions - * @param cheap - * @param creditsText - * @param cuisines - * @param dairyFree - * @param diets - * @param gaps - * @param glutenFree - * @param instructions - * @param ketogenic - * @param lowFodmap - * @param occasions - * @param sustainable - * @param vegan - * @param vegetarian - * @param veryHealthy - * @param veryPopular - * @param whole30 - * @param weightWatcherSmartPoints - * @param dishTypes - * @param extendedIngredients - * @param summary - * @param winePairing - */ -case class GetRandomRecipes200ResponseRecipesInner(id: Int, - title: String, - image: String, - imageType: String, - servings: BigDecimal, - readyInMinutes: Int, - license: String, - sourceName: String, - sourceUrl: String, - spoonacularSourceUrl: String, - aggregateLikes: BigDecimal, - healthScore: BigDecimal, - spoonacularScore: BigDecimal, - pricePerServing: BigDecimal, - analyzedInstructions: Option[Seq[Object]], - cheap: Boolean, - creditsText: String, - cuisines: Option[Seq[String]], - dairyFree: Boolean, - diets: Option[Seq[String]], - gaps: String, - glutenFree: Boolean, - instructions: String, - ketogenic: Boolean, - lowFodmap: Boolean, - occasions: Option[Seq[String]], - sustainable: Boolean, - vegan: Boolean, - vegetarian: Boolean, - veryHealthy: Boolean, - veryPopular: Boolean, - whole30: Boolean, - weightWatcherSmartPoints: BigDecimal, - dishTypes: Option[Seq[String]], - extendedIngredients: Option[Set[GetRecipeInformation200ResponseExtendedIngredientsInner]], - summary: String, - winePairing: Option[GetRecipeInformation200ResponseWinePairing] - ) - -object GetRandomRecipes200ResponseRecipesInner { - /** - * Creates the codec for converting GetRandomRecipes200ResponseRecipesInner from and to JSON. - */ - implicit val decoder: Decoder[GetRandomRecipes200ResponseRecipesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRandomRecipes200ResponseRecipesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200Response.scala deleted file mode 100644 index 3ae193a99..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipeEquipmentByID200ResponseEquipmentInner - -/** - * - * @param equipment - */ -case class GetRecipeEquipmentByID200Response(equipment: Set[GetRecipeEquipmentByID200ResponseEquipmentInner] - ) - -object GetRecipeEquipmentByID200Response { - /** - * Creates the codec for converting GetRecipeEquipmentByID200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeEquipmentByID200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeEquipmentByID200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200ResponseEquipmentInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200ResponseEquipmentInner.scala deleted file mode 100644 index 72fb8de9a..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeEquipmentByID200ResponseEquipmentInner.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param image - * @param name - */ -case class GetRecipeEquipmentByID200ResponseEquipmentInner(image: String, - name: String - ) - -object GetRecipeEquipmentByID200ResponseEquipmentInner { - /** - * Creates the codec for converting GetRecipeEquipmentByID200ResponseEquipmentInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeEquipmentByID200ResponseEquipmentInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeEquipmentByID200ResponseEquipmentInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200Response.scala deleted file mode 100644 index 6fb66deba..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200Response.scala +++ /dev/null @@ -1,98 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetRecipeInformation200ResponseExtendedIngredientsInner -import org.openapitools.models.GetRecipeInformation200ResponseWinePairing -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param title - * @param image - * @param imageType - * @param servings - * @param readyInMinutes - * @param license - * @param sourceName - * @param sourceUrl - * @param spoonacularSourceUrl - * @param aggregateLikes - * @param healthScore - * @param spoonacularScore - * @param pricePerServing - * @param analyzedInstructions - * @param cheap - * @param creditsText - * @param cuisines - * @param dairyFree - * @param diets - * @param gaps - * @param glutenFree - * @param instructions - * @param ketogenic - * @param lowFodmap - * @param occasions - * @param sustainable - * @param vegan - * @param vegetarian - * @param veryHealthy - * @param veryPopular - * @param whole30 - * @param weightWatcherSmartPoints - * @param dishTypes - * @param extendedIngredients - * @param summary - * @param winePairing - */ -case class GetRecipeInformation200Response(id: Int, - title: String, - image: String, - imageType: String, - servings: BigDecimal, - readyInMinutes: Int, - license: String, - sourceName: String, - sourceUrl: String, - spoonacularSourceUrl: String, - aggregateLikes: Int, - healthScore: BigDecimal, - spoonacularScore: BigDecimal, - pricePerServing: BigDecimal, - analyzedInstructions: Seq[Object], - cheap: Boolean, - creditsText: String, - cuisines: Seq[String], - dairyFree: Boolean, - diets: Seq[String], - gaps: String, - glutenFree: Boolean, - instructions: String, - ketogenic: Boolean, - lowFodmap: Boolean, - occasions: Seq[String], - sustainable: Boolean, - vegan: Boolean, - vegetarian: Boolean, - veryHealthy: Boolean, - veryPopular: Boolean, - whole30: Boolean, - weightWatcherSmartPoints: BigDecimal, - dishTypes: Seq[String], - extendedIngredients: Set[GetRecipeInformation200ResponseExtendedIngredientsInner], - summary: String, - winePairing: GetRecipeInformation200ResponseWinePairing - ) - -object GetRecipeInformation200Response { - /** - * Creates the codec for converting GetRecipeInformation200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformation200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformation200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInner.scala deleted file mode 100644 index 612d72c95..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInner.scala +++ /dev/null @@ -1,45 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures -import scala.collection.immutable.Seq - -/** - * - * @param aisle - * @param amount - * @param consitency - * @param id - * @param image - * @param measures - * @param meta - * @param name - * @param original - * @param originalName - * @param unit - */ -case class GetRecipeInformation200ResponseExtendedIngredientsInner(aisle: String, - amount: BigDecimal, - consitency: String, - id: Int, - image: String, - measures: Option[GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures], - meta: Option[Seq[String]], - name: String, - original: String, - originalName: String, - unit: String - ) - -object GetRecipeInformation200ResponseExtendedIngredientsInner { - /** - * Creates the codec for converting GetRecipeInformation200ResponseExtendedIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformation200ResponseExtendedIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformation200ResponseExtendedIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.scala deleted file mode 100644 index 0f6ee7e02..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric - -/** - * - * @param metric - * @param us - */ -case class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures(metric: GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric, - us: GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric - ) - -object GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures { - /** - * Creates the codec for converting GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformation200ResponseExtendedIngredientsInnerMeasures] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.scala deleted file mode 100644 index d46f3f7c8..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param amount - * @param unitLong - * @param unitShort - */ -case class GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric(amount: BigDecimal, - unitLong: String, - unitShort: String - ) - -object GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric { - /** - * Creates the codec for converting GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformation200ResponseExtendedIngredientsInnerMeasuresMetric] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairing.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairing.scala deleted file mode 100644 index 47a78d668..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairing.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipeInformation200ResponseWinePairingProductMatchesInner -import scala.collection.immutable.Seq - -/** - * - * @param pairedWines - * @param pairingText - * @param productMatches - */ -case class GetRecipeInformation200ResponseWinePairing(pairedWines: Seq[String], - pairingText: String, - productMatches: Set[GetRecipeInformation200ResponseWinePairingProductMatchesInner] - ) - -object GetRecipeInformation200ResponseWinePairing { - /** - * Creates the codec for converting GetRecipeInformation200ResponseWinePairing from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformation200ResponseWinePairing] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformation200ResponseWinePairing] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairingProductMatchesInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairingProductMatchesInner.scala deleted file mode 100644 index 4993e490c..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformation200ResponseWinePairingProductMatchesInner.scala +++ /dev/null @@ -1,39 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param title - * @param description - * @param price - * @param imageUrl - * @param averageRating - * @param ratingCount - * @param score - * @param link - */ -case class GetRecipeInformation200ResponseWinePairingProductMatchesInner(id: Int, - title: String, - description: String, - price: String, - imageUrl: String, - averageRating: BigDecimal, - ratingCount: Int, - score: BigDecimal, - link: String - ) - -object GetRecipeInformation200ResponseWinePairingProductMatchesInner { - /** - * Creates the codec for converting GetRecipeInformation200ResponseWinePairingProductMatchesInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformation200ResponseWinePairingProductMatchesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformation200ResponseWinePairingProductMatchesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeInformationBulk200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeInformationBulk200ResponseInner.scala deleted file mode 100644 index 398e25ec9..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeInformationBulk200ResponseInner.scala +++ /dev/null @@ -1,98 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetRecipeInformation200ResponseExtendedIngredientsInner -import org.openapitools.models.GetRecipeInformation200ResponseWinePairing -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param title - * @param image - * @param imageType - * @param servings - * @param readyInMinutes - * @param license - * @param sourceName - * @param sourceUrl - * @param spoonacularSourceUrl - * @param aggregateLikes - * @param healthScore - * @param spoonacularScore - * @param pricePerServing - * @param analyzedInstructions - * @param cheap - * @param creditsText - * @param cuisines - * @param dairyFree - * @param diets - * @param gaps - * @param glutenFree - * @param instructions - * @param ketogenic - * @param lowFodmap - * @param occasions - * @param sustainable - * @param vegan - * @param vegetarian - * @param veryHealthy - * @param veryPopular - * @param whole30 - * @param weightWatcherSmartPoints - * @param dishTypes - * @param extendedIngredients - * @param summary - * @param winePairing - */ -case class GetRecipeInformationBulk200ResponseInner(id: Int, - title: String, - image: String, - imageType: String, - servings: BigDecimal, - readyInMinutes: Int, - license: String, - sourceName: String, - sourceUrl: String, - spoonacularSourceUrl: String, - aggregateLikes: Int, - healthScore: BigDecimal, - spoonacularScore: BigDecimal, - pricePerServing: BigDecimal, - analyzedInstructions: Seq[String], - cheap: Boolean, - creditsText: String, - cuisines: Seq[String], - dairyFree: Boolean, - diets: Seq[String], - gaps: String, - glutenFree: Boolean, - instructions: String, - ketogenic: Boolean, - lowFodmap: Boolean, - occasions: Seq[String], - sustainable: Boolean, - vegan: Boolean, - vegetarian: Boolean, - veryHealthy: Boolean, - veryPopular: Boolean, - whole30: Boolean, - weightWatcherSmartPoints: BigDecimal, - dishTypes: Seq[String], - extendedIngredients: Set[GetRecipeInformation200ResponseExtendedIngredientsInner], - summary: String, - winePairing: GetRecipeInformation200ResponseWinePairing - ) - -object GetRecipeInformationBulk200ResponseInner { - /** - * Creates the codec for converting GetRecipeInformationBulk200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeInformationBulk200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeInformationBulk200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200Response.scala deleted file mode 100644 index e42366af6..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200Response.scala +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipeIngredientsByID200ResponseIngredientsInner - -/** - * - * @param ingredients - */ -case class GetRecipeIngredientsByID200Response(ingredients: Set[GetRecipeIngredientsByID200ResponseIngredientsInner] - ) - -object GetRecipeIngredientsByID200Response { - /** - * Creates the codec for converting GetRecipeIngredientsByID200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeIngredientsByID200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeIngredientsByID200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200ResponseIngredientsInner.scala deleted file mode 100644 index 4e1297ecd..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeIngredientsByID200ResponseIngredientsInner.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount - -/** - * - * @param amount - * @param image - * @param name - */ -case class GetRecipeIngredientsByID200ResponseIngredientsInner(amount: Option[GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount], - image: String, - name: String - ) - -object GetRecipeIngredientsByID200ResponseIngredientsInner { - /** - * Creates the codec for converting GetRecipeIngredientsByID200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeIngredientsByID200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeIngredientsByID200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200Response.scala deleted file mode 100644 index 4c5e04b2f..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200Response.scala +++ /dev/null @@ -1,34 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipeNutritionWidgetByID200ResponseBadInner -import org.openapitools.models.GetRecipeNutritionWidgetByID200ResponseGoodInner - -/** - * - * @param calories - * @param carbs - * @param fat - * @param protein - * @param bad - * @param good - */ -case class GetRecipeNutritionWidgetByID200Response(calories: String, - carbs: String, - fat: String, - protein: String, - bad: Set[GetRecipeNutritionWidgetByID200ResponseBadInner], - good: Set[GetRecipeNutritionWidgetByID200ResponseGoodInner] - ) - -object GetRecipeNutritionWidgetByID200Response { - /** - * Creates the codec for converting GetRecipeNutritionWidgetByID200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeNutritionWidgetByID200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeNutritionWidgetByID200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseBadInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseBadInner.scala deleted file mode 100644 index 3cd29e1f3..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseBadInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param name - * @param amount - * @param indented - * @param percentOfDailyNeeds - */ -case class GetRecipeNutritionWidgetByID200ResponseBadInner(name: String, - amount: String, - indented: Boolean, - percentOfDailyNeeds: BigDecimal - ) - -object GetRecipeNutritionWidgetByID200ResponseBadInner { - /** - * Creates the codec for converting GetRecipeNutritionWidgetByID200ResponseBadInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeNutritionWidgetByID200ResponseBadInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeNutritionWidgetByID200ResponseBadInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseGoodInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseGoodInner.scala deleted file mode 100644 index 8655beb64..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeNutritionWidgetByID200ResponseGoodInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param amount - * @param indented - * @param percentOfDailyNeeds - * @param name - */ -case class GetRecipeNutritionWidgetByID200ResponseGoodInner(amount: String, - indented: Boolean, - percentOfDailyNeeds: BigDecimal, - name: String - ) - -object GetRecipeNutritionWidgetByID200ResponseGoodInner { - /** - * Creates the codec for converting GetRecipeNutritionWidgetByID200ResponseGoodInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeNutritionWidgetByID200ResponseGoodInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeNutritionWidgetByID200ResponseGoodInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200Response.scala deleted file mode 100644 index 18cc48f94..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200Response.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetRecipePriceBreakdownByID200ResponseIngredientsInner - -/** - * - * @param ingredients - * @param totalCost - * @param totalCostPerServing - */ -case class GetRecipePriceBreakdownByID200Response(ingredients: Set[GetRecipePriceBreakdownByID200ResponseIngredientsInner], - totalCost: BigDecimal, - totalCostPerServing: BigDecimal - ) - -object GetRecipePriceBreakdownByID200Response { - /** - * Creates the codec for converting GetRecipePriceBreakdownByID200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRecipePriceBreakdownByID200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipePriceBreakdownByID200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInner.scala deleted file mode 100644 index 6db27a133..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInner.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount - -/** - * - * @param amount - * @param image - * @param name - * @param price - */ -case class GetRecipePriceBreakdownByID200ResponseIngredientsInner(amount: Option[GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount], - image: String, - name: String, - price: BigDecimal - ) - -object GetRecipePriceBreakdownByID200ResponseIngredientsInner { - /** - * Creates the codec for converting GetRecipePriceBreakdownByID200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[GetRecipePriceBreakdownByID200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipePriceBreakdownByID200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.scala b/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.scala deleted file mode 100644 index c877337c0..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric - -/** - * - * @param metric - * @param us - */ -case class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount(metric: GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric, - us: GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric - ) - -object GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount { - /** - * Creates the codec for converting GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount from and to JSON. - */ - implicit val decoder: Decoder[GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmount] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.scala b/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.scala deleted file mode 100644 index b66854e40..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param unit - * @param value - */ -case class GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric(unit: String, - value: BigDecimal - ) - -object GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric { - /** - * Creates the codec for converting GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric from and to JSON. - */ - implicit val decoder: Decoder[GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipePriceBreakdownByID200ResponseIngredientsInnerAmountMetric] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetRecipeTasteByID200Response.scala b/scala/src/main/scala/org/openapitools/models/GetRecipeTasteByID200Response.scala deleted file mode 100644 index ccc73f2f1..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetRecipeTasteByID200Response.scala +++ /dev/null @@ -1,35 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param sweetness - * @param saltiness - * @param sourness - * @param bitterness - * @param savoriness - * @param fattiness - * @param spiciness - */ -case class GetRecipeTasteByID200Response(sweetness: BigDecimal, - saltiness: BigDecimal, - sourness: BigDecimal, - bitterness: BigDecimal, - savoriness: BigDecimal, - fattiness: BigDecimal, - spiciness: BigDecimal - ) - -object GetRecipeTasteByID200Response { - /** - * Creates the codec for converting GetRecipeTasteByID200Response from and to JSON. - */ - implicit val decoder: Decoder[GetRecipeTasteByID200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetRecipeTasteByID200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetShoppingList200Response.scala b/scala/src/main/scala/org/openapitools/models/GetShoppingList200Response.scala deleted file mode 100644 index f47e97432..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetShoppingList200Response.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetShoppingList200ResponseAislesInner - -/** - * - * @param aisles - * @param cost - * @param startDate - * @param endDate - */ -case class GetShoppingList200Response(aisles: Set[GetShoppingList200ResponseAislesInner], - cost: BigDecimal, - startDate: BigDecimal, - endDate: BigDecimal - ) - -object GetShoppingList200Response { - /** - * Creates the codec for converting GetShoppingList200Response from and to JSON. - */ - implicit val decoder: Decoder[GetShoppingList200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetShoppingList200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInner.scala b/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInner.scala deleted file mode 100644 index 106e798b6..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInner.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetShoppingList200ResponseAislesInnerItemsInner - -/** - * - * @param aisle - * @param items - */ -case class GetShoppingList200ResponseAislesInner(aisle: String, - items: Option[Set[GetShoppingList200ResponseAislesInnerItemsInner]] - ) - -object GetShoppingList200ResponseAislesInner { - /** - * Creates the codec for converting GetShoppingList200ResponseAislesInner from and to JSON. - */ - implicit val decoder: Decoder[GetShoppingList200ResponseAislesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetShoppingList200ResponseAislesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInner.scala b/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInner.scala deleted file mode 100644 index 665292f56..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInner.scala +++ /dev/null @@ -1,36 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GetShoppingList200ResponseAislesInnerItemsInnerMeasures - -/** - * - * @param id - * @param name - * @param measures - * @param pantryItem - * @param aisle - * @param cost - * @param ingredientId - */ -case class GetShoppingList200ResponseAislesInnerItemsInner(id: Int, - name: String, - measures: Option[GetShoppingList200ResponseAislesInnerItemsInnerMeasures], - pantryItem: Boolean, - aisle: String, - cost: BigDecimal, - ingredientId: Int - ) - -object GetShoppingList200ResponseAislesInnerItemsInner { - /** - * Creates the codec for converting GetShoppingList200ResponseAislesInnerItemsInner from and to JSON. - */ - implicit val decoder: Decoder[GetShoppingList200ResponseAislesInnerItemsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetShoppingList200ResponseAislesInnerItemsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.scala b/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.scala deleted file mode 100644 index dc8be6f51..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetShoppingList200ResponseAislesInnerItemsInnerMeasures.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionWeightPerServing - -/** - * - * @param original - * @param metric - * @param us - */ -case class GetShoppingList200ResponseAislesInnerItemsInnerMeasures(original: ParseIngredients200ResponseInnerNutritionWeightPerServing, - metric: ParseIngredients200ResponseInnerNutritionWeightPerServing, - us: ParseIngredients200ResponseInnerNutritionWeightPerServing - ) - -object GetShoppingList200ResponseAislesInnerItemsInnerMeasures { - /** - * Creates the codec for converting GetShoppingList200ResponseAislesInnerItemsInnerMeasures from and to JSON. - */ - implicit val decoder: Decoder[GetShoppingList200ResponseAislesInnerItemsInnerMeasures] = deriveDecoder - implicit val encoder: ObjectEncoder[GetShoppingList200ResponseAislesInnerItemsInnerMeasures] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetSimilarRecipes200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/GetSimilarRecipes200ResponseInner.scala deleted file mode 100644 index 5dbbb462e..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetSimilarRecipes200ResponseInner.scala +++ /dev/null @@ -1,33 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param title - * @param imageType - * @param readyInMinutes - * @param servings - * @param sourceUrl - */ -case class GetSimilarRecipes200ResponseInner(id: Int, - title: String, - imageType: String, - readyInMinutes: Int, - servings: BigDecimal, - sourceUrl: String - ) - -object GetSimilarRecipes200ResponseInner { - /** - * Creates the codec for converting GetSimilarRecipes200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[GetSimilarRecipes200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetSimilarRecipes200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetWineDescription200Response.scala b/scala/src/main/scala/org/openapitools/models/GetWineDescription200Response.scala deleted file mode 100644 index f5b6ad117..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetWineDescription200Response.scala +++ /dev/null @@ -1,22 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param wineDescription - */ -case class GetWineDescription200Response(wineDescription: String - ) - -object GetWineDescription200Response { - /** - * Creates the codec for converting GetWineDescription200Response from and to JSON. - */ - implicit val decoder: Decoder[GetWineDescription200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetWineDescription200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetWinePairing200Response.scala b/scala/src/main/scala/org/openapitools/models/GetWinePairing200Response.scala deleted file mode 100644 index eec91eec4..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetWinePairing200Response.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetWinePairing200ResponseProductMatchesInner -import scala.collection.immutable.Seq - -/** - * - * @param pairedWines - * @param pairingText - * @param productMatches - */ -case class GetWinePairing200Response(pairedWines: Seq[String], - pairingText: String, - productMatches: Set[GetWinePairing200ResponseProductMatchesInner] - ) - -object GetWinePairing200Response { - /** - * Creates the codec for converting GetWinePairing200Response from and to JSON. - */ - implicit val decoder: Decoder[GetWinePairing200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetWinePairing200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetWinePairing200ResponseProductMatchesInner.scala b/scala/src/main/scala/org/openapitools/models/GetWinePairing200ResponseProductMatchesInner.scala deleted file mode 100644 index 4ce1c1047..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetWinePairing200ResponseProductMatchesInner.scala +++ /dev/null @@ -1,39 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param title - * @param averageRating - * @param description - * @param imageUrl - * @param link - * @param price - * @param ratingCount - * @param score - */ -case class GetWinePairing200ResponseProductMatchesInner(id: Int, - title: String, - averageRating: BigDecimal, - description: Option[String], - imageUrl: String, - link: String, - price: String, - ratingCount: Int, - score: BigDecimal - ) - -object GetWinePairing200ResponseProductMatchesInner { - /** - * Creates the codec for converting GetWinePairing200ResponseProductMatchesInner from and to JSON. - */ - implicit val decoder: Decoder[GetWinePairing200ResponseProductMatchesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetWinePairing200ResponseProductMatchesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetWineRecommendation200Response.scala b/scala/src/main/scala/org/openapitools/models/GetWineRecommendation200Response.scala deleted file mode 100644 index 722bae0e7..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetWineRecommendation200Response.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GetWineRecommendation200ResponseRecommendedWinesInner - -/** - * - * @param recommendedWines - * @param totalFound - */ -case class GetWineRecommendation200Response(recommendedWines: Set[GetWineRecommendation200ResponseRecommendedWinesInner], - totalFound: Int - ) - -object GetWineRecommendation200Response { - /** - * Creates the codec for converting GetWineRecommendation200Response from and to JSON. - */ - implicit val decoder: Decoder[GetWineRecommendation200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GetWineRecommendation200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GetWineRecommendation200ResponseRecommendedWinesInner.scala b/scala/src/main/scala/org/openapitools/models/GetWineRecommendation200ResponseRecommendedWinesInner.scala deleted file mode 100644 index 6aa45bcfc..000000000 --- a/scala/src/main/scala/org/openapitools/models/GetWineRecommendation200ResponseRecommendedWinesInner.scala +++ /dev/null @@ -1,39 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param title - * @param averageRating - * @param description - * @param imageUrl - * @param link - * @param price - * @param ratingCount - * @param score - */ -case class GetWineRecommendation200ResponseRecommendedWinesInner(id: Int, - title: String, - averageRating: BigDecimal, - description: String, - imageUrl: String, - link: String, - price: String, - ratingCount: Int, - score: BigDecimal - ) - -object GetWineRecommendation200ResponseRecommendedWinesInner { - /** - * Creates the codec for converting GetWineRecommendation200ResponseRecommendedWinesInner from and to JSON. - */ - implicit val decoder: Decoder[GetWineRecommendation200ResponseRecommendedWinesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[GetWineRecommendation200ResponseRecommendedWinesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200Response.scala b/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200Response.scala deleted file mode 100644 index 1d2163a44..000000000 --- a/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.GuessNutritionByDishName200ResponseCalories - -/** - * - * @param calories - * @param carbs - * @param fat - * @param protein - * @param recipesUsed - */ -case class GuessNutritionByDishName200Response(calories: GuessNutritionByDishName200ResponseCalories, - carbs: GuessNutritionByDishName200ResponseCalories, - fat: GuessNutritionByDishName200ResponseCalories, - protein: GuessNutritionByDishName200ResponseCalories, - recipesUsed: Int - ) - -object GuessNutritionByDishName200Response { - /** - * Creates the codec for converting GuessNutritionByDishName200Response from and to JSON. - */ - implicit val decoder: Decoder[GuessNutritionByDishName200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[GuessNutritionByDishName200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCalories.scala b/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCalories.scala deleted file mode 100644 index 8f3539aa4..000000000 --- a/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCalories.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent - -/** - * - * @param confidenceRange95Percent - * @param standardDeviation - * @param unit - * @param value - */ -case class GuessNutritionByDishName200ResponseCalories(confidenceRange95Percent: GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent, - standardDeviation: BigDecimal, - unit: String, - value: BigDecimal - ) - -object GuessNutritionByDishName200ResponseCalories { - /** - * Creates the codec for converting GuessNutritionByDishName200ResponseCalories from and to JSON. - */ - implicit val decoder: Decoder[GuessNutritionByDishName200ResponseCalories] = deriveDecoder - implicit val encoder: ObjectEncoder[GuessNutritionByDishName200ResponseCalories] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.scala b/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.scala deleted file mode 100644 index d697315a2..000000000 --- a/scala/src/main/scala/org/openapitools/models/GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param max - * @param min - */ -case class GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent(max: BigDecimal, - min: BigDecimal - ) - -object GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent { - /** - * Creates the codec for converting GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent from and to JSON. - */ - implicit val decoder: Decoder[GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent] = deriveDecoder - implicit val encoder: ObjectEncoder[GuessNutritionByDishName200ResponseCaloriesConfidenceRange95Percent] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200Response.scala b/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200Response.scala deleted file mode 100644 index cdc8cab0f..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200Response.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.ImageAnalysisByURL200ResponseCategory -import org.openapitools.models.ImageAnalysisByURL200ResponseNutrition -import org.openapitools.models.ImageAnalysisByURL200ResponseRecipesInner - -/** - * - * @param nutrition - * @param category - * @param recipes - */ -case class ImageAnalysisByURL200Response(nutrition: ImageAnalysisByURL200ResponseNutrition, - category: ImageAnalysisByURL200ResponseCategory, - recipes: Set[ImageAnalysisByURL200ResponseRecipesInner] - ) - -object ImageAnalysisByURL200Response { - /** - * Creates the codec for converting ImageAnalysisByURL200Response from and to JSON. - */ - implicit val decoder: Decoder[ImageAnalysisByURL200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageAnalysisByURL200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseCategory.scala b/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseCategory.scala deleted file mode 100644 index e607cdbfc..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseCategory.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param name - * @param probability - */ -case class ImageAnalysisByURL200ResponseCategory(name: String, - probability: BigDecimal - ) - -object ImageAnalysisByURL200ResponseCategory { - /** - * Creates the codec for converting ImageAnalysisByURL200ResponseCategory from and to JSON. - */ - implicit val decoder: Decoder[ImageAnalysisByURL200ResponseCategory] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageAnalysisByURL200ResponseCategory] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutrition.scala b/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutrition.scala deleted file mode 100644 index cec87dd21..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutrition.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.ImageAnalysisByURL200ResponseNutritionCalories - -/** - * - * @param recipesUsed - * @param calories - * @param fat - * @param protein - * @param carbs - */ -case class ImageAnalysisByURL200ResponseNutrition(recipesUsed: Int, - calories: ImageAnalysisByURL200ResponseNutritionCalories, - fat: ImageAnalysisByURL200ResponseNutritionCalories, - protein: ImageAnalysisByURL200ResponseNutritionCalories, - carbs: ImageAnalysisByURL200ResponseNutritionCalories - ) - -object ImageAnalysisByURL200ResponseNutrition { - /** - * Creates the codec for converting ImageAnalysisByURL200ResponseNutrition from and to JSON. - */ - implicit val decoder: Decoder[ImageAnalysisByURL200ResponseNutrition] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageAnalysisByURL200ResponseNutrition] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCalories.scala b/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCalories.scala deleted file mode 100644 index cf3d0ed45..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCalories.scala +++ /dev/null @@ -1,30 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent - -/** - * - * @param value - * @param unit - * @param confidenceRange95Percent - * @param standardDeviation - */ -case class ImageAnalysisByURL200ResponseNutritionCalories(value: BigDecimal, - unit: String, - confidenceRange95Percent: ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent, - standardDeviation: BigDecimal - ) - -object ImageAnalysisByURL200ResponseNutritionCalories { - /** - * Creates the codec for converting ImageAnalysisByURL200ResponseNutritionCalories from and to JSON. - */ - implicit val decoder: Decoder[ImageAnalysisByURL200ResponseNutritionCalories] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageAnalysisByURL200ResponseNutritionCalories] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.scala b/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.scala deleted file mode 100644 index dcd09dea1..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param min - * @param max - */ -case class ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent(min: BigDecimal, - max: BigDecimal - ) - -object ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent { - /** - * Creates the codec for converting ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent from and to JSON. - */ - implicit val decoder: Decoder[ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageAnalysisByURL200ResponseNutritionCaloriesConfidenceRange95Percent] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseRecipesInner.scala b/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseRecipesInner.scala deleted file mode 100644 index 20e1dc4d9..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageAnalysisByURL200ResponseRecipesInner.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param title - * @param imageType - * @param url - */ -case class ImageAnalysisByURL200ResponseRecipesInner(id: Int, - title: String, - imageType: String, - url: String - ) - -object ImageAnalysisByURL200ResponseRecipesInner { - /** - * Creates the codec for converting ImageAnalysisByURL200ResponseRecipesInner from and to JSON. - */ - implicit val decoder: Decoder[ImageAnalysisByURL200ResponseRecipesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageAnalysisByURL200ResponseRecipesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ImageClassificationByURL200Response.scala b/scala/src/main/scala/org/openapitools/models/ImageClassificationByURL200Response.scala deleted file mode 100644 index f1fe66a15..000000000 --- a/scala/src/main/scala/org/openapitools/models/ImageClassificationByURL200Response.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param category - * @param probability - */ -case class ImageClassificationByURL200Response(category: String, - probability: BigDecimal - ) - -object ImageClassificationByURL200Response { - /** - * Creates the codec for converting ImageClassificationByURL200Response from and to JSON. - */ - implicit val decoder: Decoder[ImageClassificationByURL200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[ImageClassificationByURL200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/IngredientSearch200Response.scala b/scala/src/main/scala/org/openapitools/models/IngredientSearch200Response.scala deleted file mode 100644 index 840edcbab..000000000 --- a/scala/src/main/scala/org/openapitools/models/IngredientSearch200Response.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.IngredientSearch200ResponseResultsInner - -/** - * - * @param results - * @param offset - * @param number - * @param totalResults - */ -case class IngredientSearch200Response(results: Set[IngredientSearch200ResponseResultsInner], - offset: Int, - number: Int, - totalResults: Int - ) - -object IngredientSearch200Response { - /** - * Creates the codec for converting IngredientSearch200Response from and to JSON. - */ - implicit val decoder: Decoder[IngredientSearch200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[IngredientSearch200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/IngredientSearch200ResponseResultsInner.scala b/scala/src/main/scala/org/openapitools/models/IngredientSearch200ResponseResultsInner.scala deleted file mode 100644 index e76044111..000000000 --- a/scala/src/main/scala/org/openapitools/models/IngredientSearch200ResponseResultsInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param name - * @param image - */ -case class IngredientSearch200ResponseResultsInner(id: Int, - name: String, - image: String - ) - -object IngredientSearch200ResponseResultsInner { - /** - * Creates the codec for converting IngredientSearch200ResponseResultsInner from and to JSON. - */ - implicit val decoder: Decoder[IngredientSearch200ResponseResultsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[IngredientSearch200ResponseResultsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInner.scala deleted file mode 100644 index 6b76843db..000000000 --- a/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInner.scala +++ /dev/null @@ -1,32 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.MapIngredientsToGroceryProducts200ResponseInnerProductsInner -import scala.collection.immutable.Seq - -/** - * - * @param original - * @param originalName - * @param ingredientImage - * @param meta - * @param products - */ -case class MapIngredientsToGroceryProducts200ResponseInner(original: String, - originalName: String, - ingredientImage: String, - meta: Seq[String], - products: Set[MapIngredientsToGroceryProducts200ResponseInnerProductsInner] - ) - -object MapIngredientsToGroceryProducts200ResponseInner { - /** - * Creates the codec for converting MapIngredientsToGroceryProducts200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[MapIngredientsToGroceryProducts200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[MapIngredientsToGroceryProducts200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.scala b/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.scala deleted file mode 100644 index ffdbab345..000000000 --- a/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProducts200ResponseInnerProductsInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param title - * @param upc - */ -case class MapIngredientsToGroceryProducts200ResponseInnerProductsInner(id: Int, - title: String, - upc: String - ) - -object MapIngredientsToGroceryProducts200ResponseInnerProductsInner { - /** - * Creates the codec for converting MapIngredientsToGroceryProducts200ResponseInnerProductsInner from and to JSON. - */ - implicit val decoder: Decoder[MapIngredientsToGroceryProducts200ResponseInnerProductsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[MapIngredientsToGroceryProducts200ResponseInnerProductsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProductsRequest.scala b/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProductsRequest.scala deleted file mode 100644 index 8b3d1e9ea..000000000 --- a/scala/src/main/scala/org/openapitools/models/MapIngredientsToGroceryProductsRequest.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import scala.collection.immutable.Seq - -/** - * - * @param ingredients - * @param servings - */ -case class MapIngredientsToGroceryProductsRequest(ingredients: Seq[String], - servings: BigDecimal - ) - -object MapIngredientsToGroceryProductsRequest { - /** - * Creates the codec for converting MapIngredientsToGroceryProductsRequest from and to JSON. - */ - implicit val decoder: Decoder[MapIngredientsToGroceryProductsRequest] = deriveDecoder - implicit val encoder: ObjectEncoder[MapIngredientsToGroceryProductsRequest] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInner.scala deleted file mode 100644 index b252d9622..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInner.scala +++ /dev/null @@ -1,56 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.ParseIngredients200ResponseInnerEstimatedCost -import org.openapitools.models.ParseIngredients200ResponseInnerNutrition -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param original - * @param originalName - * @param name - * @param nameClean - * @param amount - * @param unit - * @param unitShort - * @param unitLong - * @param possibleUnits - * @param estimatedCost - * @param consistency - * @param aisle - * @param image - * @param meta - * @param nutrition - */ -case class ParseIngredients200ResponseInner(id: Int, - original: String, - originalName: String, - name: String, - nameClean: String, - amount: BigDecimal, - unit: String, - unitShort: String, - unitLong: String, - possibleUnits: Seq[String], - estimatedCost: ParseIngredients200ResponseInnerEstimatedCost, - consistency: String, - aisle: String, - image: String, - meta: Seq[String], - nutrition: ParseIngredients200ResponseInnerNutrition - ) - -object ParseIngredients200ResponseInner { - /** - * Creates the codec for converting ParseIngredients200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerEstimatedCost.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerEstimatedCost.scala deleted file mode 100644 index 1f286f398..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerEstimatedCost.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param value - * @param unit - */ -case class ParseIngredients200ResponseInnerEstimatedCost(value: BigDecimal, - unit: String - ) - -object ParseIngredients200ResponseInnerEstimatedCost { - /** - * Creates the codec for converting ParseIngredients200ResponseInnerEstimatedCost from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInnerEstimatedCost] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInnerEstimatedCost] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutrition.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutrition.scala deleted file mode 100644 index e9153088b..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutrition.scala +++ /dev/null @@ -1,34 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionCaloricBreakdown -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionNutrientsInner -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionPropertiesInner -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionWeightPerServing - -/** - * - * @param nutrients - * @param properties - * @param flavonoids - * @param caloricBreakdown - * @param weightPerServing - */ -case class ParseIngredients200ResponseInnerNutrition(nutrients: Set[ParseIngredients200ResponseInnerNutritionNutrientsInner], - properties: Set[ParseIngredients200ResponseInnerNutritionPropertiesInner], - flavonoids: Set[ParseIngredients200ResponseInnerNutritionPropertiesInner], - caloricBreakdown: ParseIngredients200ResponseInnerNutritionCaloricBreakdown, - weightPerServing: ParseIngredients200ResponseInnerNutritionWeightPerServing - ) - -object ParseIngredients200ResponseInnerNutrition { - /** - * Creates the codec for converting ParseIngredients200ResponseInnerNutrition from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInnerNutrition] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInnerNutrition] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.scala deleted file mode 100644 index 6dcfee018..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionCaloricBreakdown.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param percentProtein - * @param percentFat - * @param percentCarbs - */ -case class ParseIngredients200ResponseInnerNutritionCaloricBreakdown(percentProtein: BigDecimal, - percentFat: BigDecimal, - percentCarbs: BigDecimal - ) - -object ParseIngredients200ResponseInnerNutritionCaloricBreakdown { - /** - * Creates the codec for converting ParseIngredients200ResponseInnerNutritionCaloricBreakdown from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInnerNutritionCaloricBreakdown] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInnerNutritionCaloricBreakdown] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionNutrientsInner.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionNutrientsInner.scala deleted file mode 100644 index ef984397e..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionNutrientsInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param name - * @param amount - * @param unit - * @param percentOfDailyNeeds - */ -case class ParseIngredients200ResponseInnerNutritionNutrientsInner(name: String, - amount: BigDecimal, - unit: String, - percentOfDailyNeeds: BigDecimal - ) - -object ParseIngredients200ResponseInnerNutritionNutrientsInner { - /** - * Creates the codec for converting ParseIngredients200ResponseInnerNutritionNutrientsInner from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInnerNutritionNutrientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInnerNutritionNutrientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionPropertiesInner.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionPropertiesInner.scala deleted file mode 100644 index 8c036ae8a..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionPropertiesInner.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param name - * @param amount - * @param unit - */ -case class ParseIngredients200ResponseInnerNutritionPropertiesInner(name: String, - amount: BigDecimal, - unit: String - ) - -object ParseIngredients200ResponseInnerNutritionPropertiesInner { - /** - * Creates the codec for converting ParseIngredients200ResponseInnerNutritionPropertiesInner from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInnerNutritionPropertiesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInnerNutritionPropertiesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionWeightPerServing.scala b/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionWeightPerServing.scala deleted file mode 100644 index d25f23568..000000000 --- a/scala/src/main/scala/org/openapitools/models/ParseIngredients200ResponseInnerNutritionWeightPerServing.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param amount - * @param unit - */ -case class ParseIngredients200ResponseInnerNutritionWeightPerServing(amount: BigDecimal, - unit: String - ) - -object ParseIngredients200ResponseInnerNutritionWeightPerServing { - /** - * Creates the codec for converting ParseIngredients200ResponseInnerNutritionWeightPerServing from and to JSON. - */ - implicit val decoder: Decoder[ParseIngredients200ResponseInnerNutritionWeightPerServing] = deriveDecoder - implicit val encoder: ObjectEncoder[ParseIngredients200ResponseInnerNutritionWeightPerServing] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/QuickAnswer200Response.scala b/scala/src/main/scala/org/openapitools/models/QuickAnswer200Response.scala deleted file mode 100644 index 0818adb15..000000000 --- a/scala/src/main/scala/org/openapitools/models/QuickAnswer200Response.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param answer - * @param image - */ -case class QuickAnswer200Response(answer: String, - image: String - ) - -object QuickAnswer200Response { - /** - * Creates the codec for converting QuickAnswer200Response from and to JSON. - */ - implicit val decoder: Decoder[QuickAnswer200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[QuickAnswer200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchAllFood200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchAllFood200Response.scala deleted file mode 100644 index 71879d6c9..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchAllFood200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchAllFood200ResponseSearchResultsInner - -/** - * - * @param query - * @param totalResults - * @param limit - * @param offset - * @param searchResults - */ -case class SearchAllFood200Response(query: String, - totalResults: Int, - limit: Int, - offset: Int, - searchResults: Set[SearchAllFood200ResponseSearchResultsInner] - ) - -object SearchAllFood200Response { - /** - * Creates the codec for converting SearchAllFood200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchAllFood200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchAllFood200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInner.scala deleted file mode 100644 index 27478274a..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInner.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchAllFood200ResponseSearchResultsInnerResultsInner - -/** - * - * @param name - * @param totalResults - * @param results - */ -case class SearchAllFood200ResponseSearchResultsInner(name: String, - totalResults: Int, - results: Option[Set[SearchAllFood200ResponseSearchResultsInnerResultsInner]] - ) - -object SearchAllFood200ResponseSearchResultsInner { - /** - * Creates the codec for converting SearchAllFood200ResponseSearchResultsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchAllFood200ResponseSearchResultsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchAllFood200ResponseSearchResultsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInnerResultsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInnerResultsInner.scala deleted file mode 100644 index 386c3e651..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchAllFood200ResponseSearchResultsInnerResultsInner.scala +++ /dev/null @@ -1,35 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param name - * @param image - * @param link - * @param _type - * @param relevance - * @param content - */ -case class SearchAllFood200ResponseSearchResultsInnerResultsInner(id: String, - name: String, - image: String, - link: String, - _type: String, - relevance: BigDecimal, - content: String - ) - -object SearchAllFood200ResponseSearchResultsInnerResultsInner { - /** - * Creates the codec for converting SearchAllFood200ResponseSearchResultsInnerResultsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchAllFood200ResponseSearchResultsInnerResultsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchAllFood200ResponseSearchResultsInnerResultsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchCustomFoods200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchCustomFoods200Response.scala deleted file mode 100644 index 3b4464324..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchCustomFoods200Response.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchCustomFoods200ResponseCustomFoodsInner - -/** - * - * @param customFoods - * @param _type - * @param offset - * @param number - */ -case class SearchCustomFoods200Response(customFoods: Set[SearchCustomFoods200ResponseCustomFoodsInner], - _type: String, - offset: Int, - number: Int - ) - -object SearchCustomFoods200Response { - /** - * Creates the codec for converting SearchCustomFoods200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchCustomFoods200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchCustomFoods200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchCustomFoods200ResponseCustomFoodsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchCustomFoods200ResponseCustomFoodsInner.scala deleted file mode 100644 index 70cbe5846..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchCustomFoods200ResponseCustomFoodsInner.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param id - * @param title - * @param servings - * @param imageUrl - * @param price - */ -case class SearchCustomFoods200ResponseCustomFoodsInner(id: Int, - title: String, - servings: BigDecimal, - imageUrl: String, - price: BigDecimal - ) - -object SearchCustomFoods200ResponseCustomFoodsInner { - /** - * Creates the codec for converting SearchCustomFoods200ResponseCustomFoodsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchCustomFoods200ResponseCustomFoodsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchCustomFoods200ResponseCustomFoodsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchFoodVideos200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchFoodVideos200Response.scala deleted file mode 100644 index 6b0eb7737..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchFoodVideos200Response.scala +++ /dev/null @@ -1,25 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchFoodVideos200ResponseVideosInner - -/** - * - * @param videos - * @param totalResults - */ -case class SearchFoodVideos200Response(videos: Set[SearchFoodVideos200ResponseVideosInner], - totalResults: Int - ) - -object SearchFoodVideos200Response { - /** - * Creates the codec for converting SearchFoodVideos200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchFoodVideos200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchFoodVideos200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchFoodVideos200ResponseVideosInner.scala b/scala/src/main/scala/org/openapitools/models/SearchFoodVideos200ResponseVideosInner.scala deleted file mode 100644 index d2cef7dd9..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchFoodVideos200ResponseVideosInner.scala +++ /dev/null @@ -1,35 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param title - * @param length - * @param rating - * @param shortTitle - * @param thumbnail - * @param views - * @param youTubeId - */ -case class SearchFoodVideos200ResponseVideosInner(title: String, - length: Int, - rating: BigDecimal, - shortTitle: String, - thumbnail: String, - views: Int, - youTubeId: String - ) - -object SearchFoodVideos200ResponseVideosInner { - /** - * Creates the codec for converting SearchFoodVideos200ResponseVideosInner from and to JSON. - */ - implicit val decoder: Decoder[SearchFoodVideos200ResponseVideosInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchFoodVideos200ResponseVideosInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchGroceryProducts200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchGroceryProducts200Response.scala deleted file mode 100644 index 8b9d95ad4..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchGroceryProducts200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.AutocompleteRecipeSearch200ResponseInner - -/** - * - * @param products - * @param totalProducts - * @param _type - * @param offset - * @param number - */ -case class SearchGroceryProducts200Response(products: Set[AutocompleteRecipeSearch200ResponseInner], - totalProducts: Int, - _type: String, - offset: Int, - number: Int - ) - -object SearchGroceryProducts200Response { - /** - * Creates the codec for converting SearchGroceryProducts200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchGroceryProducts200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchGroceryProducts200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200Response.scala deleted file mode 100644 index cfd94b68b..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200Response.scala +++ /dev/null @@ -1,55 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseIngredientsInner -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseNutrition -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseServings -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param title - * @param badges - * @param importantBadges - * @param breadcrumbs - * @param generatedText - * @param imageType - * @param ingredientCount - * @param ingredientList - * @param ingredients - * @param likes - * @param nutrition - * @param price - * @param servings - * @param spoonacularScore - */ -case class SearchGroceryProductsByUPC200Response(id: Int, - title: String, - badges: Seq[String], - importantBadges: Seq[String], - breadcrumbs: Seq[String], - generatedText: String, - imageType: String, - ingredientCount: Option[Int], - ingredientList: String, - ingredients: Set[SearchGroceryProductsByUPC200ResponseIngredientsInner], - likes: BigDecimal, - nutrition: SearchGroceryProductsByUPC200ResponseNutrition, - price: BigDecimal, - servings: SearchGroceryProductsByUPC200ResponseServings, - spoonacularScore: BigDecimal - ) - -object SearchGroceryProductsByUPC200Response { - /** - * Creates the codec for converting SearchGroceryProductsByUPC200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchGroceryProductsByUPC200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchGroceryProductsByUPC200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseIngredientsInner.scala deleted file mode 100644 index 5c6d9e33b..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseIngredientsInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param description - * @param name - * @param safetyUnderscorelevel - */ -case class SearchGroceryProductsByUPC200ResponseIngredientsInner(description: Option[String], - name: String, - safetyUnderscorelevel: Option[String] - ) - -object SearchGroceryProductsByUPC200ResponseIngredientsInner { - /** - * Creates the codec for converting SearchGroceryProductsByUPC200ResponseIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchGroceryProductsByUPC200ResponseIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchGroceryProductsByUPC200ResponseIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseNutrition.scala b/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseNutrition.scala deleted file mode 100644 index 4e324b607..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseNutrition.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionCaloricBreakdown -import org.openapitools.models.ParseIngredients200ResponseInnerNutritionNutrientsInner - -/** - * - * @param nutrients - * @param caloricBreakdown - */ -case class SearchGroceryProductsByUPC200ResponseNutrition(nutrients: Set[ParseIngredients200ResponseInnerNutritionNutrientsInner], - caloricBreakdown: ParseIngredients200ResponseInnerNutritionCaloricBreakdown - ) - -object SearchGroceryProductsByUPC200ResponseNutrition { - /** - * Creates the codec for converting SearchGroceryProductsByUPC200ResponseNutrition from and to JSON. - */ - implicit val decoder: Decoder[SearchGroceryProductsByUPC200ResponseNutrition] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchGroceryProductsByUPC200ResponseNutrition] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseServings.scala b/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseServings.scala deleted file mode 100644 index 5d88740e0..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchGroceryProductsByUPC200ResponseServings.scala +++ /dev/null @@ -1,27 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param number - * @param size - * @param unit - */ -case class SearchGroceryProductsByUPC200ResponseServings(number: BigDecimal, - size: BigDecimal, - unit: String - ) - -object SearchGroceryProductsByUPC200ResponseServings { - /** - * Creates the codec for converting SearchGroceryProductsByUPC200ResponseServings from and to JSON. - */ - implicit val decoder: Decoder[SearchGroceryProductsByUPC200ResponseServings] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchGroceryProductsByUPC200ResponseServings] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchMenuItems200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchMenuItems200Response.scala deleted file mode 100644 index 939db8047..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchMenuItems200Response.scala +++ /dev/null @@ -1,31 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchMenuItems200ResponseMenuItemsInner - -/** - * - * @param menuItems - * @param totalMenuItems - * @param _type - * @param offset - * @param number - */ -case class SearchMenuItems200Response(menuItems: Set[SearchMenuItems200ResponseMenuItemsInner], - totalMenuItems: Int, - _type: String, - offset: Int, - number: Int - ) - -object SearchMenuItems200Response { - /** - * Creates the codec for converting SearchMenuItems200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchMenuItems200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchMenuItems200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchMenuItems200ResponseMenuItemsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchMenuItems200ResponseMenuItemsInner.scala deleted file mode 100644 index 4326135d6..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchMenuItems200ResponseMenuItemsInner.scala +++ /dev/null @@ -1,33 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchGroceryProductsByUPC200ResponseServings - -/** - * - * @param id - * @param title - * @param restaurantChain - * @param image - * @param imageType - * @param servings - */ -case class SearchMenuItems200ResponseMenuItemsInner(id: Int, - title: String, - restaurantChain: String, - image: String, - imageType: String, - servings: Option[SearchGroceryProductsByUPC200ResponseServings] - ) - -object SearchMenuItems200ResponseMenuItemsInner { - /** - * Creates the codec for converting SearchMenuItems200ResponseMenuItemsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchMenuItems200ResponseMenuItemsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchMenuItems200ResponseMenuItemsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRecipes200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchRecipes200Response.scala deleted file mode 100644 index cab793126..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRecipes200Response.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchRecipes200ResponseResultsInner - -/** - * - * @param offset - * @param number - * @param results - * @param totalResults - */ -case class SearchRecipes200Response(offset: Int, - number: Int, - results: Set[SearchRecipes200ResponseResultsInner], - totalResults: Int - ) - -object SearchRecipes200Response { - /** - * Creates the codec for converting SearchRecipes200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchRecipes200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRecipes200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRecipes200ResponseResultsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchRecipes200ResponseResultsInner.scala deleted file mode 100644 index 422866c39..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRecipes200ResponseResultsInner.scala +++ /dev/null @@ -1,28 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param title - * @param image - * @param imageType - */ -case class SearchRecipes200ResponseResultsInner(id: Int, - title: String, - image: String, - imageType: String - ) - -object SearchRecipes200ResponseResultsInner { - /** - * Creates the codec for converting SearchRecipes200ResponseResultsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchRecipes200ResponseResultsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRecipes200ResponseResultsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInner.scala deleted file mode 100644 index f51bfa10f..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInner.scala +++ /dev/null @@ -1,43 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner -import scala.collection.immutable.Seq - -/** - * - * @param id - * @param image - * @param imageType - * @param likes - * @param missedIngredientCount - * @param missedIngredients - * @param title - * @param unusedIngredients - * @param usedIngredientCount - * @param usedIngredients - */ -case class SearchRecipesByIngredients200ResponseInner(id: Int, - image: String, - imageType: String, - likes: Int, - missedIngredientCount: Int, - missedIngredients: Set[SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner], - title: String, - unusedIngredients: Seq[Object], - usedIngredientCount: BigDecimal, - usedIngredients: Set[SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner] - ) - -object SearchRecipesByIngredients200ResponseInner { - /** - * Creates the codec for converting SearchRecipesByIngredients200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[SearchRecipesByIngredients200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRecipesByIngredients200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.scala deleted file mode 100644 index 7187524ab..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner.scala +++ /dev/null @@ -1,46 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import scala.collection.immutable.Seq - -/** - * - * @param aisle - * @param amount - * @param id - * @param image - * @param meta - * @param name - * @param extendedName - * @param original - * @param originalName - * @param unit - * @param unitLong - * @param unitShort - */ -case class SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner(aisle: String, - amount: BigDecimal, - id: Int, - image: String, - meta: Option[Seq[String]], - name: String, - extendedName: Option[String], - original: String, - originalName: String, - unit: String, - unitLong: String, - unitShort: String - ) - -object SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner { - /** - * Creates the codec for converting SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRecipesByIngredients200ResponseInnerMissedIngredientsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRecipesByNutrients200ResponseInner.scala b/scala/src/main/scala/org/openapitools/models/SearchRecipesByNutrients200ResponseInner.scala deleted file mode 100644 index 44949b7be..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRecipesByNutrients200ResponseInner.scala +++ /dev/null @@ -1,37 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param calories - * @param carbs - * @param fat - * @param id - * @param image - * @param imageType - * @param protein - * @param title - */ -case class SearchRecipesByNutrients200ResponseInner(calories: BigDecimal, - carbs: String, - fat: String, - id: Int, - image: String, - imageType: String, - protein: String, - title: String - ) - -object SearchRecipesByNutrients200ResponseInner { - /** - * Creates the codec for converting SearchRecipesByNutrients200ResponseInner from and to JSON. - */ - implicit val decoder: Decoder[SearchRecipesByNutrients200ResponseInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRecipesByNutrients200ResponseInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchRestaurants200Response.scala deleted file mode 100644 index 65502ae50..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200Response.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchRestaurants200ResponseRestaurantsInner -import scala.collection.immutable.Seq - -/** - * - * @param restaurants - */ -case class SearchRestaurants200Response(restaurants: Option[Seq[SearchRestaurants200ResponseRestaurantsInner]] - ) - -object SearchRestaurants200Response { - /** - * Creates the codec for converting SearchRestaurants200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchRestaurants200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRestaurants200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInner.scala deleted file mode 100644 index e55e20999..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInner.scala +++ /dev/null @@ -1,64 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal -import org.openapitools.models.SearchRestaurants200ResponseRestaurantsInnerAddress -import org.openapitools.models.SearchRestaurants200ResponseRestaurantsInnerLocalHours -import scala.collection.immutable.Seq - -/** - * - * @param Underscoreid - * @param name - * @param phoneUnderscorenumber - * @param address - * @param _type - * @param description - * @param localUnderscorehours - * @param cuisines - * @param foodUnderscorephotos - * @param logoUnderscorephotos - * @param storeUnderscorephotos - * @param dollarUnderscoresigns - * @param pickupUnderscoreenabled - * @param deliveryUnderscoreenabled - * @param isUnderscoreopen - * @param offersUnderscorefirstUnderscorepartyUnderscoredelivery - * @param offersUnderscorethirdUnderscorepartyUnderscoredelivery - * @param miles - * @param weightedUnderscoreratingUnderscorevalue - * @param aggregatedUnderscoreratingUnderscorecount - */ -case class SearchRestaurants200ResponseRestaurantsInner(Underscoreid: Option[String], - name: Option[String], - phoneUnderscorenumber: Option[Int], - address: Option[SearchRestaurants200ResponseRestaurantsInnerAddress], - _type: Option[String], - description: Option[String], - localUnderscorehours: Option[SearchRestaurants200ResponseRestaurantsInnerLocalHours], - cuisines: Option[Seq[String]], - foodUnderscorephotos: Option[Seq[String]], - logoUnderscorephotos: Option[Seq[String]], - storeUnderscorephotos: Option[Seq[String]], - dollarUnderscoresigns: Option[Int], - pickupUnderscoreenabled: Option[Boolean], - deliveryUnderscoreenabled: Option[Boolean], - isUnderscoreopen: Option[Boolean], - offersUnderscorefirstUnderscorepartyUnderscoredelivery: Option[Boolean], - offersUnderscorethirdUnderscorepartyUnderscoredelivery: Option[Boolean], - miles: Option[BigDecimal], - weightedUnderscoreratingUnderscorevalue: Option[BigDecimal], - aggregatedUnderscoreratingUnderscorecount: Option[Int] - ) - -object SearchRestaurants200ResponseRestaurantsInner { - /** - * Creates the codec for converting SearchRestaurants200ResponseRestaurantsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchRestaurants200ResponseRestaurantsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRestaurants200ResponseRestaurantsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerAddress.scala b/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerAddress.scala deleted file mode 100644 index 582f0ccf8..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerAddress.scala +++ /dev/null @@ -1,41 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.BigDecimal - -/** - * - * @param streetUnderscoreaddr - * @param city - * @param state - * @param zipcode - * @param country - * @param lat - * @param lon - * @param streetUnderscoreaddrUnderscore2 - * @param latitude - * @param longitude - */ -case class SearchRestaurants200ResponseRestaurantsInnerAddress(streetUnderscoreaddr: Option[String], - city: Option[String], - state: Option[String], - zipcode: Option[String], - country: Option[String], - lat: Option[BigDecimal], - lon: Option[BigDecimal], - streetUnderscoreaddrUnderscore2: Option[String], - latitude: Option[BigDecimal], - longitude: Option[BigDecimal] - ) - -object SearchRestaurants200ResponseRestaurantsInnerAddress { - /** - * Creates the codec for converting SearchRestaurants200ResponseRestaurantsInnerAddress from and to JSON. - */ - implicit val decoder: Decoder[SearchRestaurants200ResponseRestaurantsInnerAddress] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRestaurants200ResponseRestaurantsInnerAddress] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHours.scala b/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHours.scala deleted file mode 100644 index 78c6631a8..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHours.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational - -/** - * - * @param operational - * @param delivery - * @param pickup - * @param dineUnderscorein - */ -case class SearchRestaurants200ResponseRestaurantsInnerLocalHours(operational: Option[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational], - delivery: Option[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational], - pickup: Option[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational], - dineUnderscorein: Option[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational] - ) - -object SearchRestaurants200ResponseRestaurantsInnerLocalHours { - /** - * Creates the codec for converting SearchRestaurants200ResponseRestaurantsInnerLocalHours from and to JSON. - */ - implicit val decoder: Decoder[SearchRestaurants200ResponseRestaurantsInnerLocalHours] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRestaurants200ResponseRestaurantsInnerLocalHours] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.scala b/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.scala deleted file mode 100644 index c99a7c390..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational.scala +++ /dev/null @@ -1,34 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param Monday - * @param Tuesday - * @param Wednesday - * @param Thursday - * @param Friday - * @param Saturday - * @param Sunday - */ -case class SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational(Monday: Option[String], - Tuesday: Option[String], - Wednesday: Option[String], - Thursday: Option[String], - Friday: Option[String], - Saturday: Option[String], - Sunday: Option[String] - ) - -object SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational { - /** - * Creates the codec for converting SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational from and to JSON. - */ - implicit val decoder: Decoder[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchRestaurants200ResponseRestaurantsInnerLocalHoursOperational] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchSiteContent200Response.scala b/scala/src/main/scala/org/openapitools/models/SearchSiteContent200Response.scala deleted file mode 100644 index c0ca6fce8..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchSiteContent200Response.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchSiteContent200ResponseArticlesInner - -/** - * - * @param Articles - * @param Grocery Products - * @param Menu Items - * @param Recipes - */ -case class SearchSiteContent200Response(Articles: Set[SearchSiteContent200ResponseArticlesInner], - Grocery Products: Set[SearchSiteContent200ResponseArticlesInner], - Menu Items: Set[SearchSiteContent200ResponseArticlesInner], - Recipes: Set[SearchSiteContent200ResponseArticlesInner] - ) - -object SearchSiteContent200Response { - /** - * Creates the codec for converting SearchSiteContent200Response from and to JSON. - */ - implicit val decoder: Decoder[SearchSiteContent200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchSiteContent200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInner.scala b/scala/src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInner.scala deleted file mode 100644 index a49e195ad..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInner.scala +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.SearchSiteContent200ResponseArticlesInnerDataPointsInner - -/** - * - * @param dataPoints - * @param image - * @param link - * @param name - */ -case class SearchSiteContent200ResponseArticlesInner(dataPoints: Option[Set[SearchSiteContent200ResponseArticlesInnerDataPointsInner]], - image: String, - link: String, - name: String - ) - -object SearchSiteContent200ResponseArticlesInner { - /** - * Creates the codec for converting SearchSiteContent200ResponseArticlesInner from and to JSON. - */ - implicit val decoder: Decoder[SearchSiteContent200ResponseArticlesInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchSiteContent200ResponseArticlesInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInnerDataPointsInner.scala b/scala/src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInnerDataPointsInner.scala deleted file mode 100644 index 951a67e3a..000000000 --- a/scala/src/main/scala/org/openapitools/models/SearchSiteContent200ResponseArticlesInnerDataPointsInner.scala +++ /dev/null @@ -1,24 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param key - * @param value - */ -case class SearchSiteContent200ResponseArticlesInnerDataPointsInner(key: String, - value: String - ) - -object SearchSiteContent200ResponseArticlesInnerDataPointsInner { - /** - * Creates the codec for converting SearchSiteContent200ResponseArticlesInnerDataPointsInner from and to JSON. - */ - implicit val decoder: Decoder[SearchSiteContent200ResponseArticlesInnerDataPointsInner] = deriveDecoder - implicit val encoder: ObjectEncoder[SearchSiteContent200ResponseArticlesInnerDataPointsInner] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/SummarizeRecipe200Response.scala b/scala/src/main/scala/org/openapitools/models/SummarizeRecipe200Response.scala deleted file mode 100644 index d0c7f9fd5..000000000 --- a/scala/src/main/scala/org/openapitools/models/SummarizeRecipe200Response.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param id - * @param summary - * @param title - */ -case class SummarizeRecipe200Response(id: Int, - summary: String, - title: String - ) - -object SummarizeRecipe200Response { - /** - * Creates the codec for converting SummarizeRecipe200Response from and to JSON. - */ - implicit val decoder: Decoder[SummarizeRecipe200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[SummarizeRecipe200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/TalkToChatbot200Response.scala b/scala/src/main/scala/org/openapitools/models/TalkToChatbot200Response.scala deleted file mode 100644 index 09e2dfaf8..000000000 --- a/scala/src/main/scala/org/openapitools/models/TalkToChatbot200Response.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ -import org.openapitools.models.TalkToChatbot200ResponseMediaInner -import scala.collection.immutable.Seq - -/** - * - * @param answerText - * @param media - */ -case class TalkToChatbot200Response(answerText: String, - media: Seq[TalkToChatbot200ResponseMediaInner] - ) - -object TalkToChatbot200Response { - /** - * Creates the codec for converting TalkToChatbot200Response from and to JSON. - */ - implicit val decoder: Decoder[TalkToChatbot200Response] = deriveDecoder - implicit val encoder: ObjectEncoder[TalkToChatbot200Response] = deriveEncoder -} diff --git a/scala/src/main/scala/org/openapitools/models/TalkToChatbot200ResponseMediaInner.scala b/scala/src/main/scala/org/openapitools/models/TalkToChatbot200ResponseMediaInner.scala deleted file mode 100644 index e4f13c0e2..000000000 --- a/scala/src/main/scala/org/openapitools/models/TalkToChatbot200ResponseMediaInner.scala +++ /dev/null @@ -1,26 +0,0 @@ -package org.openapitools.models - -import io.circe._ -import io.finch.circe._ -import io.circe.generic.semiauto._ -import io.circe.java8.time._ -import spoonacular._ - -/** - * - * @param title - * @param image - * @param link - */ -case class TalkToChatbot200ResponseMediaInner(title: Option[String], - image: Option[String], - link: Option[String] - ) - -object TalkToChatbot200ResponseMediaInner { - /** - * Creates the codec for converting TalkToChatbot200ResponseMediaInner from and to JSON. - */ - implicit val decoder: Decoder[TalkToChatbot200ResponseMediaInner] = deriveDecoder - implicit val encoder: ObjectEncoder[TalkToChatbot200ResponseMediaInner] = deriveEncoder -} diff --git a/typescript/.openapi-generator/VERSION b/typescript/.openapi-generator/VERSION index 8b23b8d47..7e7b8b9bc 100644 --- a/typescript/.openapi-generator/VERSION +++ b/typescript/.openapi-generator/VERSION @@ -1 +1 @@ -7.3.0 \ No newline at end of file +7.7.0-SNAPSHOT diff --git a/zips/android-client.zip b/zips/android-client.zip index 790518d84..8bd492601 100644 Binary files a/zips/android-client.zip and b/zips/android-client.zip differ diff --git a/zips/angular-client.zip b/zips/angular-client.zip index 0b1840084..3bb0b20be 100644 Binary files a/zips/angular-client.zip and b/zips/angular-client.zip differ diff --git a/zips/clojure-client.zip b/zips/clojure-client.zip index 1e78afcfc..ba1308713 100644 Binary files a/zips/clojure-client.zip and b/zips/clojure-client.zip differ diff --git a/zips/cpp-client.zip b/zips/cpp-client.zip index 34c48bd07..4dcf3b4fe 100644 Binary files a/zips/cpp-client.zip and b/zips/cpp-client.zip differ diff --git a/zips/csharp-client.zip b/zips/csharp-client.zip index 0a01ae8f9..99c986c16 100644 Binary files a/zips/csharp-client.zip and b/zips/csharp-client.zip differ diff --git a/zips/dart-client.zip b/zips/dart-client.zip index ed477359c..56899dc1c 100644 Binary files a/zips/dart-client.zip and b/zips/dart-client.zip differ diff --git a/zips/elixir-client.zip b/zips/elixir-client.zip index 300e553c0..8f3f40feb 100644 Binary files a/zips/elixir-client.zip and b/zips/elixir-client.zip differ diff --git a/zips/elm-client.zip b/zips/elm-client.zip index 17eeec7db..189b95655 100644 Binary files a/zips/elm-client.zip and b/zips/elm-client.zip differ diff --git a/zips/erlang-client.zip b/zips/erlang-client.zip index a568e7f57..0f936d497 100644 Binary files a/zips/erlang-client.zip and b/zips/erlang-client.zip differ diff --git a/zips/go-client.zip b/zips/go-client.zip index 0ec83dc73..ae28dd985 100644 Binary files a/zips/go-client.zip and b/zips/go-client.zip differ diff --git a/zips/haskell-client.zip b/zips/haskell-client.zip index 1cbc77149..591e4eee8 100644 Binary files a/zips/haskell-client.zip and b/zips/haskell-client.zip differ diff --git a/zips/java-client.zip b/zips/java-client.zip index 8ed371a8b..1ae5dfdf8 100644 Binary files a/zips/java-client.zip and b/zips/java-client.zip differ diff --git a/zips/javascript-client.zip b/zips/javascript-client.zip index 1cef876a4..55ce0c737 100644 Binary files a/zips/javascript-client.zip and b/zips/javascript-client.zip differ diff --git a/zips/kotlin-client.zip b/zips/kotlin-client.zip index efabc6fa4..a95bbd90a 100644 Binary files a/zips/kotlin-client.zip and b/zips/kotlin-client.zip differ diff --git a/zips/lua-client.zip b/zips/lua-client.zip index 43805897a..9cfa91204 100644 Binary files a/zips/lua-client.zip and b/zips/lua-client.zip differ diff --git a/zips/perl-client.zip b/zips/perl-client.zip index 3716c2bc2..50469fa2b 100644 Binary files a/zips/perl-client.zip and b/zips/perl-client.zip differ diff --git a/zips/php-client.zip b/zips/php-client.zip index 103c99362..e5e28b10b 100644 Binary files a/zips/php-client.zip and b/zips/php-client.zip differ diff --git a/zips/python-client.zip b/zips/python-client.zip index aa34c399f..1b84c8b26 100644 Binary files a/zips/python-client.zip and b/zips/python-client.zip differ diff --git a/zips/ruby-client.zip b/zips/ruby-client.zip index 04851e69f..a399990db 100644 Binary files a/zips/ruby-client.zip and b/zips/ruby-client.zip differ diff --git a/zips/rust-client.zip b/zips/rust-client.zip index d0b205506..f4c0d9575 100644 Binary files a/zips/rust-client.zip and b/zips/rust-client.zip differ diff --git a/zips/typescript-client.zip b/zips/typescript-client.zip index 27a7b7bc5..3d6f3e2e0 100644 Binary files a/zips/typescript-client.zip and b/zips/typescript-client.zip differ