SlideShare a Scribd company logo
The Swagger Format becomes the Open API
Specification: Standardizing descriptions of Web
APIs for interoperability
Steven Willmott
CEO, 3scale Inc.
steve@3scale.net : @njyx
Credits
2
▪ Slides from Marsh Gardiner (Apigee), Dennis Brenan
(Capital One), Tony Tam (Smartbear), Ole Lensmar
(Smartbear) and myself
▪ http://openapis.org/
Who Am I?
▪ http://www.3scale.net
▪ @3scale
▪ Early Swagger supporter
▪ Now OAI Founding Member
3
▪ CEO of 3scale
▪ Leading API Infrastructure Provider
▪ 700+ Customers
▪ Billions of API Calls Managed
Introduction & Agenda
4
▪ OpenAPI Specification (OAS)
▪ Open API Initiative (OAI)
▪ Usage and Tooling Examples
The OpenAPI Specification
fka “the Swagger specification”
DRAFT - Open API Initiative (OAI) 5
What is the OpenAPI Specification?
6
Generally Categorized
REST API Description Language
More Generally
IDL for REST APIs
What does the OpenAPI Specification Offer?
7
A simple format for writing REST service contracts
▪ Are independent from language, development framework,
deployment technology
▪ Can be expressed in YAML or JSON format
▪ Support both API-first and code-first approaches to
defining, building and documenting APIs
▪ Have a clean & powerful extension mechanism
Language
Neutral
& Machine
Readable Format
APIs can be
defined in JSON
or YAML
API-First &
Code-First
Development
Powerful
Extension
Mechanism
Comprehensive Tooling Support (core, UI, codegen, editor)
Road to the OAS
8
2010
Tony Tam @Wordnik founded Swagger
Q1 2015
Swagger acquired by SmartBear
Q3 2015
Linux Foundation Workgroup Forms
Q4 2015
Swagger renamed “OpenAPI Specification”
2010 - 2014
Development, Growth, Adoption, Tooling, Community
Adoption & Growth
9
▪ 100,000 weekly source visits
▪ 11,500 daily downloads
▪ 10,000 daily visitors to swagger.io
▪ 4,600 forks of official repos
▪ 1,700 public repos on GitHub
▪ Client/server support in all popular
languages & frameworks
Most Popular API Framework
Community
10 December 2014DRAFT - Open API Initiative 10
Broad Industry Adoption
11
Why adopt the OpenAPI Specification?
12
Commitment to Remain
Open
Portable
Vendor Neutral
Strong Independent
Sponsorship
CommunitySimple & Pragmatic
Superior Tooling Best Industry Support
The Importance of API Interface
Definitions
13
14
What about Rest Interfaces?
15
What Spec? Spec Generates
Code
Spec as
Code
Code is
Spec
REST API Development Evolution
Shared Definitions are Crucial
▪ Stable Interface Definition
▪ Managed process around
change
▪ Discovery of capabilities
▪ Automation of processes and
procedures
▪ Essential at 100’s APIs
▪ Invaluable at 10’s Thousands
and Millions
16Photo: Josh Hibbert / Unsplash.com
In your organization: inter-team
dependencies
Across the public Internet: cross-
organization discovery & contracts
Shared Definitions are Crucial
▪ Fixed point of Reference
▪ Automation:
▪ Explorers / Docs
▪ Code Gen
▪ Editors
▪ Search
▪ Testing
▪ Change Management
▪ Management platforms
▪ Design Focus
17
The Open API Initiative
18
The Open API Initiative - Mission
Provide an open source, technical community, within which industry
participants may easily contribute to building a vendor-neutral, portable and
open specification for providing technical metadata for REST APIs –
The OpenAPI Specification.
19
OAI Initial Steps
▪ Establishment of a clear, open governance structure for both
business & technical direction
▪Swagger specification donated to the Open API Initiative
▪ Meritocratic approach to technical contributions – not pay-to-play
▪ Charter is here: https://openapis.org/governance
20
OAI Governance Structure
21
Business
Governance
Board
(BGB)
Budget, marketing,
community, etc…
Technical
Developer
Community
(TDC)
Manages the
OpenAPI
Specification
Technical
Oversight
Board
(TOB)
Resolves conflict in
TDC
Swagger ➔ OpenAPI Specification (OAS)
▪ Moved from swagger-api 2.0 to OAI GitHub Repository
▪ https://github.com/oai/OpenAPI-Specification
▪ Core TDC elected and working on next version 3.0 of spec
▪ Apache 2.0 License as before
▪ You can/should join the discussion – please do!
22
Focus of OpenAPI Spec 3.0
Aiming for 2016 summer release ~mid July
23
Documentatio
n
Structure
Protocols and
Payloads
JSON Schema
& JSON
References
URI Support
Error
Handling/Docu
mentation
Security
Request
Parameters
24
OAS Usage Examples
25
Code First with Swagger Annotations
26
Swagger UI
Build docs by
processing
JSON/YAML API
Spec
The API Spec can be
returned from static
source or from the
running API
27
API First with Swagger Editor
Wrapped Swagger
Editor
Lifecycle Tooling
Manage API
Metadata
Governance &
Review
Dynamic Mock
Responses
And Finally…
28
Get Involved!
Website: https://openapis.org/
Spec: https://github.com/oai
Follow: @OpenApiSpec
29
Additional Information
30
31
OpenAPI Spec’s X-Extensions
Additional data added to API definition
to extend the specification
Always prefixed by "x-" and can have
any valid JSON/YAML format value
32
OpenAPI Spec’s X-Extensions
paths:
/demo/bankthings:
get:
summary: Returns a list of Bank Things
operationId: getBankThings
x-c1-proxy: audit
parameters:
- $ref: '#/parameters/ApiKey'
33
From Legacy Java Framework to
Polyglot Microservices using OpenAPI
@Annotations & Servlet Filters ➔ X-Extensions

More Related Content

What's hot (20)

PDF
OpenAPI and gRPC Side by-Side
Tim Burks
 
PDF
OpenAPI 3.0, And What It Means for the Future of Swagger
SmartBear
 
PPTX
Getting Started with API Standardization in SwaggerHub
SmartBear
 
PDF
Doing REST Right
Kerry Buckley
 
PDF
Learn REST in 18 Slides
Suraj Gupta
 
PDF
Building APIs with the OpenApi Spec
Pedro J. Molina
 
PPTX
Introduction to GraphQL
Bhargav Anadkat
 
PPTX
AWS로 게임 기반 다지기 - 김병수, 박진성 :: AWS Game Master 온라인 세미나 #3
Amazon Web Services Korea
 
PDF
APIsecure 2023 - Security Considerations for API Gateway Aggregation, Yoshiyu...
apidays
 
PDF
Documenting your REST API with Swagger - JOIN 2014
JWORKS powered by Ordina
 
PPTX
REST-API introduction for developers
Patrick Savalle
 
PPTX
Api design part 1
Ibrahim Elsawaf
 
PPTX
What is an API?
Muhammad Zuhdi
 
PPTX
Enforcing Your Organization's API Design Standards with SwaggerHub
SmartBear
 
PDF
Richardson Maturity and OpenAPI 3.0
SmartBear
 
PPTX
Api-First service design
Stefaan Ponnet
 
PPTX
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
PDF
Swagger UI
Walaa Hamdy Assy
 
PPT
Understanding REST
Nitin Pande
 
OpenAPI and gRPC Side by-Side
Tim Burks
 
OpenAPI 3.0, And What It Means for the Future of Swagger
SmartBear
 
Getting Started with API Standardization in SwaggerHub
SmartBear
 
Doing REST Right
Kerry Buckley
 
Learn REST in 18 Slides
Suraj Gupta
 
Building APIs with the OpenApi Spec
Pedro J. Molina
 
Introduction to GraphQL
Bhargav Anadkat
 
AWS로 게임 기반 다지기 - 김병수, 박진성 :: AWS Game Master 온라인 세미나 #3
Amazon Web Services Korea
 
APIsecure 2023 - Security Considerations for API Gateway Aggregation, Yoshiyu...
apidays
 
Documenting your REST API with Swagger - JOIN 2014
JWORKS powered by Ordina
 
REST-API introduction for developers
Patrick Savalle
 
Api design part 1
Ibrahim Elsawaf
 
What is an API?
Muhammad Zuhdi
 
Enforcing Your Organization's API Design Standards with SwaggerHub
SmartBear
 
Richardson Maturity and OpenAPI 3.0
SmartBear
 
Api-First service design
Stefaan Ponnet
 
API Docs with OpenAPI 3.0
Fabrizio Ferri-Benedetti
 
Swagger UI
Walaa Hamdy Assy
 
Understanding REST
Nitin Pande
 

Viewers also liked (20)

PDF
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
3scale
 
PPTX
A Connector, A Container and an API Walk Into a Bar: The Programmable World
3scale
 
PPTX
Take Control of your APIs in a Microservice Architecture
3scale
 
PPTX
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
3scale
 
PPTX
How to Survive the API Copyright Apocalypse
3scale
 
PDF
APIs and the Bot Revolution (APIDays Nordic, May 18)
3scale
 
PPTX
Entering the Platform Age: How to create genuine value for internal and exter...
3scale
 
PPTX
APIs.JSON: Bootstrapping The Web of APIs
3scale
 
PDF
Inside mind of a successful platform architect / Gartner APPS 2016
3scale
 
PDF
API workshop by AWS and 3scale
3scale
 
PPTX
Integrating, exposing and managing distributed data with RESTful APIs and op...
3scale
 
PDF
APIsBerlin 3scale Data for a Web of APIs
3scale
 
PPTX
API Model Canvas (APIDays Mediterranea 2015)
3scale
 
PPTX
API Model Canvas for successful API strategies and programs
3scale
 
PPTX
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
3scale
 
PPTX
Building Successful API Programs in Higher Education
3scale
 
PPTX
Swagger & OpenAPI Spec #openapi
Muhammad Siddiqi
 
PDF
The API-Application Semantic Gap
3scale
 
PPTX
Microservices in action: How to actually build them
3scale
 
PPTX
API Design first with Swagger
Tony Tam
 
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
3scale
 
A Connector, A Container and an API Walk Into a Bar: The Programmable World
3scale
 
Take Control of your APIs in a Microservice Architecture
3scale
 
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
3scale
 
How to Survive the API Copyright Apocalypse
3scale
 
APIs and the Bot Revolution (APIDays Nordic, May 18)
3scale
 
Entering the Platform Age: How to create genuine value for internal and exter...
3scale
 
APIs.JSON: Bootstrapping The Web of APIs
3scale
 
Inside mind of a successful platform architect / Gartner APPS 2016
3scale
 
API workshop by AWS and 3scale
3scale
 
Integrating, exposing and managing distributed data with RESTful APIs and op...
3scale
 
APIsBerlin 3scale Data for a Web of APIs
3scale
 
API Model Canvas (APIDays Mediterranea 2015)
3scale
 
API Model Canvas for successful API strategies and programs
3scale
 
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
3scale
 
Building Successful API Programs in Higher Education
3scale
 
Swagger & OpenAPI Spec #openapi
Muhammad Siddiqi
 
The API-Application Semantic Gap
3scale
 
Microservices in action: How to actually build them
3scale
 
API Design first with Swagger
Tony Tam
 
Ad

Similar to The Swagger Format becomes the Open API Specification: Standardizing descriptions of Web APIs for interoperability (20)

PDF
Presentation at the 2016 Linux Foundation Collab Summit
Open API Initiative (OAI)
 
PDF
9 Months and Counting with Jeff Borek of IBM OpenAPI Meetup 2016 09 15
Open API Initiative (OAI)
 
PPTX
Open API Initiative: Six months and counting
Open API Initiative (OAI)
 
PPTX
OpenAPI v.Next - Events, Alternative Schemas & the Road Ahead
Ted Epstein
 
PDF
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
luisw19
 
PDF
Content Strategy and Developer Engagement for DevPortals
Axway
 
PDF
apidays Australia 2022 - Accelerating API Engineering, Jason D'Souza & Andrew...
apidays
 
PPTX
API Platform Cloud Service best practice - OOW17
Phil Wilkins
 
PDF
OSSDN Introduction 06112015
Rick Bauer
 
PDF
Designing Usable APIs featuring Forrester Research, Inc.
CA API Management
 
PDF
Octo API-days 2015
Antoine CHANTALOU
 
PDF
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
PPT
Modernizing an Existing SOA-based Architecture with APIs
Apigee | Google Cloud
 
PDF
Melbourne Virtual MuleSoft Meetup November 2020
Daniel Soffner
 
PDF
Presentation WSO2 workshop Brussels September 24th 2014 (APIs-Integration)
Yenlo
 
PDF
API Workshop Amsterdam presented by API Architect Ronnie Mitra
CA API Management
 
PPT
Six Steps To Build A Successful API
Chris Haddad
 
PPT
Six Steps to Build Successful APIs
WSO2
 
PDF
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
Revelation Technologies
 
PPTX
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
apidays
 
Presentation at the 2016 Linux Foundation Collab Summit
Open API Initiative (OAI)
 
9 Months and Counting with Jeff Borek of IBM OpenAPI Meetup 2016 09 15
Open API Initiative (OAI)
 
Open API Initiative: Six months and counting
Open API Initiative (OAI)
 
OpenAPI v.Next - Events, Alternative Schemas & the Road Ahead
Ted Epstein
 
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
luisw19
 
Content Strategy and Developer Engagement for DevPortals
Axway
 
apidays Australia 2022 - Accelerating API Engineering, Jason D'Souza & Andrew...
apidays
 
API Platform Cloud Service best practice - OOW17
Phil Wilkins
 
OSSDN Introduction 06112015
Rick Bauer
 
Designing Usable APIs featuring Forrester Research, Inc.
CA API Management
 
Octo API-days 2015
Antoine CHANTALOU
 
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
Modernizing an Existing SOA-based Architecture with APIs
Apigee | Google Cloud
 
Melbourne Virtual MuleSoft Meetup November 2020
Daniel Soffner
 
Presentation WSO2 workshop Brussels September 24th 2014 (APIs-Integration)
Yenlo
 
API Workshop Amsterdam presented by API Architect Ronnie Mitra
CA API Management
 
Six Steps To Build A Successful API
Chris Haddad
 
Six Steps to Build Successful APIs
WSO2
 
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
Revelation Technologies
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
apidays
 
Ad

More from 3scale (12)

PDF
APISTRAT KEYNOTE: Surfing the Wave between Chaos and Innovation
3scale
 
PPTX
A Connector, A Container and an API Walk into a Bar… Microservices Edition
3scale
 
PDF
Kill the fail whale for your API
3scale
 
PDF
API as a Growth Tool
3scale
 
PDF
Enhance Mobile Dev with APItools
3scale
 
PDF
APIs for your Business + Stages of the API Lifecycle
3scale
 
PPTX
Changing the Face of Transport via APIs. Talk at APIDays Paris 2014
3scale
 
PPTX
If data is the new oil, then interfaces are the new delivery means -- Ignite ...
3scale
 
PPTX
APIs and Unlocking the Value of Your Data - Strata Barcelona 2014
3scale
 
PPTX
API Integration with APItools.com
3scale
 
PDF
Building Hypermedia APIs in JavaScript
3scale
 
PPTX
API Management Workshop (at Startupbootcamp Berlin)
3scale
 
APISTRAT KEYNOTE: Surfing the Wave between Chaos and Innovation
3scale
 
A Connector, A Container and an API Walk into a Bar… Microservices Edition
3scale
 
Kill the fail whale for your API
3scale
 
API as a Growth Tool
3scale
 
Enhance Mobile Dev with APItools
3scale
 
APIs for your Business + Stages of the API Lifecycle
3scale
 
Changing the Face of Transport via APIs. Talk at APIDays Paris 2014
3scale
 
If data is the new oil, then interfaces are the new delivery means -- Ignite ...
3scale
 
APIs and Unlocking the Value of Your Data - Strata Barcelona 2014
3scale
 
API Integration with APItools.com
3scale
 
Building Hypermedia APIs in JavaScript
3scale
 
API Management Workshop (at Startupbootcamp Berlin)
3scale
 

Recently uploaded (20)

PDF
BRKSP-2551 - Introduction to Segment Routing.pdf
fcesargonca
 
PPTX
Lec15_Mutability Immutability-converted.pptx
khanjahanzaib1
 
PPTX
Softuni - Psychology of entrepreneurship
Kalin Karakehayov
 
PDF
FutureCon Seattle 2025 Presentation Slides - You Had One Job
Suzanne Aldrich
 
PDF
BRKAPP-1102 - Proactive Network and Application Monitoring.pdf
fcesargonca
 
PPTX
西班牙巴利阿里群岛大学电子版毕业证{UIBLetterUIB文凭证书}文凭复刻
Taqyea
 
PPTX
Presentation3gsgsgsgsdfgadgsfgfgsfgagsfgsfgzfdgsdgs.pptx
SUB03
 
PPTX
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
PPTX
Orchestrating things in Angular application
Peter Abraham
 
PDF
BRKACI-1003 ACI Brownfield Migration - Real World Experiences and Best Practi...
fcesargonca
 
PDF
The Internet - By the numbers, presented at npNOG 11
APNIC
 
PPTX
Networking_Essentials_version_3.0_-_Module_5.pptx
ryan622010
 
PPTX
04 Output 1 Instruments & Tools (3).pptx
GEDYIONGebre
 
PPTX
Metaphysics_Presentation_With_Visuals.pptx
erikjohnsales1
 
PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PDF
Enhancing Parental Roles in Protecting Children from Online Sexual Exploitati...
ICT Frame Magazine Pvt. Ltd.
 
PDF
Digital burnout toolkit for youth workers and teachers
asociatiastart123
 
PDF
BRKACI-1001 - Your First 7 Days of ACI.pdf
fcesargonca
 
DOCX
Custom vs. Off-the-Shelf Banking Software
KristenCarter35
 
PPTX
PHIPA-Compliant Web Hosting in Toronto: What Healthcare Providers Must Know
steve198109
 
BRKSP-2551 - Introduction to Segment Routing.pdf
fcesargonca
 
Lec15_Mutability Immutability-converted.pptx
khanjahanzaib1
 
Softuni - Psychology of entrepreneurship
Kalin Karakehayov
 
FutureCon Seattle 2025 Presentation Slides - You Had One Job
Suzanne Aldrich
 
BRKAPP-1102 - Proactive Network and Application Monitoring.pdf
fcesargonca
 
西班牙巴利阿里群岛大学电子版毕业证{UIBLetterUIB文凭证书}文凭复刻
Taqyea
 
Presentation3gsgsgsgsdfgadgsfgfgsfgagsfgsfgzfdgsdgs.pptx
SUB03
 
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
Orchestrating things in Angular application
Peter Abraham
 
BRKACI-1003 ACI Brownfield Migration - Real World Experiences and Best Practi...
fcesargonca
 
The Internet - By the numbers, presented at npNOG 11
APNIC
 
Networking_Essentials_version_3.0_-_Module_5.pptx
ryan622010
 
04 Output 1 Instruments & Tools (3).pptx
GEDYIONGebre
 
Metaphysics_Presentation_With_Visuals.pptx
erikjohnsales1
 
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
Enhancing Parental Roles in Protecting Children from Online Sexual Exploitati...
ICT Frame Magazine Pvt. Ltd.
 
Digital burnout toolkit for youth workers and teachers
asociatiastart123
 
BRKACI-1001 - Your First 7 Days of ACI.pdf
fcesargonca
 
Custom vs. Off-the-Shelf Banking Software
KristenCarter35
 
PHIPA-Compliant Web Hosting in Toronto: What Healthcare Providers Must Know
steve198109
 

The Swagger Format becomes the Open API Specification: Standardizing descriptions of Web APIs for interoperability

  • 1. The Swagger Format becomes the Open API Specification: Standardizing descriptions of Web APIs for interoperability Steven Willmott CEO, 3scale Inc. [email protected] : @njyx
  • 2. Credits 2 ▪ Slides from Marsh Gardiner (Apigee), Dennis Brenan (Capital One), Tony Tam (Smartbear), Ole Lensmar (Smartbear) and myself ▪ http://openapis.org/
  • 3. Who Am I? ▪ http://www.3scale.net ▪ @3scale ▪ Early Swagger supporter ▪ Now OAI Founding Member 3 ▪ CEO of 3scale ▪ Leading API Infrastructure Provider ▪ 700+ Customers ▪ Billions of API Calls Managed
  • 4. Introduction & Agenda 4 ▪ OpenAPI Specification (OAS) ▪ Open API Initiative (OAI) ▪ Usage and Tooling Examples
  • 5. The OpenAPI Specification fka “the Swagger specification” DRAFT - Open API Initiative (OAI) 5
  • 6. What is the OpenAPI Specification? 6 Generally Categorized REST API Description Language More Generally IDL for REST APIs
  • 7. What does the OpenAPI Specification Offer? 7 A simple format for writing REST service contracts ▪ Are independent from language, development framework, deployment technology ▪ Can be expressed in YAML or JSON format ▪ Support both API-first and code-first approaches to defining, building and documenting APIs ▪ Have a clean & powerful extension mechanism Language Neutral & Machine Readable Format APIs can be defined in JSON or YAML API-First & Code-First Development Powerful Extension Mechanism Comprehensive Tooling Support (core, UI, codegen, editor)
  • 8. Road to the OAS 8 2010 Tony Tam @Wordnik founded Swagger Q1 2015 Swagger acquired by SmartBear Q3 2015 Linux Foundation Workgroup Forms Q4 2015 Swagger renamed “OpenAPI Specification” 2010 - 2014 Development, Growth, Adoption, Tooling, Community
  • 9. Adoption & Growth 9 ▪ 100,000 weekly source visits ▪ 11,500 daily downloads ▪ 10,000 daily visitors to swagger.io ▪ 4,600 forks of official repos ▪ 1,700 public repos on GitHub ▪ Client/server support in all popular languages & frameworks Most Popular API Framework
  • 10. Community 10 December 2014DRAFT - Open API Initiative 10
  • 12. Why adopt the OpenAPI Specification? 12 Commitment to Remain Open Portable Vendor Neutral Strong Independent Sponsorship CommunitySimple & Pragmatic Superior Tooling Best Industry Support
  • 13. The Importance of API Interface Definitions 13
  • 14. 14 What about Rest Interfaces?
  • 15. 15 What Spec? Spec Generates Code Spec as Code Code is Spec REST API Development Evolution
  • 16. Shared Definitions are Crucial ▪ Stable Interface Definition ▪ Managed process around change ▪ Discovery of capabilities ▪ Automation of processes and procedures ▪ Essential at 100’s APIs ▪ Invaluable at 10’s Thousands and Millions 16Photo: Josh Hibbert / Unsplash.com In your organization: inter-team dependencies Across the public Internet: cross- organization discovery & contracts
  • 17. Shared Definitions are Crucial ▪ Fixed point of Reference ▪ Automation: ▪ Explorers / Docs ▪ Code Gen ▪ Editors ▪ Search ▪ Testing ▪ Change Management ▪ Management platforms ▪ Design Focus 17
  • 18. The Open API Initiative 18
  • 19. The Open API Initiative - Mission Provide an open source, technical community, within which industry participants may easily contribute to building a vendor-neutral, portable and open specification for providing technical metadata for REST APIs – The OpenAPI Specification. 19
  • 20. OAI Initial Steps ▪ Establishment of a clear, open governance structure for both business & technical direction ▪Swagger specification donated to the Open API Initiative ▪ Meritocratic approach to technical contributions – not pay-to-play ▪ Charter is here: https://openapis.org/governance 20
  • 21. OAI Governance Structure 21 Business Governance Board (BGB) Budget, marketing, community, etc… Technical Developer Community (TDC) Manages the OpenAPI Specification Technical Oversight Board (TOB) Resolves conflict in TDC
  • 22. Swagger ➔ OpenAPI Specification (OAS) ▪ Moved from swagger-api 2.0 to OAI GitHub Repository ▪ https://github.com/oai/OpenAPI-Specification ▪ Core TDC elected and working on next version 3.0 of spec ▪ Apache 2.0 License as before ▪ You can/should join the discussion – please do! 22
  • 23. Focus of OpenAPI Spec 3.0 Aiming for 2016 summer release ~mid July 23 Documentatio n Structure Protocols and Payloads JSON Schema & JSON References URI Support Error Handling/Docu mentation Security Request Parameters
  • 25. 25 Code First with Swagger Annotations
  • 26. 26 Swagger UI Build docs by processing JSON/YAML API Spec The API Spec can be returned from static source or from the running API
  • 27. 27 API First with Swagger Editor Wrapped Swagger Editor Lifecycle Tooling Manage API Metadata Governance & Review Dynamic Mock Responses
  • 29. Get Involved! Website: https://openapis.org/ Spec: https://github.com/oai Follow: @OpenApiSpec 29
  • 31. 31 OpenAPI Spec’s X-Extensions Additional data added to API definition to extend the specification Always prefixed by "x-" and can have any valid JSON/YAML format value
  • 32. 32 OpenAPI Spec’s X-Extensions paths: /demo/bankthings: get: summary: Returns a list of Bank Things operationId: getBankThings x-c1-proxy: audit parameters: - $ref: '#/parameters/ApiKey'
  • 33. 33 From Legacy Java Framework to Polyglot Microservices using OpenAPI @Annotations & Servlet Filters ➔ X-Extensions