Skip to content

docs(backend): Swagger / OpenAPI Documentation for Spring Boot Endpoints #19

Description

@Sanan507

Overview

Add the springdoc-openapi-starter-webmvc-ui dependency to pom.xml and document the API endpoints for interactive Swagger UI docs.

Implementation Details & File Reference

  • Dependencies: Add org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5 to backend/pom.xml.
  • Controllers: Add @Operation, @ApiResponse, and @Schema annotations to SimulationController.java and CatalogController.java.
  • Configuration: Configure Swagger UI path in backend/src/main/resources/application.yml.

Definition of Done

  • Visiting /swagger-ui.html shows accurate, complete documentation for all simulation and catalog endpoints, including request/response schemas.

Skill Level

Good if comfortable with Spring Boot dependency config and basic OpenAPI annotations.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions