Skip to content

Commit

Permalink
0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yonaskolb committed May 16, 2017
1 parent 05f436d commit bd8f47c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [0.5.2] - 2017-05-16
### Changed
- Replaced `CustomDebugStringConvertible` with `PrettyPrinted` conformance on Models, so you can specify your own `CustomDebugStringConvertible`. Same string is available at `model.prettyPrinted`
- Moved generated request enums and anonymous schema from APIRequest.Request to one level higher in scope
- add SuccessType typealias to APIResponseValue. This lets you map from a response to successful value

## [0.5.1] - 2017-05-16
### Added
- A request's response now has a responseResult with either `.success(SuccessValue)` or `.failure(FailureValue)`. This is only generated if there is a single schema type for successes responses and a single schema type for failure responses
Expand All @@ -23,7 +29,8 @@
- Now provides a `CustomDebugStringConvertible` conformance that pretty prints all nested values

##### APIRequest
- Each `APIRequest` now has a typed `Response` enum that includes all it's responses in the spec. Each case has the decoded schema as an associated enum if specified
- Each Request now has a typed `Response` enum that includes all it's responses in the spec. Each case has the decoded schema as an associated enum if specified
- The actual APIRequest subclass now sits at `MyGetOperation.Request`

##### APIClient

Expand Down Expand Up @@ -90,6 +97,7 @@ Improved the generation of complicated specs:
## 0.1.0 - 2017-04-27
- First official release

[0.5.2]: https://github.com/yonaskolb/SwagGen/compare/0.5.1...0.5.2
[0.5.1]: https://github.com/yonaskolb/SwagGen/compare/0.5.0...0.5.1
[0.5.0]: https://github.com/yonaskolb/SwagGen/compare/0.4.1...0.5.0
[0.4.1]: https://github.com/yonaskolb/SwagGen/compare/0.4.0...0.4.1
Expand Down

0 comments on commit bd8f47c

Please sign in to comment.