Skip to content

Commit 78df61d

Browse files
committed
updated to 5.0.0
1 parent 8c9c9ac commit 78df61d

File tree

10 files changed

+28
-12
lines changed

10 files changed

+28
-12
lines changed

example/lib/generated/i18n.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ class GeneratedLocalizationsDelegate extends LocalizationsDelegate<S> {
123123
}
124124
}
125125

126-
String getLang(Locale l) =>
127-
l == null
128-
? null
129-
: l.countryCode != null && l.countryCode.isEmpty
126+
String getLang(Locale l) => l == null
127+
? null
128+
: l.countryCode != null && l.countryCode.isEmpty
130129
? l.languageCode
131130
: l.toString();

openapi-generator-annotations/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0
2+
3+
- Bumped generator version to 5.0.0. This has some breaking changes. [Click here](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.0.0) to view changes
4+
15
## 1.1.4
26

37
- Updated dart_2 api to version 3.10

openapi-generator-annotations/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: openapi_generator_annotations
22
description: Annotation package for openapi_generator https://pub.dev/packages/openapi_generator.
3-
version: 1.1.4
3+
version: 2.0.0
44
homepage: https://github.com/gibahjoe/openapi-generator-dart
55

66

openapi-generator-cli/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0
2+
3+
- Bumped generator version to 5.0.0. This has some breaking changes. [Click here](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.0.0) to view changes
4+
15
## 1.1.4
26

37
- Updated dart_2 api to version 3.10

openapi-generator-cli/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,23 @@ Please see [OpenAPITools/openapi-generator](https://github.com/OpenAPITools/open
1010

1111
## Usage
1212

13+
### CLI
1314
Run
1415

1516
```cmd
1617
pub global activate openapi_generator_cli
1718
```
1819
Then you can run the generator using the command below.
1920
```cmd
20-
openapi-generator <command>
21+
openapi-generator generate -i http://127.0.0.1:8111/v3/api-docs -g dart
2122
```
2223

2324
See [OpenAPITools/openapi-generator](https://github.com/OpenAPITools/openapi-generator) for more commands
2425

26+
### Dart/Flutter
27+
28+
You can use this package also using the openapi-generator dart plugin that helps you configure the appropriate commands. You can find it [here](https://pub.dev/packages/openapi_generator)
29+
2530
## Features and bugs
2631

2732
Please file feature requests and bugs at the [issue tracker][tracker].
119 KB
Binary file not shown.

openapi-generator-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<dependency>
4848
<groupId>org.openapitools</groupId>
4949
<artifactId>openapi-generator-cli</artifactId>
50-
<version>4.3.1</version>
50+
<version>5.0.0</version>
5151
</dependency>
5252

5353
<dependency>

openapi-generator-cli/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: openapi_generator_cli
22
description: A dart wrapper around openapi-generator inspired by the node implementation.
3-
version: 1.1.4
3+
version: 2.0.0
44
homepage: https://github.com/gibahjoe/openapi-generator-dart
55

66
environment:

openapi-generator/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0
2+
3+
- Bumped generator version to 5.0.0. This has some breaking changes. [Click here](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.0.0) to view changes
4+
15
## 1.1.4
26

37
- Updated dart_2 api to version 3.10

openapi-generator/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: openapi_generator
22
description: Generator for openapi client sdk inspired by the npm impplementation of openapi-generator-cli.
3-
version: 1.1.4
3+
version: 2.0.0
44
homepage: https://github.com/gibahjoe/openapi-generator-dart
55

66
environment:
@@ -10,9 +10,9 @@ dependencies:
1010
build: '>=1.3.0 <=1.10.3'
1111
source_gen: ^0.9.10+1
1212
path: ^1.7.0
13-
openapi_generator_annotations: ^1.1.4
14-
analyzer: ^0.41.1
15-
openapi_generator_cli: ^1.1.4
13+
openapi_generator_annotations: ^2.0.0
14+
analyzer: '>=0.40.0 <=0.41.1'
15+
openapi_generator_cli: ^2.0.0
1616

1717
dev_dependencies:
1818
pedantic: ^1.9.2

0 commit comments

Comments
 (0)