SlideShare a Scribd company logo
Swagger: Restful documentation that won't put you to sleep
• Every site, application, service and its dog offers a RESTFul API
• Your project probably has one too
• Microservices
• Client/Server
• BLL/UI
• Anything/Javascript
• Easy to understand
• Easy to learn
• Easy to adopt
• Resource
• Verbs
• Authentication
• Examples
• Sandbox
• Try it out
Adhoc
Source Code
Document
WADL
• Not XML, but a better abbreviation – JSON/YAML
• Includes information to help with discoverability
• Big adoption rate
• Plenty of tooling and community support
Swagger: Restful documentation that won't put you to sleep
• Version 1.0 released in 2011
• Version 1.0 Tony Tam, version 2.0 400+ people
• Wordnik Reverb Software Smartbear
• Open source, Apache License, Version 2.0
• Gained a lot of momentum from 2013 to 2014
• Moved from Assess to Trail in the latest Thoughtworks
Technology Radar
• Microsoft Azure
• Amazon Web Services
• PayPal
• Apigee
• Etc… (go and check out their site)
• Browser based UI for exploring a Swagger defined API
• Java-related libraries for generating and reading
Swagger definitions
• Command-line tool for generating both client and server
side code from a Swagger definition
• Javascript client for swagger enabled API
• Java library to read swagger files
• Validates and adds a valid badge
• Browser based editor for authoring Swagger definitions
in YAML or JSON format
Swagger: Restful documentation that won't put you to sleep
• All are some YAML like language with tools and generators
• RAML (RESTful API Modeling Language)
• API Blueprint
• APIDoc
• Some look nicer, some work easier, some are pricy
• Mashape
• API Designer Studio
• README Editor
• Apiary
• And on and on…
• What is your API used for and how?
• Who needs to setup the documentation
• Who needs to use the documentation
• Manual
• WADL or WADL like specifications
• No phoning a friend
• Project could end
• Slow bug fixes
• Can you still change what you are doing
now?
• Add the effort of setting things up
Swagger: Restful documentation that won't put you to sleep

More Related Content

What's hot (20)

PPTX
Office Development Licensing, Deployment and ALM
Eric Shupps
 
PPTX
Web api using rest based architecture
Soham Kulkarni
 
PPTX
Php classified real estate property script by eicra soft
Eicra_Soft_Limited
 
PDF
Donald Ferguson - Old Programmers Can Learn New Tricks
ServerlessConf
 
PPTX
Inside Wordnik's Architecture
Tony Tam
 
PPTX
Real World SharePoint Add-In Development
Eric Shupps
 
PDF
RubyConf Taiwan 2016 - Large scale Rails applications
Florian Dutey
 
PDF
Fastest to Mobile with Scalatra + Swagger
Tony Tam
 
PPTX
Testing Testing everywhere
Antonio Robres Turon
 
PDF
RubyConf China 2015 - Rails off assets pipeline
Florian Dutey
 
PDF
Build a Chatbot in Ten Minutes - Dave Kerr - Serverless Summit
CodeOps Technologies LLP
 
PDF
Serverless integration zero code
Michael Walmsley
 
PDF
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
Eric Shupps
 
PDF
REST vs. GraphQL: Critical Look
Nordic APIs
 
PDF
The future of cloud programming
Jason Straughan
 
PPTX
R2DBC - Good Enough for Production?
Olexandra Dmytrenko
 
PPTX
EXPERTALKS: Jul 2012 - Build using Gradle
EXPERTALKS
 
PDF
Total cloud immersion
Avishai Ish-Shalom
 
PDF
Testing course content converted
ShreemInstituteProfe
 
PDF
Write Generic Code with the Tooling API
Adam Olshansky
 
Office Development Licensing, Deployment and ALM
Eric Shupps
 
Web api using rest based architecture
Soham Kulkarni
 
Php classified real estate property script by eicra soft
Eicra_Soft_Limited
 
Donald Ferguson - Old Programmers Can Learn New Tricks
ServerlessConf
 
Inside Wordnik's Architecture
Tony Tam
 
Real World SharePoint Add-In Development
Eric Shupps
 
RubyConf Taiwan 2016 - Large scale Rails applications
Florian Dutey
 
Fastest to Mobile with Scalatra + Swagger
Tony Tam
 
Testing Testing everywhere
Antonio Robres Turon
 
RubyConf China 2015 - Rails off assets pipeline
Florian Dutey
 
Build a Chatbot in Ten Minutes - Dave Kerr - Serverless Summit
CodeOps Technologies LLP
 
Serverless integration zero code
Michael Walmsley
 
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
Eric Shupps
 
REST vs. GraphQL: Critical Look
Nordic APIs
 
The future of cloud programming
Jason Straughan
 
R2DBC - Good Enough for Production?
Olexandra Dmytrenko
 
EXPERTALKS: Jul 2012 - Build using Gradle
EXPERTALKS
 
Total cloud immersion
Avishai Ish-Shalom
 
Testing course content converted
ShreemInstituteProfe
 
Write Generic Code with the Tooling API
Adam Olshansky
 

Viewers also liked (12)

PDF
University Achievements
Michael Owen
 
DOCX
CT prize
Michael Owen
 
PDF
LHASA Toxicology award
Michael Owen
 
PDF
Kuva rakenneratkaisuista
Sirpa Pursiainen
 
PPTX
Person centred care poll 11
NHS Improving Quality
 
PDF
Streams in Java 8
Tobias Coetzee
 
PDF
canale_turbolento
Fabrizio Donati
 
PPTX
La oportunidad de la vida
dennisandres7777
 
PPTX
La oportunidad de la vida
monse_bedoya
 
PDF
DonatiFabrizio_IEEEEMBC2014
Fabrizio Donati
 
PPTX
DonatiF_PhDThesisPresentation
Fabrizio Donati
 
PDF
Lambdas in Java 8
Tobias Coetzee
 
University Achievements
Michael Owen
 
CT prize
Michael Owen
 
LHASA Toxicology award
Michael Owen
 
Kuva rakenneratkaisuista
Sirpa Pursiainen
 
Person centred care poll 11
NHS Improving Quality
 
Streams in Java 8
Tobias Coetzee
 
canale_turbolento
Fabrizio Donati
 
La oportunidad de la vida
dennisandres7777
 
La oportunidad de la vida
monse_bedoya
 
DonatiFabrizio_IEEEEMBC2014
Fabrizio Donati
 
DonatiF_PhDThesisPresentation
Fabrizio Donati
 
Lambdas in Java 8
Tobias Coetzee
 
Ad

Similar to Swagger: Restful documentation that won't put you to sleep (20)

PPTX
Another API-Blueprint, RAML and Swagger Comparison
SmartBear
 
PPTX
Scaling with swagger
Tony Tam
 
PPTX
API Description Languages: Which is the Right One for Me?
Akana
 
PPTX
API Description Languages: Which is the Right One for Me?
Akana
 
PDF
API Description Languages: Which Is The Right One For Me?
ProgrammableWeb
 
PDF
Ultimate Guide to 30+ API Documentation Solutions
Bill Doerrfeld
 
PPTX
Reaching 1 Million APIs and what to do when we get there
3scale
 
PPTX
Rest API with Swagger and NodeJS
Luigi Saetta
 
PDF
Swagger for-your-api
Tony Tam
 
PPTX
OpenAPI v.Next - Events, Alternative Schemas & the Road Ahead
Ted Epstein
 
PPTX
Swagger for startups
Tony Tam
 
PDF
Swagger 2.0: Latest and Greatest
LaunchAny
 
PPTX
Swagger - Making REST APIs friendlier
Miroslav Resetar
 
PDF
API Description Languages
Akana
 
PDF
API Description Languages
Akana
 
PPTX
REST Coder: Auto Generating Client Stubs and Documentation for REST APIs
Hiranya Jayathilaka
 
PPTX
API Athens Meetup - API standards 25-6-2014
openi_ict
 
PPTX
API Athens Meetup - API standards 25-6-2014
Michael Petychakis
 
PPTX
Swagger - make your API accessible
Victor Trakhtenberg
 
PPTX
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
Another API-Blueprint, RAML and Swagger Comparison
SmartBear
 
Scaling with swagger
Tony Tam
 
API Description Languages: Which is the Right One for Me?
Akana
 
API Description Languages: Which is the Right One for Me?
Akana
 
API Description Languages: Which Is The Right One For Me?
ProgrammableWeb
 
Ultimate Guide to 30+ API Documentation Solutions
Bill Doerrfeld
 
Reaching 1 Million APIs and what to do when we get there
3scale
 
Rest API with Swagger and NodeJS
Luigi Saetta
 
Swagger for-your-api
Tony Tam
 
OpenAPI v.Next - Events, Alternative Schemas & the Road Ahead
Ted Epstein
 
Swagger for startups
Tony Tam
 
Swagger 2.0: Latest and Greatest
LaunchAny
 
Swagger - Making REST APIs friendlier
Miroslav Resetar
 
API Description Languages
Akana
 
API Description Languages
Akana
 
REST Coder: Auto Generating Client Stubs and Documentation for REST APIs
Hiranya Jayathilaka
 
API Athens Meetup - API standards 25-6-2014
openi_ict
 
API Athens Meetup - API standards 25-6-2014
Michael Petychakis
 
Swagger - make your API accessible
Victor Trakhtenberg
 
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
Ad

Recently uploaded (20)

PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
Productivity Management Software | Workstatus
Lovely Baghel
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Top Managed Service Providers in Los Angeles
Captain IT
 
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
Productivity Management Software | Workstatus
Lovely Baghel
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 

Swagger: Restful documentation that won't put you to sleep

  • 2. • Every site, application, service and its dog offers a RESTFul API • Your project probably has one too • Microservices • Client/Server • BLL/UI • Anything/Javascript • Easy to understand • Easy to learn • Easy to adopt
  • 3. • Resource • Verbs • Authentication • Examples • Sandbox • Try it out
  • 5. • Not XML, but a better abbreviation – JSON/YAML • Includes information to help with discoverability • Big adoption rate • Plenty of tooling and community support
  • 7. • Version 1.0 released in 2011 • Version 1.0 Tony Tam, version 2.0 400+ people • Wordnik Reverb Software Smartbear • Open source, Apache License, Version 2.0 • Gained a lot of momentum from 2013 to 2014 • Moved from Assess to Trail in the latest Thoughtworks Technology Radar • Microsoft Azure • Amazon Web Services • PayPal • Apigee • Etc… (go and check out their site)
  • 8. • Browser based UI for exploring a Swagger defined API • Java-related libraries for generating and reading Swagger definitions • Command-line tool for generating both client and server side code from a Swagger definition • Javascript client for swagger enabled API • Java library to read swagger files • Validates and adds a valid badge • Browser based editor for authoring Swagger definitions in YAML or JSON format
  • 10. • All are some YAML like language with tools and generators • RAML (RESTful API Modeling Language) • API Blueprint • APIDoc • Some look nicer, some work easier, some are pricy • Mashape • API Designer Studio • README Editor • Apiary • And on and on…
  • 11. • What is your API used for and how? • Who needs to setup the documentation • Who needs to use the documentation • Manual • WADL or WADL like specifications • No phoning a friend • Project could end • Slow bug fixes • Can you still change what you are doing now? • Add the effort of setting things up