Skip to content

After migration from spring boot 3.3.4/springdoc 2.6.0 to spring boot 3.4.3/springdoc 2.8.5 the "try it out"button has disappeared #90

Closed
@francoissey

Description

@francoissey

I was running on spring boot 3.3.4/springdoc 2.6.0 and I could use the "try it out" button on my swagger page.
Yesterday I migrated to spring boot 3.4.3/springdoc 2.8.5 and since then I can not see the try it out button.

I read the doumentation I did try to use springdoc.swagger-ui.tryItOutEnabled=true but it did not help.

In my application properties I have

`
springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true
springdoc.default-produces-media-type=application/json
springdoc.swagger-ui.supportedSubmitMethods="get", "put", "post", "delete", "options", "head", "patch", "trace"
springdoc.swagger-ui.path=/api/rest/v1/

`
I am using springdoc-openapi-starter-webmvc-ui and springdoc-openapi-starter-common

Dependency tree

`
+- org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.8.5:compile
| +- org.springdoc:springdoc-openapi-starter-webmvc-api:jar:2.8.5:compile
| +- org.webjars:swagger-ui:jar:5.18.3:compile
| - org.webjars:webjars-locator-lite:jar:1.0.1:compile
| - org.jspecify:jspecify:jar:1.0.0:compile
+- org.springdoc:springdoc-openapi-starter-common:jar:2.8.5:compile
| +- org.springframework.boot:spring-boot-autoconfigure:jar:3.4.3:compile
| - io.swagger.core.v3:swagger-core-jakarta:jar:2.2.28:compile
| +- io.swagger.core.v3:swagger-annotations-jakarta:jar:2.2.28:compile
| +- io.swagger.core.v3:swagger-models-jakarta:jar:2.2.28:compile
| - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.18.2:compile

`

How can I get my "try it out" button back?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions