Skip to content

text alightment issue in swagger-ui #2521

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wsl206 opened this issue Mar 6, 2024 · 2 comments
Closed

text alightment issue in swagger-ui #2521

wsl206 opened this issue Mar 6, 2024 · 2 comments
Labels
question Further information is requested

Comments

@wsl206
Copy link

wsl206 commented Mar 6, 2024

Describe the bug
Swagger UI has css alignment issue for column Name/Description and Code/Description. This css bug was initially reported and fixed under this issue 1845.

However, the same issue happened again in newer swagger version 4.18.2. As I understand, it seems caused by some css class change in the latest OAS3 UI.

I saw there is a fix for this issue in swagger-ui repo 8963. But the solution is only applied for version 5.x.
The current spring-doc 1.7.0 is only using swagger-ui 4.18.2, and it's not compatible with swagger-ui 5.x.

May I know if there is any plan to update the spring-doc 1.7.x to support swagger-ui 5.x?

To Reproduce
Steps to reproduce the behavior:
spring-boot : 2.6.6
springdoc-open-ui : 1.7.0
swagger-ui : 4.18.2

@bnasslahsen
Copy link
Collaborator

springdoc-openapi v1.7.0 is the latest Open Source release supporting Spring Boot 2.x and 1.x.
An extended support for springdoc-openapi v1 project is now available for organizations that need support beyond 2023.
For more details, feel free to reach out: sales@springdoc.org

@bnasslahsen bnasslahsen added the question Further information is requested label Mar 10, 2024
@wsl206
Copy link
Author

wsl206 commented Mar 19, 2024

I realised springdoc has released version 1.8.0 recently. Tested on my side, and it seems the CSS alignment issue has been fixed on this latest version. Just FYI.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants