Skip to content

Commit

Permalink
Updates after run-all script execution
Browse files Browse the repository at this point in the history
  • Loading branch information
jburgess committed Apr 4, 2020
1 parent 56e450e commit 9bf07f8
Show file tree
Hide file tree
Showing 527 changed files with 6,847 additions and 9,507 deletions.
2 changes: 1 addition & 1 deletion samples/client/petstore/android/httpclient/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ captures/
# Intellij
*.iml

#Keystore files
# Keystore files
*.jks
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.3.1-SNAPSHOT
10 changes: 6 additions & 4 deletions samples/client/petstore/android/httpclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ At first generate the JAR by executing:

Then manually install the following JARs:

* target/openapi-android-client-1.0.0.jar
* target/lib/*.jar
- target/openapi-android-client-1.0.0.jar
- target/lib/*.jar

## Getting Started

Expand All @@ -64,9 +64,9 @@ public class PetApiExample {

public static void main(String[] args) {
PetApi apiInstance = new PetApi();
Pet pet = new Pet(); // Pet | Pet object that needs to be added to the store
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
try {
apiInstance.addPet(pet);
apiInstance.addPet(body);
} catch (ApiException e) {
System.err.println("Exception when calling PetApi#addPet");
e.printStackTrace();
Expand Down Expand Up @@ -120,11 +120,13 @@ Authentication schemes defined for the API:
### api_key

- **Type**: API key

- **API key parameter name**: api_key
- **Location**: HTTP header

### petstore_auth


- **Type**: OAuth
- **Flow**: implicit
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
Expand Down
25 changes: 15 additions & 10 deletions samples/client/petstore/android/httpclient/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project.version = '1.0.0'

buildscript {
repositories {
mavenCentral()
maven { url "https://repo1.maven.org/maven2" }
jcenter()
}
dependencies {
Expand All @@ -25,7 +25,6 @@ apply plugin: 'com.github.dcendents.android-maven'
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
useLibrary 'org.apache.http.legacy'
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
Expand All @@ -45,29 +44,35 @@ android {
}
}
}

testOptions {
unitTests.returnDefaultValues = true
}
}


ext {
swagger_annotations_version = "1.5.0"
gson_version = "2.3.1"
httpclient_version = "4.5.2"
httpmime_version = "4.5.2"
httpcore_version = "4.4.4"
httpclient_version = "4.3.3"
volley_version = "1.0.0"
junit_version = "4.13"
robolectric_version = "3.0"
concurrent_unit_version = "0.4.2"
}

dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.gson:gson:$gson_version"
compile "org.apache.httpcomponents:httpcore:$httpcore_version"
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
compile ("org.apache.httpcomponents:httpcore:$httpcore_version") {
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
}
compile ("org.apache.httpcomponents:httpmime:$httpclient_version") {
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
}
compile "org.apache.httpcomponents:httpmime:$httpmime_version"
compile "org.apache.httpcomponents:httpclient-android:$httpclient_version"
compile "com.android.volley:volley:${volley_version}"
testCompile "junit:junit:$junit_version"
testCompile "org.robolectric:robolectric:${robolectric_version}"
testCompile "net.jodah:concurrentunit:${concurrent_unit_version}"
}

afterEvaluate {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@


# ApiResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**code** | **Integer** | | [optional]
Expand All @@ -10,3 +12,4 @@ Name | Type | Description | Notes




3 changes: 3 additions & 0 deletions samples/client/petstore/android/httpclient/docs/Category.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@


# Category

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Long** | | [optional]
**name** | **String** | | [optional]




5 changes: 4 additions & 1 deletion samples/client/petstore/android/httpclient/docs/Order.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@


# Order

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Long** | | [optional]
Expand All @@ -12,10 +14,11 @@ Name | Type | Description | Notes
**complete** | **Boolean** | | [optional]


<a name="StatusEnum"></a>
## Enum: StatusEnum

Name | Value
---- | -----




5 changes: 4 additions & 1 deletion samples/client/petstore/android/httpclient/docs/Pet.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@


# Pet

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Long** | | [optional]
Expand All @@ -12,10 +14,11 @@ Name | Type | Description | Notes
**status** | [**StatusEnum**](#StatusEnum) | pet status in the store | [optional]


<a name="StatusEnum"></a>
## Enum: StatusEnum

Name | Value
---- | -----




Loading

0 comments on commit 9bf07f8

Please sign in to comment.