Relax
Relax copied to clipboard
Declaratively build and send client requests for REST APIs in Swift.
Typo - `appendTraillingSlashToPath` should be `appendTrailingSlashToPath`. Deprecates old property and adds correctly named one.
- Add a new `Response` protocol to represent a Codable response for a request. - Add convenience methods to `URLMock` to mock a `Response` for a corresponding `Endpoint`
Add documentation and example usage on the new `@Endpoint` macro ( #34 ) . Additionally, document the renaming of the existing `Endpoint` protocol to `APIEndpoint`.
Add documentation for new `@RestAPI` macro ( #35 ). Also document the deprecation of the `Service` typealias.