forked from loafle/openapi-generator-original
update deps (#1016)
This commit is contained in:
@@ -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
|
||||
@@ -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'
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user