Skip to main content

OpenAPI Specification & Swagger UI

FOSPS uses OpenAPI Specification (OAS) as the standard for API documentation, exposed through Swagger UI deployment.

Purpose

OpenAPI specifications provide:

  • Standardized API documentation
  • Interactive API exploration
  • Client code generation capabilities
  • Contract-first development approach

Swagger UI

The Swagger deployment allows developers to:

  • Browse all service endpoints
  • Understand request/response schemas
  • Test API calls interactively
  • View authentication requirements

Required for All Services

All FOSPS service layer components must document their APIs using OpenAPI, including:

Example Specifications

Integration

OpenAPI specs integrate with:

  • Istio for routing and exposure
  • Kubernetes service definitions
  • Documentation generation tools