Skip to content

Commit

Permalink
following recommendation of deleting outdated generators
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsky committed Jun 25, 2024
1 parent 22eae07 commit 3564390
Show file tree
Hide file tree
Showing 3,543 changed files with 20,246 additions and 60,760 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion android/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.7.0-SNAPSHOT
6 changes: 3 additions & 3 deletions android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.spoonacular</groupId>
<artifactId>android-client</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'com.spoonacular'
project.version = '1.1.1'
project.version = '1.1.2'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.spoonacular</groupId>
<artifactId>android-client</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Authentication>();
Expand Down
2 changes: 1 addition & 1 deletion angular/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.7.0-SNAPSHOT
5 changes: 3 additions & 2 deletions angular/api/default.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/ingredients.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/mealPlanning.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/menuItems.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/misc.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/products.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/recipes.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
5 changes: 3 additions & 2 deletions angular/api/wine.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
13 changes: 2 additions & 11 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -43,16 +40,13 @@ 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
java -jar $GEN generate -i $SPEC -g rust --artifact-version $VERSION --additional-properties "packageVersion=${VERSION},project-name=spoonacular,packageName=spoonacular" --git-repo-id=spoonacular-api-clients/tree/master/rust/ --git-user-id=ddsky --artifact-id rust-client -o rust --name-mappings _=underscore
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
Expand All @@ -69,16 +63,13 @@ 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\*
.\7za.exe a -tzip .\zips\rust-client.zip .\rust\*
.\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\*
Expand Down
2 changes: 1 addition & 1 deletion clojure/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.7.0-SNAPSHOT
2 changes: 1 addition & 1 deletion cpp/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.7.0-SNAPSHOT
1 change: 1 addition & 0 deletions cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading

0 comments on commit 3564390

Please sign in to comment.