SlideShare a Scribd company logo
1 of 27
Download to read offline
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
OPENAPI DOES WHAT SWAGGER DON’T
IMPROVED STRUCTURE: IMPROVED SECURITY:
IMPROVED HOSTING:
IMPROVED CONTRACT: IMPROVED DOCUMENTATION:
Altered Specification The Revenge of Consistency Mortal Servers Streets of Security II
Data Force IV After Event II Phantasy Examples II Shining Documentation
2022 SERIES OF EVENTS
New York
JULY
(HYBRID)
Australia
SEPTEMBER
(HYBRID)
Singapore
APRIL
(VIRTUAL)
Helsinki & North
MARCH
(VIRTUAL)
Paris
DECEMBER
(HYBRID)
London
OCTOBER
(HYBRID)
Hong Kong
AUGUST
(VIRTUAL)
JUNE (VIRTUAL)
India
MAY
(VIRTUAL)
APRIL (VIRTUAL)
Dubai & Middle East
JUNE
(VIRTUAL)
Check out our API Conferences
www.a pida ys .globa l
Want to talk at one of our conferences?
apidays.typeform.com/to/ILJeAaV8
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
API Handyman does what Arnaud Lauret does
ME: MY COMPANY:
MY BOOK:
Arnaud Lauret @apihandyman Postman Open Technologies
The Design of Web APIs Web APIの設計 웹 API 디자인 ПРОЕКТИРОВАНИЕ ВЕБ-AP
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
The reference: Sega vs Nintendo 90s rivalry
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Previously in the APIverse
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
It’s not Swagger vs OpenAPI
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
It’s Swagger then OpenAPI
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
2 versions of OpenAPI 3
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
OPENAPI 3 IMPROVES SWAGGER 2
IMPROVED STRUCTURE: IMPROVED SECURITY:
IMPROVED HOSTING:
IMPROVED CONTRACT: IMPROVED DOCUMENTATION:
Altered Specification The Revenge of Consistency Mortal Servers Streets of Security II
Data Force IV After Event II Phantasy Examples II Shining Documentation
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
swagger: “2.0”
Altered Specification (version)
openapi: “3.0.3”
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Altered Specification (reusable components)
swagger: “2.0”
info: …
paths: …
definitions: …
parameters: …
openapi: “3.0.3”
info: …
paths: …
components:
schemas: …
parameters: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
The Revenge of Consistency (all data defined the same way)
swagger: “2.0”
paths:
/resources/{resourceId}:
parameters:
- name: resourceId
type: string
definitions:
# Only for bodies
openapi: “3.0.3”
paths:
/resources/{resourceId}:
parameters:
- name: resourceId
schema:
$ref: …/schemas/id
components:
schemas:
# For all data
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
The Revenge of Consistency (more reusable components)
swagger: “2.0”
definitions: …
parameters: …
responses: …
securityDefinitions: …
openapi: “3.0.3”
components:
schemas: …
parameters: …
requestBodies: …
responses: …
securitySchemes: …
examples: …
headers: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Mortal Servers (multiple servers)
swagger: “2.0”
schemes:
- https
host: server.com
basePath: /name/v1
openapi: “3.0.3”
servers:
- description: production
url:
https://server.com/name/v1
- description: mock
url:
https://mock.com/name/v1
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Mortal Servers (server variables)
openapi: “3.0.3”
servers:
- description: production
url:
https://server.com/name/v1
- description: mock
url:
https://mock.com/name/v1
openapi: “3.0.3”
servers:
- description: production
url:
https://{type}.com/name/v1
variables:
type:
enum:
- server
- mock
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Streets of Security II (enhanced and new security modes)
swagger: “2.0”
securityDefinitions:
# Basic Authentication
# API Key
# Oauth2
openapi: “3.x.x”
components:
securitySchemes:
# HTTP (Basic, Bearer)
# API Key
# Oauth 2 (fixed)
# OpenId Connect
# Mutual TLS (3.1)
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Data Force IV (more versatile schemas)
swagger: “2.0”
definitions:
# JSON Schema Draft 4 (mod)
openapi: “3.0.3”
components:
schemas:
# JSON Schema Draft 5 (mod)
# Notable enhancements
# oneOf, anyOf, not
# writeOnly
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Data Force IV (choose your JSON Schema)
swagger: “2.0”
definitions:
# JSON Schema Draft 4 (mod)
openapi: “3.1.0”
components:
schemas:
# Default: JSON Schema
# Draft 2020-12
# Overridden by $schema
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Data Force IV (enhanced content negotiation)
swagger: “2.0”
# 1 schema for all media types
paths:
/resources:
get:
produces:
- application/json
- text/csv
responses:
200:
schema:
openapi: “3.0.3”
# Specific schemas for each
paths:
/resources:
get:
responses:
200:
content:
application/json:
schema: …
text/csv:
schema: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Data Force IV (enhanced parameter/header serialization)
swagger: “2.0”
parameters:
aParameter:
type: array
collectionFormat: …
openapi: “3.0.3”
components:
parameters:
aParameter:
# array or object
style: …
explode: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
After Event II (webhooks & callbacks)
swagger: “2.0” openapi: “3.x.x”
paths:
/resources:
post:
callbacks: # 3.0
webhooks: # 3.1
/events:
post: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Phantasy Examples II (multiple examples)
swagger: “2.0”
# Example only on bodies
example:
# single undocumented
# example
openapi: “3.0.3”
# Examples on bodies,
# parameters, headers
examples:
anExample:
summary: …
description: …
value: …
# or
externalValue: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Shining Documentation (more summaries and descriptions)
swagger: “2.0”
info:
description: …
paths:
/resources:
openapi: “3.1.0”
info:
summary: …
description: …
paths:
/resources:
summary: …
description: …
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
Thank you and goodbye Swagger 2
USE OPENAPI 3 NOW AND
GET ALL OF ITS EXCLUSIVE
NEW FEATURES FREE.
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
The path to OpenAPI 3 upgrade
USE OPENAPI 3 NOW AND
GET ALL OF ITS EXCLUSIVE
NEW FEATURES FREE (almost).
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES
The path to OpenAPI 3 upgrade
Upgrade
your tools
Check third
party tools
compatibility
Convert existing
documents
@APIHANDYMAN POSTMAN OPEN TECHNOLOGIES

More Related Content

Similar to INTERFACE, by apidays - OpenAPI 3 does what Swagger 2.0 doesn't

Stups.io - an Open Source Cloud Framework for AWS
Stups.io - an Open Source Cloud Framework for AWSStups.io - an Open Source Cloud Framework for AWS
Stups.io - an Open Source Cloud Framework for AWSJan Löffler
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE
 
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeonapidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeonapidays
 
Putting Microservices on a Diet: with Istio!
Putting Microservices on a Diet: with Istio!Putting Microservices on a Diet: with Istio!
Putting Microservices on a Diet: with Istio!QAware GmbH
 
Openshift Container Platform: First ItalyMeetup
Openshift Container Platform: First ItalyMeetupOpenshift Container Platform: First ItalyMeetup
Openshift Container Platform: First ItalyMeetupGiuseppe Bonocore
 
Cloud Native Identity with SPIFFE
Cloud Native Identity with SPIFFECloud Native Identity with SPIFFE
Cloud Native Identity with SPIFFEPrabath Siriwardena
 
INTERFACE, by apidays - API Discovery: First step towards API Security
INTERFACE, by apidays - API Discovery: First step towards API SecurityINTERFACE, by apidays - API Discovery: First step towards API Security
INTERFACE, by apidays - API Discovery: First step towards API Securityapidays
 
Putting microservices on a diet with istio
Putting microservices on a diet with istioPutting microservices on a diet with istio
Putting microservices on a diet with istioQAware GmbH
 
OpenAPI development with Python
OpenAPI development with PythonOpenAPI development with Python
OpenAPI development with PythonTakuro Wada
 
Building Serverless applications with Python
Building Serverless applications with PythonBuilding Serverless applications with Python
Building Serverless applications with PythonAndrii Soldatenko
 
API Design: Women Who Code (WWCode) DFW
API Design: Women Who Code (WWCode) DFW API Design: Women Who Code (WWCode) DFW
API Design: Women Who Code (WWCode) DFW Axway
 
apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...
apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...
apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...apidays
 
Baking a Microservice PI(e)
Baking a Microservice PI(e)Baking a Microservice PI(e)
Baking a Microservice PI(e)Roberto Cortez
 
Cloud native programming model comparison
Cloud native programming model comparisonCloud native programming model comparison
Cloud native programming model comparisonEmily Jiang
 
Managing microservices with istio on OpenShift - Meetup
Managing microservices with istio on OpenShift - MeetupManaging microservices with istio on OpenShift - Meetup
Managing microservices with istio on OpenShift - MeetupJosé Román Martín Gil
 
Putting microservices on a diet with Istio
Putting microservices on a diet with IstioPutting microservices on a diet with Istio
Putting microservices on a diet with IstioQAware GmbH
 
Openstack: security beyond firewalls
Openstack: security beyond firewallsOpenstack: security beyond firewalls
Openstack: security beyond firewallsGARL
 

Similar to INTERFACE, by apidays - OpenAPI 3 does what Swagger 2.0 doesn't (20)

Stups.io - an Open Source Cloud Framework for AWS
Stups.io - an Open Source Cloud Framework for AWSStups.io - an Open Source Cloud Framework for AWS
Stups.io - an Open Source Cloud Framework for AWS
 
FIWARE IoT Proposal & Community
FIWARE IoT Proposal & CommunityFIWARE IoT Proposal & Community
FIWARE IoT Proposal & Community
 
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeonapidays LIVE New York - API Code First vs Design First by Phil Sturgeon
apidays LIVE New York - API Code First vs Design First by Phil Sturgeon
 
Putting Microservices on a Diet: with Istio!
Putting Microservices on a Diet: with Istio!Putting Microservices on a Diet: with Istio!
Putting Microservices on a Diet: with Istio!
 
Openshift Container Platform: First ItalyMeetup
Openshift Container Platform: First ItalyMeetupOpenshift Container Platform: First ItalyMeetup
Openshift Container Platform: First ItalyMeetup
 
Cloud Native Identity with SPIFFE
Cloud Native Identity with SPIFFECloud Native Identity with SPIFFE
Cloud Native Identity with SPIFFE
 
INTERFACE, by apidays - API Discovery: First step towards API Security
INTERFACE, by apidays - API Discovery: First step towards API SecurityINTERFACE, by apidays - API Discovery: First step towards API Security
INTERFACE, by apidays - API Discovery: First step towards API Security
 
Putting microservices on a diet with istio
Putting microservices on a diet with istioPutting microservices on a diet with istio
Putting microservices on a diet with istio
 
API SECURITY
API SECURITYAPI SECURITY
API SECURITY
 
CASCON 2017 - OpenAPI v3
CASCON 2017 - OpenAPI v3CASCON 2017 - OpenAPI v3
CASCON 2017 - OpenAPI v3
 
SVQdotNET: Building APIs with OpenApi
SVQdotNET: Building APIs with OpenApiSVQdotNET: Building APIs with OpenApi
SVQdotNET: Building APIs with OpenApi
 
OpenAPI development with Python
OpenAPI development with PythonOpenAPI development with Python
OpenAPI development with Python
 
Building Serverless applications with Python
Building Serverless applications with PythonBuilding Serverless applications with Python
Building Serverless applications with Python
 
API Design: Women Who Code (WWCode) DFW
API Design: Women Who Code (WWCode) DFW API Design: Women Who Code (WWCode) DFW
API Design: Women Who Code (WWCode) DFW
 
apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...
apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...
apidays Paris 2022 - From API specifications to code with OpenAPI, Beppe Cata...
 
Baking a Microservice PI(e)
Baking a Microservice PI(e)Baking a Microservice PI(e)
Baking a Microservice PI(e)
 
Cloud native programming model comparison
Cloud native programming model comparisonCloud native programming model comparison
Cloud native programming model comparison
 
Managing microservices with istio on OpenShift - Meetup
Managing microservices with istio on OpenShift - MeetupManaging microservices with istio on OpenShift - Meetup
Managing microservices with istio on OpenShift - Meetup
 
Putting microservices on a diet with Istio
Putting microservices on a diet with IstioPutting microservices on a diet with Istio
Putting microservices on a diet with Istio
 
Openstack: security beyond firewalls
Openstack: security beyond firewallsOpenstack: security beyond firewalls
Openstack: security beyond firewalls
 

More from apidays

Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...apidays
 
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...apidays
 
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...apidays
 
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...apidays
 
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...apidays
 
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...apidays
 
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...apidays
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...apidays
 
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...apidays
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...apidays
 
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...apidays
 
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...apidays
 
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMApidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMapidays
 
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...apidays
 
Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...apidays
 
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...apidays
 

More from apidays (20)

Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
 
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
 
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
 
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
 
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
 
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
 
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
 
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
 
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
 
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
 
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMApidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
 
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
 
Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...
 
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

INTERFACE, by apidays - OpenAPI 3 does what Swagger 2.0 doesn't

  • 1. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES OPENAPI DOES WHAT SWAGGER DON’T IMPROVED STRUCTURE: IMPROVED SECURITY: IMPROVED HOSTING: IMPROVED CONTRACT: IMPROVED DOCUMENTATION: Altered Specification The Revenge of Consistency Mortal Servers Streets of Security II Data Force IV After Event II Phantasy Examples II Shining Documentation
  • 2. 2022 SERIES OF EVENTS New York JULY (HYBRID) Australia SEPTEMBER (HYBRID) Singapore APRIL (VIRTUAL) Helsinki & North MARCH (VIRTUAL) Paris DECEMBER (HYBRID) London OCTOBER (HYBRID) Hong Kong AUGUST (VIRTUAL) JUNE (VIRTUAL) India MAY (VIRTUAL) APRIL (VIRTUAL) Dubai & Middle East JUNE (VIRTUAL) Check out our API Conferences www.a pida ys .globa l Want to talk at one of our conferences? apidays.typeform.com/to/ILJeAaV8
  • 3. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES API Handyman does what Arnaud Lauret does ME: MY COMPANY: MY BOOK: Arnaud Lauret @apihandyman Postman Open Technologies The Design of Web APIs Web APIの設計 웹 API 디자인 ПРОЕКТИРОВАНИЕ ВЕБ-AP
  • 4. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES The reference: Sega vs Nintendo 90s rivalry
  • 5. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Previously in the APIverse
  • 6. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES It’s not Swagger vs OpenAPI
  • 7. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES It’s Swagger then OpenAPI
  • 8. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES 2 versions of OpenAPI 3
  • 9. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES OPENAPI 3 IMPROVES SWAGGER 2 IMPROVED STRUCTURE: IMPROVED SECURITY: IMPROVED HOSTING: IMPROVED CONTRACT: IMPROVED DOCUMENTATION: Altered Specification The Revenge of Consistency Mortal Servers Streets of Security II Data Force IV After Event II Phantasy Examples II Shining Documentation
  • 10. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES swagger: “2.0” Altered Specification (version) openapi: “3.0.3”
  • 11. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Altered Specification (reusable components) swagger: “2.0” info: … paths: … definitions: … parameters: … openapi: “3.0.3” info: … paths: … components: schemas: … parameters: …
  • 12. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES The Revenge of Consistency (all data defined the same way) swagger: “2.0” paths: /resources/{resourceId}: parameters: - name: resourceId type: string definitions: # Only for bodies openapi: “3.0.3” paths: /resources/{resourceId}: parameters: - name: resourceId schema: $ref: …/schemas/id components: schemas: # For all data
  • 13. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES The Revenge of Consistency (more reusable components) swagger: “2.0” definitions: … parameters: … responses: … securityDefinitions: … openapi: “3.0.3” components: schemas: … parameters: … requestBodies: … responses: … securitySchemes: … examples: … headers: …
  • 14. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Mortal Servers (multiple servers) swagger: “2.0” schemes: - https host: server.com basePath: /name/v1 openapi: “3.0.3” servers: - description: production url: https://server.com/name/v1 - description: mock url: https://mock.com/name/v1
  • 15. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Mortal Servers (server variables) openapi: “3.0.3” servers: - description: production url: https://server.com/name/v1 - description: mock url: https://mock.com/name/v1 openapi: “3.0.3” servers: - description: production url: https://{type}.com/name/v1 variables: type: enum: - server - mock
  • 16. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Streets of Security II (enhanced and new security modes) swagger: “2.0” securityDefinitions: # Basic Authentication # API Key # Oauth2 openapi: “3.x.x” components: securitySchemes: # HTTP (Basic, Bearer) # API Key # Oauth 2 (fixed) # OpenId Connect # Mutual TLS (3.1)
  • 17. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Data Force IV (more versatile schemas) swagger: “2.0” definitions: # JSON Schema Draft 4 (mod) openapi: “3.0.3” components: schemas: # JSON Schema Draft 5 (mod) # Notable enhancements # oneOf, anyOf, not # writeOnly
  • 18. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Data Force IV (choose your JSON Schema) swagger: “2.0” definitions: # JSON Schema Draft 4 (mod) openapi: “3.1.0” components: schemas: # Default: JSON Schema # Draft 2020-12 # Overridden by $schema
  • 19. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Data Force IV (enhanced content negotiation) swagger: “2.0” # 1 schema for all media types paths: /resources: get: produces: - application/json - text/csv responses: 200: schema: openapi: “3.0.3” # Specific schemas for each paths: /resources: get: responses: 200: content: application/json: schema: … text/csv: schema: …
  • 20. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Data Force IV (enhanced parameter/header serialization) swagger: “2.0” parameters: aParameter: type: array collectionFormat: … openapi: “3.0.3” components: parameters: aParameter: # array or object style: … explode: …
  • 21. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES After Event II (webhooks & callbacks) swagger: “2.0” openapi: “3.x.x” paths: /resources: post: callbacks: # 3.0 webhooks: # 3.1 /events: post: …
  • 22. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Phantasy Examples II (multiple examples) swagger: “2.0” # Example only on bodies example: # single undocumented # example openapi: “3.0.3” # Examples on bodies, # parameters, headers examples: anExample: summary: … description: … value: … # or externalValue: …
  • 23. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Shining Documentation (more summaries and descriptions) swagger: “2.0” info: description: … paths: /resources: openapi: “3.1.0” info: summary: … description: … paths: /resources: summary: … description: …
  • 24. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES Thank you and goodbye Swagger 2 USE OPENAPI 3 NOW AND GET ALL OF ITS EXCLUSIVE NEW FEATURES FREE.
  • 25. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES The path to OpenAPI 3 upgrade USE OPENAPI 3 NOW AND GET ALL OF ITS EXCLUSIVE NEW FEATURES FREE (almost).
  • 26. @APIHANDYMAN POSTMAN OPEN TECHNOLOGIES The path to OpenAPI 3 upgrade Upgrade your tools Check third party tools compatibility Convert existing documents