13. DocumentaMon
• No
standard
• Ad-‐hoc
aFributes
• Managed
manually
• Not
up
to
date
• …..
hFp://www.imagineyourreality.com/business-‐coaching/documentaMon.html
17. Swagger
is…
• producing
• consuming
• visualizing
RESTful
APIs
A
framework
for
• describing
• documenMng
RESTful
APIs
A
specificaMon
for
Technology
Methodology
18. The
Swagger
SpecificaMon
It’s
a
spec!
• JSON
to
specify
metadata
• JSON
to
specify
API
structure
• JSON
schema
for
the
model
specificaMon
• Machine
readable
• Language
agnosMc
19. Agenda
• IntroducMon
• Deep
Dive
• The
technology
• Swagger
is
not
• Swagger
2.0
• AlternaMves
• References
34. • Does
not
support
mulMple
API
versions
• Does
not
tell
how
to
write
the
API
– Delete
an
object
by
HTTP
DELETE
or
via
HTTP
GET
with
query
param
• Is
not
trying
to
solve
all
problems
for
all
APIs
37. Emerging
Standard
• Thousands
of
developers
contributed
to
the
ecosystem
• Tens
of
thousands
of
producMon
deployments
• From
startups
to
US
Government
http://www.marketwatch.com/story/reverb-announces-swagger-20-a-next-generation-
interface-to-connect-apis-and-cloud-services-2014-09-08?mod=mw_share_twitter
38. Swagger
2.0
• YAML
support
(along
with
JSON)
• OAuth
2.0
enabled
• Migrated
to
Java
• Won’t
be
compaMble
with
1.x