OpenAPI
PRATIK KHASNABIS
CLOUD SOLUTION ARCHITECT
@SOFTVEDA
API Lifecycle
OpenAPI
API Design
API
Develop
API Test
API
Document
API
Publish
API
Consume
OpenAPI
OpenAPI Specification (OAS):
“The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface
description for REST APIs, which allows both humans and computers to discover and understand
the capabilities of a service without requiring access to source code, additional documentation,
or inspection of network traffic. When properly defined via OpenAPI, a consumer can understand
and interact with the remote service with a minimal amount of implementation logic. Similar to
what interface descriptions have done for lower-level programming, the OpenAPI Specification
removes guesswork in calling a service.”
http://spec.openapis.org/oas/v3.0.3
Started as Swagger by SmartBear and donated to OpenAPI Initiative (OAI)
Structure
Metadata
Endpoints: Paths/HTTP Methods
Components
API Design
VS Code: https://marketplace.visualstudio.com/items?itemName=42Crunch.vscode-openapi
Stoplight Studio: https://stoplight.io
Swagger Editor: https://editor.swagger.io
API Develop
Swashbuckle: https://github.com/domaindrivendev/Swashbuckle.AspNetCore
Spectral: https://marketplace.visualstudio.com/items?itemName=stoplight.spectral
API Test
Postman: https://www.postman.com
Import OpenAPI Spec as a API Collection.
API Document
Swashbuckle.AspNetCore: https://github.com/domaindrivendev/Swashbuckle.AspNetCore
ReDoc: https://redocly.github.io/redoc/
API Publish
Azure API Management
AWS
Apigee
API Consume
Visual Studio Connected Service
OpenAPI CLI Generator
Thank You
Sketchnote by
@mishmashtan

Open API (aka Swagger) - DDD by Night May 2020