# Macro based networking framework with auto-generated services and mock services

**URL:** <https://forums.swift.org/t/macro-based-networking-framework-with-auto-generated-services-and-mock-services/71500>\
**Category:** Community Showcase\
**Tags:** macros, network, mock\
**Created:** [April 27, 2024, 2:32pm UTC](https://forums.swift.org/t/macro-based-networking-framework-with-auto-generated-services-and-mock-services/71500 "2024-04-27T14:32:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![neothXT](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/neothxt/32/30402_2.png) [@neothXT](https://forums.swift.org/u/neothXT)\
**Post date:** [April 27, 2024, 2:32pm UTC](https://forums.swift.org/t/macro-based-networking-framework-with-auto-generated-services-and-mock-services/71500/1 "2024-04-27T14:32:25Z")

</div>

Hi!

I'd like to let you know I've released Snowdrop v0.3.0. Most important features of this version (and Snowdrop in total) are:

- It's fully based on macros
- All you have to do is create a protocol declaring what methods your service should have and the implementation is generated automatically
- Though protocols don't allow func declarations with default values, Snowdrop has a workaround 😃
- Has built-in SSL/Certificate pinning
- Has ability to add interceptors to custom modify request/response
- Automatically decodes responses to a given type
- Has `@Mockable` macro that automatically generates mock of your service

I hope you'll like it. If you have any feedback or ideas on how to further improve Snowdrop, let me know 🙂

> **[GitHub - neothXT/Snowdrop: Networking made easy](https://github.com/neothXT/Snowdrop)**
>
> Networking made easy. Contribute to neothXT/Snowdrop development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![stackotter](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/stackotter/32/20670_2.png) [@stackotter](https://forums.swift.org/u/stackotter)\
**Post date:** [April 28, 2024, 1:48pm UTC](https://forums.swift.org/t/macro-based-networking-framework-with-auto-generated-services-and-mock-services/71500/2 "2024-04-28T13:48:43Z")

</div>

Awesome! I've always thought that something akin to Rust's [rocket](https://rocket.rs) framework would be nice to have in Swift now that we have macros too, and this seems like a great contender!
