Open API 3.0
Open API 3.0
Open API 3.0
2
Why OpenAPI
3
Why OpenAPI
4
Software Tools for OpenAPI
5
Swagger UI
6
Swagger UI
7
Swagger Editor
8
Swagger Editor
9
Basic Syntax / Usage
10
YAML to JSON and vice versa
YAML JSON
11
OpenAPI Basic Syntax
12
OpenAPI Basic Syntax
13
OpenAPI Basic Syntax - Adding route definition
14
OpenAPI Basic Syntax - POST route definition
15
Adding Models
16
Adding Authentication / Security
17
Basic Syntax Summary
18
Workflows with OpenAPI
19
Possible Workflows with OpenAPI
20
Example usages of OpenAPI
21
Programs / Coupons Gateway
22
Workflow of getting / sharing OpenAPI Spec from .NET
- download swagger.json
- convert to yaml using
swagger-editor
- add further documentation such as
the servers to which the api should
be directed
- save to yaml to S3 / other storage
- view yaml file using swagger-ui
- enabled cors to be able to process
request from swagger-ui
23
Programs / Coupons Gateway
24
Public Directory
25
SMD Badges API
26
SMD Badges API
- http://nowserving.smdstaging.net:3918/documentation
27
Advantages / Disadvantages
28
Advantages
29
Disadvantages
30
Caveats
31
References
[1] Rosenstock, L. and Ponelat, J., n.d. Designing APIs with Swagger and OpenAPI.
(https://drive.google.com/file/d/1JPpDbJSP0cmkmio2nKXsJiPTGL2JiOSQ/view?usp=sharing)
32