Real-World Examples
Complete Working Examples
Learn from real-world API patterns. Each example is a complete, valid OpenAPI spec you can import directly into Tigrister.
What You'll Learn
- • E-Commerce API - CRUD operations, auth, pagination
- • Payment API - Webhooks, callbacks, idempotency
- • Social API - OAuth2, nested resources, media
- • Microservices - External refs, versioning
E-Commerce API
CRUD + AuthA typical e-commerce API with products, orders, and user authentication. Demonstrates standard REST patterns.
Full Spec
Pattern: Pagination
page/limit params with total count in response
Pattern: Reusable Components
$ref for parameters, responses, schemas
Pattern: Bearer Auth
JWT token for protected endpoints
Payment API
Webhooks3.1A payment processing API with webhooks for async notifications. Uses OpenAPI 3.1 for top-level webhooks.
Key Sections
Pattern: Idempotency
Idempotency-Key header prevents duplicate charges
Pattern: Async Webhooks
Top-level webhooks for payment status updates
Social API
OAuth2A social media API with OAuth2 authorization code flow, nested resources, and media upload support.
OAuth2 + Nested Resources
Pattern: OAuth2 Scopes
Fine-grained permissions per endpoint
Pattern: Nested Resources
/users/{userId}/posts hierarchy
Pattern: File Upload
multipart/form-data with binary
Microservices API
External RefsVersioningA microservices architecture with shared schemas via external references and API versioning strategies.
Gateway + Shared Schemas
Pattern: External $ref
Shared schemas across services
Pattern: URL Versioning
Server variable for API version
Pattern: Distributed Tracing
traceId in error responses
Try These Examples in Tigrister
All examples on this page are valid OpenAPI specs. Here's how to import and test them:
Import Steps
- Copy any example YAML from above
- Open Tigrister Designer mode
- Switch to Code Editor
- Paste the YAML content
- Tigrister auto-validates and parses
Test with Try It Out
- Switch to Preview tab
- Expand any endpoint
- Click "Try It Out"
- Fill in parameters
- Execute and see results
Tip: Use with Real APIs
Replace example.com URLs with real API endpoints to test against actual services. Configure authentication in Area Mode to test protected endpoints.