Skip to content

Commit 4fac7e2

Browse files
committed
fixed issues with windows path
1 parent a99d277 commit 4fac7e2

File tree

15 files changed

+754
-669
lines changed

15 files changed

+754
-669
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: petstore_api
22
version: 1.0.0
33
description: OpenAPI API client
4-
authors:
5-
- Johnny depp <author@homepage>
6-
homepage: homepage
74
environment:
8-
sdk: '>=2.0.0 <3.0.0'
5+
sdk: ">=2.0.0 <3.0.0"
96
dependencies:
10-
http: '>=0.12.0 <0.13.0'
7+
jaguar_retrofit: ^2.8.8
8+
jaguar_serializer: ^2.2.12
119
dev_dependencies:
12-
test: ^1.3.0
10+
jaguar_retrofit_gen: ^2.8.10
11+
jaguar_serializer_cli: ^2.2.8
12+
build_runner: ^1.6.5

example/lib/openapi_config.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import 'package:openapi_generator_annotations/openapi_generator_annotations.dart
22

33
@Openapi(
44
additionalProperties:
5-
AdditionalProperties(pubName: 'petstore_api', pubAuthor: 'Johnny depp'),
5+
AdditionalProperties(pubName: 'petstore_api', pubAuthor: 'Johnn depp'),
66
inputSpecFile: 'spec/openapi-spec.yaml',
7-
generatorName: 'dart',
7+
generatorName: 'dart-jaguar',
88
alwaysRun: true,
99
outputDirectory: 'api/petstore_api')
1010
class OpenapiConfig extends OpenapiGeneratorConfig {

example/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ environment:
1919
dependencies:
2020
flutter:
2121
sdk: flutter
22-
openapi_generator_annotations: ^1.0.5
23-
petstore_api:
24-
path: api/petstore_api
25-
provider: ^4.0.4
22+
openapi_generator_annotations: ^1.0.8
23+
# petstore_api:
24+
# path: api/petstore_api
25+
provider: ^4.1.1
2626

2727

2828
# The following adds the Cupertino Icons font to your application.
2929
# Use with the CupertinoIcons class for iOS style icons.
30-
cupertino_icons: ^0.1.2
30+
cupertino_icons: ^0.1.3
3131

3232
dev_dependencies:
3333
flutter_test:
3434
sdk: flutter
35-
build_runner: ^1.7.4
35+
build_runner: ^1.9.0
3636
openapi_generator:
3737
path: ../openapi-generator/
3838

0 commit comments

Comments
 (0)