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