Professional Documents
Culture Documents
Delivering Successful API Integrations With Documentation-Driven Development
Delivering Successful API Integrations With Documentation-Driven Development
integrations with
documentation-driven
development
•Jose Haro Peralta
•Full stack consultant
•Cofounder of microapis.io
@microapisio @JoseHaroPeralta
$ whoami
• I’m Jose
@microapisio @JoseHaroPeralta
microapis.io One-click API mock servers
@microapisio @JoseHaroPeralta
Connect with Jose
• Twitter: @JoseHaroPeralta
• GitHub: @abunuwas
• LinkedIn: https://www.linkedin.com/in/jose-haro-peralta/
@microapisio @JoseHaroPeralta
• Complexity of API integrations
@microapisio @JoseHaroPeralta
API integrations are tricky
• Lack of validation
Fundamental
No API survives first contact
law of API
with its client
integrations
What is API documentation?
• GitHub: https://github.com/apiaryio/dredd
Run Dredd tests with hooks
Running tests with Dredd
Validating the API server implementation with schemathesis
• GitHub: https://github.com/schemathesis/schemathesis
Run schemathesis tests with stateful links
Run schemathesis tests with stateful links
Building API clients against mock servers
• GitHub: https://github.com/stoplightio/prism
Running a mock server with prism
Running a mock server in the cloud
• Stoplight
• Postman
• MockLab
• microapis.io
Running a mock server in the cloud
Running a mock server with microapis.io
Calling a mock server with microapis.io
Configuration for the Travis file
Thanks for listening!
Twitter: @JoseHaroPeralta
GitHub: @abunuwas
35% discount code: TBD
Medium: @joseharoperalta /@python-geek
LinkedIn: https://www.linkedin.com/in/jose-haro-peralta/
Links
• Microservice APIs in Python by J Haro (mng.bz/nz48)
• Building and deploying reliable APIs with FastAPI by J Haro (
https://www.twitch.tv/videos/1088283640)
• Documentation-driven development for APIs by J Haro (
https://link.medium.com/m2A3rOxUfib)
• Developing API clients doesn’t need to be a pain by J Haro (
https://link.medium.com/0B9vt7DUfib)
• Design patterns for modern web APIs by D Luecke (
https://blog.feathersjs.com/design-patterns-for-modern-web-apis-1f046635215)
• The design of web APIs by A Lauret (
https://www.manning.com/books/the-design-of-web-apis)
• API Design Patterns by JJ Geewax (https://www.manning.com/books/api-design-patterns)