update deps (#1016)

This commit is contained in:
Jaumard
2018-09-12 08:31:25 +02:00
committed by William Cheng
parent f7c7a4e072
commit 95774bd518
7 changed files with 13 additions and 7 deletions

View File

@@ -41,3 +41,9 @@ java $JAVA_OPTS -jar $executable $ags
# The current petstore test will then work for both: the browser library and the vm library.
cd samples/client/petstore/dart-jaguar/openapi
pub get
pub run build_runner build --delete-conflicting-outputs
cd ../flutter_petstore/openapi
pub get
pub run build_runner build --delete-conflicting-outputs

View File

@@ -7,6 +7,6 @@ dependencies:
jaguar_retrofit: '^2.5.4'
jaguar_serializer: '^2.2.2'
dev_dependencies:
jaguar_retrofit_gen: '^2.5.1'
jaguar_retrofit_gen: '^2.5.2'
jaguar_serializer_cli: '^2.2.1'
build_runner: '^0.10.0'

View File

@@ -4,7 +4,7 @@ This is a sample server Petstore server. For this sample, you can use the api ke
This Dart package is automatically generated by the [Open API Codegen](https://github.com/OpenAPITools/openapi-generator) project:
- API version: 1.0.0
- Build date: 2018-09-10T20:17:32.515369+02:00[Europe/Paris]
- Build date: 2018-09-11T20:14:36.094083+02:00[Europe/Paris]
- Build package: org.openapitools.codegen.languages.DartJaguarClientCodegen
## Requirements

View File

@@ -32,14 +32,14 @@ final _defaultInterceptors = [OAuthInterceptor(), BasicAuthInterceptor(), ApiKey
class JaguarApiGen {
List<Interceptor> interceptors;
String baseSwaggerPath = "http://petstore.swagger.io/v2";
String basePath = "http://petstore.swagger.io/v2";
Route _baseRoute;
/**
* Add custom global interceptors, put overrideInterceptors to true to set your interceptors only (auth interceptors will not be added)
*/
JaguarApiGen({List<Interceptor> interceptors, bool overrideInterceptors = false, String baseUrl}) {
_baseRoute = Route(baseUrl ?? baseSwaggerPath).withClient(globalClient ?? IOClient());
_baseRoute = Route(baseUrl ?? basePath).withClient(globalClient ?? IOClient());
if(interceptors == null) {
this.interceptors = _defaultInterceptors;
}

View File

@@ -7,6 +7,6 @@ dependencies:
jaguar_retrofit: '^2.5.4'
jaguar_serializer: '^2.2.2'
dev_dependencies:
jaguar_retrofit_gen: '^2.5.1'
jaguar_retrofit_gen: '^2.5.2'
jaguar_serializer_cli: '^2.2.1'
build_runner: '^0.10.0'

View File

@@ -4,7 +4,7 @@ This is a sample server Petstore server. For this sample, you can use the api ke
This Dart package is automatically generated by the [Open API Codegen](https://github.com/OpenAPITools/openapi-generator) project:
- API version: 1.0.0
- Build date: 2018-09-10T20:17:28.677286+02:00[Europe/Paris]
- Build date: 2018-09-11T20:14:34.644821+02:00[Europe/Paris]
- Build package: org.openapitools.codegen.languages.DartJaguarClientCodegen
## Requirements

View File

@@ -7,6 +7,6 @@ dependencies:
jaguar_retrofit: '^2.5.4'
jaguar_serializer: '^2.2.2'
dev_dependencies:
jaguar_retrofit_gen: '^2.5.1'
jaguar_retrofit_gen: '^2.5.2'
jaguar_serializer_cli: '^2.2.1'
build_runner: '^0.10.0'