Skip to content
StackDecode
System Design
10. API Design and ManagementAnimated

Swagger

Tools built around OpenAPI.

The idea

Swagger UI renders interactive docs and Swagger tools generate code.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

ClientAPI gatewayAuthOrdersCatalogData
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Every client request enters through the gateway.

step:
1/4
at:
Client
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Provide the OpenAPI file
  2. 2Swagger UI renders docs
  3. 3Users try requests in the browser
  4. 4Generate clients

Where it is used

Exploring and testing APIs.

Watch out for

Do not expose it without auth on private APIs.

Related