Get Updates By E-mail 

Article Written By:
Johann Dowa

Kakapo – Open Source Swift Library For Dynamically Mocking Server Responses

  • 10
  • 1
  •  
  •  
  •  

Kakapo is an open source Swift based library allowing you to mock server behaviors and responses from Devlucky.

Kakapo allows for dynamic mocking library with an extensive feature set for replicating backend apis and logic. Kakapo gives complete control and does not rely on recorded requests. JSONAPI is fully supported.

This code snippet shows how one could create a set of dynamic responses using a database with Kakapo:

let db = KakapoDB()
db.create(User.self, number: 20)

router.get("/users") { request in
  return db.findAll(User.self)
}

You can find Kakapo on Github here.

A great library for mocking server responses.


  • 10
  • 1
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments