Skip to content

Commit bd293f3

Browse files
committed
released v3.1.3
1 parent 5b6c0ef commit bd293f3

File tree

10 files changed

+38
-12
lines changed

10 files changed

+38
-12
lines changed

openapi-generator-annotations/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 3.1.3
2+
- Bumped dart-ogurets (_dioAlt_) generator to 5.3 with [changes](https://github.com/dart-ogurets/dart-openapi-maven#changelog)
3+
- Bumped official openapi generator to 5.1.1. See [change log](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.1.1)
4+
5+
## 3.1.2
6+
**NEW DART GENERATOR::**
7+
A new dart generator has been added (_dioNext_). However, be careful because its **xperimental** and might be removed, renamed in the future or it might not even work well. You can read more about it here https://github.com/OpenAPITools/openapi-generator/pull/8869
8+
19
## 3.1.0
210
- **BREAKING CHANGES**
311
- Bumped dart-ogurets (_dioAlt_) generator to 5.0 with [breaking changes](https://github.com/dart-ogurets/dart-openapi-maven#changelog)

openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,11 @@ enum Generator {
264264
/// You can read more about it here https://github.com/dart-ogurets/dart-openapi-maven
265265
dioAlt,
266266

267+
/// This uses the next gen dio generator. This is experimental and use at your own risk. It might be removed or renamed in the future
268+
///
269+
/// You can read more about it here https://github.com/OpenAPITools/openapi-generator/pull/8869
270+
dioNext,
271+
267272
/// This generates code based on the jaguar package Source gen is required
268273
/// after generating code with this generator
269274
/// corresponds to dart-jaguar

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: 3.1.0
3+
version: 3.1.3
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+
## 3.1.3
2+
- Bumped dart-ogurets (_dioAlt_) generator to 5.3 with [changes](https://github.com/dart-ogurets/dart-openapi-maven#changelog)
3+
- Bumped official openapi generator to 5.1.1. See [change log](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.1.1)
4+
15
## 3.1.0
26
- **BREAKING CHANGES**
37
- Bumped dart-ogurets (_dioAlt_) generator to 5.0 with [breaking changes](https://github.com/dart-ogurets/dart-openapi-maven#changelog)
39.6 KB
Binary file not shown.

openapi-generator-cli/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
<dependency>
4848
<groupId>org.openapitools</groupId>
4949
<artifactId>openapi-generator-cli</artifactId>
50-
<version>5.1.0</version>
50+
<version>5.1.1</version>
5151
</dependency>
5252

5353
<dependency>
5454
<groupId>com.bluetrainsoftware.maven</groupId>
5555
<artifactId>openapi-dart-generator</artifactId>
56-
<version>5.0</version>
56+
<version>5.3</version>
5757
</dependency>
5858
</dependencies>
5959
</project>

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: 3.1.0
3+
version: 3.1.3
44
homepage: https://github.com/gibahjoe/openapi-generator-dart
55

66
environment:

openapi-generator/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 3.1.3
2+
- Bumped dart-ogurets (_dioAlt_) generator to 5.3 with [changes](https://github.com/dart-ogurets/dart-openapi-maven#changelog)
3+
- Bumped official openapi generator to 5.1.1. See [change log](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.1.1)
4+
5+
## 3.1.2
6+
**NEW DART GENERATOR::**
7+
A new dart generator has been added (_dioNext_). However, be careful because its **xperimental** and might be removed, renamed in the future or it might not even work well. You can read more about it here https://github.com/OpenAPITools/openapi-generator/pull/8869
8+
19
## 3.1.1-2
210
- **BREAKING CHANGES**
311
- Bumped dart-ogurets (_dioAlt_) generator to 5.0 with [breaking changes](https://github.com/dart-ogurets/dart-openapi-maven#changelog)

openapi-generator/lib/src/openapi_generator_runner.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
126126
'OpenapiGenerator :: skipping source gen because generator does not need it ::');
127127
break;
128128
case annots.Generator.dio:
129+
case annots.Generator.dioNext:
129130
case annots.Generator.jaguar:
130131
case annots.Generator.dioAlt:
131132
try {
@@ -209,6 +210,9 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
209210
case annots.Generator.dio:
210211
genName = 'dart-dio';
211212
break;
213+
case annots.Generator.dioNext:
214+
genName = 'dart-dio-next';
215+
break;
212216
case annots.Generator.dioAlt:
213217
genName = 'dart2-api';
214218
break;

openapi-generator/pubspec.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
name: openapi_generator
22
description: Generator for openapi client sdk inspired by the npm implementation of openapi-generator-cli.
3-
version: 3.1.1-2
3+
version: 3.1.3
44
homepage: https://github.com/gibahjoe/openapi-generator-dart
55

66
environment:
77
sdk: '>=2.12.0 <3.0.0'
88

99
dependencies:
10-
build: '>=0.12.6 <=2.0.0'
10+
build: '>=0.12.6 <=2.0.1'
1111
source_gen: ^1.0.0
1212
path: ^1.8.0
13-
openapi_generator_annotations: ^3.1.0
14-
analyzer: ^1.3.0
15-
openapi_generator_cli: ^3.1.0
13+
openapi_generator_annotations: ^3.1.3
14+
analyzer: '>=1.4.0 <=1.5.0'
15+
openapi_generator_cli: ^3.1.3
1616

1717
dev_dependencies:
1818
pedantic: ^1.11.0
19-
# build_config: ^0.4.5
20-
# build_runner:
21-
# test: ^1.15.7

0 commit comments

Comments
 (0)