-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
I followed the documentation instructions to use the specification-arg-resolver with Swagger in Spring Boot 3.x, but I couldn't get it to work. The Swagger interface doesn't render.
I am using the following versions:
Spring Boot
<version>3.3.7</version>
specification-arg-resolver
<dependency>
<groupId>net.kaczmarzyk</groupId>
<artifactId>specification-arg-resolver</artifactId>
<version>3.0.0</version>
</dependency>
Springdoc Openapi
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-common</artifactId>
<version>2.0.2</version>
</dependency>
I created the following bean:
@Configuration
public class SpecificationConfig {
@Bean
public SpecificationArgResolverSpringdocOperationCustomizer specificationArgResolverSpringdocOperationCustomizer() {
return new SpecificationArgResolverSpringdocOperationCustomizer();
}
}
In the image below, you can see what is being displayed when accessing the application via Swagger.
Metadata
Metadata
Assignees
Labels
No labels
