Skip to content

Commit aaa68cb

Browse files
committed
updated libs, authentication in header
1 parent a5dc4b9 commit aaa68cb

File tree

13,177 files changed

+807012
-513215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,177 files changed

+807012
-513215
lines changed

android/.gitignore

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Built application files
2+
*.apk
3+
*.ap_
4+
5+
# Files for the Dalvik VM
6+
*.dex
7+
8+
# Java class files
9+
*.class
10+
11+
# Generated files
12+
bin/
13+
gen/
14+
out/
15+
16+
# Gradle files
17+
.gradle/
18+
build/
19+
20+
# Local configuration file (sdk path, etc)
21+
local.properties
22+
23+
# Proguard folder generated by Eclipse
24+
proguard/
25+
26+
# Log Files
27+
*.log
28+
29+
# Android Studio Navigation editor temp files
30+
.navigation/
31+
32+
# Android Studio captures folder
33+
captures/
34+
35+
# Intellij
36+
*.iml
37+
38+
# Keystore files
39+
*.jks

android/.openapi-generator-ignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

android/.openapi-generator/FILES

+341
Large diffs are not rendered by default.

android/.openapi-generator/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.0.1

android/README.md

+160-141
Large diffs are not rendered by default.

android/build.gradle

+37-31
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
group = 'com.spoonacular'
2-
project.version = '1.0'
2+
project.version = '1.1'
33

44
buildscript {
55
repositories {
6-
mavenCentral()
6+
mavenLocal()
7+
google()
8+
maven {
9+
url 'https://dl.google.com/dl/android/maven2'
10+
}
711
jcenter()
812
}
913
dependencies {
10-
classpath 'com.android.tools.build:gradle:2.3.+'
14+
classpath 'com.android.tools.build:gradle:3.2.+'
1115
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1216
}
1317
}
1418

1519
allprojects {
1620
repositories {
21+
google()
1722
jcenter()
1823
}
1924
}
@@ -23,51 +28,52 @@ apply plugin: 'com.android.library'
2328
apply plugin: 'com.github.dcendents.android-maven'
2429

2530
android {
26-
compileSdkVersion 25
27-
buildToolsVersion '25.0.2'
28-
useLibrary 'org.apache.http.legacy'
31+
compileSdkVersion 26
32+
buildToolsVersion '28.0.3'
2933
defaultConfig {
3034
minSdkVersion 14
31-
targetSdkVersion 25
35+
targetSdkVersion 26
3236
}
3337
compileOptions {
34-
sourceCompatibility JavaVersion.VERSION_1_7
35-
targetCompatibility JavaVersion.VERSION_1_7
38+
sourceCompatibility JavaVersion.VERSION_1_8
39+
targetCompatibility JavaVersion.VERSION_1_8
40+
}
41+
lintOptions {
42+
abortOnError false
3643
}
3744

3845
// Rename the aar correctly
3946
libraryVariants.all { variant ->
40-
variant.outputs.each { output ->
41-
def outputFile = output.outputFile
42-
if (outputFile != null && outputFile.name.endsWith('.aar')) {
43-
def fileName = "${project.name}-${variant.baseName}-${version}.aar"
44-
output.outputFile = new File(outputFile.parent, fileName)
47+
variant.outputs.all { output ->
48+
if (outputFile != null && outputFileName.endsWith('.aar')) {
49+
outputFileName = "${archivesBaseName}-${version}.aar"
4550
}
4651
}
4752
}
48-
}
4953

54+
testOptions {
55+
unitTests.returnDefaultValues = true
56+
}
57+
}
5058

5159
ext {
52-
swagger_annotations_version = "1.5.0"
53-
gson_version = "2.3.1"
54-
httpclient_version = "4.5.2"
55-
httpcore_version = "4.4.4"
56-
junit_version = "4.12"
60+
swagger_annotations_version = "1.6.6"
61+
gson_version = "2.8.9"
62+
httpmime_version = "4.5.13"
63+
volley_version = "1.2.1"
64+
junit_version = "4.13.2"
65+
robolectric_version = "4.5.1"
66+
concurrent_unit_version = "0.4.6"
5767
}
5868

5969
dependencies {
60-
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
61-
compile "com.google.code.gson:gson:$gson_version"
62-
compile "org.apache.httpcomponents:httpcore:$httpcore_version"
63-
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
64-
compile ("org.apache.httpcomponents:httpcore:$httpcore_version") {
65-
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
66-
}
67-
compile ("org.apache.httpcomponents:httpmime:$httpclient_version") {
68-
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
69-
}
70-
testCompile "junit:junit:$junit_version"
70+
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
71+
implementation "com.google.code.gson:gson:$gson_version"
72+
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
73+
implementation "com.android.volley:volley:${volley_version}"
74+
testImplementation "junit:junit:$junit_version"
75+
testImplementation "org.robolectric:robolectric:${robolectric_version}"
76+
testImplementation "net.jodah:concurrentunit:${concurrent_unit_version}"
7177
}
7278

7379
afterEvaluate {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# AddMealPlanTemplate200Response
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**name** | **String** | |
10+
**items** | [**Set<AddMealPlanTemplate200ResponseItemsInner>**](AddMealPlanTemplate200ResponseItemsInner.md) | |
11+
**publishAsPublic** | **Boolean** | |
12+
13+
14+
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# AddMealPlanTemplate200ResponseItemsInner
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**day** | **Integer** | |
10+
**slot** | **Integer** | |
11+
**position** | **Integer** | |
12+
**type** | **String** | |
13+
**value** | [**AddMealPlanTemplate200ResponseItemsInnerValue**](AddMealPlanTemplate200ResponseItemsInnerValue.md) | | [optional]
14+
15+
16+
17+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# AddMealPlanTemplate200ResponseItemsInnerValue
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**id** | **Integer** | | [optional]
10+
**servings** | [**BigDecimal**](BigDecimal.md) | | [optional]
11+
**title** | **String** | | [optional]
12+
**imageType** | **String** | | [optional]
13+
14+
15+
16+

android/docs/AddToMealPlanRequest.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# AddToMealPlanRequest
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**username** | **String** | The username. |
10+
**hash** | **String** | The private hash for the username. |
11+
12+
13+
14+

android/docs/AddToMealPlanRequest1.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# AddToMealPlanRequest1
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**date** | [**BigDecimal**](BigDecimal.md) | |
10+
**slot** | **Integer** | |
11+
**position** | **Integer** | |
12+
**type** | **String** | |
13+
**value** | [**AddToMealPlanRequest1Value**](AddToMealPlanRequest1Value.md) | |
14+
15+
16+
17+
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AddToMealPlanRequest1Value
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**ingredients** | [**Set<AddToMealPlanRequest1ValueIngredientsInner>**](AddToMealPlanRequest1ValueIngredientsInner.md) | |
10+
11+
12+
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AddToMealPlanRequest1ValueIngredientsInner
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**name** | **String** | |
10+
11+
12+
13+
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# AddToShoppingListRequest
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**item** | **String** | |
10+
**aisle** | **String** | |
11+
**parse** | **Boolean** | |
12+
13+
14+
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# AnalyzeARecipeSearchQuery200Response
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**dishes** | [**Set<AnalyzeARecipeSearchQuery200ResponseDishesInner>**](AnalyzeARecipeSearchQuery200ResponseDishesInner.md) | |
10+
**ingredients** | [**Set<AnalyzeARecipeSearchQuery200ResponseIngredientsInner>**](AnalyzeARecipeSearchQuery200ResponseIngredientsInner.md) | |
11+
**cuisines** | **List<String>** | |
12+
**modifiers** | **List<String>** | |
13+
14+
15+
16+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# AnalyzeARecipeSearchQuery200ResponseDishesInner
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**image** | **String** | |
10+
**name** | **String** | |
11+
12+
13+
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# AnalyzeARecipeSearchQuery200ResponseIngredientsInner
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**image** | **String** | |
10+
**include** | **Boolean** | |
11+
**name** | **String** | |
12+
13+
14+
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# AnalyzeRecipeInstructions200Response
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**parsedInstructions** | [**Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInner.md) | |
10+
**ingredients** | [**Set<AnalyzeRecipeInstructions200ResponseIngredientsInner>**](AnalyzeRecipeInstructions200ResponseIngredientsInner.md) | |
11+
**equipment** | [**Set<AnalyzeRecipeInstructions200ResponseIngredientsInner>**](AnalyzeRecipeInstructions200ResponseIngredientsInner.md) | |
12+
13+
14+
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# AnalyzeRecipeInstructions200ResponseIngredientsInner
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**id** | [**BigDecimal**](BigDecimal.md) | |
10+
**name** | **String** | |
11+
12+
13+
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# AnalyzeRecipeInstructions200ResponseParsedInstructionsInner
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**name** | **String** | |
10+
**steps** | [**Set<AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner>**](AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerStepsInner.md) | | [optional]
11+
12+
13+
14+

0 commit comments

Comments
 (0)