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
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