SlideShare a Scribd company logo
API Docs
=
A way for your technical and
functional community to know
what you have
what they’re going to get
and how to get it
@jobrieniii – DoD API Meetup – 03/26/2015
dod-api-meetup-03262015-swagger-docs
We need more swagger…
Awesome APIs with Shitty Docs =
Useless APIs
*
* REST APIs
Static
---
Difficult to maintain
---
Eye glazing
Dynamic and interactive
---
Can be maintained as part of development process
---
More fun
dod-api-meetup-03262015-swagger-docs
Swagger is a simple yet powerful representation of your RESTful API
Interactive documentation, client SDK generation and discoverability
100% open source
API tooling and developer support
Source: http://swagger.io/
More buzzword bullets…
• A standard, language-agnostic interface to REST APIs which allows both humans and
computers to discover and understand the capabilities of the service without access to source
code, documentation, or through network traffic inspection.
• Consumers can understand and interact with the remote service with a minimal amount of
implementation logic.
• Removes the guesswork in calling the service
• Swagger-enabled APIs expose JSON files
– These files can either be produced and served statically, or be generated dynamically from
your application.
• Swagger does not require you to rewrite your existing API
• It does not require binding any software to a service--the service being described may not
even be yours
Source: https://github.com/swagger-api/swagger-spec
swagger-ui
A dependency-free collection of HTML, Javascript,
and CSS assets that dynamically generate
beautiful documentation from a Swagger-
compliant API.
The Swagger project allows you to produce, visualize
and consume your OWN RESTful services.
No proxy or 3rd party services required. Do it your
own way
swagger json file(s)
Describes your API resources
Machine readable
2.0 is current spec
https://github.com/swagger-api/swagger-spec
{ }
How do you create the Swagger
JSON definition files?{ }
manually editor.swagger.io
(uses YAML)
SDKs
(include in your development / release process)
What if I don’t like the
UI?
Change it… it’s just some html/css/javascript
dod-api-meetup-03262015-swagger-docs
Quick Demo

More Related Content

PDF
CIS14: PingAccess in Action
CloudIDSummit
 
PDF
apidays LIVE London 2021 - Federating the Content Layer by Jamie Barton, Grap...
apidays
 
PDF
[Kong summit 2019] Egress Gateway Pattern - Zhuojie Zhou
00zzj
 
PPTX
apidays LIVE New York 2021 - Top 10 API security threats every API team shoul...
apidays
 
PDF
Who’s Knocking? Identity for APIs, Web and Mobile
Nordic APIs
 
PDF
APIs from the Edge to the Mesh
Nordic APIs
 
PPTX
Developing Enterprise Applications with the WSO2 Application Platform
Nuwan Bandara
 
PDF
Enterprise solution Workrocks
Workrocks
 
CIS14: PingAccess in Action
CloudIDSummit
 
apidays LIVE London 2021 - Federating the Content Layer by Jamie Barton, Grap...
apidays
 
[Kong summit 2019] Egress Gateway Pattern - Zhuojie Zhou
00zzj
 
apidays LIVE New York 2021 - Top 10 API security threats every API team shoul...
apidays
 
Who’s Knocking? Identity for APIs, Web and Mobile
Nordic APIs
 
APIs from the Edge to the Mesh
Nordic APIs
 
Developing Enterprise Applications with the WSO2 Application Platform
Nuwan Bandara
 
Enterprise solution Workrocks
Workrocks
 

What's hot (20)

PPTX
Building conversation AI using Azure Bot & LUIS
Nitin Raj
 
PDF
CIS14: Building a Plug-in with the PingAccess SDK
CloudIDSummit
 
PPT
Smart fender
DefCamp
 
PPTX
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
icebeam7
 
PDF
Access Control with Concierge: One Tool To Rule Them All
Karthik Rangarajan
 
PPTX
Kong
Noam Elfanbaum
 
PPTX
APIs presentation - August 2020
ariannaschlegel
 
PPTX
Real time web applications with signal r
Elad Avneri
 
PDF
API Security In Cloud Native Era
WSO2
 
PDF
Rapid Web Application Development with the WSO2 Mashup Server
Nuwan Bandara
 
PDF
apidays LIVE New York 2021 - How to productify your data with a GraphQL APIs ...
apidays
 
PDF
Architecting SaaS
AxEdge Consulting
 
PPTX
Verviam Identity Management as a Service
Nya
 
PDF
WSO2Con EU 2015: API Management Strategies and Best Practices
WSO2
 
PPTX
A Tour of Different API Management Architectures
Nordic APIs
 
PDF
Microservices security CSA meetup ppt 10_21_2015_v2-2
Vishwas Manral
 
PDF
Client & Virtual User Experience Monitoring mit Splunk
Georg Knon
 
PPTX
Ring central sdk
Anirban Sen Chowdhary
 
PPTX
Deep-Dive: API Security in the Digital Age
Apigee | Google Cloud
 
PPTX
DevOps & Apps - Building and Operating Successful Mobile Apps
Apigee | Google Cloud
 
Building conversation AI using Azure Bot & LUIS
Nitin Raj
 
CIS14: Building a Plug-in with the PingAccess SDK
CloudIDSummit
 
Smart fender
DefCamp
 
Build Stuff 2021 Azure Video Indexer Advanced data extraction from video and ...
icebeam7
 
Access Control with Concierge: One Tool To Rule Them All
Karthik Rangarajan
 
APIs presentation - August 2020
ariannaschlegel
 
Real time web applications with signal r
Elad Avneri
 
API Security In Cloud Native Era
WSO2
 
Rapid Web Application Development with the WSO2 Mashup Server
Nuwan Bandara
 
apidays LIVE New York 2021 - How to productify your data with a GraphQL APIs ...
apidays
 
Architecting SaaS
AxEdge Consulting
 
Verviam Identity Management as a Service
Nya
 
WSO2Con EU 2015: API Management Strategies and Best Practices
WSO2
 
A Tour of Different API Management Architectures
Nordic APIs
 
Microservices security CSA meetup ppt 10_21_2015_v2-2
Vishwas Manral
 
Client & Virtual User Experience Monitoring mit Splunk
Georg Knon
 
Ring central sdk
Anirban Sen Chowdhary
 
Deep-Dive: API Security in the Digital Age
Apigee | Google Cloud
 
DevOps & Apps - Building and Operating Successful Mobile Apps
Apigee | Google Cloud
 
Ad

Viewers also liked (20)

PDF
Government Policy APIs
John O'Brien III
 
PDF
Creative edge resources
John O'Brien
 
PPT
John O'Brien: When People Are Big
WinningtheBattleOverAddiction
 
PPTX
ProductCamp boston 2016 Floor 10-11 Rolling Monitor (template 2)
ProductCamp Boston
 
PDF
John O'Brien - food safety in R&D
Nestlé SA
 
PDF
ProductCamp Boston 2016 Closing
ProductCamp Boston
 
PDF
ProductCamp Boston 2016 Opening Slides
ProductCamp Boston
 
PDF
Data Visualizations in Digital Products (ProductCamp Boston 2016)
ProductCamp Boston
 
PDF
Mapping Human-Centric Product Vision (ProductCamp Boston 2016)
ProductCamp Boston
 
PDF
The Future of Product Marketing
ProductCamp Boston
 
PDF
UX and the Product Manager (ProductCamp Boston 2016)
ProductCamp Boston
 
PDF
ProductCamp Boston 2016 Floor 1 Rolling Monitor (template 1)
ProductCamp Boston
 
PDF
ProductCamp Boston 2016 Opening - Rolling Slides
ProductCamp Boston
 
PPT
2C Light Wearable Green Technology Dealer Presentation-Ver Y4
Simon Dyer
 
PDF
A Sustainable Supply Chain: 4 Things to Tell Management
John E Griggs, Ph.D.
 
DOC
Toffees Sold By A Vender To A Food Inspector Having Been Found To Be Adulterated
msdhillon72
 
PDF
Assimilating the Ideas of Quality and Sustainability
John E Griggs, Ph.D.
 
PDF
An almost complete continuous delivery pipeline including configuration manag...
ulfmansson
 
PDF
Growing web business in Jakarta - the Sribu.com way
Technopreneurs Association of Malaysia
 
PDF
Has your growth company hit a ceiling of complexity?
Rhythm Systems
 
Government Policy APIs
John O'Brien III
 
Creative edge resources
John O'Brien
 
John O'Brien: When People Are Big
WinningtheBattleOverAddiction
 
ProductCamp boston 2016 Floor 10-11 Rolling Monitor (template 2)
ProductCamp Boston
 
John O'Brien - food safety in R&D
Nestlé SA
 
ProductCamp Boston 2016 Closing
ProductCamp Boston
 
ProductCamp Boston 2016 Opening Slides
ProductCamp Boston
 
Data Visualizations in Digital Products (ProductCamp Boston 2016)
ProductCamp Boston
 
Mapping Human-Centric Product Vision (ProductCamp Boston 2016)
ProductCamp Boston
 
The Future of Product Marketing
ProductCamp Boston
 
UX and the Product Manager (ProductCamp Boston 2016)
ProductCamp Boston
 
ProductCamp Boston 2016 Floor 1 Rolling Monitor (template 1)
ProductCamp Boston
 
ProductCamp Boston 2016 Opening - Rolling Slides
ProductCamp Boston
 
2C Light Wearable Green Technology Dealer Presentation-Ver Y4
Simon Dyer
 
A Sustainable Supply Chain: 4 Things to Tell Management
John E Griggs, Ph.D.
 
Toffees Sold By A Vender To A Food Inspector Having Been Found To Be Adulterated
msdhillon72
 
Assimilating the Ideas of Quality and Sustainability
John E Griggs, Ph.D.
 
An almost complete continuous delivery pipeline including configuration manag...
ulfmansson
 
Growing web business in Jakarta - the Sribu.com way
Technopreneurs Association of Malaysia
 
Has your growth company hit a ceiling of complexity?
Rhythm Systems
 
Ad

Similar to dod-api-meetup-03262015-swagger-docs (20)

PPTX
Rest API with Swagger and NodeJS
Luigi Saetta
 
PDF
Get Your Node.js API Swaggering with OpenAPI Spec
Adam Paxton
 
PDF
"Design First" APIs with Swagger
scolestock
 
PPTX
Everybody loves Swagger
BizTalk360
 
PPTX
API Design first with Swagger
Tony Tam
 
PDF
Design Driven API Development
Sokichi Fujita
 
PPTX
Building APIs with Node.js and Swagger
Jeremy Whitlock
 
PPTX
API workshop: Introduction to APIs (TC Camp)
Tom Johnson
 
PPTX
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
PDF
Designing APIs with OpenAPI Spec
Adam Paxton
 
PPTX
Everybody loves Swagger (Massimo Crippa @ Integration Monday)
Codit
 
PDF
API Description Languages: Which Is The Right One For Me?
ProgrammableWeb
 
PDF
I Love APIs 2015: Create Design-driven APIs with Node.js and Swagger
Apigee | Google Cloud
 
PDF
PyCon PL 2014 executable api
Wojtek Erbetowski
 
PPTX
Swagger - make your API accessible
Victor Trakhtenberg
 
PPTX
Swagger - Making REST APIs friendlier
Miroslav Resetar
 
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
Developing Faster with Swagger
Tony Tam
 
Rest API with Swagger and NodeJS
Luigi Saetta
 
Get Your Node.js API Swaggering with OpenAPI Spec
Adam Paxton
 
"Design First" APIs with Swagger
scolestock
 
Everybody loves Swagger
BizTalk360
 
API Design first with Swagger
Tony Tam
 
Design Driven API Development
Sokichi Fujita
 
Building APIs with Node.js and Swagger
Jeremy Whitlock
 
API workshop: Introduction to APIs (TC Camp)
Tom Johnson
 
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
Designing APIs with OpenAPI Spec
Adam Paxton
 
Everybody loves Swagger (Massimo Crippa @ Integration Monday)
Codit
 
API Description Languages: Which Is The Right One For Me?
ProgrammableWeb
 
I Love APIs 2015: Create Design-driven APIs with Node.js and Swagger
Apigee | Google Cloud
 
PyCon PL 2014 executable api
Wojtek Erbetowski
 
Swagger - make your API accessible
Victor Trakhtenberg
 
Swagger - Making REST APIs friendlier
Miroslav Resetar
 
API Description Languages: Which is the Right One for Me?
Akana
 
API Description Languages: Which is the Right One for Me?
Akana
 
Developing Faster with Swagger
Tony Tam
 

Recently uploaded (20)

PDF
UGANDA NATIONAL ANTHEM IN LUGANDA - LYRICS.pdf
MIKE SSENDIKWANAWA
 
PPT
lecture_20_anxsacAFAERVedcdvrvVatomy.ppt
BALQISNURAZIZAH1
 
PPTX
原版丹佛大学毕业证文凭DU学生证购买在线制作本科文凭
sw6vvn9s
 
PPTX
Development Project Proposal of Digital Transition of the.pptx
MdMahbuburRahmanSidd1
 
PDF
Religion and Ecology: Can The Climate Change?
João Soares
 
PPTX
学位成绩单修改休斯顿大学毕业证(UH毕业证书)文凭证书原版制作购买毕业证流程
asp9i3c
 
DOCX
DRAFT COMMUNICATION STRATEGY FOR THE NYAMIRA COUNTY GOVERNOR.docx
JoshuaMokaya3
 
PPTX
Presentation of the European Youth Foundation grants
EuropeanYouthFoundation
 
PPTX
Reports A.pptxhnnngbghjjbbcfctvbuhyhuinbjfv
AiroGumban
 
PDF
HOW_TO_CONDUCT_AN_INQUIRY_UNDER_D&AR.pdf
Shabbir Hussainy
 
PPTX
PAN-Aadhaar-TDS-Rules-2025.move for businesses
Money Cages
 
PDF
About The Hindu Society of North Carolin
paragdighe3
 
PPTX
Training Local Plan Examinations 2025 PCPA - Copy (1).pptx
PAS_Team
 
PPTX
Egomaniac in OSHA for the OSHA 30 training
chadrickkeller
 
PPTX
原版Winchester毕业证文凭温彻斯特大学成绩单水印办理流程办文凭
e7nw4o4
 
PPTX
Aspire Leaders Project ( an app to schedule monthly medication deliveries for...
biancaleao5
 
PPTX
National-National Spoil Your Dog Day (1).pptx
recouti384
 
PPTX
k-lakshmi-sri-venkateswara-veterinary-university-india-1.pptx.ghjkkknbgfvbmkk...
seidyimer7
 
PPT
AtomsFirst2e_day18_sec22.1-22.2_22.4-22.5_CHMY172_spring_2016.ppt
sumodmjohn3
 
PPTX
DFARS Part 245 - Government Property DOD DFARS
JSchaus & Associates
 
UGANDA NATIONAL ANTHEM IN LUGANDA - LYRICS.pdf
MIKE SSENDIKWANAWA
 
lecture_20_anxsacAFAERVedcdvrvVatomy.ppt
BALQISNURAZIZAH1
 
原版丹佛大学毕业证文凭DU学生证购买在线制作本科文凭
sw6vvn9s
 
Development Project Proposal of Digital Transition of the.pptx
MdMahbuburRahmanSidd1
 
Religion and Ecology: Can The Climate Change?
João Soares
 
学位成绩单修改休斯顿大学毕业证(UH毕业证书)文凭证书原版制作购买毕业证流程
asp9i3c
 
DRAFT COMMUNICATION STRATEGY FOR THE NYAMIRA COUNTY GOVERNOR.docx
JoshuaMokaya3
 
Presentation of the European Youth Foundation grants
EuropeanYouthFoundation
 
Reports A.pptxhnnngbghjjbbcfctvbuhyhuinbjfv
AiroGumban
 
HOW_TO_CONDUCT_AN_INQUIRY_UNDER_D&AR.pdf
Shabbir Hussainy
 
PAN-Aadhaar-TDS-Rules-2025.move for businesses
Money Cages
 
About The Hindu Society of North Carolin
paragdighe3
 
Training Local Plan Examinations 2025 PCPA - Copy (1).pptx
PAS_Team
 
Egomaniac in OSHA for the OSHA 30 training
chadrickkeller
 
原版Winchester毕业证文凭温彻斯特大学成绩单水印办理流程办文凭
e7nw4o4
 
Aspire Leaders Project ( an app to schedule monthly medication deliveries for...
biancaleao5
 
National-National Spoil Your Dog Day (1).pptx
recouti384
 
k-lakshmi-sri-venkateswara-veterinary-university-india-1.pptx.ghjkkknbgfvbmkk...
seidyimer7
 
AtomsFirst2e_day18_sec22.1-22.2_22.4-22.5_CHMY172_spring_2016.ppt
sumodmjohn3
 
DFARS Part 245 - Government Property DOD DFARS
JSchaus & Associates
 

dod-api-meetup-03262015-swagger-docs

  • 1. API Docs = A way for your technical and functional community to know what you have what they’re going to get and how to get it @jobrieniii – DoD API Meetup – 03/26/2015
  • 3. We need more swagger… Awesome APIs with Shitty Docs = Useless APIs * * REST APIs
  • 4. Static --- Difficult to maintain --- Eye glazing Dynamic and interactive --- Can be maintained as part of development process --- More fun
  • 6. Swagger is a simple yet powerful representation of your RESTful API Interactive documentation, client SDK generation and discoverability 100% open source API tooling and developer support Source: http://swagger.io/
  • 7. More buzzword bullets… • A standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. • Consumers can understand and interact with the remote service with a minimal amount of implementation logic. • Removes the guesswork in calling the service • Swagger-enabled APIs expose JSON files – These files can either be produced and served statically, or be generated dynamically from your application. • Swagger does not require you to rewrite your existing API • It does not require binding any software to a service--the service being described may not even be yours Source: https://github.com/swagger-api/swagger-spec
  • 8. swagger-ui A dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger- compliant API. The Swagger project allows you to produce, visualize and consume your OWN RESTful services. No proxy or 3rd party services required. Do it your own way swagger json file(s) Describes your API resources Machine readable 2.0 is current spec https://github.com/swagger-api/swagger-spec { }
  • 9. How do you create the Swagger JSON definition files?{ } manually editor.swagger.io (uses YAML) SDKs (include in your development / release process)
  • 10. What if I don’t like the UI? Change it… it’s just some html/css/javascript