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

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
1 of 12

Recommended

Serverless architecture by
Serverless architectureServerless architecture
Serverless architecturevipin kumar
91 views19 slides
Beyond The Rails Way by
Beyond The Rails WayBeyond The Rails Way
Beyond The Rails WayAndrzej Krzywda
3.5K views35 slides
Being With Rails App For 3 Years by
Being With Rails App For 3 YearsBeing With Rails App For 3 Years
Being With Rails App For 3 Yearsdeeeki
1K views55 slides
Serverless Computing With Azure Functions by
Serverless Computing With Azure FunctionsServerless Computing With Azure Functions
Serverless Computing With Azure FunctionsJaliya Udagedara
1.1K views12 slides
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords... by
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...
Rob Gruhl and Erik Erikson - What We Learned in 18 Serverless Months at Nords...ServerlessConf
1.6K views10 slides
Angular4 kickstart by
Angular4 kickstartAngular4 kickstart
Angular4 kickstartFoyzul Karim
549 views24 slides

More Related Content

What's hot

Office Development Licensing, Deployment and ALM by
Office Development Licensing, Deployment and ALMOffice Development Licensing, Deployment and ALM
Office Development Licensing, Deployment and ALMEric Shupps
413 views16 slides
Web api using rest based architecture by
Web api using rest based architectureWeb api using rest based architecture
Web api using rest based architectureSoham Kulkarni
542 views15 slides
Php classified real estate property script by eicra soft by
Php classified real estate property script by eicra softPhp classified real estate property script by eicra soft
Php classified real estate property script by eicra softEicra_Soft_Limited
253 views9 slides
Donald Ferguson - Old Programmers Can Learn New Tricks by
Donald Ferguson - Old Programmers Can Learn New TricksDonald Ferguson - Old Programmers Can Learn New Tricks
Donald Ferguson - Old Programmers Can Learn New TricksServerlessConf
1.3K views15 slides
Inside Wordnik's Architecture by
Inside Wordnik's ArchitectureInside Wordnik's Architecture
Inside Wordnik's ArchitectureTony Tam
2.8K views45 slides
Real World SharePoint Add-In Development by
Real World SharePoint Add-In DevelopmentReal World SharePoint Add-In Development
Real World SharePoint Add-In DevelopmentEric Shupps
300 views32 slides

What's hot(20)

Office Development Licensing, Deployment and ALM by Eric Shupps
Office Development Licensing, Deployment and ALMOffice Development Licensing, Deployment and ALM
Office Development Licensing, Deployment and ALM
Eric Shupps413 views
Web api using rest based architecture by Soham Kulkarni
Web api using rest based architectureWeb api using rest based architecture
Web api using rest based architecture
Soham Kulkarni542 views
Php classified real estate property script by eicra soft by Eicra_Soft_Limited
Php classified real estate property script by eicra softPhp classified real estate property script by eicra soft
Php classified real estate property script by eicra soft
Eicra_Soft_Limited253 views
Donald Ferguson - Old Programmers Can Learn New Tricks by ServerlessConf
Donald Ferguson - Old Programmers Can Learn New TricksDonald Ferguson - Old Programmers Can Learn New Tricks
Donald Ferguson - Old Programmers Can Learn New Tricks
ServerlessConf1.3K views
Inside Wordnik's Architecture by Tony Tam
Inside Wordnik's ArchitectureInside Wordnik's Architecture
Inside Wordnik's Architecture
Tony Tam2.8K views
Real World SharePoint Add-In Development by Eric Shupps
Real World SharePoint Add-In DevelopmentReal World SharePoint Add-In Development
Real World SharePoint Add-In Development
Eric Shupps300 views
RubyConf Taiwan 2016 - Large scale Rails applications by Florian Dutey
RubyConf Taiwan 2016 - Large scale Rails applicationsRubyConf Taiwan 2016 - Large scale Rails applications
RubyConf Taiwan 2016 - Large scale Rails applications
Florian Dutey520 views
Fastest to Mobile with Scalatra + Swagger by Tony Tam
Fastest to Mobile with Scalatra + SwaggerFastest to Mobile with Scalatra + Swagger
Fastest to Mobile with Scalatra + Swagger
Tony Tam2.3K views
RubyConf China 2015 - Rails off assets pipeline by Florian Dutey
RubyConf China 2015 - Rails off assets pipelineRubyConf China 2015 - Rails off assets pipeline
RubyConf China 2015 - Rails off assets pipeline
Florian Dutey199 views
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements by Eric Shupps
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance EnhancementsSPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
Eric Shupps611 views
REST vs. GraphQL: Critical Look by Nordic APIs
REST vs. GraphQL: Critical LookREST vs. GraphQL: Critical Look
REST vs. GraphQL: Critical Look
Nordic APIs1.2K views
EXPERTALKS: Jul 2012 - Build using Gradle by EXPERTALKS
EXPERTALKS: Jul 2012 - Build using GradleEXPERTALKS: Jul 2012 - Build using Gradle
EXPERTALKS: Jul 2012 - Build using Gradle
EXPERTALKS541 views
Write Generic Code with the Tooling API by Adam Olshansky
Write Generic Code with the Tooling APIWrite Generic Code with the Tooling API
Write Generic Code with the Tooling API
Adam Olshansky584 views

Viewers also liked

University Achievements by
University AchievementsUniversity Achievements
University AchievementsMichael Owen
76 views1 slide
CT prize by
CT prizeCT prize
CT prizeMichael Owen
62 views1 slide
LHASA Toxicology award by
LHASA Toxicology awardLHASA Toxicology award
LHASA Toxicology awardMichael Owen
71 views1 slide
Kuva rakenneratkaisuista by
Kuva rakenneratkaisuistaKuva rakenneratkaisuista
Kuva rakenneratkaisuistaSirpa Pursiainen
103 views1 slide
Person centred care poll 11 by
Person centred care poll 11Person centred care poll 11
Person centred care poll 11NHS Improving Quality
2.2K views2 slides
Streams in Java 8 by
Streams in Java 8Streams in Java 8
Streams in Java 8Tobias Coetzee
1.1K views44 slides

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

Rest API with Swagger and NodeJS by
Rest API with Swagger and NodeJSRest API with Swagger and NodeJS
Rest API with Swagger and NodeJSLuigi Saetta
870 views17 slides
Scaling with swagger by
Scaling with swaggerScaling with swagger
Scaling with swaggerTony Tam
6.2K views39 slides
Get Your Node.js API Swaggering with OpenAPI Spec by
Get Your Node.js API Swaggering with OpenAPI SpecGet Your Node.js API Swaggering with OpenAPI Spec
Get Your Node.js API Swaggering with OpenAPI SpecAdam Paxton
2K views18 slides
Swagger - Making REST APIs friendlier by
Swagger - Making REST APIs friendlierSwagger - Making REST APIs friendlier
Swagger - Making REST APIs friendlierMiroslav Resetar
1K views21 slides
Delivering Developer Tools at Scale by
Delivering Developer Tools at ScaleDelivering Developer Tools at Scale
Delivering Developer Tools at ScaleOracle Developers
185 views33 slides
Designing APIs with OpenAPI Spec by
Designing APIs with OpenAPI SpecDesigning APIs with OpenAPI Spec
Designing APIs with OpenAPI SpecAdam Paxton
6K views19 slides

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

Rest API with Swagger and NodeJS by Luigi Saetta
Rest API with Swagger and NodeJSRest API with Swagger and NodeJS
Rest API with Swagger and NodeJS
Luigi Saetta870 views
Scaling with swagger by Tony Tam
Scaling with swaggerScaling with swagger
Scaling with swagger
Tony Tam6.2K views
Get Your Node.js API Swaggering with OpenAPI Spec by Adam Paxton
Get Your Node.js API Swaggering with OpenAPI SpecGet Your Node.js API Swaggering with OpenAPI Spec
Get Your Node.js API Swaggering with OpenAPI Spec
Adam Paxton2K views
Designing APIs with OpenAPI Spec by Adam Paxton
Designing APIs with OpenAPI SpecDesigning APIs with OpenAPI Spec
Designing APIs with OpenAPI Spec
Adam Paxton6K views
Building Enterprise Grade Front-End Applications with JavaScript Frameworks by FITC
Building Enterprise Grade Front-End Applications with JavaScript FrameworksBuilding Enterprise Grade Front-End Applications with JavaScript Frameworks
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
FITC2K views
A look ahead at RAP (ESE 2010) by Ralf Sternberg
A look ahead at RAP (ESE 2010)A look ahead at RAP (ESE 2010)
A look ahead at RAP (ESE 2010)
Ralf Sternberg1.1K views
Design Driven API Development by Sokichi Fujita
Design Driven API DevelopmentDesign Driven API Development
Design Driven API Development
Sokichi Fujita9.1K views
Swagger APIs for Humans and Robots (Gluecon) by Tony Tam
Swagger APIs for Humans and Robots (Gluecon)Swagger APIs for Humans and Robots (Gluecon)
Swagger APIs for Humans and Robots (Gluecon)
Tony Tam7.8K views
The Characteristics of a Successful SPA by Gil Fink
The Characteristics of a Successful SPAThe Characteristics of a Successful SPA
The Characteristics of a Successful SPA
Gil Fink1.8K views
Lessons learned on the Azure API Stewardship Journey.pptx by apidays
Lessons learned on the Azure API Stewardship Journey.pptxLessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptx
apidays182 views
Building Software Backend (Web API) by Alexander Goida
Building Software Backend (Web API)Building Software Backend (Web API)
Building Software Backend (Web API)
Alexander Goida222 views
API workshop: Introduction to APIs (TC Camp) by Tom Johnson
API workshop: Introduction to APIs (TC Camp)API workshop: Introduction to APIs (TC Camp)
API workshop: Introduction to APIs (TC Camp)
Tom Johnson3.2K views
APIs distribuidos con alta escalabilidad by Software Guru
APIs distribuidos con alta escalabilidadAPIs distribuidos con alta escalabilidad
APIs distribuidos con alta escalabilidad
Software Guru1.9K views

Recently uploaded

VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueShapeBlue
207 views54 slides
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...The Digital Insurer
91 views52 slides
Initiating and Advancing Your Strategic GIS Governance Strategy by
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance StrategySafe Software
184 views68 slides
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...Jasper Oosterveld
35 views49 slides
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue by
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueShapeBlue
137 views13 slides
Qualifying SaaS, IaaS.pptx by
Qualifying SaaS, IaaS.pptxQualifying SaaS, IaaS.pptx
Qualifying SaaS, IaaS.pptxSachin Bhandari
1.1K views8 slides

Recently uploaded(20)

VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue207 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
Initiating and Advancing Your Strategic GIS Governance Strategy by Safe Software
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software184 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue by ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue137 views
LLMs in Production: Tooling, Process, and Team Structure by Aggregage
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team Structure
Aggregage57 views
"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays33 views
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro35 views
The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE84 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue129 views
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... by BookNet Canada
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
BookNet Canada41 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... by ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue164 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue152 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue224 views
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays36 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays58 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online by ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue225 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue247 views

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