The API Lifecycle Series – Part 2
Exploring Design-First and Code-First
Approaches to API Development
Housekeeping
Proprietary & Confidential
Session is being recorded
Please post questions to Q+A
Open Q+A at end
Ronan Trainor
Joe Joyce
The API Lifecycle Series
4
Evolving API Development & Testing from Open Source to Pro Tooling
• Upgrading your API testing from SoapUI open source to SoapUI Pro
• Making your test data more dynamic
• Testing in multiple environments
• Bringing it all together in a CI/CD pipeline
• When to move from open source Swagger tools to SwaggerHub
• Generating OAS from an existing microservice
• Automatically generate consumer documentation
• Getting multiple teams involved
Proprietary & Confidential
The Story so Far…
5
Exploring Design-First and a Code-First Approaches to API Development – Today!
• The pros and cons of each approach to API development
• How SwaggerHub can be used to facilitate a design-first approach
Using the Open API Specification Across the SDLC – July 24th
• Discussing the tactical journey of standardizing around Open API
• How to scale and enforce design practices across team in your organization
Showcasing Teams that Have Put SmartBear Tools into Action – July 31st
• Examples of customers that have successfully evolved their API development and testing with SmartBear tools
Proprietary & Confidential
So what’s next?
API Design and Development:
Code-First
7
How can my existing services benefit
from OAS?
Stage
Deploy
Build
Test
Feedback
• Existing applications can leverage OAS
• Ensure documentation is mapped to code
• Leverage design-first principles in future
• Annotation libraries
• Build plugins
• Maven
• Gradle
• Swagger Inspector
• Browser based REST client
• Convert requests into swagger
• Built in SwaggerHub integration
8
Code First - Advantages
§ Enables development teams do what they do best – write
code
§ OpenAPI is treated as a result of a build, and can be then
reused in other scenarios
§ Documentation
§ Testing
§ Virtualization/Mocking
§ Automated workflows can be built around this
§ Validate whether or not an API definition has changed
§ Branching strategy can result in higher test coverage
§ Versioning is enforced through the build/testing workflow
§ Ensure that a version doesn’t include breaking changes
§ Version requirements can be returned to a development
team as their
{ }…
9
Code First - Challenges
§ Requires a complex and highly customized process to
automate
§ Hard to build this in a ‘one size fits all’ manner for larger
organizations
§ May have to be tailored to application/language being
developed
§ ‘Switching’ between tasks becomes commonplace
§ As developers push to a pipeline, they may move to
another task or ticket
§ If an issue is detected – they will have to stop and return
to a previous task
§ The cost of fixes is higher
§ In a design first environment, there is contract defining
expectations
§ Feedback that may come back from consumers has to be
implemented into code again, as opposed to a light
weight document (OpenAPI)
{ }…
API Design and Development:
Design-First
11
How can design-first help?
Plan
Design
BuildTest
Deploy
Plan
Stage
Deploy
• Plan gets mapped to a high level, technical spec
• This contract becomes our ‘truth’ moving forward
• Get earlier feedback
• Key stakeholders can interact in new ways
• Early stage documentation
• Functional mock services
• Make changes in a fraction of the time
• Minimal technical overhead to iterate on previous work
• Introduce new workflows
• Easy start building a TDD framework
• Quickly stand up mock services
• Dev + test can work in parallel
Feedback
12
Design First - Advantages
§ Single source of truth for
§ Design
§ Development
§ Testing
§ Operations
§ Documentation
§ Create design-driven workflows + processes
§ Build-in early stage commenting and feedback loop
§ Share common assets across teams and projects
§ Cut down on drift between teams
§ Generate SDKs + stubs as needed
§ Automate gateway + management platform configuration
§ Enforce high-level standards over designs
§ Define assets at an organizational scale
§ Errors
§ Models
§ Security flows
§ Validate designs against standardization rules and resolve
issues before development
{ }…
13
Improving on traditional
development
• Begin with a high level ‘plan’
• Why are we building the API?
• Who will consume / use this service?
• What is its scope? What will it serve?
• Start writing code to fulfill requirements
• Get feedback on early stage (but working) version
• We have to consider the ‘technical debt’ of taking on
any changes to existing work
Plan
Build
TestFeedback
Deploy
Plan
Build
Test
Stage
Deploy
14
Design First - Challenges
§ Requires ‘buy-in’ across an organization
§ Siloed teams working in their own ways create more
bottlenecks and issues than the process resolves
§ Communication between code-first and design-first
teams can get convoluted
§ Needs a supporting pipeline or process to realize full
value
§ If the advantages of design-first are still being used
manually,
§ Building and migrating to these types of processes can be
a slow process at scale
§ Maintaining legacy systems and workflows
§ Not every service will be able to take advantage of
OpenAPI
§ How can we leverage both in parallel?
{ }…
15
Back-end & Front-
end
Development
Testing
Design
v1.1
Feedback
v1.0
Stub
OAS
Virtual
Service
Testcase
Testcase Production
V1.1
Docs
V1.1
API
1. The initial requirements are defined for a
new version of an API in SwaggerHub
2. Designers, external and internal teams
give feedback and ‘sign off’ on changes
3. After approval, code templates can be
generated from the design and handed to
developers
4. The API design can be consumed by
ReadyAPI to automatically generate test
cases, virtual services and can be used as an
assertion contract
5. As developers complete coding, tests can
be brought to validate work based on the
contract as part of the build process
6. Documentation in SwaggerHub can be
published alongside the new version of the
service.
The development work, tests and
documentation all tie back to the what was
approved during the design process
What does design-first look like?
SDKs
16
Questions?
Thank You!
Join our next session on Wednesday, July 24th
Using the OpenAPI Specification Across the SDLC

More Related Content

PDF
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
PPTX
Introducing OpenAPI Version 3.1
PPTX
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
PPTX
Effective API Lifecycle Management
PPTX
Understanding and Executing on API Developer Experience
PPTX
Getting Started with API Standardization in SwaggerHub
PPTX
How Capital One Scaled API Design to Deliver New Products Faster
PPTX
The State of Testing 2017
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
Introducing OpenAPI Version 3.1
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Effective API Lifecycle Management
Understanding and Executing on API Developer Experience
Getting Started with API Standardization in SwaggerHub
How Capital One Scaled API Design to Deliver New Products Faster
The State of Testing 2017

What's hot (20)

PPTX
Use Automation to Assist -Not Replace- Manual Testing
PPTX
The Best Kept Secrets of Code Review | SmartBear Webinar
PPTX
Advanced Automation in Your API Lifecycle
PPTX
The Magic Behind Faster API Development, Testing and Delivery with API Virtua...
PPTX
Advanced Mocking for Swagger APIs
PPTX
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
PDF
Designing APIs with OpenAPI Spec
PPTX
ATAGTR2017 Keeping pace with Product Evolution: UI Automation Framework Guide...
PDF
[Workshop] Up-leveling Brownfield Integration
PPTX
Behavior-Driven Development (BDD) in context
PPTX
Testing in DevOps world
PDF
Service api design validation & collaboration
PPTX
Kloia Quality Assurance
PDF
Developing Brilliant and Powerful APIs in Ruby & Python
ODP
API Testing With Katalon Studio
PDF
Automation Testing Approach for Responsive Web Design
PPTX
Inflectracon2020: Advantages of Integrating a DevSecOps Pipeline with the Spi...
PPTX
#ATAGTR2019 Presentation "QA alignment in the DevOps world" By Suneeta Paland...
PDF
OpenStack DefCore review 2014
PDF
Wso2 italia Open Break session #7 - Test di API e microservizi nelle architet...
Use Automation to Assist -Not Replace- Manual Testing
The Best Kept Secrets of Code Review | SmartBear Webinar
Advanced Automation in Your API Lifecycle
The Magic Behind Faster API Development, Testing and Delivery with API Virtua...
Advanced Mocking for Swagger APIs
ATAGTR2017 Unified APM: The new age performance monitoring for production sys...
Designing APIs with OpenAPI Spec
ATAGTR2017 Keeping pace with Product Evolution: UI Automation Framework Guide...
[Workshop] Up-leveling Brownfield Integration
Behavior-Driven Development (BDD) in context
Testing in DevOps world
Service api design validation & collaboration
Kloia Quality Assurance
Developing Brilliant and Powerful APIs in Ruby & Python
API Testing With Katalon Studio
Automation Testing Approach for Responsive Web Design
Inflectracon2020: Advantages of Integrating a DevSecOps Pipeline with the Spi...
#ATAGTR2019 Presentation "QA alignment in the DevOps world" By Suneeta Paland...
OpenStack DefCore review 2014
Wso2 italia Open Break session #7 - Test di API e microservizi nelle architet...
Ad

Similar to The API Lifecycle Series: Exploring Design-First and Code-First Approaches to API Development (20)

PDF
Listen to Your Machines: DevOps Analytics for Better Feedback Loops
PPTX
ALM with TFS: From the Drawing Board to the Cloud
PDF
Enterprise CI as-a-Service using Jenkins
PPT
what-is-devops.ppt
PDF
Agileand saas davepatterson_armandofox_050813webinar
PDF
Is Being Agile a Good Thing?
PDF
Containers, microservices and serverless for realists
PPTX
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
PPTX
Think Cloud, Develop Locally
PPT
Road to agile: federal government case study
PDF
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
PDF
Continuous Testing: A Key to DevOps Success
PDF
A Reference Architecture to Enable Visibility and Traceability across the Ent...
PPTX
Lessons learned on the Azure API Stewardship Journey.pptx
PPTX
Training Bootcamp - MainframeDevOps.pptx
PPTX
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
PPTX
All you need is fast feedback loop, fast feedback loop, fast feedback loop is...
PPTX
Change Management in Hybrid landscapes 2017
PDF
#ATAGTR2020 Presentation - Shift Left - Performance Testing
PPTX
All you need is fast feedback loop, fast feedback loop, fast feedback loop is...
Listen to Your Machines: DevOps Analytics for Better Feedback Loops
ALM with TFS: From the Drawing Board to the Cloud
Enterprise CI as-a-Service using Jenkins
what-is-devops.ppt
Agileand saas davepatterson_armandofox_050813webinar
Is Being Agile a Good Thing?
Containers, microservices and serverless for realists
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
Think Cloud, Develop Locally
Road to agile: federal government case study
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
Continuous Testing: A Key to DevOps Success
A Reference Architecture to Enable Visibility and Traceability across the Ent...
Lessons learned on the Azure API Stewardship Journey.pptx
Training Bootcamp - MainframeDevOps.pptx
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
All you need is fast feedback loop, fast feedback loop, fast feedback loop is...
Change Management in Hybrid landscapes 2017
#ATAGTR2020 Presentation - Shift Left - Performance Testing
All you need is fast feedback loop, fast feedback loop, fast feedback loop is...
Ad

More from SmartBear (20)

PPTX
Enforcing Your Organization's API Design Standards with SwaggerHub
PPTX
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
PPTX
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
PPTX
How LISI Automotive Accelerated Application Delivery with SwaggerHub
PPTX
Standardising APIs: Powering the Platform Economy in Financial Services
PPTX
Adopting a Design-First Approach to API Development with SwaggerHub
PPTX
Artificial intelligence for faster and smarter software testing - Galway Mee...
PDF
Successfully Implementing BDD in an Agile World
PPTX
Testing Without a GUI Using TestComplete
PPTX
Hidden Treasure - TestComplete Script Extensions
PDF
How Bdd Can Save Agile
PPTX
API Automation and TDD to Implement Master Data Survivorship Rules
PDF
Support Rapid Systems Growth with a Design-First Approach
PDF
Maximize Test Automation with a Risk-Based Approach
PPTX
Modernizing the Enterprise API Development Process
PPTX
Developing Performance-Oriented Code: Moore's Law Over 50
PPTX
Implementation of DevOps at SmartBear
PPTX
Accelerate Your Delivery Pipeline with Continuous Testing
PPTX
Be Dynamic: Unblock Your Environments
PPTX
Transform QA to Stay Ahead of Digital Disruption
Enforcing Your Organization's API Design Standards with SwaggerHub
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
How LISI Automotive Accelerated Application Delivery with SwaggerHub
Standardising APIs: Powering the Platform Economy in Financial Services
Adopting a Design-First Approach to API Development with SwaggerHub
Artificial intelligence for faster and smarter software testing - Galway Mee...
Successfully Implementing BDD in an Agile World
Testing Without a GUI Using TestComplete
Hidden Treasure - TestComplete Script Extensions
How Bdd Can Save Agile
API Automation and TDD to Implement Master Data Survivorship Rules
Support Rapid Systems Growth with a Design-First Approach
Maximize Test Automation with a Risk-Based Approach
Modernizing the Enterprise API Development Process
Developing Performance-Oriented Code: Moore's Law Over 50
Implementation of DevOps at SmartBear
Accelerate Your Delivery Pipeline with Continuous Testing
Be Dynamic: Unblock Your Environments
Transform QA to Stay Ahead of Digital Disruption

Recently uploaded (20)

PDF
Architecture types and enterprise applications.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Chapter 5: Probability Theory and Statistics
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PPTX
The various Industrial Revolutions .pptx
PDF
STKI Israel Market Study 2025 version august
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Five Habits of High-Impact Board Members
PPT
What is a Computer? Input Devices /output devices
PPT
Geologic Time for studying geology for geologist
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Developing a website for English-speaking practice to English as a foreign la...
Architecture types and enterprise applications.pdf
Module 1.ppt Iot fundamentals and Architecture
Chapter 5: Probability Theory and Statistics
OpenACC and Open Hackathons Monthly Highlights July 2025
Credit Without Borders: AI and Financial Inclusion in Bangladesh
sustainability-14-14877-v2.pddhzftheheeeee
The various Industrial Revolutions .pptx
STKI Israel Market Study 2025 version august
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
A comparative study of natural language inference in Swahili using monolingua...
Custom Battery Pack Design Considerations for Performance and Safety
A proposed approach for plagiarism detection in Myanmar Unicode text
Five Habits of High-Impact Board Members
What is a Computer? Input Devices /output devices
Geologic Time for studying geology for geologist
Taming the Chaos: How to Turn Unstructured Data into Decisions
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
sbt 2.0: go big (Scala Days 2025 edition)
Flame analysis and combustion estimation using large language and vision assi...
Developing a website for English-speaking practice to English as a foreign la...

The API Lifecycle Series: Exploring Design-First and Code-First Approaches to API Development

  • 1. The API Lifecycle Series – Part 2 Exploring Design-First and Code-First Approaches to API Development
  • 2. Housekeeping Proprietary & Confidential Session is being recorded Please post questions to Q+A Open Q+A at end Ronan Trainor Joe Joyce
  • 4. 4 Evolving API Development & Testing from Open Source to Pro Tooling • Upgrading your API testing from SoapUI open source to SoapUI Pro • Making your test data more dynamic • Testing in multiple environments • Bringing it all together in a CI/CD pipeline • When to move from open source Swagger tools to SwaggerHub • Generating OAS from an existing microservice • Automatically generate consumer documentation • Getting multiple teams involved Proprietary & Confidential The Story so Far…
  • 5. 5 Exploring Design-First and a Code-First Approaches to API Development – Today! • The pros and cons of each approach to API development • How SwaggerHub can be used to facilitate a design-first approach Using the Open API Specification Across the SDLC – July 24th • Discussing the tactical journey of standardizing around Open API • How to scale and enforce design practices across team in your organization Showcasing Teams that Have Put SmartBear Tools into Action – July 31st • Examples of customers that have successfully evolved their API development and testing with SmartBear tools Proprietary & Confidential So what’s next?
  • 6. API Design and Development: Code-First
  • 7. 7 How can my existing services benefit from OAS? Stage Deploy Build Test Feedback • Existing applications can leverage OAS • Ensure documentation is mapped to code • Leverage design-first principles in future • Annotation libraries • Build plugins • Maven • Gradle • Swagger Inspector • Browser based REST client • Convert requests into swagger • Built in SwaggerHub integration
  • 8. 8 Code First - Advantages § Enables development teams do what they do best – write code § OpenAPI is treated as a result of a build, and can be then reused in other scenarios § Documentation § Testing § Virtualization/Mocking § Automated workflows can be built around this § Validate whether or not an API definition has changed § Branching strategy can result in higher test coverage § Versioning is enforced through the build/testing workflow § Ensure that a version doesn’t include breaking changes § Version requirements can be returned to a development team as their { }…
  • 9. 9 Code First - Challenges § Requires a complex and highly customized process to automate § Hard to build this in a ‘one size fits all’ manner for larger organizations § May have to be tailored to application/language being developed § ‘Switching’ between tasks becomes commonplace § As developers push to a pipeline, they may move to another task or ticket § If an issue is detected – they will have to stop and return to a previous task § The cost of fixes is higher § In a design first environment, there is contract defining expectations § Feedback that may come back from consumers has to be implemented into code again, as opposed to a light weight document (OpenAPI) { }…
  • 10. API Design and Development: Design-First
  • 11. 11 How can design-first help? Plan Design BuildTest Deploy Plan Stage Deploy • Plan gets mapped to a high level, technical spec • This contract becomes our ‘truth’ moving forward • Get earlier feedback • Key stakeholders can interact in new ways • Early stage documentation • Functional mock services • Make changes in a fraction of the time • Minimal technical overhead to iterate on previous work • Introduce new workflows • Easy start building a TDD framework • Quickly stand up mock services • Dev + test can work in parallel Feedback
  • 12. 12 Design First - Advantages § Single source of truth for § Design § Development § Testing § Operations § Documentation § Create design-driven workflows + processes § Build-in early stage commenting and feedback loop § Share common assets across teams and projects § Cut down on drift between teams § Generate SDKs + stubs as needed § Automate gateway + management platform configuration § Enforce high-level standards over designs § Define assets at an organizational scale § Errors § Models § Security flows § Validate designs against standardization rules and resolve issues before development { }…
  • 13. 13 Improving on traditional development • Begin with a high level ‘plan’ • Why are we building the API? • Who will consume / use this service? • What is its scope? What will it serve? • Start writing code to fulfill requirements • Get feedback on early stage (but working) version • We have to consider the ‘technical debt’ of taking on any changes to existing work Plan Build TestFeedback Deploy Plan Build Test Stage Deploy
  • 14. 14 Design First - Challenges § Requires ‘buy-in’ across an organization § Siloed teams working in their own ways create more bottlenecks and issues than the process resolves § Communication between code-first and design-first teams can get convoluted § Needs a supporting pipeline or process to realize full value § If the advantages of design-first are still being used manually, § Building and migrating to these types of processes can be a slow process at scale § Maintaining legacy systems and workflows § Not every service will be able to take advantage of OpenAPI § How can we leverage both in parallel? { }…
  • 15. 15 Back-end & Front- end Development Testing Design v1.1 Feedback v1.0 Stub OAS Virtual Service Testcase Testcase Production V1.1 Docs V1.1 API 1. The initial requirements are defined for a new version of an API in SwaggerHub 2. Designers, external and internal teams give feedback and ‘sign off’ on changes 3. After approval, code templates can be generated from the design and handed to developers 4. The API design can be consumed by ReadyAPI to automatically generate test cases, virtual services and can be used as an assertion contract 5. As developers complete coding, tests can be brought to validate work based on the contract as part of the build process 6. Documentation in SwaggerHub can be published alongside the new version of the service. The development work, tests and documentation all tie back to the what was approved during the design process What does design-first look like? SDKs
  • 16. 16 Questions? Thank You! Join our next session on Wednesday, July 24th Using the OpenAPI Specification Across the SDLC