Skip to content

DOCS: Add API documentation with OpenAPI & Swagger UI#17

Merged
TUT888 merged 4 commits into
developfrom
docs/openapi-swagger
Mar 20, 2026
Merged

DOCS: Add API documentation with OpenAPI & Swagger UI#17
TUT888 merged 4 commits into
developfrom
docs/openapi-swagger

Conversation

@TUT888

@TUT888 TUT888 commented Mar 20, 2026

Copy link
Copy Markdown
Owner

Description

This pull request introduces API documentation support using OpenAPI and Swagger UI. It also includes minor adjustments to the API response structure to ensure accurate and consistent documentation.

Changes

  • Integrated OpenAPI and Swagger UI for interactive API documentation.
  • Added new configuration with @SecurityRequirement for Swagger, named as Bearer Authentication to document secured endpoints.
  • Updated API response handling:
    • Replaced ResponseEntity<Object> with ApiResponse<T> in relevant endpoints.
    • Ensures generated documentation reflects the correct response format.

Testing & Verification

  • Verified API Docs loads at http://localhost:8080/api-docs
  • Verified Swagger UI loads correctly at http://localhost:8080/swagger-ui/index.html

@TUT888 TUT888 merged commit 009e34a into develop Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant