Skip to content

Commit

Permalink
Updates for v0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
walsha2 committed Jul 17, 2023
1 parent 77feee3 commit ce6c45d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.3

* Ensure client exception returns object

## 0.4.2

* Allow custom headers to server exception response
Expand Down
6 changes: 3 additions & 3 deletions lib/src/generators/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ class $clientName {
method: method,
message: 'Could not encode: \${body.runtimeType}',
body: e,
).toString();
);
}
}
Expand All @@ -330,7 +330,7 @@ class $clientName {
method: method,
message: 'Response error',
body: e,
).toString();
);
}
// Check for successful response
Expand All @@ -345,7 +345,7 @@ class $clientName {
message: 'Unsuccessful response',
code: response.statusCode,
body: response.body,
).toString();
);
}\n
""");

Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: openapi_spec
description: OpenAPI Specification generator using native Dart code, as well as an all-in-one parser of existing specifications.
version: 0.4.2
version: 0.4.3
maintainer: Taza Technology LLC
repository: https://github.com/tazatechnology/openapi_spec
issue_tracker: https://github.com/tazatechnology/openapi_spec/issues
Expand All @@ -12,7 +12,7 @@ environment:

dependencies:
collection: ^1.17.2
freezed_annotation: ^2.2.0
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1
yaml: ^3.1.2
path: ^1.8.3
Expand All @@ -25,6 +25,6 @@ dependencies:
dev_dependencies:
build_runner: ^2.4.6
lints: ^2.1.1
freezed: ^2.3.4
json_serializable: ^6.7.0
freezed: ^2.4.1
json_serializable: ^6.7.1
test: ^1.24.4

0 comments on commit ce6c45d

Please sign in to comment.