Skip to content

Conversation

@Cry199
Copy link
Owner

@Cry199 Cry199 commented Sep 20, 2025

This pull request introduces OpenAPI documentation support to the backend and adjusts project dependencies and security configuration accordingly. The main changes include adding the springdoc-openapi dependency, updating the Spring Boot version, and allowing unauthenticated access to API documentation endpoints.

Dependency and Documentation Enhancements:

  • Added the springdoc-openapi-starter-webmvc-ui dependency (version 2.5.0) to enable OpenAPI (Swagger) documentation for the API.
  • Downgraded the Spring Boot parent version from 3.5.5 to 3.3.0 in pom.xml, likely for compatibility with springdoc-openapi.

Security Configuration Updates:

  • Updated SecurityConfig.java to permit unauthenticated access to /swagger-ui.html, /swagger-ui/**, and /v3/api-docs/** endpoints, allowing public access to API documentation.

@Cry199 Cry199 merged commit ee3630d into main Sep 20, 2025
1 check passed
@Cry199 Cry199 deleted the swagger-ui branch September 20, 2025 23:59
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.

2 participants