SlideShare une entreprise Scribd logo
1  sur  14
Enforcing Your Organization’s
API Design Standards with
SwaggerHub
Calvin Fudge
Product Marketing Director
API Lifecycle Solutions
Alex Bonstrom
Solutions Engineer
API Lifecycle Solutions
Today’s Presenters
3
APIs Are Everywhere
4
4
APIs are the foundation…
Any Application
Any Device
Anywhere
Anytime
Instant messaging
AR/VR telepresence
Document /
database sharing
Webcasting
Telephone
Email
Enterprise social
network
Enterprise applications
Smart watch
Head-
mounted
displays
Laptop/desktop
Tablet
Smartphone
Home Work
On the go
Qualityisessentialtoensureapplicationswork
APIs are essential to ensure connections
Integration is fundamental to APIs
| APIs underpin internal integrations
| APIs intersect with a myriad of tools and
technologies – SCM repositories, build
tools, gateways…
| APIs are expected to seamlessly integrate
CI/CD Pipeline
Deploy
Repo
6
API Design Matters
| Development teams today are distributed
across departments, geographies, time
zones
| Consistency in API design is not a given
o Code-first, design-first
| Without a focus on API design standards,
it is difficult to create a consistent API
consumer experience
API adoption is tied to consistent design
| If an API is to be used, consumers need a
guide to help them understand
o What data is the API providing
o What is its functionality
o API protocols, formats, versions
Gartner: How to Design Great APIs, June 15, 2021
“APIs designed without a disciplined commitment to consumer-centricity
will suffer poor adoption and fail to meet user expectations.”
SwaggerHub Embedded Style Guide Flagging Standardization Error
8
State of API 2020 - Standardization Tops API Challenges
| Standardization ranks as the top
challenge for all organizations as
they attempt to scale API
development.
The State of API 2020 Report, © 2020 SmartBear Software. All rights reserved.
59%
45%
39%
37%
37%
38%
36%
26%
1%
25%
10%
40%
38%
23%
18%
22%
12%
1%
0% 20% 40% 60%
Standardization
Versioning
Security
Easier Integration Between Tools
Composability/Multi-Purpose Re-use
Authentication
Scalability
Discoverability
Other (please specify):
Which API technology challenges do you most hope to see solved in the near future?
(Select all that apply)
2020 All Responses
2016 All Responses
| Doubling in importance since 2016!
9
Standardization impacts API Consumer Loyalty
| API Consumers are less loyal now
than in previous years.
| When faced with quality or
performance issues
| First report
| Second – leave!
| Willingness to leave went from
30% in 2016, to 37% in 2020.
0% 10% 20% 30% 40% 50% 60% 70% 80% 90%
Wait for the problem to resolve itself
Report the problem publicly (i.e. online
forum/community, social media)
Report the problem to other external people that
could be affected (Peers, customers, partners etc)
Review service level agreements
Switch to an alternate API provider temporarily
Consider switching API providers permanently
Report the problem internally to others within your
organization
Report the problem to the API provider
As an API Consumer, how do you react upon encountering quality or
performance issues with 3rd party APIs? (Please select all that apply)
2020
2018
2016
The State of API 2020 Report, © 2020 SmartBear Software. All rights reserved.
10
Best Practices: API Standardization and Governance
1. Gather input from all stakeholders to ensure API
design aligns to business purpose
2. Understand your API workflow
3. Design-first is preferred over code-first
4. Leverage a single source of truth for API definitions
5. Utilize an API style guide as initial step toward
governance
6. Leverage custom rules to validate OpenAPI definitions
for compliance with API design guidelines
Asset Library
API_1 API_3
API_2
Design Guidelines
!
✔ ✔
11
11
SwaggerHub is a single source of truth for API development
Enables and enforces both internal
and industry standards with
design-first principles to improve
API quality
Provides a central repository for
API definitions enabling collaboration and
feedback across teams within a secure,
scalable platform
Leverage API definitions through integrations
with source control management tools, build
tools, API gateways and DevOps
environments
Faster, Standardized
API Design
Centralized, Secure
API Collaboration
Seamless Integrations to
optimize SDLC efficiency
Proprietary & Confidential
12
The SwaggerHub API Ecosystem
Organizations, Projects, Teams,
Collaborators, Comments,
Documentation, Domains,
Standards and Governance,
Rules, Codegen
Gateway
Integrations
SCM
Integrations
Registry API
Webhooks
Maven/Gradle
Plug-ins
CLI Tool
API Gateways
SCM Repositories
Developer Portals
Redoc, Confluence plug-in
Developer & Consumer
Email
Notifications Collaboration
Scripts
Virtualization Testing
SCM Repos
& Flat Files
Registry API
SCM/Actions Pipelines
using Registry API
Jira, Bamboo,
Etc
Jenkins
Azure DevOps
Build Processes
Applications
Back-end
Test, Staging, Production
and Sandbox
VS Code
Server Tags
Pull definitions from SwaggerHub
13
Demo
Proprietary & Confidential
14
Thank You
Any Questions?

Contenu connexe

Tendances

Tendances (20)

API Management
API ManagementAPI Management
API Management
 
DCC17 - Identity Server 4
DCC17 - Identity Server 4DCC17 - Identity Server 4
DCC17 - Identity Server 4
 
API Governance
API Governance API Governance
API Governance
 
API Strategy Presentation
API Strategy PresentationAPI Strategy Presentation
API Strategy Presentation
 
Microservices and SOA
Microservices and SOAMicroservices and SOA
Microservices and SOA
 
Deep dive: Monetize your API Programs
Deep dive: Monetize your API ProgramsDeep dive: Monetize your API Programs
Deep dive: Monetize your API Programs
 
OpenAPI at Scale
OpenAPI at ScaleOpenAPI at Scale
OpenAPI at Scale
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
 
The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...
 
APIsecure 2023 - API orchestration: to build resilient applications, Cherish ...
APIsecure 2023 - API orchestration: to build resilient applications, Cherish ...APIsecure 2023 - API orchestration: to build resilient applications, Cherish ...
APIsecure 2023 - API orchestration: to build resilient applications, Cherish ...
 
Guide to an API-first Strategy
Guide to an API-first StrategyGuide to an API-first Strategy
Guide to an API-first Strategy
 
Getting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHubGetting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHub
 
OpenAPI 3.0, And What It Means for the Future of Swagger
OpenAPI 3.0, And What It Means for the Future of SwaggerOpenAPI 3.0, And What It Means for the Future of Swagger
OpenAPI 3.0, And What It Means for the Future of Swagger
 
API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0
 
How to Execute a Successful API Strategy
How to Execute a Successful API StrategyHow to Execute a Successful API Strategy
How to Execute a Successful API Strategy
 
Uber's new mobile architecture
Uber's new mobile architectureUber's new mobile architecture
Uber's new mobile architecture
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices Architecture
 
apidays New York 2022 - Innovation in API lifecycle Management, Kevin Swiber,...
apidays New York 2022 - Innovation in API lifecycle Management, Kevin Swiber,...apidays New York 2022 - Innovation in API lifecycle Management, Kevin Swiber,...
apidays New York 2022 - Innovation in API lifecycle Management, Kevin Swiber,...
 
Azure API Management
Azure API ManagementAzure API Management
Azure API Management
 
API Governance in the Enterprise
API Governance in the EnterpriseAPI Governance in the Enterprise
API Governance in the Enterprise
 

Similaire à Enforcing Your Organization's API Design Standards with SwaggerHub

WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2
 
APIs +Micro services technology for Computing
APIs +Micro services technology for ComputingAPIs +Micro services technology for Computing
APIs +Micro services technology for Computing
wismoyo92
 
Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0
sflynn073
 
Mit APIs auf der Überholspur zur produktorientierten Organisation
Mit APIs auf der Überholspur zur produktorientierten OrganisationMit APIs auf der Überholspur zur produktorientierten Organisation
Mit APIs auf der Überholspur zur produktorientierten Organisation
Fabian Hardt
 

Similaire à Enforcing Your Organization's API Design Standards with SwaggerHub (20)

apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
apidays LIVE Paris 2021 - 5 Learnings Shaping Our View on the Future of APIs ...
 
Meetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdfMeetup 2022 - API Gateway landscape.pdf
Meetup 2022 - API Gateway landscape.pdf
 
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
 
apidays Australia 2023 - API Strategy In The Era Of Generative AI,Shreshta Sh...
apidays Australia 2023 - API Strategy In The Era Of Generative AI,Shreshta Sh...apidays Australia 2023 - API Strategy In The Era Of Generative AI,Shreshta Sh...
apidays Australia 2023 - API Strategy In The Era Of Generative AI,Shreshta Sh...
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
 
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
apidays LIVE Paris 2021 - Low-Code API DevOps approach to API Lifecycle Manag...
 
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric Enterprise
 
[WSO2 Summit Brazil 2018] The API-driven World
[WSO2 Summit Brazil 2018] The API-driven World[WSO2 Summit Brazil 2018] The API-driven World
[WSO2 Summit Brazil 2018] The API-driven World
 
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
apidays Helsinki & North 2023 - How can data-driven DevRel help identify gaps...
 
[WSO2Con EU 2018] Keynote - The API Driven World
[WSO2Con EU 2018] Keynote - The API Driven World[WSO2Con EU 2018] Keynote - The API Driven World
[WSO2Con EU 2018] Keynote - The API Driven World
 
APIs +Micro services technology for Computing
APIs +Micro services technology for ComputingAPIs +Micro services technology for Computing
APIs +Micro services technology for Computing
 
Dev Dives: Unlock automation adoption with UiPath Apps
Dev Dives: Unlock automation adoption with UiPath AppsDev Dives: Unlock automation adoption with UiPath Apps
Dev Dives: Unlock automation adoption with UiPath Apps
 
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
 
apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...
apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...
apidays LIVE Hong Kong - The Future of Legacy - How to leverage legacy and on...
 
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
INTERFACE by apidays - API Success: Running a Successful API Program by Nelso...
 
Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0
 
API Management in Hybrid Cloud.pdf
API Management in Hybrid Cloud.pdfAPI Management in Hybrid Cloud.pdf
API Management in Hybrid Cloud.pdf
 
Securely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gatewaySecurely expose protected resources as ap is with app42 api gateway
Securely expose protected resources as ap is with app42 api gateway
 
API Product Management - Driving Success through the Value Chain
API Product Management - Driving Success through the Value ChainAPI Product Management - Driving Success through the Value Chain
API Product Management - Driving Success through the Value Chain
 
Mit APIs auf der Überholspur zur produktorientierten Organisation
Mit APIs auf der Überholspur zur produktorientierten OrganisationMit APIs auf der Überholspur zur produktorientierten Organisation
Mit APIs auf der Überholspur zur produktorientierten Organisation
 

Plus de SmartBear

Plus de SmartBear (20)

Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1
 
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
 
How LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHubHow LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHub
 
Standardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial ServicesStandardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial Services
 
Adopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubAdopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHub
 
Effective API Lifecycle Management
Effective API Lifecycle Management Effective API Lifecycle Management
Effective API Lifecycle Management
 
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
 
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
 
Artificial intelligence for faster and smarter software testing - Galway Mee...
Artificial intelligence for faster and smarter software testing  - Galway Mee...Artificial intelligence for faster and smarter software testing  - Galway Mee...
Artificial intelligence for faster and smarter software testing - Galway Mee...
 
Successfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile WorldSuccessfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile World
 
The Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear WebinarThe Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear Webinar
 
How Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products FasterHow Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products Faster
 
Testing Without a GUI Using TestComplete
 Testing Without a GUI Using TestComplete Testing Without a GUI Using TestComplete
Testing Without a GUI Using TestComplete
 
Hidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script ExtensionsHidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script Extensions
 
How Bdd Can Save Agile
 How Bdd Can Save Agile How Bdd Can Save Agile
How Bdd Can Save Agile
 
API Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship RulesAPI Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship Rules
 
Support Rapid Systems Growth with a Design-First Approach
Support Rapid Systems Growth with a Design-First ApproachSupport Rapid Systems Growth with a Design-First Approach
Support Rapid Systems Growth with a Design-First Approach
 
Maximize Test Automation with a Risk-Based Approach
Maximize Test Automation with a Risk-Based ApproachMaximize Test Automation with a Risk-Based Approach
Maximize Test Automation with a Risk-Based Approach
 
Modernizing the Enterprise API Development Process
Modernizing the Enterprise API Development ProcessModernizing the Enterprise API Development Process
Modernizing the Enterprise API Development Process
 
Developing Performance-Oriented Code: Moore's Law Over 50
Developing Performance-Oriented Code: Moore's Law Over 50Developing Performance-Oriented Code: Moore's Law Over 50
Developing Performance-Oriented Code: Moore's Law Over 50
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

Enforcing Your Organization's API Design Standards with SwaggerHub

  • 1. Enforcing Your Organization’s API Design Standards with SwaggerHub
  • 2. Calvin Fudge Product Marketing Director API Lifecycle Solutions Alex Bonstrom Solutions Engineer API Lifecycle Solutions Today’s Presenters
  • 4. 4 4 APIs are the foundation… Any Application Any Device Anywhere Anytime Instant messaging AR/VR telepresence Document / database sharing Webcasting Telephone Email Enterprise social network Enterprise applications Smart watch Head- mounted displays Laptop/desktop Tablet Smartphone Home Work On the go Qualityisessentialtoensureapplicationswork APIs are essential to ensure connections
  • 5. Integration is fundamental to APIs | APIs underpin internal integrations | APIs intersect with a myriad of tools and technologies – SCM repositories, build tools, gateways… | APIs are expected to seamlessly integrate CI/CD Pipeline Deploy Repo
  • 6. 6 API Design Matters | Development teams today are distributed across departments, geographies, time zones | Consistency in API design is not a given o Code-first, design-first | Without a focus on API design standards, it is difficult to create a consistent API consumer experience
  • 7. API adoption is tied to consistent design | If an API is to be used, consumers need a guide to help them understand o What data is the API providing o What is its functionality o API protocols, formats, versions Gartner: How to Design Great APIs, June 15, 2021 “APIs designed without a disciplined commitment to consumer-centricity will suffer poor adoption and fail to meet user expectations.” SwaggerHub Embedded Style Guide Flagging Standardization Error
  • 8. 8 State of API 2020 - Standardization Tops API Challenges | Standardization ranks as the top challenge for all organizations as they attempt to scale API development. The State of API 2020 Report, © 2020 SmartBear Software. All rights reserved. 59% 45% 39% 37% 37% 38% 36% 26% 1% 25% 10% 40% 38% 23% 18% 22% 12% 1% 0% 20% 40% 60% Standardization Versioning Security Easier Integration Between Tools Composability/Multi-Purpose Re-use Authentication Scalability Discoverability Other (please specify): Which API technology challenges do you most hope to see solved in the near future? (Select all that apply) 2020 All Responses 2016 All Responses | Doubling in importance since 2016!
  • 9. 9 Standardization impacts API Consumer Loyalty | API Consumers are less loyal now than in previous years. | When faced with quality or performance issues | First report | Second – leave! | Willingness to leave went from 30% in 2016, to 37% in 2020. 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% Wait for the problem to resolve itself Report the problem publicly (i.e. online forum/community, social media) Report the problem to other external people that could be affected (Peers, customers, partners etc) Review service level agreements Switch to an alternate API provider temporarily Consider switching API providers permanently Report the problem internally to others within your organization Report the problem to the API provider As an API Consumer, how do you react upon encountering quality or performance issues with 3rd party APIs? (Please select all that apply) 2020 2018 2016 The State of API 2020 Report, © 2020 SmartBear Software. All rights reserved.
  • 10. 10 Best Practices: API Standardization and Governance 1. Gather input from all stakeholders to ensure API design aligns to business purpose 2. Understand your API workflow 3. Design-first is preferred over code-first 4. Leverage a single source of truth for API definitions 5. Utilize an API style guide as initial step toward governance 6. Leverage custom rules to validate OpenAPI definitions for compliance with API design guidelines Asset Library API_1 API_3 API_2 Design Guidelines ! ✔ ✔
  • 11. 11 11 SwaggerHub is a single source of truth for API development Enables and enforces both internal and industry standards with design-first principles to improve API quality Provides a central repository for API definitions enabling collaboration and feedback across teams within a secure, scalable platform Leverage API definitions through integrations with source control management tools, build tools, API gateways and DevOps environments Faster, Standardized API Design Centralized, Secure API Collaboration Seamless Integrations to optimize SDLC efficiency
  • 12. Proprietary & Confidential 12 The SwaggerHub API Ecosystem Organizations, Projects, Teams, Collaborators, Comments, Documentation, Domains, Standards and Governance, Rules, Codegen Gateway Integrations SCM Integrations Registry API Webhooks Maven/Gradle Plug-ins CLI Tool API Gateways SCM Repositories Developer Portals Redoc, Confluence plug-in Developer & Consumer Email Notifications Collaboration Scripts Virtualization Testing SCM Repos & Flat Files Registry API SCM/Actions Pipelines using Registry API Jira, Bamboo, Etc Jenkins Azure DevOps Build Processes Applications Back-end Test, Staging, Production and Sandbox VS Code Server Tags Pull definitions from SwaggerHub