SlideShare a Scribd company logo
© 2018 Capgemini. All rights reserved.1© 2018 Capgemini. All rights reserved.
API Design for Microservices with Apiary
Luis Weir
Chief Architect – PaaS @ Capgemini
@luisw19
© 2018 Capgemini. All rights reserved.2
© 2018 Capgemini. All rights reserved.3
About me
Luis Weir
Chief Architect at Capgemini UK
Ace Director & Developer Champion
luis.weir@capgemini.com
uk.linkedin.com/in/lweir
@luisw19
http://www.soa4u.co.uk
apiplatform.cloud/
Goes to Print Q2 2018
tinyurl.com/eapim18
Goes to Print Q3 2018
API
Thought Leadership
Award
PaaS Community
Split, April, 2018
Best New UK Speaker
Birmingham, Dec, 2016
Cloud
Contribution Award
PaaS Community
Valencia, March, 2016
API
Thought Leadership
Award
PaaS Community
March, 2018
• The 7 Deadly Sins of API Design
• Setting the vision, strategy and direction — the CTO’s role
• How can you design, deploy and manage your APIs?
• The Spotify's Engineering Culture. My interpretation and summary
• A comparison of API Gateways communication styles
• Is BPM Dead, Long Live Microservices?
• Five Minutes with Luis Weir
• 2nd vs 3rd Generation API Platforms - A Comprehensive
Comparison
• Podcast: Are Microservices and APIs Becoming SOA 2.0?
• 3rd-Generation API Management: From Proxies to Micro-Gateways
• Oracle API Platform Cloud Service Overview
Latest articles:
© 2018 Capgemini. All rights reserved.4 © 2018 Capgemini. All rights reserved.4
Agenda
APIs & API Economy1
Case Study 12
Case Study 23
© 2018 Capgemini. All rights reserved.5
Application Programming Interfaces (APIs) are doors to
information and functionality.
They are an organisation’s main entrance to digital services and
offerings
© 2018 Capgemini. All rights reserved.6
But even doors can be poorly designed…
© 2018 Capgemini. All rights reserved.7 7
API-design first to the rescue!
© 2018 Capgemini. All rights reserved.8
API-design first
Feedback
Design Build &
Validate
Package
& Deploy
Try Continuous
Test
Feedback
RunAnalyse
Feedback
© 2018 Capgemini. All rights reserved.9 9© 2018 Capgemini. All rights reserved.
Design
• API Blueprint (APIB)
• Open API Spec (OAS)
• Team compliance checks
(ootb and custom)
• Templating
• Collaborative
• GitHub sync
• Rich CLI
Mock Validate
CapabilitiesWhy Apiary?
• Auto-generates mocks
• Client code generation in
multiple langs
• Runtime agnostic. Pre-
integrated with Oracle API
Platform but can be used
against any runtime
• Templating
• Language agnostic
REST API validation
tool
• APIB and OAS support
• Open source
Design Try Build &
Validate
© 2018 Capgemini. All rights reserved.10
The demo (https://github.com/luisw19/aptd_2018)
Feedback
Design Build &
Validate
Package & DeployTry Continuous Test
01
• Create API Blueprint/OAS
in Apiary
• Use Apiary Mock endpoints
to publish an API through
the Oracle API platform
• API docs and mock
endpoints available in the
Dev Portal
• JET designers/developers
try the API and give
feedback
• Build backend service
using tech of choice
• Apply Dredd to validate
endpoints against spec
02 03 04
• Stablish a CICD pipeline
for continuously and
consistently packaging
and deploying releases,
e.g. using Wercker
• Set up functional
regression testing (e.g.
using API Fortress or
Postman)
• Continuously validate
endpoints using Dredd
05
© 2018 Capgemini. All rights reserved.11
Benefits of API-design first
Avoid rework: feedback early in the
cycle
By getting feedback very early in the
lifecycle, changes of rework late in the
cycle are slim. Saving time and cost.
1
Parallel development: Decouple App
dev from Service dev
By defining APIs with API Blueprints or
Swagger, app dev and service dev can
occur in parallel.
Up-to-date API documentation
The API is only as good as it
documentation. Continuous validation
using Dredd add enormous value.
3
2
© 2018 Capgemini. All rights reserved.12
With more than 190,000 people, Capgemini is present in over 40 countries and
celebrates its 50th Anniversary year in 2018. A global leader in consulting, technology
and outsourcing services, the Group reported 2016 global revenues of EUR 12.5 billion.
Together with its clients, Capgemini creates and delivers business, technology and
digital solutions that fit their needs, enabling them to achieve innovation and
competitiveness. A deeply multicultural organization, Capgemini has developed its own
way of working, the Collaborative Business Experience™, and draws on Rightshore®, its
worldwide delivery model.
About Capgemini
Learn more about us at
www.capgemini.com
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group.
Copyright © 2018 Capgemini. All rights reserved.
Rightshore® is a trademark belonging to Capgemini.
This message is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please
notify the sender immediately and delete all copies of this message.

More Related Content

PDF
API-first design - Basis for an consistent API-Management approach
PDF
Putting 2-Speed IT to Work in the Enterprise
PDF
apidays LIVE Paris 2021 - What Developers Want by Paul Ardeleanu, Vonage
PDF
Strategies for efficient Delivery
PDF
IT agility is no longer an oxymoron
PDF
APIdays Helsinki 2019 - The Ultimate AI platform - Tips for Comparing AI APIs...
PDF
INTERFACE, by apidays - Aligning teams and strategies behind API investment ...
PDF
Strategies for efficient delivery with APIs, containers, Microservices and De...
API-first design - Basis for an consistent API-Management approach
Putting 2-Speed IT to Work in the Enterprise
apidays LIVE Paris 2021 - What Developers Want by Paul Ardeleanu, Vonage
Strategies for efficient Delivery
IT agility is no longer an oxymoron
APIdays Helsinki 2019 - The Ultimate AI platform - Tips for Comparing AI APIs...
INTERFACE, by apidays - Aligning teams and strategies behind API investment ...
Strategies for efficient delivery with APIs, containers, Microservices and De...

What's hot (20)

PPTX
ApI first Microservices meetup
PDF
API First - Best Practices for consistent API management
PDF
API first Design and Microservices
PPTX
APIdays Helsinki 2019 - How to Design and Publish API Products that Your Cust...
PPTX
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
PDF
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
PDF
How to scale 1000s of API Integrations and not lose your mind
PPTX
apidays LIVE Paris - Bringing Cloud Native to a world of SaaS by Robert Wunde...
PDF
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
PDF
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
PDF
APIForce presentation 28th of January
PDF
API Management and why it matters (Oracle API Platform)
PDF
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
PPTX
apidays LIVE Paris - Interface Economy: The true potential of APIs by Kristof...
PDF
The API Economy: Adding Business Value
PPTX
Telco Innovation with APIs - Need for speed (Webcast)
PPT
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
PDF
APIdays Helsinki 2019 - Creating a Culture of Innovation with Jesse Martin, G...
PDF
WSO2 - Yenlo Integration Summit Stuttgart 15 May 2019 - Enabling Enterprise I...
PPTX
Case Study: Creating a DocOps/Docs-As-Code DevPortal for C3.ai
ApI first Microservices meetup
API First - Best Practices for consistent API management
API first Design and Microservices
APIdays Helsinki 2019 - How to Design and Publish API Products that Your Cust...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
How to scale 1000s of API Integrations and not lose your mind
apidays LIVE Paris - Bringing Cloud Native to a world of SaaS by Robert Wunde...
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
APIForce presentation 28th of January
API Management and why it matters (Oracle API Platform)
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
apidays LIVE Paris - Interface Economy: The true potential of APIs by Kristof...
The API Economy: Adding Business Value
Telco Innovation with APIs - Need for speed (Webcast)
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
APIdays Helsinki 2019 - Creating a Culture of Innovation with Jesse Martin, G...
WSO2 - Yenlo Integration Summit Stuttgart 15 May 2019 - Enabling Enterprise I...
Case Study: Creating a DocOps/Docs-As-Code DevPortal for C3.ai
Ad

Similar to API Design for Microservices with Apiary (20)

PPTX
The next generation of ap is luis weir.cwin18.telford
PPTX
API Management - Practical Enterprise Implementation Experience
PPTX
London Oracle Developer Meetup - June 18 - Drones with APIs
PPTX
From Chaos to Clarity - Designing (AI-Ready) APIs with APIOps Cycles
PPTX
Apiary - A Developers Perspective
PPTX
Modernise your IT landscape with APIs and Microservices
PPTX
CWIN17 telford api management, practical implementation experience - david ru...
PDF
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
PPTX
CWIN17 telford application integration and ap is - lisa eckersley
PPTX
apidays Helsinki & North 2025 - From Chaos to Clarity: Designing (AI-Ready) A...
PDF
API Management: Unlock the Value of Your Unique Assets with a Robust API
PPTX
apidays New York 2025 - API Platform Survival Guide by James Higginbotham (La...
PDF
apidays Australia 2022 - Accelerate business innovation by improving API prog...
PDF
Apidays Paris 2023 - The Federated Future, Tim Biedenkapp, adorsys
PDF
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
PDF
A Snapshot of API Design Trends In 2019
PPTX
API Products: Who, What, Where, When, Why, and How?
PPTX
Getting the most from your API management platform: A case study
PDF
APIs in the Enterprise - Lessons Learned
PDF
BATBern46_Syncier Marketplace.pdf
The next generation of ap is luis weir.cwin18.telford
API Management - Practical Enterprise Implementation Experience
London Oracle Developer Meetup - June 18 - Drones with APIs
From Chaos to Clarity - Designing (AI-Ready) APIs with APIOps Cycles
Apiary - A Developers Perspective
Modernise your IT landscape with APIs and Microservices
CWIN17 telford api management, practical implementation experience - david ru...
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
CWIN17 telford application integration and ap is - lisa eckersley
apidays Helsinki & North 2025 - From Chaos to Clarity: Designing (AI-Ready) A...
API Management: Unlock the Value of Your Unique Assets with a Robust API
apidays New York 2025 - API Platform Survival Guide by James Higginbotham (La...
apidays Australia 2022 - Accelerate business innovation by improving API prog...
Apidays Paris 2023 - The Federated Future, Tim Biedenkapp, adorsys
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
A Snapshot of API Design Trends In 2019
API Products: Who, What, Where, When, Why, and How?
Getting the most from your API management platform: A case study
APIs in the Enterprise - Lessons Learned
BATBern46_Syncier Marketplace.pdf
Ad

More from Pronovix (20)

PDF
By the time they're reading the docs, it's already too late
PPTX
Optimizing Dev Portals with Analytics and Feedback
PPTX
Success metrics when launching your first developer portal
PDF
Documentation, APIs & AI
PDF
Making sense of analytics for documentation pages
PPTX
Feedback cycles and their role in improving overall developer experiences
PDF
GraphQL Isn't An Excuse To Stop Writing Docs
PPTX
API Documentation For Web3
PDF
Why your API doesn’t solve my problem: A use case-driven API design
PDF
unREST among the docs
PDF
Developing a best-in-class deprecation policy for your APIs
PDF
Annotate, Automate & Educate: Driving generated OpenAPI docs to benefit everyone
PDF
What do developers do when it comes to understanding and using APIs?
PDF
Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
PDF
Creating API documentation for international communities
PDF
One Developer Portal to Document Them All
PDF
Docs-as-Code: Evolving the API Documentation Experience
PDF
Developer journey - make it easy for devs to love your product
PPTX
Complexity is not complicatedness
PDF
How cognitive biases and ranking can foster an ineffective architecture and d...
By the time they're reading the docs, it's already too late
Optimizing Dev Portals with Analytics and Feedback
Success metrics when launching your first developer portal
Documentation, APIs & AI
Making sense of analytics for documentation pages
Feedback cycles and their role in improving overall developer experiences
GraphQL Isn't An Excuse To Stop Writing Docs
API Documentation For Web3
Why your API doesn’t solve my problem: A use case-driven API design
unREST among the docs
Developing a best-in-class deprecation policy for your APIs
Annotate, Automate & Educate: Driving generated OpenAPI docs to benefit everyone
What do developers do when it comes to understanding and using APIs?
Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Creating API documentation for international communities
One Developer Portal to Document Them All
Docs-as-Code: Evolving the API Documentation Experience
Developer journey - make it easy for devs to love your product
Complexity is not complicatedness
How cognitive biases and ranking can foster an ineffective architecture and d...

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Machine learning based COVID-19 study performance prediction
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
Teaching material agriculture food technology
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Machine learning based COVID-19 study performance prediction
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
sap open course for s4hana steps from ECC to s4
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Spectroscopy.pptx food analysis technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Teaching material agriculture food technology

API Design for Microservices with Apiary

  • 1. © 2018 Capgemini. All rights reserved.1© 2018 Capgemini. All rights reserved. API Design for Microservices with Apiary Luis Weir Chief Architect – PaaS @ Capgemini @luisw19
  • 2. © 2018 Capgemini. All rights reserved.2
  • 3. © 2018 Capgemini. All rights reserved.3 About me Luis Weir Chief Architect at Capgemini UK Ace Director & Developer Champion luis.weir@capgemini.com uk.linkedin.com/in/lweir @luisw19 http://www.soa4u.co.uk apiplatform.cloud/ Goes to Print Q2 2018 tinyurl.com/eapim18 Goes to Print Q3 2018 API Thought Leadership Award PaaS Community Split, April, 2018 Best New UK Speaker Birmingham, Dec, 2016 Cloud Contribution Award PaaS Community Valencia, March, 2016 API Thought Leadership Award PaaS Community March, 2018 • The 7 Deadly Sins of API Design • Setting the vision, strategy and direction — the CTO’s role • How can you design, deploy and manage your APIs? • The Spotify's Engineering Culture. My interpretation and summary • A comparison of API Gateways communication styles • Is BPM Dead, Long Live Microservices? • Five Minutes with Luis Weir • 2nd vs 3rd Generation API Platforms - A Comprehensive Comparison • Podcast: Are Microservices and APIs Becoming SOA 2.0? • 3rd-Generation API Management: From Proxies to Micro-Gateways • Oracle API Platform Cloud Service Overview Latest articles:
  • 4. © 2018 Capgemini. All rights reserved.4 © 2018 Capgemini. All rights reserved.4 Agenda APIs & API Economy1 Case Study 12 Case Study 23
  • 5. © 2018 Capgemini. All rights reserved.5 Application Programming Interfaces (APIs) are doors to information and functionality. They are an organisation’s main entrance to digital services and offerings
  • 6. © 2018 Capgemini. All rights reserved.6 But even doors can be poorly designed…
  • 7. © 2018 Capgemini. All rights reserved.7 7 API-design first to the rescue!
  • 8. © 2018 Capgemini. All rights reserved.8 API-design first Feedback Design Build & Validate Package & Deploy Try Continuous Test Feedback RunAnalyse Feedback
  • 9. © 2018 Capgemini. All rights reserved.9 9© 2018 Capgemini. All rights reserved. Design • API Blueprint (APIB) • Open API Spec (OAS) • Team compliance checks (ootb and custom) • Templating • Collaborative • GitHub sync • Rich CLI Mock Validate CapabilitiesWhy Apiary? • Auto-generates mocks • Client code generation in multiple langs • Runtime agnostic. Pre- integrated with Oracle API Platform but can be used against any runtime • Templating • Language agnostic REST API validation tool • APIB and OAS support • Open source Design Try Build & Validate
  • 10. © 2018 Capgemini. All rights reserved.10 The demo (https://github.com/luisw19/aptd_2018) Feedback Design Build & Validate Package & DeployTry Continuous Test 01 • Create API Blueprint/OAS in Apiary • Use Apiary Mock endpoints to publish an API through the Oracle API platform • API docs and mock endpoints available in the Dev Portal • JET designers/developers try the API and give feedback • Build backend service using tech of choice • Apply Dredd to validate endpoints against spec 02 03 04 • Stablish a CICD pipeline for continuously and consistently packaging and deploying releases, e.g. using Wercker • Set up functional regression testing (e.g. using API Fortress or Postman) • Continuously validate endpoints using Dredd 05
  • 11. © 2018 Capgemini. All rights reserved.11 Benefits of API-design first Avoid rework: feedback early in the cycle By getting feedback very early in the lifecycle, changes of rework late in the cycle are slim. Saving time and cost. 1 Parallel development: Decouple App dev from Service dev By defining APIs with API Blueprints or Swagger, app dev and service dev can occur in parallel. Up-to-date API documentation The API is only as good as it documentation. Continuous validation using Dredd add enormous value. 3 2
  • 12. © 2018 Capgemini. All rights reserved.12 With more than 190,000 people, Capgemini is present in over 40 countries and celebrates its 50th Anniversary year in 2018. A global leader in consulting, technology and outsourcing services, the Group reported 2016 global revenues of EUR 12.5 billion. Together with its clients, Capgemini creates and delivers business, technology and digital solutions that fit their needs, enabling them to achieve innovation and competitiveness. A deeply multicultural organization, Capgemini has developed its own way of working, the Collaborative Business Experience™, and draws on Rightshore®, its worldwide delivery model. About Capgemini Learn more about us at www.capgemini.com This message contains information that may be privileged or confidential and is the property of the Capgemini Group. Copyright © 2018 Capgemini. All rights reserved. Rightshore® is a trademark belonging to Capgemini. This message is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.