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

What's hot (20)

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

Similar to API Design for Microservices with Apiary (20)

PDF
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
luisw19
 
PPTX
API Management - Practical Enterprise Implementation Experience
Capgemini
 
PPTX
Apiary - A Developers Perspective
Phil Wilkins
 
PPTX
The next generation of ap is luis weir.cwin18.telford
Capgemini
 
PPTX
API more than payload
Phil Wilkins
 
PDF
Oracle Code Beijing/Sydney APIM & Microservices: A Match Made in Heaven
Capgemini
 
PPTX
OracleDeveloperMeetup - London 19-12-17
Phil Wilkins
 
PPTX
Api more than payload (2021 Update)
Phil Wilkins
 
PDF
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays
 
PPTX
API Platform Cloud Service best practice - OOW17
Phil Wilkins
 
PDF
Oracle Code Capgemini: API management & microservices a match made in heaven
luisw19
 
PDF
Keynote: Announcing API and Microservice Innovations that Drive Business Agil...
CA Technologies
 
PPTX
Building a REST API for Longevity
MuleSoft
 
PDF
Microservices meetupnz dec16
Alex Wilson (CISSP)
 
PPTX
CWIN17 telford api management, practical implementation experience - david ru...
Capgemini
 
PDF
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays
 
PDF
CA API Management: A DevOps Enabler
Rajat Vijayvargiya
 
PDF
Dependency Down, Flexibility Up – The Benefits of API-First Development
Nordic APIs
 
PPTX
API Best Practices
Sai Koppala
 
PDF
Meetup 2022 - API Gateway landscape.pdf
Red Hat
 
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
luisw19
 
API Management - Practical Enterprise Implementation Experience
Capgemini
 
Apiary - A Developers Perspective
Phil Wilkins
 
The next generation of ap is luis weir.cwin18.telford
Capgemini
 
API more than payload
Phil Wilkins
 
Oracle Code Beijing/Sydney APIM & Microservices: A Match Made in Heaven
Capgemini
 
OracleDeveloperMeetup - London 19-12-17
Phil Wilkins
 
Api more than payload (2021 Update)
Phil Wilkins
 
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays
 
API Platform Cloud Service best practice - OOW17
Phil Wilkins
 
Oracle Code Capgemini: API management & microservices a match made in heaven
luisw19
 
Keynote: Announcing API and Microservice Innovations that Drive Business Agil...
CA Technologies
 
Building a REST API for Longevity
MuleSoft
 
Microservices meetupnz dec16
Alex Wilson (CISSP)
 
CWIN17 telford api management, practical implementation experience - david ru...
Capgemini
 
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays
 
CA API Management: A DevOps Enabler
Rajat Vijayvargiya
 
Dependency Down, Flexibility Up – The Benefits of API-First Development
Nordic APIs
 
API Best Practices
Sai Koppala
 
Meetup 2022 - API Gateway landscape.pdf
Red Hat
 
Ad

More from Pronovix (20)

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

Recently uploaded (20)

PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 

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 [email protected] 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.