SlideShare ist ein Scribd-Unternehmen logo
1 von 18
1
Definition Driven API Development
Streamlining your API Development with OAS
Martin McDonagh
Lead Solutions Architect –
APAC @ SmartBear
2
Understanding Definition-Driven
API Development
3
API First Approach
Client A Client B Client C
API API API
Mock Mock Mock
Implementation Implementation Implementation
Frontend Developers
Backend Developers
The API First approach involves having your APIs as the first and
primary element of your product and service strategy,
Database
4
Definition Driven API development advocates for designing the API’s contract first
before any other lifecycle operation
The Definition Driven Answer
Drives
Implementation Maintenance Consumption
5
• A definition is a framework for describing APIs
• Machine and human readable
• Language agnostic
A Common Vocabulary
The Open API Specification (OAS) is the world’s standard
for defining RESTful APIs
6
Reduced interdependencies, allow teams to work at their own pace
Fast development and delivery
Easier expansion to different interfaces, clients and views
Developer friendly services to build ecosystems and platforms
Advantages of Definition Driven Development
Faster Development
New Revenue
Channels and Growth
7
OAS opens a world of possibilities
Mocking
Design
Clients
Deployment/Runtime Documentation
Virtualization
Testing
Implementation
Prototyping
Object reuse, Callbacks
etc.
Generated client libraries
Security, Usage policies,
Monitoring, Caching, etc.
Developer portals, code
samples, User guides, etc.
Functional/Runtime simulations
Functional, Security, Load, etc.
Generated server code/artifacts
8
Definitions Touch Every Phase of the Lifecycle
Design
Document
Virtualize
Code
Test
9
Documentation from Definition
Auto generation from contract
Hosted anywhere
Fully interactive
10
OAS and Service
Virtualization
11
Virtualization accurately mimics/simulates behaviour of components that are unavailable or
difficult to access during software development and beyond.
Examples of components that can be virtualized:
Service Virtualization
Devices Databases API Network
12
Virtualization from the Definition
Virtualization
• Developers
• Testers
• Other Stakeholders
Consumer
Development
13
OAS and Code Generation
14
The OAS definition allows you to generate server stubs and client SDKs directly from the definition
Code-Generation from the Definition
Developer
Consumer
Codegeneration
SDK
15
OAS and Testing
16
Testing from the Definition
The OAS definition allows you to generate test cases directly from the contract
Tester
TestAPI Testing
tool
Refactored
Refactored
Test cases
17
• OpenAPI Specification is machine and human readable
• OAS allows for parallel development
• OAS can be driven across the full API Lifecycle
• Virtualization allows to build an advanced mock from the OAS definition that is dynamic
• It is also possible to build a test in minutes directly from the OAS definition using Open Source or
Professional API testing tools
Summary
Proprietary & Confidential
1818
Thank You
martin.mcdonagh@smartbear.com

Weitere ähnliche Inhalte

Mehr von apidays

apidays Singapore 2023 - Beyond REST, Claudio Tag, IBM
apidays Singapore 2023 - Beyond REST, Claudio Tag, IBMapidays Singapore 2023 - Beyond REST, Claudio Tag, IBM
apidays Singapore 2023 - Beyond REST, Claudio Tag, IBMapidays
 
apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...
apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...
apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...apidays
 
apidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartner
apidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartnerapidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartner
apidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartnerapidays
 
apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...
apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...
apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...apidays
 
Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...
Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...
Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...apidays
 
Apidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IO
Apidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IOApidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IO
Apidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IOapidays
 
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...apidays
 
Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...
Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...
Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...apidays
 
Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...
Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...
Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...apidays
 
Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...
Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...
Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...apidays
 
Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...
Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...
Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...apidays
 
Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...
Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...
Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...apidays
 
Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...
Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...
Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...apidays
 
Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...
Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...
Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...apidays
 
Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...
Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...
Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...apidays
 
Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...
Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...
Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...apidays
 
Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...
Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...
Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...apidays
 
Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...
Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...
Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...apidays
 
Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...
Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...
Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...apidays
 
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2apidays
 

Mehr von apidays (20)

apidays Singapore 2023 - Beyond REST, Claudio Tag, IBM
apidays Singapore 2023 - Beyond REST, Claudio Tag, IBMapidays Singapore 2023 - Beyond REST, Claudio Tag, IBM
apidays Singapore 2023 - Beyond REST, Claudio Tag, IBM
 
apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...
apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...
apidays Singapore 2023 - Securing and protecting our digital way of life, Ver...
 
apidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartner
apidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartnerapidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartner
apidays Singapore 2023 - State of the API Industry, Manjunath Bhat, Gartner
 
apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...
apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...
apidays Australia 2023 - Curb your Enthusiasm:Sustainable Scaling of APIs, Sa...
 
Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...
Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...
Apidays Paris 2023 - API Security Challenges for Cloud-native Software Archit...
 
Apidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IO
Apidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IOApidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IO
Apidays Paris 2023 - State of Tech Sustainability 2023, Gaël Duez, Green IO
 
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
Apidays Paris 2023 - 7 Mistakes When Putting In Place An API Program, Francoi...
 
Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...
Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...
Apidays Paris 2023 - Building APIs That Developers Love: Feedback Collection ...
 
Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...
Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...
Apidays Paris 2023 - Product Managers and API Documentation, Gareth Faull, Lo...
 
Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...
Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...
Apidays Paris 2023 - How to use NoCode as a Microservice, Benjamin Buléon and...
 
Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...
Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...
Apidays Paris 2023 - Boosting Event-Driven Development with AsyncAPI and Micr...
 
Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...
Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...
Apidays Paris 2023 - API Observability: Improving Governance, Security and Op...
 
Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...
Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...
Apidays Paris 2023 - Elevating Event-Driven World: A Deep Dive into AsyncAPI ...
 
Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...
Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...
Apidays Paris 2023 - Everything You Always Wanted to Know About AsyncAPI, Luk...
 
Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...
Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...
Apidays Paris 2023 - Why can't you ignore Product Management as a No-Code eng...
 
Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...
Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...
Apidays Paris 2023 - Not Your Grandma’s Rate Limiting, Meenakshi Dhanani, Pos...
 
Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...
Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...
Apidays Paris 2023 - How API Fit to a Modern Enterprise Integration Platform,...
 
Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...
Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...
Apidays Paris 2023 - Passer de 0 à une multiplication d'APIs, Ibrahima Ndiaye...
 
Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...
Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...
Apidays Paris 2023 - The Butterfly Effect: Transforming Legacy Documentation,...
 
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
 

Kürzlich hochgeladen

QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 

Kürzlich hochgeladen (20)

QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 

apidays LIVE Australia - Definition-Driven API Development: Streamlining your API Development with OAS by Martin McDonagh

  • 1. 1 Definition Driven API Development Streamlining your API Development with OAS Martin McDonagh Lead Solutions Architect – APAC @ SmartBear
  • 3. 3 API First Approach Client A Client B Client C API API API Mock Mock Mock Implementation Implementation Implementation Frontend Developers Backend Developers The API First approach involves having your APIs as the first and primary element of your product and service strategy, Database
  • 4. 4 Definition Driven API development advocates for designing the API’s contract first before any other lifecycle operation The Definition Driven Answer Drives Implementation Maintenance Consumption
  • 5. 5 • A definition is a framework for describing APIs • Machine and human readable • Language agnostic A Common Vocabulary The Open API Specification (OAS) is the world’s standard for defining RESTful APIs
  • 6. 6 Reduced interdependencies, allow teams to work at their own pace Fast development and delivery Easier expansion to different interfaces, clients and views Developer friendly services to build ecosystems and platforms Advantages of Definition Driven Development Faster Development New Revenue Channels and Growth
  • 7. 7 OAS opens a world of possibilities Mocking Design Clients Deployment/Runtime Documentation Virtualization Testing Implementation Prototyping Object reuse, Callbacks etc. Generated client libraries Security, Usage policies, Monitoring, Caching, etc. Developer portals, code samples, User guides, etc. Functional/Runtime simulations Functional, Security, Load, etc. Generated server code/artifacts
  • 8. 8 Definitions Touch Every Phase of the Lifecycle Design Document Virtualize Code Test
  • 9. 9 Documentation from Definition Auto generation from contract Hosted anywhere Fully interactive
  • 11. 11 Virtualization accurately mimics/simulates behaviour of components that are unavailable or difficult to access during software development and beyond. Examples of components that can be virtualized: Service Virtualization Devices Databases API Network
  • 12. 12 Virtualization from the Definition Virtualization • Developers • Testers • Other Stakeholders Consumer Development
  • 13. 13 OAS and Code Generation
  • 14. 14 The OAS definition allows you to generate server stubs and client SDKs directly from the definition Code-Generation from the Definition Developer Consumer Codegeneration SDK
  • 16. 16 Testing from the Definition The OAS definition allows you to generate test cases directly from the contract Tester TestAPI Testing tool Refactored Refactored Test cases
  • 17. 17 • OpenAPI Specification is machine and human readable • OAS allows for parallel development • OAS can be driven across the full API Lifecycle • Virtualization allows to build an advanced mock from the OAS definition that is dynamic • It is also possible to build a test in minutes directly from the OAS definition using Open Source or Professional API testing tools Summary
  • 18. Proprietary & Confidential 1818 Thank You martin.mcdonagh@smartbear.com

Hinweis der Redaktion

  1. OpenAPI Specification (formerly Swagger Specification) is an API description format for REST APIs.
  2. An API-first approach means that for any given development project, your APIs are treated as “first-class citizens.” That everything about a project revolves around the idea that the end product will be consumed by mobile devices, and that APIs will be consumed by client applications. An API-first approach involves developing APIs that are consistent and reusable, which can be accomplished by using an API description language to establish a contract for how the API is supposed to behave. The API design that is stubbed out can be used by front-end and backend devs APIs functionality can be stubbed out. Minimizing dependencies between backend and front end devs API backend stubbed out
  3. Putting yourself in the end-consumers shoes Design the api interface first Remove dependencies Implementation logic Create a great consumer experience
  4. Common framework of thinking Technical writers, developers, Architects Reduces issues with inefficiencies and teams Keeps everything in sync Source of truth – integrate with workflows and tools - Jenkins/GitHub etc for workflow
  5. Starting from the API design Fits in well with mocking Expand to front clients Faster = reduced interdependencies between teams Clients = not constrained by architecture with design first Put yourself in the consumers shoes and build a great experience for building ecosystems
  6. Mocking = Prototyping Design = Object resuse/callbacks Clients = Generated client libraries Deplyment/Runtime = Security/Usage Policies/Monitoring Docuentation = Dev Portal/User Guides Virtualization = Functional simulations Testing = functional, security, load Implementation = Generated code
  7. Machine readable Tooling ecosystem Swagger UI etc .
  8. Early feedback and speed Google Maps / Rate limits Load Testing against virtual service Mimic the behavior of google maps Hand off to front end developers
  9. - Clone and create advanced scenarios - Shared to consumers internally and externally - Beta feedback? - Advance development processes Sandbox Advantages: Reduces dependency between teams (front end/backend) Enables parallel development Faster prototyping (startup)
  10. Advantages of code gen: No wasting time of boiler plate code Faster prototyping Out of the box SDK generation for easy consumption Developer focuses on business logic Generate SDKs for a better consumer experience
  11. Advantages of testing from the definition: Reduce time to market by generating quick tests Easily tie back to development process and refactor changes (minimize confusion) Mitigate risk (Testing before production)