Anyone had any luck getting a Swagger ui working i...
# questions
i
Anyone had any luck getting a Swagger ui working in grails? Currently attempting to use
springdoc-openapi-starter-webmvc-ui
but open to anything
j
https://github.com/grails/grails-forge uses it, but is technically a micronaut app vs grails.
f
@Isaac Hudson i used this in a baseline Grails 7 app and it appeared to work fine.
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.1'
i
That is great to hear! I've been playing with that a bit, but we're in the middle of an upgrade to grails 6 right now, so I'll test it out on that. Thanks @falling
f
cool
i
Just got it working with a new grails 6 app using this (needed v1.8 because grails 6 is on spring boot 2.7)
Copy code
implementation 'org.springdoc:springdoc-openapi-ui:1.8.0'
🔥 1
If others see this thread, I created a quick example repo to showcase the ability to create and publish OpenAPI docs from a grails 6 project. https://github.com/ice1080/spring-doc-grails-test