这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@emerdeveloper
Copy link

Before submitting a pull request, please read
https://bancolombia.github.io/scaffold-clean-architecture/docs/contributing

Description

This PR migrates the Swagger integration from SpringFox to springdoc-openapi, improving compatibility with reactive applications and simplifying configuration.

Changes included:

  • ✅ Removed spring-fox-config.java.mustache and its mapping from definition.json
  • ✅ Added conditional @RouterOperations annotations for reactive routes
  • ✅ Replaced template-based Swagger setup with springdoc property configuration
  • ✅ Updated documentation to reflect new usage of --swagger parameter
  • ✅ Bumped springdoc-openapi version from 2.8.13 to 2.8.14

These changes modernize the OpenAPI support and align with current best practices for WebFlux and Spring Boot.

Category

  • Feature
  • Fix
  • Ci / Docs

Checklist

  • The pull request is complete according to the guide of contributing
  • Automated tests are written
  • The documentation is up-to-date
  • The pull request has a descriptive title that describes what has changed, and provides enough context for the changelog
  • If the pull request has a new driven-adapter or entry-point, you should add it to docs and sh_generate_project.sh files for generated code tests.
  • If the pull request has changed structural files, you have implemented an UpgradeAction according to the guide
  • If the pull request has a new Gradle Task, you should add Analytics according to the guide

Replaces template-based Swagger setup with explicit springdoc property configuration.
Applies to both 'api-rest' and 'reactive-web' modules when 'include-swagger' is enabled.
Includes @RouterOperations annotations when 'include-swagger' is enabled to support springdoc-openapi documentation in functional endpoints.
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