StefanSchubert / sabi

Seawater Aquarium Business Intelligence (sabi) aims to gain knowledge from aquarists for aquarists based on collected seawater parameters.
https://sabi-project.net
MIT License
4 stars 3 forks source link

Swagger UI broken with spring-boot 3 #135

Closed StefanSchubert closed 1 year ago

StefanSchubert commented 1 year ago

Describe the bug Suddenly the Swagger-UI using springdoc does not work anymore.

To Reproduce Steps to reproduce the behavior: Check out the feature branch sabi-85 Start the catcha module and call the openapi page: http://localhost:8081/captcha/swagger-ui/index.html

Expected behavior Swagger UI shows up as with spring-boot 2.7

Additional context I assume that is a springdoc bug and opened therefore https://github.com/springdoc/springdoc-openapi/issues/2005

StefanSchubert commented 1 year ago

From springdoc support:

it's all explained in the documentation. Please read it: https://springdoc.org/v2/#migrating-from-springdoc-v1

and they are right! I wasn't aware that I was sticking on springdoc-v1.