Skip to content

Instantly share code, notes, and snippets.

@IsaAliev
Created February 23, 2018 19:11
Show Gist options
  • Save IsaAliev/ebc87492158a06ccc1ded75970008a4e to your computer and use it in GitHub Desktop.
Save IsaAliev/ebc87492158a06ccc1ded75970008a4e to your computer and use it in GitHub Desktop.
protocol APIBuilder {
associatedtype ResultType: Decodable
func buildAPI(for request: HTTPRequestRepresentable,
decodingProcessor: ModelDecodingProcessor<ResultType>?,
nestedModelGetter: NestedModelGetter?) -> BaseService<ResultType>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment