SlideShare a Scribd company logo
1
Design-First API Development Using Swagger & Node
Scott Ganyo, Apigee Prabhat Jha, Apigee
@theganyo @prabhatjha
Agenda
2
1. APIs - What and Why
2.
What is Design-First API
development?
3. Some Apigee internal use cases
4. Customer Reference
5. Tools & demo
6. Q&A
©2015 Apigee. All Rights Reserved.
APIS
3
An API…
Defines an HTTP service
Serves its client apps
Drives service adoption
APIs
4©2015 Apigee. All Rights Reserved.
APIs are for…
Developers
Apps :
• External
• Internal
Microservices
Devices
5©2015 Apigee. All Rights Reserved.
What APIs are not ?
SOA++
ESB
6©2015 Apigee. All Rights Reserved.
Design-First API
Development
7
The Zen of API Development
The code defines the API
The API generates the code
The code is the API
API-driven code
8©2015 Apigee. All Rights Reserved.
The code defines the API
9©2015 Apigee. All Rights Reserved.
Annotation-driven
Maintained in code
API is generated
The API generates the code
Interface Definition Language (IDL) defines the API
Client and serverside code stubs are generated
Examples: SOAP, CORBA, and similar RPC systems
10©2015 Apigee. All Rights Reserved.
The code is the API
11©2015 Apigee. All Rights Reserved.
Interpreted
No formal specification
API-driven philosophy
12©2015 Apigee. All Rights Reserved.
The API must be designed first.
API-driven philosophy
13©2015 Apigee. All Rights Reserved.
API design, documentation, and code must remain in sync.
API-driven philosophy
14©2015 Apigee. All Rights Reserved.
The system must adhere to the "DRY Principle."
API-driven philosophy
15©2015 Apigee. All Rights Reserved.
The API must directly drive runtime and documentation.
Swagger-Node
16
Swagger-Node: Flow Diagram
17©2015 Apigee. All Rights Reserved.
Swagger-Node
18©2015 Apigee. All Rights Reserved.
The API is written in Swagger, optionally using API Studio (apistudio.io)
The Swagger API document is parsed when server starts
Incoming calls are classified, validated, and routed in real time
Integrates with Connect, Express, Hapi, Restify, Sails...
Incorporates a plugin model for Swagger (or non-Swagger) extensions
Apigee Use Cases
19
Use case: Recommendation API (Apigee Insights)
• To personalize an app experience, developers need to quickly create
APIs that mashup results from big fata machine learning and real-time
events. Swagger-node enables quick creation of those APIs via
Swagger, and create the business-logic necessary in node.js.
20©2015 Apigee. All Rights Reserved.
Use case: API Studio
• Authoring
• Collaboration
• Response simulation
21©2015 Apigee. All Rights Reserved.
Use case: Test Coverage
• Historical test coverage analysis
• APIs for CI to update
• UI for test teams
22©2015 Apigee. All Rights Reserved.
Customer Reference
23
Burberry
24©2015 Apigee. All Rights Reserved.
Tools & Demo
25
API Lifecycle management tools
• Write & Collaborate:
– API Studio (http://apistudio.io)
• Develop :
– Swagger-Node (npm install -g swagger)
• Deploy
• Apigee Edge
• Your PaaS
• Publish
• Apigee Dev Portal
• API Studio
26©2015 Apigee. All Rights Reserved.
Demo
27©2015 Apigee. All Rights Reserved.
Where to get help?
https://community.apigee.com
28©2015 Apigee. All Rights Reserved.
Q&A
29
Thank You
30

More Related Content

What's hot (20)

PDF
Coders Workshop: API First Mobile Development Featuring Angular and Node
Apigee | Google Cloud
 
PPTX
The Swagger Format becomes the Open API Specification: Standardizing descript...
3scale
 
PDF
End to End Testing: Bug Squashing for API Developers
Apigee | Google Cloud
 
PDF
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
Apigee | Google Cloud
 
PDF
A Checklist for Every API Call
Apigee | Google Cloud
 
PDF
I Love APIs 2015: Implementing an API Tier to Enable a New Mobile Platform
Apigee | Google Cloud
 
PDF
Apigee Edge: Intro to Microgateway
Apigee | Google Cloud
 
PPTX
Apigee Edge Overview and Roadmap
Apigee | Google Cloud
 
PDF
Bringing API Management to AWS Powered Backends
Apigee | Google Cloud
 
PDF
INTERFACE, by apidays - API Design is where culture and tech meet each other...
apidays
 
PDF
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
apidays
 
PDF
Webcast: Apigee Edge Product Demo
Apigee | Google Cloud
 
PPT
Why APIs are Different Than Integration
Apigee | Google Cloud
 
PDF
I Love APIs 2015: Apigee and Node.js Building Mock Backends Fast
Apigee | Google Cloud
 
PDF
I Love APIs 2015: End to End Testing: Bug Squashing for Developers
Apigee | Google Cloud
 
PDF
I Love APIs 2015: Scaling Mobile-focused Microservices at Verizon
Apigee | Google Cloud
 
PDF
Deep Dive: Strategic Importance of BaaS
Apigee | Google Cloud
 
PDF
API-first, going beyond SOA, ESB & Integration
Apigee | Google Cloud
 
PPTX
API Description Languages: Which is the Right One for Me?
Akana
 
PDF
apidays LIVE Hong Kong 2021 - Automating the API Product Lifecycle by Jeremy ...
apidays
 
Coders Workshop: API First Mobile Development Featuring Angular and Node
Apigee | Google Cloud
 
The Swagger Format becomes the Open API Specification: Standardizing descript...
3scale
 
End to End Testing: Bug Squashing for API Developers
Apigee | Google Cloud
 
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
Apigee | Google Cloud
 
A Checklist for Every API Call
Apigee | Google Cloud
 
I Love APIs 2015: Implementing an API Tier to Enable a New Mobile Platform
Apigee | Google Cloud
 
Apigee Edge: Intro to Microgateway
Apigee | Google Cloud
 
Apigee Edge Overview and Roadmap
Apigee | Google Cloud
 
Bringing API Management to AWS Powered Backends
Apigee | Google Cloud
 
INTERFACE, by apidays - API Design is where culture and tech meet each other...
apidays
 
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
apidays
 
Webcast: Apigee Edge Product Demo
Apigee | Google Cloud
 
Why APIs are Different Than Integration
Apigee | Google Cloud
 
I Love APIs 2015: Apigee and Node.js Building Mock Backends Fast
Apigee | Google Cloud
 
I Love APIs 2015: End to End Testing: Bug Squashing for Developers
Apigee | Google Cloud
 
I Love APIs 2015: Scaling Mobile-focused Microservices at Verizon
Apigee | Google Cloud
 
Deep Dive: Strategic Importance of BaaS
Apigee | Google Cloud
 
API-first, going beyond SOA, ESB & Integration
Apigee | Google Cloud
 
API Description Languages: Which is the Right One for Me?
Akana
 
apidays LIVE Hong Kong 2021 - Automating the API Product Lifecycle by Jeremy ...
apidays
 

Viewers also liked (20)

PDF
Battelfield REST, API Development from the trenches
Daniel Cerecedo
 
PPTX
Managing api development
Ciprian Sorlea CSM-CSPO
 
PDF
I Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
Apigee | Google Cloud
 
PPTX
Iterative Development with Swagger on the JDK
Swagger API
 
PDF
Design Driven API Development
Sokichi Fujita
 
PPSX
TechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
Grokking VN
 
PDF
API first approach for frontend developers
FDConf
 
PPTX
Swagger
Kadir Erbakar
 
PPTX
Introducing swagger
Amr Ali
 
PPTX
An Architecture for a Platform Providing Things As A Service
Javier Nieto de Santos
 
PDF
Pitney Bowes Uses Development and Testing Tools to Drive Early API Developmen...
CA Technologies
 
PDF
Case Study: Rogers Communications Integrates CA API Management and CA Service...
CA Technologies
 
PPTX
Birds Eye View on API Development - v1.0
API Talent
 
PPTX
I want to be an efficient developer - APIdays Barcelona version
Quentin Adam
 
PPT
The Lincoln Institue - 10 Ways to Regenerate America's Legacy Cities
Cassidy Swanson
 
PDF
Api barcelona
gmenvielle
 
PDF
usable rest apis, by Javier Ramirez from teowaki (Apidays Mediterranea)
javier ramirez
 
PDF
APIfying the Web with import.io (at APIdays mediterranea)
Ignacio Elola Villar
 
PDF
Patent wars, Innovation, Roads
Jonathan Bourguignon
 
PDF
Enhance the browser_experience
HTML5 Spain
 
Battelfield REST, API Development from the trenches
Daniel Cerecedo
 
Managing api development
Ciprian Sorlea CSM-CSPO
 
I Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
Apigee | Google Cloud
 
Iterative Development with Swagger on the JDK
Swagger API
 
Design Driven API Development
Sokichi Fujita
 
TechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
Grokking VN
 
API first approach for frontend developers
FDConf
 
Swagger
Kadir Erbakar
 
Introducing swagger
Amr Ali
 
An Architecture for a Platform Providing Things As A Service
Javier Nieto de Santos
 
Pitney Bowes Uses Development and Testing Tools to Drive Early API Developmen...
CA Technologies
 
Case Study: Rogers Communications Integrates CA API Management and CA Service...
CA Technologies
 
Birds Eye View on API Development - v1.0
API Talent
 
I want to be an efficient developer - APIdays Barcelona version
Quentin Adam
 
The Lincoln Institue - 10 Ways to Regenerate America's Legacy Cities
Cassidy Swanson
 
Api barcelona
gmenvielle
 
usable rest apis, by Javier Ramirez from teowaki (Apidays Mediterranea)
javier ramirez
 
APIfying the Web with import.io (at APIdays mediterranea)
Ignacio Elola Villar
 
Patent wars, Innovation, Roads
Jonathan Bourguignon
 
Enhance the browser_experience
HTML5 Spain
 
Ad

Similar to Design-first API Development using Swagger and Node (20)

PPTX
Rest API with Swagger and NodeJS
Luigi Saetta
 
PPTX
Build APIs in Node.js and Swagger 2.0 with Apigee-127
Apigee | Google Cloud
 
PDF
"Design First" APIs with Swagger
scolestock
 
PPTX
dod-api-meetup-03262015-swagger-docs
John O'Brien III
 
PPTX
Building APIs with Node.js and Swagger
Jeremy Whitlock
 
PDF
I Love APIs Europe 2015: Developer Sessions
Apigee | Google Cloud
 
PDF
Get Your Node.js API Swaggering with OpenAPI Spec
Adam Paxton
 
PPTX
Everybody loves Swagger
BizTalk360
 
PDF
API Description Languages: Which Is The Right One For Me?
ProgrammableWeb
 
PDF
Definition Driven API Development: How OAS & Swagger Help Teams Streamline Th...
SmartBear
 
PPTX
Grails with swagger
NexThoughts Technologies
 
PPTX
Adopting a Design-First Approach to API Development with SwaggerHub
SmartBear
 
PPTX
Webinar: How API Lifecycle Management can help to Accelerate Growth
APPSeCONNECT
 
PPTX
API Conference 2021
José Haro Peralta
 
PDF
API Description Languages
Akana
 
PDF
API Description Languages
Akana
 
PDF
Designing APIs with OpenAPI Spec
Adam Paxton
 
PDF
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
Arthur De Magalhaes
 
PDF
Swagger for-your-api
Tony Tam
 
PPTX
Reaching 1 Million APIs and what to do when we get there
3scale
 
Rest API with Swagger and NodeJS
Luigi Saetta
 
Build APIs in Node.js and Swagger 2.0 with Apigee-127
Apigee | Google Cloud
 
"Design First" APIs with Swagger
scolestock
 
dod-api-meetup-03262015-swagger-docs
John O'Brien III
 
Building APIs with Node.js and Swagger
Jeremy Whitlock
 
I Love APIs Europe 2015: Developer Sessions
Apigee | Google Cloud
 
Get Your Node.js API Swaggering with OpenAPI Spec
Adam Paxton
 
Everybody loves Swagger
BizTalk360
 
API Description Languages: Which Is The Right One For Me?
ProgrammableWeb
 
Definition Driven API Development: How OAS & Swagger Help Teams Streamline Th...
SmartBear
 
Grails with swagger
NexThoughts Technologies
 
Adopting a Design-First Approach to API Development with SwaggerHub
SmartBear
 
Webinar: How API Lifecycle Management can help to Accelerate Growth
APPSeCONNECT
 
API Conference 2021
José Haro Peralta
 
API Description Languages
Akana
 
API Description Languages
Akana
 
Designing APIs with OpenAPI Spec
Adam Paxton
 
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
Arthur De Magalhaes
 
Swagger for-your-api
Tony Tam
 
Reaching 1 Million APIs and what to do when we get there
3scale
 
Ad

More from Apigee | Google Cloud (20)

PDF
How Secure Are Your APIs?
Apigee | Google Cloud
 
PDF
Magazine Luiza at a glance (1)
Apigee | Google Cloud
 
PPTX
Monetization: Unlock More Value from Your APIs
Apigee | Google Cloud
 
PDF
Apigee Demo: API Platform Overview
Apigee | Google Cloud
 
PDF
Ticketmaster at a glance
Apigee | Google Cloud
 
PDF
AccuWeather: Recasting API Experiences in a Developer-First World
Apigee | Google Cloud
 
PDF
Which Application Modernization Pattern Is Right For You?
Apigee | Google Cloud
 
PPTX
Apigee Product Roadmap Part 2
Apigee | Google Cloud
 
PPTX
The Four Transformative Forces of the API Management Market
Apigee | Google Cloud
 
PDF
Walgreens at a glance
Apigee | Google Cloud
 
PDF
Managing the Complexity of Microservices Deployments
Apigee | Google Cloud
 
PDF
Pitney Bowes at a glance
Apigee | Google Cloud
 
PPTX
Microservices Done Right: Key Ingredients for Microservices Success
Apigee | Google Cloud
 
PDF
Adapt or Die: Opening Keynote with Chet Kapoor
Apigee | Google Cloud
 
PDF
Adapt or Die: Keynote with Greg Brail
Apigee | Google Cloud
 
PDF
Adapt or Die: Keynote with Anant Jhingran
Apigee | Google Cloud
 
PDF
London Adapt or Die: Opening Keynot
Apigee | Google Cloud
 
PDF
London Adapt or Die: Lunch keynote
Apigee | Google Cloud
 
PDF
London Adapt or Die: Closing Keynote — Adapt Now!
Apigee | Google Cloud
 
PPTX
London adapt or-die opening keynote chet kapoor
Apigee | Google Cloud
 
How Secure Are Your APIs?
Apigee | Google Cloud
 
Magazine Luiza at a glance (1)
Apigee | Google Cloud
 
Monetization: Unlock More Value from Your APIs
Apigee | Google Cloud
 
Apigee Demo: API Platform Overview
Apigee | Google Cloud
 
Ticketmaster at a glance
Apigee | Google Cloud
 
AccuWeather: Recasting API Experiences in a Developer-First World
Apigee | Google Cloud
 
Which Application Modernization Pattern Is Right For You?
Apigee | Google Cloud
 
Apigee Product Roadmap Part 2
Apigee | Google Cloud
 
The Four Transformative Forces of the API Management Market
Apigee | Google Cloud
 
Walgreens at a glance
Apigee | Google Cloud
 
Managing the Complexity of Microservices Deployments
Apigee | Google Cloud
 
Pitney Bowes at a glance
Apigee | Google Cloud
 
Microservices Done Right: Key Ingredients for Microservices Success
Apigee | Google Cloud
 
Adapt or Die: Opening Keynote with Chet Kapoor
Apigee | Google Cloud
 
Adapt or Die: Keynote with Greg Brail
Apigee | Google Cloud
 
Adapt or Die: Keynote with Anant Jhingran
Apigee | Google Cloud
 
London Adapt or Die: Opening Keynot
Apigee | Google Cloud
 
London Adapt or Die: Lunch keynote
Apigee | Google Cloud
 
London Adapt or Die: Closing Keynote — Adapt Now!
Apigee | Google Cloud
 
London adapt or-die opening keynote chet kapoor
Apigee | Google Cloud
 

Recently uploaded (20)

PDF
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
 
PPTX
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
PDF
The Rise of Sustainable Mobile App Solutions by New York Development Firms
ostechnologies16
 
PPTX
Quality on Autopilot: Scaling Testing in Uyuni
Oscar Barrios Torrero
 
PPTX
IDM Crack with Internet Download Manager 6.42 [Latest 2025]
HyperPc soft
 
PDF
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural N...
Lionel Briand
 
PPTX
Wondershare Filmora Crack 14.5.18 + Key Full Download [Latest 2025]
HyperPc soft
 
PPT
Information Communication Technology Concepts
LOIDAALMAZAN3
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
 
PPTX
NeuroStrata: Harnessing Neuro-Symbolic Paradigms for Improved Testability and...
Ivan Ruchkin
 
PPTX
computer forensics encase emager app exp6 1.pptx
ssuser343e92
 
PDF
Writing Maintainable Playwright Tests with Ease
Shubham Joshi
 
PDF
Code Once; Run Everywhere - A Beginner’s Journey with React Native
Hasitha Walpola
 
PDF
Why Edge Computing Matters in Mobile Application Tech.pdf
IMG Global Infotech
 
PPTX
How Can Recruitment Management Software Improve Hiring Efficiency?
HireME
 
PPTX
CV-Project_2024 version 01222222222.pptx
MohammadSiddiqui70
 
PDF
Rewards and Recognition (2).pdf
ethan Talor
 
PPTX
EO4EU Ocean Monitoring: Maritime Weather Routing Optimsation Use Case
EO4EU
 
PPTX
IObit Uninstaller Pro 14.3.1.8 Crack Free Download 2025
sdfger qwerty
 
PDF
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
 
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
The Rise of Sustainable Mobile App Solutions by New York Development Firms
ostechnologies16
 
Quality on Autopilot: Scaling Testing in Uyuni
Oscar Barrios Torrero
 
IDM Crack with Internet Download Manager 6.42 [Latest 2025]
HyperPc soft
 
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural N...
Lionel Briand
 
Wondershare Filmora Crack 14.5.18 + Key Full Download [Latest 2025]
HyperPc soft
 
Information Communication Technology Concepts
LOIDAALMAZAN3
 
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
 
NeuroStrata: Harnessing Neuro-Symbolic Paradigms for Improved Testability and...
Ivan Ruchkin
 
computer forensics encase emager app exp6 1.pptx
ssuser343e92
 
Writing Maintainable Playwright Tests with Ease
Shubham Joshi
 
Code Once; Run Everywhere - A Beginner’s Journey with React Native
Hasitha Walpola
 
Why Edge Computing Matters in Mobile Application Tech.pdf
IMG Global Infotech
 
How Can Recruitment Management Software Improve Hiring Efficiency?
HireME
 
CV-Project_2024 version 01222222222.pptx
MohammadSiddiqui70
 
Rewards and Recognition (2).pdf
ethan Talor
 
EO4EU Ocean Monitoring: Maritime Weather Routing Optimsation Use Case
EO4EU
 
IObit Uninstaller Pro 14.3.1.8 Crack Free Download 2025
sdfger qwerty
 
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 

Design-first API Development using Swagger and Node

  • 1. 1 Design-First API Development Using Swagger & Node Scott Ganyo, Apigee Prabhat Jha, Apigee @theganyo @prabhatjha
  • 2. Agenda 2 1. APIs - What and Why 2. What is Design-First API development? 3. Some Apigee internal use cases 4. Customer Reference 5. Tools & demo 6. Q&A ©2015 Apigee. All Rights Reserved.
  • 4. An API… Defines an HTTP service Serves its client apps Drives service adoption APIs 4©2015 Apigee. All Rights Reserved.
  • 5. APIs are for… Developers Apps : • External • Internal Microservices Devices 5©2015 Apigee. All Rights Reserved.
  • 6. What APIs are not ? SOA++ ESB 6©2015 Apigee. All Rights Reserved.
  • 8. The Zen of API Development The code defines the API The API generates the code The code is the API API-driven code 8©2015 Apigee. All Rights Reserved.
  • 9. The code defines the API 9©2015 Apigee. All Rights Reserved. Annotation-driven Maintained in code API is generated
  • 10. The API generates the code Interface Definition Language (IDL) defines the API Client and serverside code stubs are generated Examples: SOAP, CORBA, and similar RPC systems 10©2015 Apigee. All Rights Reserved.
  • 11. The code is the API 11©2015 Apigee. All Rights Reserved. Interpreted No formal specification
  • 12. API-driven philosophy 12©2015 Apigee. All Rights Reserved. The API must be designed first.
  • 13. API-driven philosophy 13©2015 Apigee. All Rights Reserved. API design, documentation, and code must remain in sync.
  • 14. API-driven philosophy 14©2015 Apigee. All Rights Reserved. The system must adhere to the "DRY Principle."
  • 15. API-driven philosophy 15©2015 Apigee. All Rights Reserved. The API must directly drive runtime and documentation.
  • 17. Swagger-Node: Flow Diagram 17©2015 Apigee. All Rights Reserved.
  • 18. Swagger-Node 18©2015 Apigee. All Rights Reserved. The API is written in Swagger, optionally using API Studio (apistudio.io) The Swagger API document is parsed when server starts Incoming calls are classified, validated, and routed in real time Integrates with Connect, Express, Hapi, Restify, Sails... Incorporates a plugin model for Swagger (or non-Swagger) extensions
  • 20. Use case: Recommendation API (Apigee Insights) • To personalize an app experience, developers need to quickly create APIs that mashup results from big fata machine learning and real-time events. Swagger-node enables quick creation of those APIs via Swagger, and create the business-logic necessary in node.js. 20©2015 Apigee. All Rights Reserved.
  • 21. Use case: API Studio • Authoring • Collaboration • Response simulation 21©2015 Apigee. All Rights Reserved.
  • 22. Use case: Test Coverage • Historical test coverage analysis • APIs for CI to update • UI for test teams 22©2015 Apigee. All Rights Reserved.
  • 24. Burberry 24©2015 Apigee. All Rights Reserved.
  • 26. API Lifecycle management tools • Write & Collaborate: – API Studio (http://apistudio.io) • Develop : – Swagger-Node (npm install -g swagger) • Deploy • Apigee Edge • Your PaaS • Publish • Apigee Dev Portal • API Studio 26©2015 Apigee. All Rights Reserved.
  • 27. Demo 27©2015 Apigee. All Rights Reserved.
  • 28. Where to get help? https://community.apigee.com 28©2015 Apigee. All Rights Reserved.